Commit graph

10322 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Jakob Ackermann
cc83d640f0 Merge pull request #4237 from overleaf/jpa-pdf-caching-full
[misc] roll out pdf caching in full -- send metrics for 5% of users

GitOrigin-RevId: 12ae5a61ef39d206980681b54fe9c871ca1b86b4
2021-06-23 02:05:57 +00:00