Simon Detheridge
990bacf3c2
Update to OError3
2020-07-07 10:40:37 +01:00
Eric Mc Sween
e197e4dc11
2.7.0
2020-07-06 08:20:02 -04:00
Eric Mc Sween
d69195eaa9
Log requests that don't have a route property
...
The v1 history service has its routes set up via swagger-tools, which
doesn't write a route property on the request. This prevents us to send
request metrics based on the route, but we can still log the request.
2020-07-03 16:38:29 -04:00
Simon Detheridge
7369e2f339
Add .circleci/config.yml and fix errors
2020-07-03 11:59:34 +01:00
Simon Detheridge
e92b75a2f8
Create new module from overleaf/filestore persistors ( #1 )
...
* Create new module from overleaf/filestore persistors
* Convert persistors to ES6 classes with local settings
* Update README.md
Co-authored-by: Eric Mc Sween <eric.mcsween@overleaf.com >
* Update README.md
Co-authored-by: Eric Mc Sween <eric.mcsween@overleaf.com >
* Update .gitignore
Co-authored-by: Eric Mc Sween <eric.mcsween@overleaf.com >
* Switch to AGPL license
* Paginate S3 list-object results
* Remove S3 client caching
* Clean up S3 md5-verification mechanism
* Update README for recent changes
* Update README.md
Co-authored-by: Eric Mc Sween <eric.mcsween@overleaf.com >
* Remove package-lock
* Remove comment about FileHandler
* Add directory marker to FSPersistor.deleteDirectory
* Don't copy opts in GcsPersistor.getObjectStream
* Use Date.now instead of getTime
* Catch errors in migration persistor
* Check that settings.buckets exists
* Don't mutate options in ObserverStream constructor
* Update src/PersistorHelper.js
Co-authored-by: Eric Mc Sween <eric.mcsween@overleaf.com >
* Lint and format fixes
Co-authored-by: Eric Mc Sween <eric.mcsween@overleaf.com >
2020-07-02 14:19:45 +01:00
Jakob Ackermann
e61b1124bb
[misc] bump eslint to 7.3.1
2020-07-02 12:15:22 +01:00
Jakob Ackermann
97407980db
[misc] monkey patch prettier-eslint basepath
2020-07-02 12:12:07 +01:00
Christopher Hoskin
102c7524c9
Re-generate package-lock.json
2020-07-02 11:12:07 +01:00
Christopher Hoskin
db5084d30f
Updrade runtime dependencies
2020-07-02 11:08:10 +01:00
Christopher Hoskin
bcaee67a5c
Bump sinon and sandboxed-module
2020-07-02 11:04:21 +01:00
Christopher Hoskin
fcd4a60657
Make prettier
2020-07-02 11:01:23 +01:00
Christopher Hoskin
4c8d29af59
Update mocha and prettier
2020-07-02 11:00:28 +01:00
Christopher Hoskin
edbf7220df
2.1.1
2020-07-02 10:53:42 +01:00
Christopher Hoskin
d695a40a61
Lint
2020-07-02 10:51:37 +01:00
Christopher Hoskin
b932a8127b
Bump eslint plugins
2020-07-02 10:46:37 +01:00
Christopher Hoskin
52649c9d0b
2.1.0
2020-06-30 14:00:15 +01:00
Christopher Hoskin
fa8df5cc0b
Format:fix
2020-06-30 13:56:13 +01:00
Christopher Hoskin
9e54503d1b
Add prettier-eslint-cli to dev-dependencies
2020-06-30 13:55:24 +01:00
Christopher Hoskin
c93ee44879
Update acorn dependency (via eslint) https://github.com/advisories/GHSA-6chw-6frg-f759
2020-06-30 13:53:34 +01:00
Christopher Hoskin
9437266dcb
Merge branch 'master' into jpa-csh-tracing-end-time-from-fs
2020-06-19 11:41:15 +01:00
Miguel Serrano
12e3afb174
Bumped major version
2020-06-03 10:20:43 +02:00
Miguel Serrano
da0f2d5e75
Updated .nvmrc to latest LTS
2020-06-03 10:19:58 +02:00
Miguel Serrano
c602d536d2
updated OError to v3
2020-06-03 10:19:45 +02:00
Brian Gough
cd6e36d7dc
upgrade ioredis to 4.17.3
2020-06-01 09:11:57 +01:00
John Lees-Miller
6cc03cad0c
Add coverage
2020-05-15 17:18:01 +01:00
John Lees-Miller
c9d9982615
Update package.json metadata
2020-05-15 16:50:37 +01:00
Jakob Ackermann
5aad5db40f
[checkLogLevel] read the updated tracing end time from disk
2020-05-15 13:39:35 +02:00
John Lees-Miller
d2f47e69a8
Bump version to 3.0.0
2020-05-15 11:25:12 +01:00
John Lees-Miller
fd6ea2bb70
Add typescript types
2020-05-15 11:24:14 +01:00
John Lees-Miller
497f2a7936
Make tag check stricter and use a map
2020-05-15 11:07:08 +01:00
John Lees-Miller
4b0060f0b1
Remove HTTPErrors from v3
2020-05-15 10:45:08 +01:00
John Lees-Miller
90494fd75f
Fix demo require path
2020-05-15 10:36:00 +01:00
John Lees-Miller
8af22ae878
Improve assertion messages in test utility
2020-05-15 10:32:18 +01:00
John Lees-Miller
c44054a31b
Add cast for the fake TaggedError
2020-05-05 09:06:15 +01:00
John Lees-Miller
fc197630be
Avoid capturing stack trace twice
...
Co-authored-by: Eric Mc Sween <eric.mcsween@overleaf.com >
2020-05-05 09:02:11 +01:00
John Lees-Miller
6078aa963d
Add typecheck to CI
2020-04-30 10:29:23 +01:00
John Lees-Miller
f6eb185f84
Update README for v3
2020-04-30 10:29:23 +01:00
John Lees-Miller
09cd72d51c
Rework to favor tagging over wrapping
2020-04-29 21:08:58 +01:00
John Lees-Miller
1a38f4e4ff
Add typescript for type checking
2020-04-29 21:03:41 +01:00
John Lees-Miller
c46075aaab
Make constructor take only message and info
2020-04-17 15:45:08 +01:00
John Lees-Miller
c000bdc43c
Add standard and fix complaints
2020-04-17 10:59:27 +01:00
John Lees-Miller
4b903626b4
Apply linting rules
2020-04-17 09:14:35 +01:00
John Lees-Miller
f80753fe40
Add linting and formatting
2020-04-17 09:14:35 +01:00
John Lees-Miller
113c2cc5ec
Add CI badge
2020-04-17 09:13:04 +01:00
John Lees-Miller
ad6b25e2c1
Add .circleci/config.yml
2020-04-17 09:10:47 +01:00
Jakob Ackermann
ea767920fc
[misc] fix unit tests
2020-04-01 16:40:15 +02:00
Henry Oswald
264e549fc5
bump io redis to 4.16.1
2020-03-31 09:40:44 +01:00
Eric Mc Sween
8131c5ac91
2.6.2
2020-03-25 09:53:54 -04:00
Eric Mc Sween
ef7e3b0e7a
Fix HTTP request timing metrics
...
The conversion between high resolution time and milliseconds was
incorrect.
2020-03-25 09:39:21 -04:00
Jakob Ackermann
2137c7a42c
[misc] version bump to 1.9.1
2020-03-23 13:06:32 +01:00