Brian Gough
cc1b73336a
Merge pull request #4944 from overleaf/bg-use-file-line-errors
...
use file line errors in log output
GitOrigin-RevId: 6732b19552fe15431a70fbefbc572253c389c64e
2021-09-22 08:03:25 +00:00
Alexandre Bourdin
1094b0570b
Merge pull request #4922 from overleaf/jpa-web-clsi-metrics
...
[web] add new metrics for tracking initial assign/switch of clsi backend
GitOrigin-RevId: 4fb15ee8727cb397d1e44a86efb7d4833626bc6b
2021-09-01 08:03:11 +00:00
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
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
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
Eric Mc Sween
9ddaa8c9f6
Merge pull request #3830 from overleaf/em-upgrade-node-12
...
Upgrade to Node 12
GitOrigin-RevId: 19870922884b7c98e7e5f2c94df21829672d2db5
2021-04-01 02:05:52 +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
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
Jakob Ackermann
6eeb7857e3
Merge pull request #3390 from overleaf/jpa-faster-unit-tests
...
[perf] faster unit tests
GitOrigin-RevId: 188b8f3752638fde7a27a8d83b416bb9a6e3c95e
2020-11-28 03:04:01 +00:00
Paulo Jorge Reis
081f4212a8
Add error and validation issues ( #3400 )
...
* Remove references to the duplicatePaths validation
* Make the log entries more generic, to support validation and CLSI errors
* Add validation issues to the new logs UI
* Add CLSI errors to the new logs UI
* Update tests; accessibility fixes
* Disable PDF viewing when compile fails; address PR feedback.
* Add accessible description for error and validation failed compiles
GitOrigin-RevId: 8b0597af8857712d47c20e4915470e8e745bb315
2020-11-27 03:04:38 +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
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
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
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
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
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
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
f326d632ab
Revert "Revert "optimize rootDoc_id validation""
...
This reverts commit 13e4b22daa99b096cf2a9625212a855be59b1fdc.
GitOrigin-RevId: f015bc2bb54e98d1271bc2417647638aa80ba843
2020-02-12 04:19:54 +00:00
Ersun Warncke
93bf7cc4db
Revert "Revert "clear rootDoc_id when deleting doc, reset on compiles if invalid""
...
This reverts commit 7acba5876581044a08d6deb4767a4a2196dcb765.
GitOrigin-RevId: 034ae6fa4d8515944683395ef14d99801829cb6a
2020-02-12 04:19:41 +00:00
Ersun Warncke
76a6c399e3
Revert "clear rootDoc_id when deleting doc, reset on compiles if invalid"
...
This reverts commit 539982adbf55014400f4aff94195e7f567cda676.
GitOrigin-RevId: 7acba5876581044a08d6deb4767a4a2196dcb765
2020-02-06 04:19:46 +00:00
Ersun Warncke
d12e890f27
Revert "optimize rootDoc_id validation"
...
This reverts commit f19d02674f7d0d47531be7586bc47628601a7231.
GitOrigin-RevId: 13e4b22daa99b096cf2a9625212a855be59b1fdc
2020-02-06 04:19:31 +00:00
Ersun Warncke
e018663af5
Revert "use ProjectRootDocManager in ClsiManager"
...
This reverts commit 4687a9be32c34e9ea92b2b53cb72d71242e7dfa1.
GitOrigin-RevId: 98c0b9246eb29a9d0bdab14a04d456473a1b4a14
2020-02-06 04:19:14 +00:00
Brian Gough
f53f70cdc7
use ProjectRootDocManager in ClsiManager
...
GitOrigin-RevId: 4687a9be32c34e9ea92b2b53cb72d71242e7dfa1
2020-02-06 04:19:09 +00:00
Ersun Warncke
b493f91c45
optimize rootDoc_id validation
...
GitOrigin-RevId: f19d02674f7d0d47531be7586bc47628601a7231
2020-02-06 04:18:53 +00:00
Ersun Warncke
74ecb4bebe
clear rootDoc_id when deleting doc, reset on compiles if invalid
...
GitOrigin-RevId: 539982adbf55014400f4aff94195e7f567cda676
2020-02-06 04:18:37 +00:00
Ersun Warncke
2c335802ca
remove excessive logging
...
GitOrigin-RevId: 62024bbe0415a4fdae66eb1b9c6707e5faec7cd1
2019-11-27 12:17:32 +00:00
Eric Mc Sween
797595bb1a
Merge pull request #2128 from overleaf/em-clsi-error-logs
...
Avoid logging document content in failed compile
GitOrigin-RevId: 7ca296ccb28d814b9fa5610c0ee065e4614875a6
2019-09-09 12:05:32 +00:00
Eric Mc Sween
df2d46b332
Merge pull request #2074 from overleaf/em-o-error
...
Introduce OError in CLSI manager
GitOrigin-RevId: 4299de10a21242be4a127e761720de48f587412b
2019-08-13 12:50:25 +00:00
Simon Detheridge
7588393580
Merge pull request #2047 from overleaf/spd-eslint-mocha-arrows
...
Enforce consistent callback style in mocha tests
GitOrigin-RevId: a64c293dae6926ef5831abe97eaf2044942a5c85
2019-08-07 15:29:25 +00:00
Timothée Alby
109585d20c
Merge pull request #1947 from overleaf/ta-cleanup-guard-1
...
Remove __guard__ Function Used to Access Settings
GitOrigin-RevId: 15e3749990a9fc68f8d344390b1bf0d09d839106
2019-07-15 13:23:38 +00:00
Shane Kilkelly
238e2b2565
Merge pull request #1937 from overleaf/spd-sandboxedmodule-global-console
...
Add 'console' to SandboxedModule globals
GitOrigin-RevId: fad442ca128561a4fa193b929f217cf31ad0f043
2019-07-15 10:44:47 +00:00