Commit graph

17766 commits

Author SHA1 Message Date
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
Jakob Ackermann
2ce3c8f97e [misc] bump logger-sharelatex to 1.9.1 2020-03-23 16:18:07 +01:00
Jakob Ackermann
b2d1718a2e [misc] bump logger-sharelatex to 1.9.1 2020-03-23 16:18:05 +01:00
mserranom
3df58861e8 fixed missing done() in acceptance tests 2020-03-23 14:55:35 +01:00
Jakob Ackermann
14522a1f4b Merge pull request #17 from overleaf/jpa-fix-decaff-cleanup
[misc] fix decaff cleanup for reportedToSentry
2020-03-23 13:10:00 +01:00
Jakob Ackermann
2137c7a42c [misc] version bump to 1.9.1 2020-03-23 13:06:32 +01:00
mserranom
400ddf36ed fixed unit tests 2020-03-23 12:57:02 +01:00
mserranom
cf7ed3f76e updated mongojs, chai, bunyan, mocha, sandboxed-module, sinon and timekeeper 2020-03-23 12:56:42 +01:00
Jakob Ackermann
7321e80b1e Merge pull request #119 from overleaf/jpa-delay-shutdown
[misc] let proxys observe an upcoming shutdown before starting to drain
2020-03-23 12:56:05 +01:00
mserranom
ba2268936d updated async to v2.x 2020-03-23 12:50:27 +01:00
mserranom
06f606bf74 npm audit fix and bumped minor/patch dependencies 2020-03-23 12:49:40 +01:00
mserranom
7e5b42e790 updated build scripts 2020-03-23 12:47:58 +01:00
mserranom
91a1fadbb1 updated async and bunyan 2020-03-23 12:45:29 +01:00
mserranom
25704ea301 updated chai, mocha, sinon and sandboxed-module 2020-03-23 12:39:09 +01:00
mserranom
97a3fd3202 updated minor/patch dependencies and known safe updates 2020-03-23 12:32:25 +01:00
mserranom
d78e8d7d3f npm audit fix 2020-03-23 12:30:33 +01:00
mserranom
9f88236f31 updated build scripts 2020-03-23 12:30:16 +01:00
mserranom
87737a403d updated sandboxed-module and tests 2020-03-23 11:34:57 +01:00
mserranom
cd0e7b3afd updated async, byline, line-reader and cli 2020-03-23 11:28:26 +01:00
mserranom
f321144d8c fixed unit test using legacy express methods 2020-03-23 11:25:28 +01:00
mserranom
dd3673d5c0 updated mock methods to express v4 signatures 2020-03-23 11:17:32 +01:00
mserranom
79f6b9a877 updated express to v4 2020-03-23 11:10:24 +01:00
Jakob Ackermann
b049331777 [misc] fix decaff cleanup for reportedToSentry
Previously it would bailout of the loop after processing ANY attribute.
REF: 6fe4dcbf32720282821d42140ab92593866e0772
2020-03-23 10:48:55 +01:00
mserranom
ddcdbb6448 updated mocha and sinon, fixed test 2020-03-23 10:35:53 +01:00
mserranom
3464088c94 updated prettier and other minor dependencies 2020-03-23 10:21:46 +01:00
mserranom
3f2bb30980 updated aws-sdk and mongojs 2020-03-20 17:39:23 +01:00