Commit graph

19291 commits

Author SHA1 Message Date
mserranom
7183b88a37 added to update operation, required by mongojs 3.x 2020-03-28 13:58:33 +01:00
Simon Detheridge
ae62bb75ca Merge pull request #107 from overleaf/spd-handle-fixes-hopefully
(Hopefully) fix handle leaks
2020-03-27 11:37:48 +00:00
Jakob Ackermann
4a19f022fc [misc] keep up with the error signature of dockerode/docker-modem
https://github.com/apocas/docker-modem/blob/v2.1.1/lib/modem.js#L296
2020-03-27 10:39:45 +01:00
Simon Detheridge
64562dffb0 eslint-disable => eslint-disable-next-line 2020-03-26 22:07:37 +00:00
Simon Detheridge
a1ae68f6b5 Tidy up 'getReadyPipeline' 2020-03-26 16:57:55 +00:00
Simon Detheridge
1f037ef653 Catch errors from pipeline and stream when waiting for streams to be readable 2020-03-26 16:57:55 +00:00
Simon Detheridge
238d96ed44 Fail acceptance tests on unhandled promise rejection 2020-03-26 16:57:55 +00:00
Simon Detheridge
7e45a82c35 Use autodestroy on Transform stream 2020-03-26 15:09:56 +00:00
mserranom
682fd526c0 updated express.send to express.sendStatus 2020-03-26 15:36:49 +01:00
mserranom
2f3d664db0 updated express to v4 and mongojs 2020-03-26 15:17:07 +01:00
Shane Kilkelly
861ab5be80 update metrics and logger for latest bug fixes 2020-03-26 13:40:47 +00:00
mserranom
6f398625a3 updated prettier, mocha, sinon, node-statsd 2020-03-26 13:25:39 +01:00
mserranom
7135e03cad updated async to latest v2.x 2020-03-26 13:21:44 +01:00
mserranom
0b2c4cb1b7 updated minor/patch dependencies 2020-03-26 13:21:02 +01:00
mserranom
d1673ea92c npm audit fix 2020-03-26 13:17:02 +01:00
mserranom
2b4e44f047 updated build scripts 2020-03-26 13:16:08 +01:00
Jakob Ackermann
f7c8d60c74 Merge pull request #126 from overleaf/jpa-logger-1-9-1
[misc] bump logger-sharelatex to 1.9.1
2020-03-26 13:03:48 +01:00
Jakob Ackermann
eb909a4a21 Merge pull request #42 from overleaf/jpa-logger-1-9-1
[misc] bump logger-sharelatex to 1.9.1
2020-03-26 13:03:19 +01:00
Simon Detheridge
82599bce67 Merge pull request #105 from overleaf/jpa-logger-1-9-1
[misc] bump logger-sharelatex to 1.9.1
2020-03-26 10:31:33 +00:00
Simon Detheridge
345696b067 Merge pull request #106 from overleaf/spd-single-pipe
Use single pipeline when calculating md5
2020-03-26 10:31:07 +00:00
Eric Mc Sween
199e310f25 Merge pull request #2700 from overleaf/em-upgrade-metrics
Upgrade metrics-sharelatex to 2.6.2

GitOrigin-RevId: 29694016768e239a46d58aa3483375187addb09c
2020-03-26 04:17:47 +00:00
Simon Detheridge
d073fe75ca Use single pipeline when calculating md5 2020-03-25 16:59:51 +00:00
Eric Mc Sween
793b4334f4 Merge pull request #80 from overleaf/em-upgrade-metrics
Upgrade metrics-sharelatex to 2.6.2
2020-03-25 11:07:36 -04:00
Eric Mc Sween
985644057d Merge pull request #55 from overleaf/em-upgrade-metrics
Upgrade metrics-sharelatex to 2.6.2
2020-03-25 11:05:59 -04:00
Brian Gough
fcb72b9bf7 update tests 2020-03-25 14:27:41 +00:00
Brian Gough
1a0550364d add metric for getdoc bytes 2020-03-25 14:27:41 +00:00
Brian Gough
891fcc696b add metric for pending updates queue 2020-03-25 14:27:41 +00:00
Eric Mc Sween
131e943675 Merge pull request #20 from overleaf/em-upgrade-metrics
Upgrade metrics-sharelatex to 2.6.2
2020-03-25 10:26:05 -04:00
Eric Mc Sween
42049d5e0d Upgrade metrics-sharelatex to 2.6.2
This version fixes the HTTP request timing metrics, which were not
reporting correctly.
2020-03-25 10:13:07 -04:00
Eric Mc Sween
56d044b546 Upgrade metrics-sharelatex to 2.6.2
This version fixes the HTTP request timing metrics, which were not
reporting correctly.
2020-03-25 10:07:26 -04:00
Eric Mc Sween
1ebed438e4 Upgrade metrics-sharelatex to 2.6.2
This version fixes the HTTP request timing metrics, which were not
reporting correctly.
2020-03-25 10:00:31 -04:00
Eric Mc Sween
e27e9df1eb Merge pull request #30 from overleaf/em-fix-timing-metrics
Version 2.6.2
2020-03-25 09:55:31 -04:00
Eric Mc Sween
8131c5ac91 2.6.2 2020-03-25 09:53:54 -04:00
Eric Mc Sween
8ab79dd1ce Merge pull request #29 from overleaf/em-fix-timing-metrics
Fix HTTP request timing metrics
2020-03-25 09:53:07 -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
Brian Gough
e293d86c14 add metric for project history queue 2020-03-25 12:15:16 +00:00
Miguel Serrano
66d294537e Merge pull request #54 from overleaf/msm-update-dependencies
Update dependencies
2020-03-25 13:03:20 +01:00
Miguel Serrano
54b51fec83 Merge pull request #79 from overleaf/msm-update-dependencies
Update dependencies
2020-03-25 12:43:31 +01:00
Miguel Serrano
0fe8b4dc11 Merge pull request #19 from overleaf/msm-update-dependencies
Update dependencies
2020-03-25 12:24:36 +01:00
Eric Mc Sween
5cf06bbb4d Merge pull request #2696 from overleaf/ns-default-font-family-line-height
Set default options for font family and line height

GitOrigin-RevId: 7c5a29134e75e3545e508021c305fa6d6e0d04c1
2020-03-25 04:16:58 +00:00
Eric Mc Sween
0ca191c947 Merge pull request #2688 from overleaf/em-upgrade-metrics
Upgrade metrics-sharelatex to 2.6.1

GitOrigin-RevId: 7ef2621b2e351b23bfffa9c5c4ce329bf53fcdef
2020-03-25 04:16:54 +00:00
Eric Mc Sween
d68ebe7b41 Merge pull request #2684 from overleaf/sk-fix-subscription-track-changes-example
Fix the "added and removed" part of new-sub page

GitOrigin-RevId: d78c0f913531d521e9538a17b48b409cf0f2cc00
2020-03-25 04:16:49 +00:00
Shane Kilkelly
b51e3c01e4 Merge pull request #2614 from overleaf/sk-monolithify-tags
Move 'tags' into web

GitOrigin-RevId: a248d1b2471f0bfa05589df9b7357b4d85793a79
2020-03-25 04:16:44 +00:00
Jakob Ackermann
c72633a162 Merge pull request #120 from overleaf/jpa-limit-update-size
[misc] limit update size
2020-03-24 17:04:05 +01:00
Jakob Ackermann
69569e3571 [misc] config: add headroom for JSON serialization in maxUpdateSize 2020-03-24 16:21:29 +01:00
Jakob Ackermann
af53d3b603 [misc] skip duplicate JSON serialization for size check 2020-03-24 11:22:28 +01:00
Jakob Ackermann
cb675d38c2 [misc] SafeJsonParse: align the size limit with the frontend->rt limit
frontend -> real-time and doc-updater -> real-time should be in sync.
Otherwise we can send a payload to doc-updater, but can not receive the
 confirmation of it -- and the client will send it again in a loop.

Also log the size of the payload.
2020-03-24 09:14:15 +01:00
Jakob Ackermann
15244a54be [misc] WebsocketController: limit the update size to 7mb
bail out early on -- especially do not push the update into redis for
 doc-updater to discard it.

Confirm the update silently, otherwise the frontend will send it again.
Broadcast a 'otUpdateError' message and disconnect the client, like
 doc-updater would do.
2020-03-24 09:12:12 +01:00
Jakob Ackermann
ac5feb4a77 [misc] bump logger-sharelatex to 1.9.1 2020-03-23 16:18:07 +01:00
Jakob Ackermann
db30170228 [misc] bump logger-sharelatex to 1.9.1 2020-03-23 16:18:07 +01:00