Commit graph

15303 commits

Author SHA1 Message Date
CloudBuild
4b4cc81db0 auto update translation
GitOrigin-RevId: b040cad42ff3422f33fd2e443be2b107108390df
2021-07-14 12:40:51 +00:00
Jakob Ackermann
22aad599ba Merge pull request #4308 from overleaf/bg-allow-creating-projects-with-old-history
add script to create projects with sharelatex history

GitOrigin-RevId: bc5eae5d16cc65fca60b9155b35b7f5e2c663870
2021-07-14 12:40:47 +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
Jakob Ackermann
b4777a8cce Merge pull request #4306 from overleaf/jpa-http-sockets-limit
[misc] migrate setting of limit for http/https sockets into entrypoint

GitOrigin-RevId: 2ff568bf89d3175b48246db3645a91428624b31f
2021-07-14 12:40:39 +00:00
Jakob Ackermann
f2be7f4909 Merge pull request #4298 from overleaf/jpa-separate-defaults-per-env
[config] separate default files for Server CE/Server Pro/SAAS

GitOrigin-RevId: 532aac7855303490d37c4dff2974106cc5e45705
2021-07-14 12:40:35 +00:00
Shane Kilkelly
295fd61317 Merge pull request #4299 from overleaf/msm-reword-dropbox-error-modal
Reworded Dropbox message for projects with duplicate names

GitOrigin-RevId: b9fe6f6ca98308dd502243c49a4bdfc136f02cdf
2021-07-14 12:40:31 +00:00
Shane Kilkelly
66344f414d Merge pull request #4276 from overleaf/hb-update-compile-still-running
Update wording for compile still running error

GitOrigin-RevId: ec16426cc264b6ededf1a5289545d2a829cdbd43
2021-07-14 12:40:28 +00:00
Shane Kilkelly
8adc39dc2b Merge pull request #4302 from overleaf/sk-upgrade-east-2-0-2
Upgrade east to version 2.0.2

GitOrigin-RevId: f678add26bf74060269115e92654a922bc163890
2021-07-14 12:40:24 +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
dependabot[bot]
f4b2c083b0 Bump glob-parent from 5.1.0 to 5.1.2
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.0 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.0...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-13 14:23:35 +00:00
Jakob Ackermann
29cea1743b [misc] DeletingADocumentTests: fix behavior checks
The preloading setup does an initial getDocument request to web-api.
2021-07-13 13:12:34 +01:00
Jakob Ackermann
bf8224e2a0 [misc] ApplyingUpdatesToADocTests: adhere to stricter chai assertions 2021-07-13 12:51:06 +01:00
Jakob Ackermann
b8fcb265b2 [misc] EventLogger: drop explicit metrics.inc amount
The module has a hard-coded increment of 1, which is the only value the
 prometheus backend supports.
2021-07-13 12:40:46 +01:00
Jakob Ackermann
1184f8f5b6 [misc] fix chai assertions .equal.false -> .equals(false) 2021-07-13 12:35:32 +01:00
Jakob Ackermann
bd5e8b8f71 [misc] fix chai assertions .equal.true -> .equals(true) 2021-07-13 12:34:56 +01:00
Jakob Ackermann
bc401ac44e [misc] upgrade node version to latest v12 LTS version 12.22.3 2021-07-13 12:26:36 +01:00
Jakob Ackermann
886d32ef43 [misc] upgrade node version to latest v12 LTS version 12.22.3 2021-07-13 12:26:35 +01:00
Jakob Ackermann
4893772089 [misc] upgrade node version to latest v12 LTS version 12.22.3 2021-07-13 12:26:35 +01:00
Jakob Ackermann
53c19fa50d [misc] upgrade node version to latest v12 LTS version 12.22.3 2021-07-13 12:26:35 +01:00
Jakob Ackermann
3644566c44 [misc] upgrade node version to latest v12 LTS version 12.22.3 2021-07-13 12:26:34 +01:00
Jakob Ackermann
84f5ae1dfc [misc] upgrade node version to latest v12 LTS version 12.22.3 2021-07-13 12:26:34 +01:00
Jakob Ackermann
89928dd19d [misc] upgrade node version to latest v12 LTS version 12.22.3 2021-07-13 12:26:33 +01:00
Jakob Ackermann
7cc8b54a1d [misc] upgrade node version to latest v12 LTS version 12.22.3 2021-07-13 12:26:32 +01:00
Jakob Ackermann
c2d44d16e3 [misc] upgrade node version to latest v12 LTS version 12.22.3 2021-07-13 12:26:31 +01:00
Jakob Ackermann
40aafa27e0 [misc] upgrade node version to latest v12 LTS version 12.22.3 2021-07-13 12:26:30 +01:00
Jakob Ackermann
0e5f5afe79 [misc] temporary override a few new/changed eslint rules 2021-07-13 12:24:43 +01:00
Jakob Ackermann
22a5d5bd80 [misc] temporary override a few new/changed eslint rules 2021-07-13 12:24:42 +01:00
Jakob Ackermann
6bc592f829 [misc] temporary override a few new/changed eslint rules 2021-07-13 12:24:42 +01:00
Jakob Ackermann
91c567e31d [misc] temporary override a few new/changed eslint rules 2021-07-13 12:24:41 +01:00
Jakob Ackermann
e785a47bab [misc] temporary override a few new/changed eslint rules 2021-07-13 12:24:41 +01:00
Jakob Ackermann
1ac3c0763d [misc] temporary override a few new/changed eslint rules 2021-07-13 12:24:40 +01:00
Jakob Ackermann
9e4624315b [misc] temporary override a few new/changed eslint rules 2021-07-13 12:24:39 +01:00
Jakob Ackermann
0616b1b31c [misc] temporary override a few new/changed eslint rules 2021-07-13 12:24:37 +01:00
Jakob Ackermann
181a895c04 [misc] temporary override a few new/changed eslint rules 2021-07-13 12:24:37 +01:00
Jakob Ackermann
e8697f7f97 [misc] temporary override a few new/changed eslint rules 2021-07-13 12:24:36 +01:00
Jakob Ackermann
f285e503b4 [misc] run format_fix and lint:fix 2021-07-13 12:04:48 +01:00
Jakob Ackermann
540b52c128 [misc] run format_fix and lint:fix 2021-07-13 12:04:48 +01:00
Jakob Ackermann
1b7e5e6206 [misc] run format_fix and lint:fix 2021-07-13 12:04:48 +01:00
Jakob Ackermann
9074ddd8a5 [misc] run format_fix and lint:fix 2021-07-13 12:04:47 +01:00
Jakob Ackermann
58eafb1583 [misc] run format_fix and lint:fix 2021-07-13 12:04:47 +01:00
Jakob Ackermann
e3d7afeb96 [misc] run format_fix and lint:fix 2021-07-13 12:04:46 +01:00
Jakob Ackermann
7e8e231059 [misc] run format_fix and lint:fix 2021-07-13 12:04:45 +01:00
Jakob Ackermann
9a2bb1044f [misc] run format_fix and lint:fix 2021-07-13 12:04:44 +01:00
Jakob Ackermann
9178394dd6 [misc] run format_fix and lint:fix 2021-07-13 12:04:43 +01:00
Jakob Ackermann
c532376e21 [misc] run format_fix and lint:fix 2021-07-13 12:04:42 +01:00
Jakob Ackermann
631873fc83 [misc] upgrade build scripts to version 3.11.0 and cleanup packages
```
npm uninstall prettier-eslint-cli eslint-plugin-standard eslint-plugin-jsx-a11y eslint-plugin-react eslint-config-standard-jsx eslint-config-standard-react babel-eslint
npm dedupe
```
2021-07-13 11:55:19 +01:00
Jakob Ackermann
d6aee00057 [misc] upgrade build scripts to version 3.11.0 and cleanup packages
```
npm uninstall prettier-eslint-cli eslint-plugin-standard eslint-plugin-jsx-a11y eslint-plugin-react eslint-config-standard-jsx eslint-config-standard-react babel-eslint
npm dedupe
```
2021-07-13 11:55:19 +01:00
Jakob Ackermann
679ea1616c [misc] upgrade build scripts to version 3.11.0 and cleanup packages
```
npm uninstall prettier-eslint-cli eslint-plugin-standard eslint-plugin-jsx-a11y eslint-plugin-react eslint-config-standard-jsx eslint-config-standard-react babel-eslint
npm dedupe
```
2021-07-13 11:55:18 +01:00
Jakob Ackermann
21f5c25dbe [misc] upgrade build scripts to version 3.11.0 and cleanup packages
```
npm uninstall prettier-eslint-cli eslint-plugin-standard eslint-plugin-jsx-a11y eslint-plugin-react eslint-config-standard-jsx eslint-config-standard-react babel-eslint
npm dedupe
```
2021-07-13 11:55:18 +01:00
Jakob Ackermann
95df66924a [misc] upgrade build scripts to version 3.11.0 and cleanup packages
```
npm uninstall prettier-eslint-cli eslint-plugin-standard eslint-plugin-jsx-a11y eslint-plugin-react eslint-config-standard-jsx eslint-config-standard-react babel-eslint
npm dedupe
```
2021-07-13 11:55:18 +01:00
Jakob Ackermann
3003a1dded [misc] upgrade build scripts to version 3.11.0 and cleanup packages
```
npm uninstall prettier-eslint-cli eslint-plugin-standard eslint-plugin-jsx-a11y eslint-plugin-react eslint-config-standard-jsx eslint-config-standard-react babel-eslint
npm dedupe
```
2021-07-13 11:55:17 +01:00
Jakob Ackermann
d17cda1a7b [misc] upgrade build scripts to version 3.11.0 and cleanup packages
```
npm uninstall prettier-eslint-cli eslint-plugin-standard eslint-plugin-jsx-a11y eslint-plugin-react eslint-config-standard-jsx eslint-config-standard-react babel-eslint
npm dedupe
```
2021-07-13 11:55:16 +01:00
Jakob Ackermann
938f1f8543 [misc] upgrade build scripts to version 3.11.0 and cleanup packages
```
npm uninstall prettier-eslint-cli eslint-plugin-standard eslint-plugin-jsx-a11y eslint-plugin-react eslint-config-standard-jsx eslint-config-standard-react babel-eslint
npm dedupe
```
2021-07-13 11:55:15 +01:00
Jakob Ackermann
1e577e24b1 [misc] upgrade build scripts to version 3.11.0 and cleanup packages
```
npm uninstall prettier-eslint-cli eslint-plugin-standard eslint-plugin-jsx-a11y eslint-plugin-react eslint-config-standard-jsx eslint-config-standard-react babel-eslint
npm dedupe
```
2021-07-13 11:55:14 +01:00
Jakob Ackermann
2a3f264140 [misc] upgrade build scripts to version 3.11.0 and cleanup packages
```
npm uninstall prettier-eslint-cli eslint-plugin-standard eslint-plugin-jsx-a11y eslint-plugin-react eslint-config-standard-jsx eslint-config-standard-react babel-eslint
npm dedupe
```
2021-07-13 11:55:13 +01:00
Jakob Ackermann
72a19ad895 [misc] goodbye coffee-script 2021-07-13 10:07:04 +01:00
Jakob Ackermann
c4cfb0bd78 [misc] goodbye coffee-script 2021-07-13 10:07:04 +01:00
Jakob Ackermann
8cd225cd2f [misc] goodbye coffee-script 2021-07-13 10:07:03 +01:00
Jakob Ackermann
91fe61b167 [misc] goodbye coffee-script 2021-07-13 10:07:02 +01:00
Jakob Ackermann
9fe23031cd [misc] goodbye coffee-script 2021-07-13 10:07:01 +01:00
Jakob Ackermann
98097b0804 [misc] goodbye coffee-script 2021-07-13 10:07:00 +01:00
Jakob Ackermann
4b066f615f [misc] run npm dedupe 2021-07-12 17:51:07 +01:00
Jakob Ackermann
d840574084 [misc] run npm dedupe 2021-07-12 17:51:06 +01:00
Jakob Ackermann
eac9ae4ff5 [misc] run npm dedupe 2021-07-12 17:51:06 +01:00
Jakob Ackermann
74f049fc4a [misc] run npm dedupe 2021-07-12 17:51:06 +01:00
Jakob Ackermann
d1ddd8c968 [misc] run npm dedupe 2021-07-12 17:51:05 +01:00
Jakob Ackermann
09fdcbc10e [misc] run npm dedupe 2021-07-12 17:51:05 +01:00
Jakob Ackermann
e66d1231f2 [misc] run npm dedupe 2021-07-12 17:51:04 +01:00
Jakob Ackermann
9af4425915 [misc] run npm dedupe 2021-07-12 17:51:02 +01:00
Jakob Ackermann
9343325480 [misc] run npm dedupe 2021-07-12 17:51:02 +01:00
Jakob Ackermann
34de603e90 [misc] run npm dedupe 2021-07-12 17:51:01 +01:00
Jakob Ackermann
64551f0198 [misc] switch from settings-sharelatex to @overleaf/settings 2021-07-12 17:47:21 +01:00
Jakob Ackermann
b1123d3179 [misc] switch from settings-sharelatex to @overleaf/settings 2021-07-12 17:47:21 +01:00
Jakob Ackermann
072d970d33 [misc] switch from settings-sharelatex to @overleaf/settings 2021-07-12 17:47:20 +01:00
Jakob Ackermann
2c35adaf48 [misc] switch from settings-sharelatex to @overleaf/settings 2021-07-12 17:47:20 +01:00
Jakob Ackermann
053a0f6333 [misc] switch from settings-sharelatex to @overleaf/settings 2021-07-12 17:47:20 +01:00
Jakob Ackermann
3152bf361d [misc] switch from settings-sharelatex to @overleaf/settings 2021-07-12 17:47:19 +01:00
Jakob Ackermann
a26ae73597 [misc] switch from settings-sharelatex to @overleaf/settings 2021-07-12 17:47:18 +01:00
Jakob Ackermann
b5bb7c3b04 [misc] switch from settings-sharelatex to @overleaf/settings 2021-07-12 17:47:16 +01:00
Jakob Ackermann
f72362a668 [misc] switch from settings-sharelatex to @overleaf/settings 2021-07-12 17:47:16 +01:00
Jakob Ackermann
519dd274bf [misc] switch from settings-sharelatex to @overleaf/settings 2021-07-12 17:47:15 +01:00
Jakob Ackermann
7af2c6a5ea [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:37:59 +01:00
Jakob Ackermann
ec49c4c9a6 [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:51 +01:00
Jakob Ackermann
91b130665a [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:51 +01:00
Jakob Ackermann
0ceaff1f3c [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:50 +01:00
Jakob Ackermann
5239f6c327 [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:50 +01:00
Jakob Ackermann
a0e488d450 [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:49 +01:00
Jakob Ackermann
8d6f169c66 [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:49 +01:00
Jakob Ackermann
7495d2114a [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:46 +01:00
Jakob Ackermann
0869923375 [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:46 +01:00
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
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
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
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
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
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
Shane Kilkelly
8e6fa6c938 Re-add removed libs, needed by AWS SDK 2021-07-06 14:17:37 +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
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
Simon Detheridge
9a7ba7f04f Add jemalloc/jeprof profiling 2021-07-02 13:16:31 +01:00
Jakob Ackermann
516525126b [UrlFetcher] do not override domain for clsi-perf requests 2021-07-02 09:17:29 +01:00
Shane Kilkelly
36982a59e7 Merge pull request #115 from overleaf/dependabot-maven-junit-junit-4.13.2
Bump junit from 4.12 to 4.13.2
2021-07-01 16:00:40 +01:00
Shane Kilkelly
5877f57a36 Merge pull request #116 from overleaf/dependabot-maven-org.apache.commons-commons-compress-1.20
Bump commons-compress from 1.15 to 1.20
2021-07-01 16:00:26 +01:00
Shane Kilkelly
d0166ceb01 Merge pull request #117 from overleaf/dependabot-maven-com.google.guava-guava-30.1.1-jre
Bump guava from 24.0-jre to 30.1.1-jre
2021-07-01 16:00:14 +01:00
Shane Kilkelly
3c04d8554b Merge pull request #119 from overleaf/dependabot-maven-commons-io-commons-io-2.10.0
Bump commons-io from 2.6 to 2.10.0
2021-07-01 16:00:03 +01:00
Shane Kilkelly
88259ba3ec Merge pull request #126 from overleaf/sk-upgrade-jgit-5.12
Upgrade jgit to version 5.12
2021-07-01 15:59:51 +01:00
Shane Kilkelly
a8aa1dde79 Merge pull request #127 from overleaf/spd-reupgrade-jetty-again
Revert jetty downgrade
2021-07-01 15:59:37 +01:00
Shane Kilkelly
49aa2ef845 Fix query for oldest (un-swapped) project 2021-07-01 14:57:58 +01:00
Shane Kilkelly
9170f6fdb3 Upgrade sqlite jdbc library to 3.36.0.1 2021-07-01 14:35:30 +01:00
Miguel Serrano
7430d7f558 Merge pull request #4287 from overleaf/jpa-no-analytics-queues-server-ce-pro
[misc] do not set up analytics queues in Server CE/Pro

GitOrigin-RevId: 61a62f0ff7f04d5206845e01c68097229a5954fd
2021-07-01 12:30:26 +00:00
Miguel Serrano
37a50e295a [ServerPro] Removed SaaS views in admin panel and user settings (#4263)
* Removed SaaS views from SP admin panel and user settings

* Hiding must reconfirm for server pro and restored site admin

* Removed empty 'security' section

GitOrigin-RevId: 9ad8e2b7510cf957ccf3f968a53fa88d3174a64b
2021-07-01 12:30:21 +00:00
CloudBuild
59be5e4ce8 auto update translation
GitOrigin-RevId: abf8fe0ccb401e08aa153429407db6da9006557f
2021-07-01 12:30:14 +00:00
Miguel Serrano
19d515fe91 Push React Navigation Toolbar to beta (#4283)
GitOrigin-RevId: 56078b62faeeaf6e994c23b73061705834c3211d
2021-07-01 12:30:10 +00:00
Miguel Serrano
19bd381a9e Improve Server Pro Template dialogs (#4282)
GitOrigin-RevId: 9d4368b7bef47c212fedfce49946b1d15e2e21ff
2021-07-01 12:30:05 +00:00
Miguel Serrano
cbb0fd41e2 Merge pull request #4273 from overleaf/msm-update-publish-modal-permissions
User 'write' permission to display the publish button

GitOrigin-RevId: f73ccf05b165ef1ef9e57e3aea4c04d177aba6d4
2021-07-01 12:29:59 +00:00
Miguel Serrano
1419129348 Fixed duplicated key in Collaborator icons (#4272)
GitOrigin-RevId: f0bfc27de0764f3347e6b4cf342a1be574e3e916
2021-07-01 12:29:54 +00:00
Miguel Serrano
ab15252843 Fixed errors with anonymous track changes (#4260)
GitOrigin-RevId: 63806b22e95ff80ec78d53170f6dc823196f5eac
2021-07-01 12:29:50 +00:00
Jakob Ackermann
343ab44172 Merge pull request #4279 from overleaf/bg-revert-async-apply-in-pdfcontroller
revert async apply in PdfController

GitOrigin-RevId: 20628ca8c9ba06528271e1323ba062d6b563e08e
2021-07-01 12:29:45 +00:00
Simon Detheridge
33b6ffd4a2 Drop default jetty idle timeout to 30sec 2021-07-01 11:46:42 +01:00
Simon Detheridge
f8f60eabad Revert "Merge pull request #125 from overleaf/spd-revert-jetty-changes"
This reverts commit 9c324c378c46aa8b4b14e529e90ad9cbfca969cd, reversing
changes made to 63ccd609405952aa8749299c8a5cf7895f14a1bd.
2021-07-01 11:45:16 +01:00
Shane Kilkelly
93de1d0946 Upgrade jgit to 5.12.0 2021-07-01 09:37:53 +01:00
Jakob Ackermann
efa0c54ca5 [misc] add timings for the sync stage and output stage 2021-06-30 11:45:34 +01: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
Alf Eaton
55ca4783fb Remove React memo from preview pane
GitOrigin-RevId: 27c953ff7727a7898587d9e43e18c6cc9295c23b
2021-06-29 02:06:00 +00:00
Paulo Jorge Reis
4e384e0c3b Revert "Handle PDF failure error case"
This reverts commit 902a97f6f454f09345ba4017b50623fd46e57110.

GitOrigin-RevId: 946838e51feaff28025c4a4d733e0dd89a29e890
2021-06-29 02:05:56 +00:00
Paulo Jorge Reis
f4822e4407 Revert "Improve copy for single errors or warnings"
This reverts commit 1fdd270d4148abd0385e4258bb634cf769cce8c5.

GitOrigin-RevId: f01e0726b9a0119bc7f8bda3a98c2c0df5026e51
2021-06-29 02:05:52 +00:00
Paulo Jorge Reis
1e43dd3495 Revert "Extend the new compile UI rollout, respecting existing allocations"
This reverts commit 61bfba3a05780ec0b3a3461bba50cca6474a1274.

GitOrigin-RevId: d0ffcb9a13e9597cebf95961c0c50ef8f950dd7a
2021-06-29 02:05:49 +00:00
Simon Detheridge
4c11b69167 Revert "Merge pull request #107 from overleaf/sk-upgrade-jetty-2106"
This reverts commit f13d8a990a927f5983442ffce00ff009cdc0e8ab, reversing
changes made to cb3ba256b7b27e424616d7bc67b73385fef55be8.
2021-06-28 17:01:43 +01:00
Simon Detheridge
a239b70bfc Revert change to make Jetty idle timeout configurable 2021-06-28 17:00:52 +01:00
CloudBuild
41d2085abe auto update translation
GitOrigin-RevId: 7bdb2ce91ded6fabaf75801e9bd7e774e8485524
2021-06-28 02:08:05 +00:00
Miguel Serrano
8b1de60e20 Revert "Push React Navigation Toolbar to beta users (#4264)" (#4266)
This reverts commit d5f5a9f182488ca8a46520dfdf73fbdfa44350ab.

GitOrigin-RevId: 2fef8149a26e37c8635a9c34e3af88c9fa69ee06
2021-06-26 02:06:05 +00:00
Miguel Serrano
145be4dba2 Push React Navigation Toolbar to beta users (#4264)
* Push new navigation toolbar to beta users

GitOrigin-RevId: d5f5a9f182488ca8a46520dfdf73fbdfa44350ab
2021-06-26 02:06:00 +00:00
Miguel Serrano
660af3e345 Merge pull request #4259 from overleaf/ae-file-view-stories
Tidy up file view stories

GitOrigin-RevId: 3f7bb45c32e233c4f45e9222ab8e0132043255ef
2021-06-26 02:05:57 +00:00
Miguel Serrano
9b59c0813c Replaced application-context with user-context (#4246)
* Replaced `application-context` with `user-context`
* deleted `user` initialization with `window.user`
* fixed tests and storybook

GitOrigin-RevId: 0ed4b9070d7c6d370fee2112f310c4bcfea519e7
2021-06-26 02:05:53 +00:00
Miguel Serrano
b7802674d5 Merge pull request #4245 from overleaf/msm-extract-project-context
React `project-context`

GitOrigin-RevId: 6a23437d6e6a328ff5854622ff903d348db1f8b8
2021-06-26 02:05:49 +00:00
CloudBuild
d10294a58a auto update translation
GitOrigin-RevId: b0417040ef127b3faf8f1533082c1893bfe00cc1
2021-06-26 02:05:46 +00:00
Shane Kilkelly
899e781b33 Set sqlite soft_heap_limit via pragma 2021-06-25 12:03:57 +01:00
Shane Kilkelly
048571a3f6 Add sqlite to the base image 2021-06-25 11:06:03 +01: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
Paulo Reis
d6f9f70d06 Extend the new compile UI rollout, respecting existing allocations
GitOrigin-RevId: 61bfba3a05780ec0b3a3461bba50cca6474a1274
2021-06-25 02:06:24 +00:00
Paulo Reis
7b7c6eb1b4 Improve copy for single errors or warnings
GitOrigin-RevId: 1fdd270d4148abd0385e4258bb634cf769cce8c5
2021-06-25 02:06:20 +00:00
Paulo Reis
07f44b99f4 Handle PDF failure error case
GitOrigin-RevId: 902a97f6f454f09345ba4017b50623fd46e57110
2021-06-25 02:06:16 +00:00
Alexandre Bourdin
a0dd439e2c Merge pull request #4256 from overleaf/ab-analytics-manager-nullcheck-userid
Add null checks on userId to all AnalyticsManager functions

GitOrigin-RevId: ca4d50c9309aadf0145fd5135bbdecb7d297ea6f
2021-06-25 02:06:12 +00:00
Shane Kilkelly
7df57174ca Merge pull request #4239 from overleaf/ae-html-error-message
Avoid using HTML responses as error messages

GitOrigin-RevId: 4cb8df259f51ff351c6f22fa82c016068ff87880
2021-06-25 02:06:08 +00:00
Shane Kilkelly
46c00c13ba Merge pull request #4241 from overleaf/ae-style-guide
Move the style guide into Storybook

GitOrigin-RevId: 34de190e7b16213344e64e4e8b066b976d81e4f4
2021-06-25 02:06:03 +00:00
Shane Kilkelly
7b80d3ba46 Merge pull request #4249 from overleaf/ns-dropbox-warning-info
add link to dropbox troubleshooting with duplicate project name warning

GitOrigin-RevId: 1d0b7ce277621426e2e58fb4ab1520f8b2be02af
2021-06-25 02:05:58 +00:00
Shane Kilkelly
bce547b387 Merge pull request #4244 from overleaf/hb-fix-transparent-richtext-more
Put background colour on richtext toolbar "more"

GitOrigin-RevId: 5376bccdf701e0565553beb10405b2ff535d9468
2021-06-25 02:05:53 +00:00
Shane Kilkelly
9dc44de7f0 Merge pull request #4191 from overleaf/sk-token-v1-fix
TokenAccess: Fix handling of deleted projects
GitOrigin-RevId: a602da335567d36b5e674ada69c1e1ab4a909d4a
2021-06-25 02:05:48 +00:00
Simon Detheridge
9b8b13877a Make idleTimeout an integer in the config template 2021-06-24 20:49:33 +01:00
Eric Mc Sween
6a5892f996 Fix typo in config 2021-06-24 14:56:31 -04:00
Simon Detheridge
d816a0f02d Merge pull request #121 from overleaf/spd-idletimeout
Add support for configuring idle timeout and bind IP via settings
2021-06-24 17:43:17 +01:00
Simon Detheridge
d12b564ec3 Use ServerConnector to specify bind IP and idle timeout 2021-06-24 17:20:43 +01:00
Simon Detheridge
cafa94fcba Add support for bindIp and idleTimeout to config object 2021-06-24 17:00:04 +01:00
Simon Detheridge
28d98f1a25 Add settings for idle timeout and bind IP to config template 2021-06-24 16:59:11 +01:00
Simon Detheridge
928e6fed42 Use timestamp as version number for compiler 2021-06-24 16:12:31 +01:00
dependabot[bot]
9c2fd4b331 Bump commons-io from 2.6 to 2.10.0
Bumps commons-io from 2.6 to 2.10.0.

---
updated-dependencies:
- dependency-name: commons-io:commons-io
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-24 09:05:16 +00:00
dependabot[bot]
81e095283b Bump guava from 24.0-jre to 30.1.1-jre
Bumps [guava](https://github.com/google/guava) from 24.0-jre to 30.1.1-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-24 09:04:45 +00:00
dependabot[bot]
0beee9be53 Bump commons-compress from 1.15 to 1.20
Bumps commons-compress from 1.15 to 1.20.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-compress
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-24 09:04:42 +00:00
dependabot[bot]
88b46a43dd Bump junit from 4.12 to 4.13.2
Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.2.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13.2)

---
updated-dependencies:
- dependency-name: junit:junit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-24 09:04:32 +00:00
Shane Kilkelly
8d5fa9f1bc Add a config file for dependabot
This allows us to set the separator used by dependabot
when setting the branch name. Otherwise, we end up with
branches that break our cloud build workflows
2021-06-24 08:48:06 +01:00
Eric Mc Sween
8462a3e1f5 Merge pull request #4252 from overleaf/em-active-projects-expire
Prevent active projects from expiring

GitOrigin-RevId: b815ef2022470cc1ec4dc47fb1b13563b230814f
2021-06-24 02:07:24 +00:00
Alf Eaton
9b9d6f679e Wrap recompile response handlers in $applyAsync (#4253)
GitOrigin-RevId: 80e5652b88ba70b3ea1aef2cf24430597574353e
2021-06-24 02:07:19 +00:00
Thomas
be73463e35 Merge pull request #4248 from overleaf/tm-ta-new-subscription-currency-fixes
Fix getCurrencyCode behavior and add fallback in frontend for invalid currencies

GitOrigin-RevId: 5cc40b524148f88c0f110d2cf4bb4d3b69844f1b
2021-06-24 02:07:14 +00:00
John Lees-Miller
a1f66a5252 Fix ObjectId/String comparison in ensureRootDocumentIsValid (#4229)
GitOrigin-RevId: 8af2a74cd24cb5bfdfdcd1a25c16b94a66fa0843
2021-06-24 02:07:10 +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
Alf Eaton
7c97f8ab6e Switch to new JSX runtime (#4225)
* Use new JSX runtime and update Babel Node target
* Update .eslintrc
* Remove React imports

GitOrigin-RevId: 559de0267f8f2934c56a860ea8701bb522aa861a
2021-06-24 02:06:59 +00:00
Alf Eaton
94641f737c Merge pull request #4243 from overleaf/as-fix-webpack-public-path
Configure webpack public path for gallery search bundle, fixing translations failing to load

GitOrigin-RevId: e785ccac2bbba7ff9d929730c6ea84249f6db109
2021-06-24 02:06:54 +00:00
Alf Eaton
bb55fc2e32 Add useDropdown hook (#4228)
GitOrigin-RevId: a16762139049aed1e309b1330602c3b291d41f81
2021-06-24 02:06:49 +00:00
Alf Eaton
2328dd1705 Add useAbortController hook (#4234)
GitOrigin-RevId: 731f86a2b07cd2c3189e6ca86bba9fbbc913f429
2021-06-24 02:06:45 +00:00
Simon Detheridge
72233ec334 Add parameters to enable debug agent to startup script 2021-06-23 15:05:21 +01:00
Simon Detheridge
9c8ff2f022 Add cloud debug agent to Docker image 2021-06-23 14:58:49 +01:00
Simon Detheridge
a469bc6732 Add parameters to enable profile agent to startup script 2021-06-23 14:58:25 +01:00
Jakob Ackermann
743bfced64 [misc] ContentCacheManager: apply review feedback
- count stages
- lower bound is 1s

Co-Authored-By: Brian Gough <brian.gough@overleaf.com>
2021-06-23 14:42:39 +01:00
Simon Detheridge
c46f460527 Add cloud profiler to Docker image 2021-06-23 14:22:04 +01:00
Jakob Ackermann
b09e52510f [misc] bail out from pdf caching processing after 10s or earlier
...for fast compiles.
2021-06-23 14:20:04 +01:00