Jakob Ackermann
b8f2cc1b91
Merge pull request #4841 from overleaf/jpa-ho-clsi-user-project-persistence-take-2
...
[web] partition clsi persistence by project and user
GitOrigin-RevId: d42dca11dfbe329974c26d3b31eb9fcba359b785
2021-08-23 11:22:39 +00:00
Jakob Ackermann
8bbf6fb52c
Merge pull request #4840 from overleaf/revert-4736-ho-clsi-user-id-mapping-minimal
...
Revert "Clsi user id mapping (mono repo)"
GitOrigin-RevId: 046bf21f1ab90f375d3945d8baa22600d8cdbf2b
2021-08-23 08:03:00 +00:00
Henry Oswald
2b7c7e84ef
Clsi user id mapping ( #4736 )
...
* add user-id into clsi project mapping
* add user_id on backend group clsi key
GitOrigin-RevId: ebbf025f5cd88848b44f35a46045d112ea6b4c3b
2021-08-23 08:02:45 +00:00
Alexandre Bourdin
9468e5cb4f
Merge pull request #4338 from overleaf/ab-session-manager
...
Extract functions from AuthenticationController to SessionManager
GitOrigin-RevId: 86870ce03a762e1a837dcf493759e8851e759883
2021-07-28 12:36:22 +00:00
Jakob Ackermann
63fb7a022a
Merge pull request #4342 from overleaf/jpa-fix-clsi-server-id-handling
...
[misc] get current clsi server id directly from compile response
GitOrigin-RevId: 403e7ca35270a8937a0066fe2c8daf52ed71531d
2021-07-28 02:06:29 +00:00
Jakob Ackermann
9dccd6173a
Merge pull request #4305 from overleaf/jpa-fix-undef
...
[misc] fix undefined references in all the places and enable lint rule
GitOrigin-RevId: 473dbab577b34f60d6a3fe567e29e13cb5b1cb24
2021-07-14 12:40:42 +00:00
Eric Mc Sween
ac90b29928
Merge pull request #4289 from overleaf/em-sk-rename-sanitize
...
Do not HTML escape the file name when renaming a file
GitOrigin-RevId: 9b6441e2f53bc34086de9c6a19fa526b833a9134
2021-07-14 12:40:20 +00:00
Jakob Ackermann
5e773ce950
Merge pull request #4101 from overleaf/ae-settings-module
...
Migrate from `settings-sharelatex` to `@overleaf/settings`
GitOrigin-RevId: 9a298ba26382180c1351683c5fddc9004418c1e6
2021-07-08 02:08:28 +00:00
Jakob Ackermann
103873a013
Merge pull request #4275 from overleaf/jpa-drop-slow-compile-request-bailout
...
[misc] drop slow compile request bailout
GitOrigin-RevId: b5eec86878fbc7220dfe163241f29a3f5851c19f
2021-06-29 02:06:04 +00:00
Jakob Ackermann
15978e1510
Merge pull request #4262 from overleaf/jpa-bump-sync-overhead
...
[ClsiManager] bump sync overhead from 60s to 120s
GitOrigin-RevId: ce968a054419a3ad8e6b0bd0ff5897aae3643f8c
2021-06-25 02:06:32 +00:00
Jakob Ackermann
e57be19ee3
Merge pull request #4261 from overleaf/jpa-fake-timed-out-response
...
[ClsiManager] respond w/ status=timedout for timed out compile requests
GitOrigin-RevId: 2937355bfd8d58870509ab40c2ba19f014f82a37
2021-06-25 02:06:28 +00:00
Jakob Ackermann
7b5aa23285
Merge pull request #4251 from overleaf/jpa-compile-request-timeout
...
[ClsiManager] timeout compile request
GitOrigin-RevId: 0213bb93bbdc9a75c07b27226b780dff5ee6f732
2021-06-24 02:07:05 +00:00
Jakob Ackermann
7db7cd4a49
[misc] merge pdf caching into main ( #4033 )
...
* [frontend] WIP: pdf caching using service worker -- squashed
Ref: 920fbaa00b31530f7c457a2d93bad5e553798057
Co-Authored-By: Brian Gough <brian.gough@overleaf.com>
Co-Authored-By: Eric Mc Sween <eric.mcsween@overleaf.com>
* [misc] add contentId into the URL for protecting PDF stream contents
* [misc] gracefully handle missing ranges in serviceWorker
* [misc] support PDF stream caching for anonymous users
* [misc] polish header names and add URL to error message when fetch fails
* [misc] polish event handler registration
* [misc] limit serviceWorker scope to /project/ -- trailing slash
This will block the service worker from intercepting requests on the
project dashboard.
* [misc] add per-request feature flag for enabling PDF stream caching
* [misc] expose compile stats and timings to the frontend
* [misc] serviceWorker: support clsiServerId and compileGroup url params
* [misc] serviceWorker: polish header maps
* [misc] serviceWorker: drop TODO for p-limit -- the browser has a queue
* [misc] serviceWorker: drop verbose log message on every fetch
* [misc] cut down size of diff in backend code
* [misc] add test case for forwarding of pdf caching and metrics details
* [misc] serviceWorker: drop all the log lines
* [misc] serviceWorker: add boundary guards to the compile request regex
Co-authored-by: Brian Gough <brian.gough@overleaf.com>
Co-authored-by: Eric Mc Sween <eric.mcsween@overleaf.com>
GitOrigin-RevId: 4b291b4a4f2866cf07bccf8ec9068f33bbfdc916
2021-05-18 02:07:57 +00:00
Hugh O'Brien
1f3b01486e
Merge pull request #3991 from overleaf/em-oversized-logs
...
Avoid logging project contents
GitOrigin-RevId: 6255ffebca83728bc69e64286ea40fd5aed244a1
2021-05-08 02:10:01 +00:00
Miguel Serrano
f9871103bf
Merge pull request #3949 from overleaf/msm-reenable-eslint-const-rule
...
Reenable eslint `prefer-const` rule
GitOrigin-RevId: 4f3825be8b8dff381095209085a36eaab76260d5
2021-05-06 02:09:14 +00:00
Jakob Ackermann
adfde7d26b
Merge pull request #3950 from overleaf/msm-reenable-lint-prefer-regex-literals
...
Reenable `prefer-regex-literals` eslint rule
GitOrigin-RevId: 3c576d92a08dfcb745d447b1bf8c7b828753010d
2021-04-29 02:09:10 +00:00
Alf Eaton
1be43911b4
Merge pull request #3942 from overleaf/prettier-trailing-comma
...
Set Prettier's "trailingComma" setting to "es5"
GitOrigin-RevId: 9f14150511929a855b27467ad17be6ab262fe5d5
2021-04-28 02:10:01 +00:00
Alf Eaton
1ebc8a79cb
Merge pull request #3495 from overleaf/ae-prettier-2
...
Upgrade Prettier to v2
GitOrigin-RevId: 85aa3fa1acb6332c4f58c46165a43d1a51471f33
2021-04-15 02:05:22 +00:00
Simon Detheridge
ae0805e684
Merge pull request #3850 from overleaf/jpa-set-image-name-for-synctex
...
[misc] include the projects imageName as part of synctex requests
GitOrigin-RevId: 99f05cf67859b1e43c2342fc0c2575ddd661a57d
2021-03-31 02:05:46 +00:00
Timothée Alby
d346172819
Merge pull request #3776 from overleaf/ho-post-clsi-cookie
...
convert _populateServerIdViaRequest to a post request
GitOrigin-RevId: cbbf926708804527ba3717a66e9f0192ecf70fbd
2021-03-30 02:04:59 +00:00
Brian Gough
be95516185
Merge pull request #3761 from overleaf/bg-redis-and-request-cleanups
...
redis and request cleanups
GitOrigin-RevId: d2bf133ef823c96b06eb09b4ef2c83ba7c54cd12
2021-03-19 03:04:40 +00:00
Jakob Ackermann
e3790b299f
Merge pull request #3662 from overleaf/jpa-fix-proxying-of-clsi-requests
...
[CompileController] fix proxying of requests w/o clsiserverid
GitOrigin-RevId: 5c29f2f9279097f3c969e8a86ea478806b3b3eee
2021-02-18 03:04:29 +00:00
Eric Mc Sween
38312fd7d3
Merge pull request #3557 from overleaf/jpa-reland-clear-persistance
...
[reland] cleanup pdf url composing and clear clsi persistance
GitOrigin-RevId: 59ac281d16564a64852ccc07dac0c99cadfba8f2
2021-01-22 03:04:48 +00:00
Eric Mc Sween
db93fa3a8b
Merge pull request #3556 from overleaf/jpa-clsi-persistance-query-param
...
[CompileController] enable clsi node persistence via query parameter
GitOrigin-RevId: 515814d6ad5832e69538ef6d63f81c61c66fd73f
2021-01-22 03:04:42 +00:00
Jakob Ackermann
3e3d683a2f
Merge pull request #3545 from overleaf/revert-3517-jpa-clear-clsi-persistance
...
Revert "[ClsiManager] clear the clsi persistence when clearing the cache"
GitOrigin-RevId: fbaeff527f69526da1bfc32de37bbdf6081bcd23
2021-01-08 03:04:47 +00:00
Jakob Ackermann
00ba2d95c7
Merge pull request #3517 from overleaf/jpa-clear-clsi-persistance
...
[ClsiManager] clear the clsi persistence when clearing the cache
GitOrigin-RevId: 64035ec23b5a95ae5248f65777d5d8c8c088e192
2021-01-08 03:04:41 +00:00
Alf Eaton
2ff1cf43d6
Merge pull request #3470 from overleaf/eslint
...
Upgrade and configure ESLint
GitOrigin-RevId: ad5aeaf85e72c847a125ff3a9db99a12855e38aa
2020-12-16 03:08:28 +00:00
Christopher Hoskin
1e8598a8d9
Merge pull request #3331 from overleaf/csh-issue-3661-bump-agents
...
Update metrics module
GitOrigin-RevId: bdef141035f277ce4863f14f8a6e166d710b1111
2020-10-31 03:05:30 +00:00
Jakob Ackermann
a22e252666
Merge pull request #3114 from overleaf/msm-remove-logger-warn-controllers
...
Replaced logger statements with error tagging in Controllers
GitOrigin-RevId: c5231913c82f95a325f4c3ab406d89cb534835a4
2020-08-20 02:06:25 +00:00
Miguel Serrano
2e8f66ac6b
Merge pull request #3075 from overleaf/msm-codemod-oerror-v3-logging
...
Replaced logger.warn statements with OError.tag()
GitOrigin-RevId: 4d821ec48a0006abb1fcffe07dbb5511c88f5b9a
2020-08-12 02:07:03 +00:00
Miguel Serrano
d2845d9a38
Merge pull request #3074 from overleaf/msm-update-oerror-logger-v3
...
Update o-error to v3 and logger-sharelatex to v3
GitOrigin-RevId: 5e6386f65b7893949336aa4ff021212aebd98f4a
2020-08-12 02:06:58 +00:00
Eric Mc Sween
60bdd4641a
Merge pull request #3026 from overleaf/bg-fix-size-limit-check
...
fix clsi size limit check
GitOrigin-RevId: 1d26ddbe367e8873c57d35056d5b8cbddf614656
2020-07-21 02:06:29 +00:00
Brian Gough
beb452e4e0
Merge pull request #2930 from overleaf/bg-downgrade-recently-compiled-warning
...
remove unnecessary recently-compiled warning
GitOrigin-RevId: ee9feaf932e741d40741568f63fcf65ac42fb27d
2020-06-20 02:10:52 +00:00
Brian Gough
63e8c48c77
Merge pull request #2926 from overleaf/bg-create-alpha-compile-group
...
create alpha compile group
GitOrigin-RevId: edc063ef591a1bed20600a9418e2114f8ab0a3df
2020-06-20 02:10:42 +00:00
Brian Gough
2a6f18b6a0
Merge pull request #2917 from overleaf/bg-send-compile-group-parameter
...
send compileGroup parameter in body of clsi request
GitOrigin-RevId: 05e9b24ea15751464104e5b0f6aef17c66a448d2
2020-06-20 02:10:37 +00:00
Brian Gough
a078a34e75
Merge pull request #2902 from overleaf/bg-handle-clsi-503
...
handle 503 unavailable from clsi with retry
GitOrigin-RevId: 2b90aadbe93af5007a5a64ff3d2330b2fffbf56f
2020-06-13 02:11:10 +00:00
Brian Gough
516f0d04f4
Merge pull request #2905 from overleaf/bg-add-compile-status-metric
...
add metrics for compile status and errors
GitOrigin-RevId: 37d2257818430086d257e8764a979f416dab033a
2020-06-13 02:10:59 +00:00
Miguel Serrano
0583f7a667
Merge pull request #2746 from overleaf/ew-jpa-fix-deprecated-express-methods
...
[misc] fix express deprecations
GitOrigin-RevId: 78c730578c6a671f142837c98f98d5fd260332a5
2020-05-07 03:27:56 +00:00
Eric Mc Sween
1da929fcdb
Merge pull request #2618 from overleaf/ew-clear-root-doc-on-delete
...
Clear root doc on delete
GitOrigin-RevId: 4121d198f5253417bca2284c5f750c088debcb8c
2020-02-28 04:18:17 +00:00
Ersun Warncke
353625be51
Revert "Revert "Revert "decaf clean up"""
...
This reverts commit 4a3933668a0d01912e748c164581bcb9bbded0dd.
GitOrigin-RevId: 829a5c65093200db066f5852e42bd4f88d4c299a
2020-02-12 04:21:00 +00:00
Ersun Warncke
ba253bee12
Revert "Revert "Revert "clear rootDoc_id when deleting doc, reset on compiles if invalid"""
...
This reverts commit 034ae6fa4d8515944683395ef14d99801829cb6a.
GitOrigin-RevId: 16801e6f35e1ee879d36ca46e262f8bb6e506a54
2020-02-12 04:20:56 +00:00
Ersun Warncke
b4cdfc43cf
Revert "Revert "Revert "format fix"""
...
This reverts commit abb3f94c50b94cd87012d9e55c40afd9cbfe97e0.
GitOrigin-RevId: 090e01b96222024341e3c988ec3ba4c9fa1eef11
2020-02-12 04:20:52 +00:00
Ersun Warncke
02140124bd
Revert "Revert "Revert "wip"""
...
This reverts commit 80bc280977d25e3ba554c32242fddfb3e15915e6.
GitOrigin-RevId: 563ed572aad616d98cd81e0acf649df8f063aa3a
2020-02-12 04:20:47 +00:00
Ersun Warncke
9228fbd026
Revert "Revert "Revert "optimize rootDoc_id validation"""
...
This reverts commit f015bc2bb54e98d1271bc2417647638aa80ba843.
GitOrigin-RevId: ca8380891a0e71713ed33f200720a9ab92db6ef3
2020-02-12 04:20:43 +00:00
Ersun Warncke
9c61681ae2
Revert "Revert "Revert "log errors"""
...
This reverts commit 3911f3380767ae2e24b3694ef21c4eb73a7219b3.
GitOrigin-RevId: 9b2fe77881ab871f0919487b45b4fc78c48147fd
2020-02-12 04:20:38 +00:00
Ersun Warncke
b1c904f824
Revert "Revert "Revert "use ProjectRootDocManager in ClsiManager"""
...
This reverts commit 14c94880804a3567e2b91e314a707a47bb74be2c.
GitOrigin-RevId: 9039335d01e90cf240f627a7c35889c9ab994a63
2020-02-12 04:20:30 +00:00
Ersun Warncke
22fcbe8648
Revert "Revert "use ProjectRootDocManager in ClsiManager""
...
This reverts commit 98c0b9246eb29a9d0bdab14a04d456473a1b4a14.
GitOrigin-RevId: 14c94880804a3567e2b91e314a707a47bb74be2c
2020-02-12 04:20:08 +00:00
Ersun Warncke
d0ada551fa
Revert "Revert "log errors""
...
This reverts commit 0db1d89ac75bf80e1d28dbd02110809fa24f4a9f.
GitOrigin-RevId: 3911f3380767ae2e24b3694ef21c4eb73a7219b3
2020-02-12 04:19:59 +00:00
Ersun Warncke
f326d632ab
Revert "Revert "optimize rootDoc_id validation""
...
This reverts commit 13e4b22daa99b096cf2a9625212a855be59b1fdc.
GitOrigin-RevId: f015bc2bb54e98d1271bc2417647638aa80ba843
2020-02-12 04:19:54 +00:00
Ersun Warncke
1c77077e71
Revert "Revert "wip""
...
This reverts commit f817ac652e35e9ed79db8d24c4144460e4cc0f71.
GitOrigin-RevId: 80bc280977d25e3ba554c32242fddfb3e15915e6
2020-02-12 04:19:50 +00:00