Commit graph

20432 commits

Author SHA1 Message Date
Miguel Serrano
89dd3b94b1 Merge pull request #11663 from overleaf/bg-add-migration-force-options
add migration force options

GitOrigin-RevId: 51eb88e995a6e348e00208e9d01c9c1fa6c0c1ea
2023-02-07 09:55:15 +00:00
Miguel Serrano
832a0facba Merge pull request #11658 from overleaf/bg-add-concurrency-to-migration
add concurrency to the history migration script

GitOrigin-RevId: 059a1a8b402627b03cb6dab79b5da22189f32704
2023-02-07 09:55:07 +00:00
Miguel Serrano
f8bc3b3357 Merge pull request #11641 from overleaf/bg-improve-migration-script
improve history migration script

GitOrigin-RevId: bd1b4263ccb3d10f0c9d741e4f11671cf307cd58
2023-02-07 09:54:58 +00:00
CloudBuild
23ef040d92 auto update translation
GitOrigin-RevId: 7f116aaf62d483115a101aba128e4c4e230eb09f
2023-02-07 09:05:17 +00:00
ilkin-overleaf
1824fd901d Merge pull request #11671 from overleaf/ii-revert-removed-translations
[web] Revert removed payment translations

GitOrigin-RevId: 1cf55cf6f85b265639af6f279cf5280e989cae98
2023-02-07 09:05:09 +00:00
ilkin-overleaf
c70fa150b5 Merge pull request #11668 from overleaf/ii-payment-page-migration-add-translations-back
[web] Add missing translations for checkout payment

GitOrigin-RevId: 8f552587c8d8628f19ae3b44cb79b6a596059f8f
2023-02-07 09:05:01 +00:00
ilkin-overleaf
7f8d2e37d5 Merge pull request #11530 from overleaf/ii-payment-page-migration-checkout-panel
[web] Payment page migration checkout panel

GitOrigin-RevId: 04edf9961e0032d6fe3631c255e49dc1d4c3e0ca
2023-02-07 09:04:53 +00:00
Alf Eaton
85fbded781 Improve the Rich Text toolbar (#11616)
GitOrigin-RevId: d1999be629ac048058ffd82004865728796a3feb
2023-02-07 09:04:39 +00:00
Eric Mc Sween
283ce29847 Merge pull request #11651 from overleaf/em-remove-metrics-mongodb
Remove the metrics.mongodb module

GitOrigin-RevId: 1c4a4dcd510f3f74677830f9c0b1ed1ba6e7a63c
2023-02-07 09:04:25 +00:00
Alexandre Bourdin
ed40a87cdc [web] Migrate group management to React (#11293)
* Rename manage group entry point

* Migrate group management root page to React

* Add cypress tests for the group management react page

* Fix linting

* Add checkbox labels for screen-readers + remove unused classes

* Await on add/remove members calls

* Display the export CSV link for a full group

* Display error message when group is full

* Sort locales

* Handle the managers management page in React version

* Fix missing type in GroupMemberRow

* Split members and managers React pages

* Build API paths on frontend side + add cypress tests for each page

* Fix linting

* Update unit tests

* Review improvements

* Type API errors

GitOrigin-RevId: d124a9d24cbf33de8aacc5d69e9d46e7bcda93c5
2023-02-07 09:04:18 +00:00
Jakob Ackermann
b1cf4aa1e9 Merge pull request #11634 from overleaf/jpa-server-ce-pro-year-2023
[server-ce] bump copyright year to 2023

GitOrigin-RevId: a98162f09aea23591a0c4b4e38c261d965140616
2023-02-07 09:04:10 +00:00
Mathias Jakobsen
9370803f44 [cm6+rt] Decorate preamble and \end{document} (#11598)
* [cm6+rt] Add preamble decoration

* [cm6+rt] Add end document decoration

* [cm6+rt] Move preamble margin to wrapper padding

* [cm6+rt] Remove info icon from end document decoration

GitOrigin-RevId: 87c08e0c61adfd1cbed36e25fdb97d35ebab9081
2023-02-06 09:04:56 +00:00
Alf Eaton
73395e008a Fix and run extract-translations (#11622)
GitOrigin-RevId: b36c70748da800979dbb7f8c11c1b555515cce7b
2023-02-06 09:04:42 +00:00
Miguel Serrano
b67c3fabaa Merge pull request #11628 from overleaf/msm-history-migration-tmp-path
[CE] move history migration paths to `tmp`

GitOrigin-RevId: e24e1d3d7f3a26fa2f4db9c9abd262745f9e7778
2023-02-02 18:23:16 +00:00
Miguel Serrano
df3aff9c66 Merge pull request #11629 from overleaf/msm-exit-migrate-history
[web/scripts] force exit on `migrate_history.js`

GitOrigin-RevId: 298568043c2885b8ad2c6242e7519faccf2f2498
2023-02-02 18:23:08 +00:00
Thomas
8d1ea82ad3 Merge pull request #11551 from overleaf/tm-subscription-group-invite-message-fixes
Fix for subscription invites 'Cancel your subscription' prompt logic

GitOrigin-RevId: fc1f7487f901fce8204b32051b95de7ed49ae36d
2023-02-02 18:22:59 +00:00
Eric Mc Sween
2fc33e58ce Merge pull request #11591 from overleaf/em-npm-audit-fix
Run npm audit fix

GitOrigin-RevId: 44cf41fef6a0d7346867a4dcb20ff5028dd32fd7
2023-02-02 18:22:51 +00:00
Jakob Ackermann
01aebbf69d Merge pull request #11559 from overleaf/jpa-access-token-encryptor-remove-v1
[access-token-encryptor] drop support for legacy v1 token scheme

GitOrigin-RevId: 2d32453ad38119fa45cfd77463091f2c91dfe647
2023-02-02 18:22:42 +00:00
Jakob Ackermann
e63b90d288 Merge pull request #11624 from overleaf/jpa-hybrid-download-params
[web] add split tests for tweaking user content domain access check

GitOrigin-RevId: a5e6959098c10ea230634492b465c2b9dcdd909f
2023-02-02 18:22:34 +00:00
Jakob Ackermann
635f2969ba Merge pull request #11621 from overleaf/jpa-targeted-access-check
[web] cut down volume of user content domain access check requests

GitOrigin-RevId: 42011325db9f421e8267c4d0215701dedae652f9
2023-02-02 18:22:26 +00:00
June Kelly
c4ecded316 Merge pull request #11508 from overleaf/jk-password-disallow-substring
[web] Metric for passwords too similar to email

GitOrigin-RevId: cf8320fc3c9561b4dc6d54a3e97db96400ece2a9
2023-02-02 18:22:17 +00:00
Brian Gough
f996c95165 Merge pull request #11593 from overleaf/bg-create-project-with-random-history
extend the create_project script to include history

GitOrigin-RevId: 74084731d72337eecd933a31212000f64026df8b
2023-02-02 18:22:09 +00:00
Jakob Ackermann
8d3bc8422e Merge pull request #11597 from overleaf/jpa-server-ce-nginx-keepalive
[server-ce] nginx: make keepalive_timeout configurable

GitOrigin-RevId: 3a0bb049b57f0a4ee065c86463fd6300d97934c7
2023-02-02 18:22:01 +00:00
ilkin-overleaf
db54475bd0 Merge pull request #11525 from overleaf/ii-payment-page-migration-init
[web] Payment page migration initialisation

GitOrigin-RevId: f33b73a13b96fad3cddf0c0205d05df678ce5300
2023-02-02 18:21:52 +00:00
M Fahru
1d04aa0315 Editor file uploader design update (#11447)
* Redesign the styling of conflict state for file upload in the editor

* Change overwrite button style from primary (green) to danger (red)

* Change the idle state and dragging state styling to match the error state new design:

    *remove the double border; only keep the dashed border
    * on idle state, change border color

* Add hardcoded texts to translation file

* Add padding to prevent text is becoming too near to the border when multiple files appear in the conflict file list

* Apply custom file uploader style to smaller screen

GitOrigin-RevId: 266e60bb8575a02c02c1ed1d7fa04cdb101f3dd1
2023-02-02 09:03:33 +00:00
Miguel Serrano
55bdcf7664 Merge pull request #11583 from overleaf/msm-ace-ce
[web] Force ACE when `modules/source-editor` not available

GitOrigin-RevId: 2b43a048e882d99aa52ee8ead6c67152d4080eb2
2023-02-02 09:03:30 +00:00
M Fahru
9795904fac Add nullcheck to tag name to avoid crashing the client (#11519)
GitOrigin-RevId: 917fcffa672e2626203275ea5e62ce9388366f8e
2023-02-02 09:03:28 +00:00
M Fahru
e5f8b991ba Add text to clarify what currency is being displayed in the new plans page (#11568)
GitOrigin-RevId: 7875f0afa4e6a538bd52d800ae75de231bf40629
2023-02-02 09:03:25 +00:00
M Fahru
772a3efb65 Tear down micro survey for new users (#11569)
GitOrigin-RevId: b86cfa150dd365f3d1da758feb20509d35c7cc56
2023-02-02 09:03:22 +00:00
Eric Mc Sween
c0ae1f4c90 Merge pull request #11545 from overleaf/em-upgrade-sanitize-html
Upgrade sanitize-html to 2.8.1

GitOrigin-RevId: a945fa844b0bed54b773048e8b4d680638447731
2023-02-02 09:03:11 +00:00
Jakob Ackermann
246d62b578 Merge pull request #11582 from overleaf/jpa-count-tokens-empty-result
[access-token-encryptor] nicer log message for zero access token found

GitOrigin-RevId: 2a28fdc71a1e063f091f55bc247d9dd26bbd0ee3
2023-02-02 09:03:02 +00:00
June Kelly
ac83dd9bb3 Merge pull request #11353 from overleaf/jk-remove-deprecated-public-access-levels
[web] Disallow deprecated access levels from being set

GitOrigin-RevId: cf276e849692be210a2dc7d896820579efc46952
2023-02-02 09:02:59 +00:00
June Kelly
be7b424a63 Merge pull request #11436 from overleaf/jk-increase-password-min-length-to-8
[web] Increase the minimum password length to 8 characters

GitOrigin-RevId: 94eb3c5605183b5e189babd3342dc308f403ebbd
2023-02-02 09:02:56 +00:00
Jakob Ackermann
f532abfd1c Merge pull request #11561 from overleaf/jpa-fix-count-script
[web] scripts: count_encrypted_access_tokens: fix printing of stats

GitOrigin-RevId: 43a709c00cc5adfcf133c9f826152b9f586c3c68
2023-02-02 09:02:53 +00:00
Jessica Lawshe
df532c9737 Merge pull request #11494 from overleaf/jel-react-personal-subscription-dash-pt-3
[web] Continue migration of personal subscription dash to React

GitOrigin-RevId: 412301dad0a04fa6e7b8712ad919c4f67d0bbfe2
2023-02-01 09:05:35 +00:00
Jessica Lawshe
b7108f7874 Merge pull request #11515 from overleaf/ab-group-membership-dash-react
[web] Managed groups in React subscription dash

GitOrigin-RevId: 4811d8dd2b42fa9ad83b5c4f12582e7bc04bad40
2023-02-01 09:05:27 +00:00
Jessica Lawshe
af818e9859 Merge pull request #11546 from overleaf/em-fix-github-deps
Use GitHub style deps in package.json

GitOrigin-RevId: 9b8ef56d7b2684a5a3c7af29090215deeee4d441
2023-02-01 09:05:19 +00:00
Mathias Jakobsen
b42c4e57a7 Merge pull request #11526 from overleaf/mj-ae-selection-changes
[cm6+rt] Integration of selection changes

GitOrigin-RevId: cd2574ca75eab0f8f1202d3d4b6a009f14fa33b5
2023-02-01 09:04:57 +00:00
Jakob Ackermann
9e6a767c96 Merge pull request #11544 from overleaf/jpa-re-encrypt-access-tokens
[misc] add scripts for rotating all the encrypted access-tokens

GitOrigin-RevId: ce3374bb5d318a7f16a416ac1719a819c1160fb4
2023-02-01 09:03:56 +00:00
Miguel Serrano
cefdc78c6e Merge pull request #11550 from overleaf/msm-migrate-history-count-fix
[web/scripts] fix error count in `migrate_history.js`

GitOrigin-RevId: d7326c4e25913969f196276c913e70a03398f3ac
2023-01-31 10:35:27 +00:00
Miguel Serrano
d9b851fb9e Merge pull request #11538 from overleaf/msm-crontab-permission
[CE] changed `crontab` permissions to `600`

GitOrigin-RevId: 38e145fe0d15cc1859096232bd8754e81726be2d
2023-01-31 10:35:16 +00:00
Brian Gough
6641d78f22 Merge pull request #11542 from overleaf/bg-remove-legacy-migration-case
put legacy migration code behind a setting

GitOrigin-RevId: c59c83e9c970c424dba266708c8e5f7108e7c3c4
2023-01-31 10:35:04 +00:00
Brian Gough
e9c0f4363a Merge pull request #11541 from overleaf/bg-fix-doUpgradeForNoneWithoutConversion
clear redis before migrating projects without history

GitOrigin-RevId: 9f1ba14f6a7c5d6a7f1a55fcfeb3778b15a84561
2023-01-31 10:34:55 +00:00
M Fahru
78304e7c94 Add is-screen-width-less-than-768px to the upgrade-button-click event (#11506)
GitOrigin-RevId: 33ae53d7959863017607d3e1ea237602aed626dc
2023-01-31 09:04:09 +00:00
M Fahru
3507463c4e Add new event tracking to react and angular version of the empty project page (#11472)
GitOrigin-RevId: 28ffe919851121bdba82eea3b6ef29cd6fffeb76
2023-01-31 09:04:01 +00:00
Brian Gough
56cb937672 Merge pull request #11529 from overleaf/bg-report-whole-error
log the full result from history migrations

GitOrigin-RevId: 55aaa7bbd88a61234dcf1247ddbf8af543fc4bc1
2023-01-31 09:03:53 +00:00
Eric Mc Sween
75abea72b0 Merge pull request #11492 from overleaf/em-rate-limiter
Move all remaining rate limiters to rate-limiter-flexible

GitOrigin-RevId: 163ab2aebecb281057e552dc75591dd02028990c
2023-01-31 09:03:44 +00:00
Miguel Serrano
c3889f8856 Merge pull request #11528 from overleaf/msm-history-data-ce
[CE] Add `path.projectHistories` to `settings.js`

GitOrigin-RevId: 97c249153baed793fff0fd564a9a75efdd6b2d32
2023-01-30 11:32:24 +00:00
Jakob Ackermann
4eadd92598 Merge pull request #11443 from overleaf/jpa-handle-connection-change
[web] user-content-domain-access-check: handle connection changes

GitOrigin-RevId: 7858b9e33741fc515dfa96aeba8d0942ce2911a5
2023-01-30 11:32:16 +00:00
M Fahru
781c1c97c7 Implement new three-way split test for the plans page (#11493)
* Update split test config and infrastructure for plans-page-layout-v3

* Implement view for `old-plans-page-annual` variant of the new split test:
    - Make `annual` the default view for all elements on the old plans page
    - Change the tooltip background to green for monthly/student view

* Implement a new design for the new plans page:
    - switch annual and monthly locations (annual on the left now)
    - change the tooltip background to green color for all choice
    - make the monthly-annual switch has green background if annual is chosen

* Fix mobile view plans page header style

GitOrigin-RevId: b2b3c6ac6adbe26bf6def7e072493f503793cfcb
2023-01-30 09:02:45 +00:00