Shane Kilkelly
11e42ecb6f
Point local config to v2
2019-07-03 09:37:11 +01:00
Henry Oswald
eed8e215d7
bump redis-sharelatex (and io redis) to 1.0.9
2019-07-02 16:58:30 +01:00
Henry Oswald
b268285ff6
bump redis-sharelatex (and io redis) to 1.0.9
2019-07-02 16:55:07 +01:00
Henry Oswald
670ce61da1
require underscore
2019-07-02 15:36:17 +01:00
Simon Detheridge
5261e1b0be
Add endpoint to completely purge a document
2019-07-02 15:02:37 +01:00
Henry Oswald
88b75b8baa
send health check data to all redis backends
2019-07-02 14:56:50 +01:00
Henry Oswald
92f60690f3
add redis set
2019-07-02 14:46:58 +01:00
Henry Oswald
922a1a1aba
bump redis driver
2019-07-02 12:04:19 +01:00
Shane Kilkelly
1e74d545c4
Merge pull request #21 from overleaf/sk-dep-upgrades-2019-06
...
update logger and metrics
2019-07-01 10:05:19 +01:00
Shane Kilkelly
abe9d324e5
Merge pull request #10 from overleaf/sk-dep-upgrades-2019-06
...
update logger and metrics
2019-06-27 15:42:24 +01:00
Shane Kilkelly
461bc0f4b7
Merge pull request #9 from overleaf/sk-dep-upgrades-2019-06
...
update logger and metrics
2019-06-27 15:03:40 +01:00
Shane Kilkelly
7d204e01a5
Merge pull request #24 from overleaf/sk-dep-upgrades-2019-06
...
Update logger, metrics, and redis client
2019-06-27 13:49:36 +01:00
Brian Gough
44c36ee63b
Merge pull request #74 from overleaf/revert-73-bg-skip-hash-for-bad-char-replacement
...
Revert "skip hash check when non-BMP characters replaced"
2019-06-27 11:40:33 +01:00
Brian Gough
16fb297043
Revert "skip hash check when non-BMP characters replaced"
2019-06-27 11:39:45 +01:00
Brian Gough
09c69dfdab
Merge pull request #73 from overleaf/bg-skip-hash-for-bad-char-replacement
...
skip hash check when non-BMP characters replaced
2019-06-27 11:17:16 +01:00
Shane Kilkelly
4c85f6622f
actually fix the linter
2019-06-27 10:58:27 +01:00
Shane Kilkelly
37e0703aff
add mocha globals to eslint config
2019-06-27 10:53:46 +01:00
Shane Kilkelly
f5f83854eb
format fix
2019-06-27 10:47:27 +01:00
Miguel Serrano
4c49fd1191
Merge pull request #56 from overleaf/msm-downgrade-unauthorised-log-to-warning
...
Downgraded unathorised log to warning
2019-06-26 16:15:34 +02:00
Brian Gough
f37860599d
skip hash check when non-BMP characters replaced
2019-06-25 16:36:10 +01:00
Shane Kilkelly
7034c65696
update logger and metrics
2019-06-21 11:52:15 +01:00
Shane Kilkelly
283a6066d4
update logger and metrics
2019-06-21 11:26:28 +01:00
Shane Kilkelly
429c593cdf
update logger and metrics
2019-06-21 10:06:02 +01:00
miguel
46dfe56b05
Downgraded unathorised log to warning
2019-06-21 07:30:12 +02:00
Eric Mc Sween
55a13f3228
Merge pull request #55 from overleaf/em-aws-stream-fix
...
Fix createUnbufferedStream() function call
2019-06-19 14:31:39 -04:00
Eric Mc Sween
7d900b57bf
Fix createUnbufferedStream() function call
...
In 49a21155f642670dfea264ac73fb60241f37cb87, I managed to incorrectly
write the `createUnbufferedStream()` function from the AWS SDK as
`getUnbufferedStream()` and to consistently use that naming in the unit
tests.
This commit fixes that. I have tested again on S3.
2019-06-19 12:58:17 -04:00
Shane Kilkelly
013400d7a4
Re-add environment variable for conversions
2019-06-19 14:04:57 +01:00
Shane Kilkelly
f865762c29
update logger and metrics
2019-06-19 13:50:58 +01:00
Eric Mc Sween
cbe32ba1b9
Merge pull request #53 from overleaf/em-get-file-stream-with-aws-sdk
...
Use AWS SDK for getFileStream()
2019-06-19 08:48:20 -04:00
Eric Mc Sween
f2521a29b9
Use AWS SDK for getFileStream()
...
The AWS SDK has a retry strategy to deal with rate limiting or transient
unavailability of S3. We hope it will reduce our error rates.
2019-06-19 08:18:11 -04:00
Shane Kilkelly
e8a8c446ed
Increase timeout on test?
2019-06-19 11:34:38 +01:00
Shane Kilkelly
080b482e51
Update logger, metrics, and redis
...
Also fix acceptance tests, broken by a change in the redis driver
behaviour. It now returns promises from most operations, which confuses mocha.
2019-06-19 10:25:54 +01:00
Shane Kilkelly
a9b35dde00
update logger and metrics
2019-06-19 09:37:54 +01:00
Shane Kilkelly
cb46848e2e
update logger and metrics
2019-06-19 09:11:59 +01:00
Shane Kilkelly
1edda47b0e
update logger and metrics
2019-06-18 16:29:20 +01:00
Shane Kilkelly
ef0d9c5afc
Update logger, metrics, and redis client
...
Also fix acceptance tests, broken by a change in behaviour of the redis client.
It now returns a promise from most operations. This interferes with how mocha
handles callbacks in `before` blocks.
2019-06-18 15:31:19 +01:00
Eric Mc Sween
42d15fd8a9
Merge pull request #52 from overleaf/em-get-file-size
...
Return file size on HEAD request
2019-06-17 08:41:36 -04:00
Eric Mc Sween
3575c89d03
Return file size on HEAD request
...
This will be used by the file preview feature when it gets partial
content.
2019-06-17 08:23:59 -04:00
Henry Oswald
fdef197271
Merge branch 'master' into ho-detailed-flush-status
2019-06-13 14:33:22 +01:00
Henry Oswald
d9a737f97c
return failed and succesfully flushed projects when flushing everything
2019-06-13 14:21:38 +01:00
Shane Kilkelly
a68afc2e28
Merge pull request #67 from overleaf/sk-dont-catch-throwable-swap-impl
...
Don't catch `Throwable` in swap-job, catch Exception
2019-06-13 12:11:01 +01:00
Shane Kilkelly
591617f996
Merge pull request #68 from overleaf/sk-fix-unicode-file-paths
...
Encode file path when building url, allows unicode
2019-06-13 12:10:55 +01:00
Brian Gough
e8dd1aae9c
Merge pull request #70 from overleaf/bg-metric-for-invalid-hash
...
add metric for invalid hash and other sharejs errors
2019-06-12 13:50:34 +01:00
Brian Gough
99f896fa57
Merge pull request #69 from overleaf/bg-fix-hash-check
...
fix hash check
2019-06-12 13:42:19 +01:00
Brian Gough
d50b93df2f
add metric for invalid hash and other sharejs errors
2019-06-11 16:48:06 +01:00
Brian Gough
984b2d38e6
add unit tests
2019-06-11 16:33:14 +01:00
Brian Gough
966478cac4
fix hash check to use 'v' field instead of version
2019-06-11 14:11:46 +01:00
Shane Kilkelly
12efec605c
Merge pull request #126 from overleaf/sk-increase-hard-timeout
...
Increase the hard-timeout to 10 minutes.
2019-06-10 09:44:48 +01:00
Shane Kilkelly
71df1b0a31
Encode file path when building url, allows unicode
2019-06-07 14:17:33 +01:00
Shane Kilkelly
28865e2956
Don't catch Throwable in swap-job, catch Exception
2019-06-07 10:26:55 +01:00