Commit graph

17911 commits

Author SHA1 Message Date
Jakob Ackermann
60cefae09a Merge pull request #3836 from overleaf/jpa-no-close-editor-in-saas
[views] admin: the open/close editor feature is not available in SAAS

GitOrigin-RevId: 6d9ba22e7843be7c27084a6bb5bc1c502ecdccc9
2021-03-31 02:05:07 +00:00
Alexandre Bourdin
57cd6b4754 Merge pull request #3843 from overleaf/ab-comment-linebreak
Add CSS property to display line-breaks in review comments

GitOrigin-RevId: aa499556c0c50d042450e0421a55d51c9a097a29
2021-03-31 02:05:01 +00:00
Jakob Ackermann
6cb4246eb1 [misc] consume and validate a custom imageName for synctex requests 2021-03-30 13:57:40 +01:00
Thomas Mees
e63b9ec5ea Lower log level of 'no project_id found on client' messages 2021-03-30 12:40:26 +02:00
dependabot[bot]
b6cd7bca9c Bump y18n from 4.0.0 to 4.0.1
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-30 08:56:10 +00:00
dependabot[bot]
42d07f936c Bump y18n from 4.0.0 to 4.0.1
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-30 08:55:47 +00:00
Jakob Ackermann
51e796ca3c Merge pull request #38 from overleaf/jpa-drop-statsd
[misc] drop unused node-statsd package
2021-03-30 10:55:16 +02:00
Jakob Ackermann
ed9cacbecd Merge pull request #82 from overleaf/jpa-drop-statsd
[misc] drop unused node-statsd package
2021-03-30 10:55:12 +02:00
Jakob Ackermann
485ce2b8cd [misc] drop unused node-statsd package 2021-03-30 09:45:08 +01:00
Jakob Ackermann
01059af954 [misc] drop unused node-statsd package 2021-03-30 09:45:07 +01:00
Alf Eaton
c9f772f497 Ensure that Features.hasFeature returns a boolean (#3798)
GitOrigin-RevId: d6f286544f42db4d101ba06897044ada0bcd14d8
2021-03-30 02:05:21 +00:00
Alf Eaton
a69f7af055 Improve CSS chunk importing (#3817)
* Move ide.css to editor.pug
* Import angular-csp.css

GitOrigin-RevId: e0f4792690567e785e124d742e0332ddcf1155e6
2021-03-30 02:05:17 +00:00
Timothée Alby
0f5243d3f0 Merge pull request #3829 from overleaf/jpa-meta-user-activate
[views] migrate the user activate page to meta tags

GitOrigin-RevId: 422992af7aae005cc60a5de1c26ca583333b1f65
2021-03-30 02:05:13 +00:00
Timothée Alby
8ec7ebe645 Merge pull request #3713 from overleaf/jpa-login-event-drop-pii
[AuthenticationController] do not include PII as part of login event

GitOrigin-RevId: 274378b3a21945637dc33d2cfb39a53e9aaad9b7
2021-03-30 02:05:09 +00:00
Timothée Alby
b2b9a05e3c Merge pull request #3706 from overleaf/msm-jlm-configurable-text-extensions
New ADDITIONAL_TEXT_EXTENSIONS env to support extra editable files

GitOrigin-RevId: 03bec0a1a9dbd303754f0b90377d1b7d1ec3f528
2021-03-30 02:05:04 +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
Timothée Alby
94896bca4e Merge pull request #3731 from overleaf/dependabot-npm_and_yarn-pug-3.0.2
Bump pug from 2.0.4 to 3.0.2

GitOrigin-RevId: 7b5454b8263f9960f9126224a8ed7ec70714b829
2021-03-30 02:04:54 +00:00
Brian Gough
a55aa61d71 use .includes instead of .indexOf 2021-03-29 11:13:59 +01:00
Jakob Ackermann
fc15525fb3 Merge pull request #3816 from overleaf/jpa-fix-settings
[misc] fix the pre-filling of the users email in settings for Server Pro

GitOrigin-RevId: 7732c362a6ca4a16b8c89f3430fceebaaf27dee7
2021-03-27 03:05:19 +00:00
Jakob Ackermann
d05f262615 Merge pull request #3811 from overleaf/jpa-get-meta-user-sessions
[frontend] clear-sessions: read otherSessions from meta tag

GitOrigin-RevId: e20996cc43968b310a9d6633d32ccdabc7d51ec1
2021-03-27 03:05:16 +00:00
Jakob Ackermann
deca5f3b0d Merge pull request #3810 from overleaf/jpa-meta-tag-user-sessions
[views] user/sessions: refactor window assignment into meta tag

GitOrigin-RevId: a5b07ccc99021b2c72a5888b9a9d28c1c458e1e9
2021-03-27 03:05:13 +00:00
Jakob Ackermann
0ca9d0236c Merge pull request #3750 from overleaf/jpa-req-ip-in-unit-tests
[misc] test/unit: add req.ip to MockRequest helper

GitOrigin-RevId: 07b1cf11f20eccb4c002a21f4a59588d201a3f0c
2021-03-27 03:05:10 +00:00
Jakob Ackermann
4280a96b2c Merge pull request #3749 from overleaf/jpa-refactor-audit-log-access-in-tests
[misc] test/acceptance: refactor access on user audit log

GitOrigin-RevId: fab5b81a7469ef4fa0daa553169a47e3427c49fd
2021-03-27 03:05:06 +00:00
Jakob Ackermann
f66fa58a7c Merge pull request #3745 from overleaf/jpa-project-restore-handle-deleted-files
[ProjectDeleter] restore project.deletedFiles into own collection

GitOrigin-RevId: cb34e0e22609a49c676ebfe0753e650699b96f5d
2021-03-27 03:05:01 +00:00
Alf Eaton
a5637651b5 Add Content-Security-Policy header (#3783)
* Add Content-Security-Policy header
* Add nonce attribute to script tags
* Use source-map for webpack devtool
* Add ng-csp attribute when CSP is enabled
* Allow overriding CSP settings with environment variables
* Hook into render and allow routes to disable the CSP header

GitOrigin-RevId: a873736a3514198165f1b2f1e18d002b65f20d30
2021-03-26 03:04:55 +00:00
Alf Eaton
116f167a6f Merge pull request #3813 from overleaf/ae-user-has-feature-follow-up
Fix React attributes for Add Files modal

GitOrigin-RevId: 8254cdd14accdd8ead710d75a3ad4df75fc05134
2021-03-26 03:04:52 +00:00
Alf Eaton
989aeca7f2 Organise modal stories into a "Modals" folder (#3814)
GitOrigin-RevId: bced6f0591d14c9d56ce5875acd5598216285487
2021-03-26 03:04:49 +00:00
Alf Eaton
79a520dd1c Use defaultVariables to define variables for all translations (#3815)
GitOrigin-RevId: d7b30f523edba7c384d5207a44643acdbbedc74c
2021-03-26 03:04:45 +00:00
Eric Mc Sween
065095f53d Merge pull request #104 from overleaf/jpa-metrics-module-3-5-1
[misc] bump the version of the metrics module to 3.5.1
2021-03-25 08:27:45 -04:00
Eric Mc Sween
98a6d52a9f Merge pull request #106 from overleaf/em-upgrade-node-12
Upgrade to Node 12
2021-03-25 08:27:36 -04:00
Eric Mc Sween
e562ed67ce Merge pull request #203 from overleaf/dependabot-npm_and_yarn-ini-1.3.8
Bump ini from 1.3.5 to 1.3.8
2021-03-25 08:14:26 -04:00
Eric Mc Sween
55b326c3b4 Merge pull request #206 from overleaf/jpa-metrics-module-3-5-1
[misc] bump the version of the metrics module to 3.5.1
2021-03-25 08:14:08 -04:00
Eric Mc Sween
61f43bf5d8 Upgrade metrics module to 3.5.1 2021-03-25 08:10:43 -04:00
dependabot[bot]
5d858736b1 Bump ini from 1.3.5 to 1.3.8
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-25 11:56:16 +00:00
Eric Mc Sween
08043a4aa0 Merge pull request #209 from overleaf/em-upgrade-node-12
Upgrade to Node 12
2021-03-25 07:55:05 -04:00
Alf Eaton
974fe8fd39 Remove optional hyphens from pug templates (#3788)
GitOrigin-RevId: 2d31719a6aaefb85bba323d65ed66bdb06ec8928
2021-03-25 03:05:05 +00:00
Alf Eaton
54e6053cf9 Fix some aria-hidden attributes (#3790)
GitOrigin-RevId: a48086c01abd937b2e03ced38e8baf6c67753f56
2021-03-25 03:05:01 +00:00
Alf Eaton
ee79728bf9 Only check a user's features for importing from reference provider (#3797)
GitOrigin-RevId: cc5a36be20c673f8941a2694eaeba80eebb4db6a
2021-03-25 03:04:57 +00:00
Alf Eaton
cddb01c72b Update settings-sharelatex (#3775)
GitOrigin-RevId: 585e4c0db91a20662bac9aa8cf50b40b6622aaa5
2021-03-25 03:04:54 +00:00
Brian Gough
0452b53ce3 Merge pull request #3802 from overleaf/bg-increase-flush-delay
increase single and multi-user flush delays

GitOrigin-RevId: c9415a093d08c8f6cc403d0ddb6cd313ea99aebe
2021-03-24 03:04:45 +00:00
Paulo Jorge Reis
3f0e897e32 Logs UI variant without popup (#3794)
* Add logs UI without pop-up variant

* Implement frontend for logs UI without pop-up

* Add logs UI variants to admin panel and front user info

* Fix existing UI subvariant window global

GitOrigin-RevId: 075db56032354d782e489b5235925f55b1a67e0b
2021-03-24 03:04:41 +00:00
Eric Mc Sween
9b009efd46 Upgrade to Node 12 2021-03-23 15:19:57 -04:00
Eric Mc Sween
a793ecd41b Add global test setup
Configure chai and SandboxedModule in a central place. Configure
SandboxedModule globals that are required in Node 12.
2021-03-23 15:19:57 -04:00
Eric Mc Sween
92d3a07818 Merge pull request #80 from overleaf/jpa-metrics-module-3-5-1
[misc] bump the version of the metrics module to 3.5.1
2021-03-23 08:45:50 -04:00
Eric Mc Sween
6e6a1476e2 Merge pull request #81 from overleaf/em-upgrade-node-12
Upgrade to Node 12
2021-03-23 08:45:27 -04:00
Alf Eaton
a271d5ce10 Merge pull request #212 from overleaf/ae-chown-app-folders
Ensure that app folders exist before running chown in entrypoint.sh
2021-03-23 09:43:31 +00:00
Alf Eaton
db0cd53ed4 Merge pull request #213 from overleaf/ae-readme
Update README
2021-03-23 09:41:44 +00:00
Jakob Ackermann
b19bd1ef61 Merge pull request #3781 from overleaf/jpa-xss-18
[views] mitigate Angular XSS in the user-activate module

GitOrigin-RevId: 88a4501699b92e33c7ee120d180e60825d82fbd5
2021-03-23 03:05:21 +00:00
Jakob Ackermann
535c97e8cf Merge pull request #3774 from overleaf/jpa-meta
[frontend] import meta tag processing from das7pads fork

GitOrigin-RevId: ca74ff9fbbcb51091a626a45468ff3d24d6136ca
2021-03-23 03:05:12 +00:00
Christopher Hoskin
9a88f8646f Merge pull request #861 from overleaf/csh-update-passport-saml-urls
Update passport-saml URLs
2021-03-22 17:29:17 +00:00