Commit graph

18347 commits

Author SHA1 Message Date
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
mserranom
592cae3698 updated minor/patch dependencies 2020-03-20 17:33:45 +01:00
mserranom
bcc1c9d4f9 npm audit fix 2020-03-20 17:32:23 +01:00
mserranom
3d10196ebd updated build-scripts and sharelatex-xxx modules 2020-03-20 17:31:01 +01:00
Henry Oswald
3e07af3f1b limit clsi lifespan via health checks and PROCESS_LIFE_SPAN_LIMIT_MS 2020-03-20 13:37:58 +00:00
Eric Mc Sween
3dc7e15914 Merge pull request #27 from overleaf/em-downgrade-request-logs
Downgrade all request logs to INFO
2020-03-20 07:48:43 -04:00
Eric Mc Sween
a17843f3bf 2.6.1 2020-03-20 07:47:05 -04:00
Shane Kilkelly
ada4fba3dc Fix express deprecations 2020-03-19 15:39:57 +00:00
Shane Kilkelly
21194e52ca more upgrades 2020-03-19 15:23:45 +00:00
Shane Kilkelly
f069a2515d upgrade express 2020-03-19 15:20:32 +00:00
Miguel Serrano
77cc3b3cc6 Merge pull request #154 from overleaf/msm-dependency-update
Dependency update
2020-03-19 16:12:51 +01:00
Shane Kilkelly
aa324a1920 npm audit fix 2020-03-19 15:08:59 +00:00
Shane Kilkelly
b631a741ac update build scripts 2020-03-19 15:06:36 +00:00
Simon Detheridge
63b4b3e9a2 Merge pull request #104 from overleaf/spd-custom-bucket-fallback
Fix fallback to custom s3 buckets
2020-03-19 11:39:55 +00:00
Simon Detheridge
65f19346f0 Fix fallback to custom s3 buckets 2020-03-19 11:10:31 +00:00
Simon Detheridge
9a03a3406e Merge pull request #86 from overleaf/spd-gcs-persistor
Add GCS Persistor
2020-03-19 09:16:47 +00:00
nate stemen
bffb9f3bce Merge pull request #2678 from overleaf/jel-unreliable-sso-email
Use SSO email attribute flag from API instead of settings file

GitOrigin-RevId: 088b4247a0cbd56ff2184ac6d280e427cea3972e
2020-03-19 04:17:22 +00:00
nate stemen
31b95e8617 Merge pull request #2603 from overleaf/jpa-ns-cmg-binary-upload
[ProjectEntityUpdateHandler] handle entity changes on upsert

GitOrigin-RevId: 134e2c8909db5a336bce62460e46b3e625463c6f
2020-03-19 04:17:18 +00:00
nate stemen
3b027eba22 Merge pull request #2662 from overleaf/cmg-dont-always-scroll
Stop file tree item being scrolled to if it is already in view

GitOrigin-RevId: 7728bca54ab3bdc60537bd7699919240359e127d
2020-03-19 04:17:13 +00:00
nate stemen
3a2bdfe7f1 Merge pull request #2665 from overleaf/pr-fix-spelling-markers-safari
Spellcheck improvements + fix spelling markers being out of place

GitOrigin-RevId: fa70e257f96f78d3570c86871f85c79daf08014c
2020-03-19 04:17:09 +00:00