Commit graph

18120 commits

Author SHA1 Message Date
Jakob Ackermann
835dbe784b [misc] install bunyan as production dependency
```
Error: Cannot find module 'bunyan'
Require stack:
- .../node_modules/@google-cloud/logging-bunyan/build/src/middleware/express.js
- .../node_modules/@google-cloud/logging-bunyan/build/src/index.js
- .../node_modules/logger-sharelatex/logging-manager.js
- .../node_modules/logger-sharelatex/index.js
- .../app.js
```
2021-07-12 17:35:45 +01:00
Jakob Ackermann
ac1eb8fb50 [misc] goodbye grunt 2021-07-12 17:25:44 +01:00
Jakob Ackermann
9631208615 Merge pull request #912 from overleaf/msm-renamed-private-cert-saml
Renamed SAML setting `privateCert` -> `privateKey`
2021-07-12 13:35:27 +02:00
Jakob Ackermann
891ff7640f Merge pull request #911 from overleaf/jpa-decaff-and-config-cleanup
[misc] decaff and config cleanup
2021-07-12 13:35:14 +02:00
Jakob Ackermann
b6e33e4ab8 Merge pull request #910 from overleaf/sk-remove-migrations-1
Remove migrations
2021-07-12 13:34:58 +02:00
Miguel Serrano
adf3420c91 Renamed SAML setting privateCert -> privateKey
Required by `passport-saml` update to 3.x
2021-07-09 16:52:26 +02:00
Shane Kilkelly
2daf5919ac Merge pull request #136 from overleaf/sk-debug-logs-for-dependencies
Drop the root log level to "DEGUG"
2021-07-09 11:21:21 +01:00
Shane Kilkelly
21c1378b4a Drop the root log level to "DEGUG"
This allows our dependencies, such as jgit, to log
at the debug level
2021-07-09 11:11:52 +01:00
Jakob Ackermann
611019d718 Merge pull request #4297 from overleaf/jpa-prepare-separate-defaults-per-env
[config] prepare separate overrides per env

GitOrigin-RevId: fc000c023e7cc8383075c633c2882ab8e6b36c4b
2021-07-08 12:54:01 +00:00
Simon Detheridge
f27d167554 Merge pull request #135 from overleaf/spd-debugging
Add extra debug logging, and enable it
2021-07-08 13:21:41 +01:00
Simon Detheridge
087c076fcd Enable more verbose logging 2021-07-08 12:32:15 +01:00
Simon Detheridge
c6d20faa34 Add debug logging to push mechanism 2021-07-08 12:32:10 +01:00
Simon Detheridge
5be3616109 Add debug logs to put hook 2021-07-08 12:15:46 +01:00
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