Commit graph

18107 commits

Author SHA1 Message Date
Simon Detheridge
3b27a2ee6a Add debug logs to project lock mechanism 2021-07-08 12:15:00 +01:00
Simon Detheridge
a3c4f8c4e6 Add format-style Log.debug method 2021-07-08 12:14:29 +01:00
Jakob Ackermann
a8ca0a896f [misc] fix listing of services for bin/ scripts 2021-07-08 11:19:13 +01:00
Jakob Ackermann
859252696b [misc] drop coffee-script imports 2021-07-08 11:19:13 +01:00
Jakob Ackermann
faca804fc1 [misc] upgrade settings module to v2 2021-07-08 11:19:13 +01:00
Jakob Ackermann
42b680c7c7 [misc] update references to decaffeinated coffee-script files 2021-07-08 11:19:13 +01:00
Jakob Ackermann
6c6335ce98 [misc] do not set SHARELATEX_CONFIG in run scripts 2021-07-08 11:19:13 +01:00
Jakob Ackermann
763e25fbdf [misc] delete commented ProjectSize task 2021-07-08 11:19:13 +01:00
Jakob Ackermann
d7c641eaf7 [misc] run format:fix 2021-07-08 11:19:13 +01:00
decaffeinate
d812c86c51 decaffeinate: Run post-processing cleanups on coffee files 2021-07-08 11:19:13 +01:00
decaffeinate
efd16d99d6 decaffeinate: Convert coffee files to JS 2021-07-08 11:19:00 +01:00
decaffeinate
d152a79810 decaffeinate: Rename coffee files from .coffee to .js 2021-07-08 11:18:47 +01:00
Jakob Ackermann
8f1da35bef [misc] setup eslint and prettier and fix any errors 2021-07-08 11:16:04 +01:00
Shane Kilkelly
c8dcf853bc Remove migrations
These will be replaced by migrations in the web project
2021-07-08 10:08:34 +01:00
Jakob Ackermann
72f8e6594c Merge pull request #903 from overleaf/jpa-faster-install
[perf] faster docker image builds
2021-07-08 10:57:26 +02:00
Jakob Ackermann
fa39ef7fe5 Merge pull request #4296 from overleaf/jpa-cleanup-config
[config] minor cleanup

GitOrigin-RevId: 72f39e88cb91c7ed7305ade6dc46f63d7bf43ce9
2021-07-08 02:08:34 +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
CloudBuild
d7e9e14f6c auto update translation
GitOrigin-RevId: 48663ab53b375672dcb19a4a526991abbb65904a
2021-07-08 02:08:23 +00:00
Jakob Ackermann
aa5a9b0e65 [perf] use npm ci --only=production for all but web 2021-07-07 14:46:25 +01:00
Jakob Ackermann
d6928bc7fc [perf] use npm ci 2021-07-07 14:46:20 +01:00
Jakob Ackermann
984eb3bf2d [perf] use docker layer caching from previous build 2021-07-07 14:46:13 +01:00
Simon Detheridge
12b8c0a1c0 Merge pull request #131 from overleaf/spd-revert-jemalloc
Revert "Merge pull request #129 from overleaf/spd-jeprof"
2021-07-07 12:09:02 +01:00
Paulo Jorge Reis
51c6d90c17 Handle PDF rendering errors in the new logs UI (#4280)
* Handle PDF rendering errors in the new logs UI

* Remove new logs UI specific code from the PDFController

* Only change view with errors and validation issues in the new logs UI

GitOrigin-RevId: 0761ac224db39fdacbb61692c1aa35c3da82a76b
2021-07-07 02:05:48 +00:00
Paulo Jorge Reis
966013f58a Revert "Revert "Extend the new compile UI rollout, respecting existing allocations""
This reverts commit d0ffcb9a13e9597cebf95961c0c50ef8f950dd7a.

GitOrigin-RevId: 46c52ee8df8de4028b3262cb0f3202118014814c
2021-07-07 02:05:44 +00:00
Paulo Jorge Reis
0ee18df3e4 Revert "Revert "Improve copy for single errors or warnings""
This reverts commit f01e0726b9a0119bc7f8bda3a98c2c0df5026e51.

GitOrigin-RevId: fc44d227e50c46260fbedb8c80fdca24092f81eb
2021-07-07 02:05:40 +00:00
Paulo Jorge Reis
db8173011e Revert "Revert "Handle PDF failure error case""
This reverts commit 946838e51feaff28025c4a4d733e0dd89a29e890.

GitOrigin-RevId: 63f130c8cfecfb512ec97bda62c6ea1cad2c8fed
2021-07-07 02:05:36 +00:00
Jakob Ackermann
51dc1c437a Merge pull request #7 from overleaf/jpa-fix-defaults-path
[misc] fix path to app config/ dir following the renaming of the package
2021-07-06 16:36:07 +02:00
Jakob Ackermann
acc65b2518 [misc] fix path to app config/ dir following the renaming of the package
The Settings.js file is now located in node_modules/@overleaf/settings,
 which is one level deeper than node_modules/settings-sharelatex.
2021-07-06 15:19:30 +01:00
Simon Detheridge
5a9e3d68bb Merge pull request #133 from overleaf/sk-add-deprecated-xml-libs
Re-add removed libs, needed by AWS SDK
2021-07-06 14:53:58 +01:00
Jakob Ackermann
81f4c31208 Merge pull request #6 from overleaf/jpa-export-merge
[misc] expose merge function in a separate module
2021-07-06 15:43:10 +02:00
Jakob Ackermann
ef6d86a2cd Merge pull request #5 from overleaf/ae-throw-coffee
Remove CoffeeScript
2021-07-06 15:42:48 +02:00
Shane Kilkelly
8e6fa6c938 Re-add removed libs, needed by AWS SDK 2021-07-06 14:17:37 +01:00
Jakob Ackermann
03f6e8af64 [misc] expose merge function in a separate module 2021-07-06 13:52:59 +01:00
Simon Detheridge
6b4cee976a Merge pull request #132 from overleaf/spd-binutils
Add binutils and graphviz to Docker image
2021-07-06 08:55:53 +01:00
Alexandre Bourdin
89b031a21a Merge pull request #4240 from overleaf/ns-trim-urls
Trim outer whitespace when adding file from external URL

GitOrigin-RevId: b85b1aac81a138d7ebc11b36f180468cdf778b8c
2021-07-06 02:05:58 +00:00
Alexandre Bourdin
40c7f2dae1 Merge pull request #4219 from overleaf/ab-group-subscription-user-property
Send group subscription user property

GitOrigin-RevId: d1033ab4e0b5061b9d4a781e319d6b690f7e6154
2021-07-06 02:05:54 +00:00
Thomas
f6c6a06b80 Upgrade passport-saml to overleaf fork of 3.0.0 and xml-crypto to 2.1.2 (#4190)
* Use overleaf fork of passport-saml and remove existing monkey patch

* Update xml-crypto to 2.1.2

* New way of loading MultiSamlStrategy

* Rename privateCert privateKey

* Add promisified SAML Cache Provider functions for passport-saml 3.0.0

* Remove test which checked xml-crypto version for old patch

* Sign mock SAML responses with test saml-key and provide saml-cert to test settings

* Decaffeinate createMockSamlResponse.js

* Add (unused) cert property to SAML config for metadata endpoint

Removes non-needed `cert` property from `settings.test.js`

* Allow SAMLManager to accept either privateKey or privateCert (legacy) config keys

Co-authored-by: Christopher Hoskin <christopher.hoskin@gmail.com>
GitOrigin-RevId: bdb9d1c9bf72a7fbf60c0b2afa9068e7a8c147d3
2021-07-06 02:05:50 +00:00
Alf Eaton
34ba76aa76 Merge pull request #4286 from overleaf/jpa-clear-clsi-unavailable-state
[frontend] PdfController: clear clsiUnavailable state for new responses

GitOrigin-RevId: 7a89a24db6c8f0e62e775befcb4148e749ce8b4e
2021-07-06 02:05:46 +00:00
Alf Eaton
2be1a44eda Merge pull request #4257 from overleaf/ae-file-views-beta
Roll out new file view UI to beta users

GitOrigin-RevId: c8665c5043ad55dd530989fb3b9c51f21858fcac
2021-07-06 02:05:42 +00:00
Simon Detheridge
14f459870a Add binutils and graphviz to Docker image 2021-07-05 17:31:17 +01:00
Jakob Ackermann
d12fa9e35e Merge pull request #258 from overleaf/jpa-clsi-perf-downloads
[UrlFetcher] do not override domain for clsi-perf requests
2021-07-05 10:02:31 +02:00
CloudBuild
3fb6ea4ea5 auto update translation
GitOrigin-RevId: d9d09dcfa5660f9924fab51d77023d31a0293f32
2021-07-05 02:05:59 +00:00
CloudBuild
4bf722ef3c auto update translation
GitOrigin-RevId: 96f081c3334444ddaf3d9fc8685bc3bb88c23e23
2021-07-03 02:09:21 +00:00
Eric Mc Sween
e6b805b885 Merge pull request #4242 from overleaf/ho-paypal-script-exit-code
exit with non zero code when no invoicess were processed

GitOrigin-RevId: df449964fc830f689d972d9ad3ed6b352c1b7c5c
2021-07-03 02:09:17 +00:00
Eric Mc Sween
9820b787a7 Merge pull request #4254 from overleaf/em-active-projects-expire
Unit test for not expiring active projects

GitOrigin-RevId: 8b2f3d05c7f7e4c4d44e5487041f19d2bff9891a
2021-07-03 02:09:12 +00:00
Eric Mc Sween
a966a5f9d7 Merge pull request #4255 from overleaf/em-active-projects-expire-2
Create the deleted project record later when deleting a project

GitOrigin-RevId: 2ed21fb4623f4f27be0ed6ca8132cd81aa0a7ced
2021-07-03 02:09:07 +00:00
Simon Detheridge
e505ecc8c0 Revert "Merge pull request #129 from overleaf/spd-jeprof"
This reverts commit 4268e58ff36bd591d40e3730446b691440c34409, reversing
changes made to 6c1eaae2eeb4949b7466c36d4a2e722697294c0b.
2021-07-02 17:04:41 +01:00
Simon Detheridge
187dfa82e5 Merge pull request #130 from overleaf/spd-apachecommons
Upgrade apache commons to 3.12
2021-07-02 16:00:15 +01:00
Simon Detheridge
adcd156470 Merge pull request #129 from overleaf/spd-jeprof
Add jemalloc/jeprof profiling
2021-07-02 15:59:57 +01:00
Simon Detheridge
12dab1bcd4 Upgrade apache commons to 3.12 2021-07-02 14:44:15 +01:00