Commit graph

12005 commits

Author SHA1 Message Date
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
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
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
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
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
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
Miguel Serrano
6787e9c50d Merge pull request #11490 from overleaf/msm-migrate-history-fix
[web/scripts] `history/migrate_history.js` fixes

GitOrigin-RevId: 249e9a3f1dbf89d46335ee208f5922905477845c
2023-01-27 12:04:01 +00:00
Mathias Jakobsen
a87d44ffdd [cm6+rt] Add cypress tests for atomic decorations (#11486)
GitOrigin-RevId: c8bd264603dbb8eb5354d07f8d277010aeb9a2c0
2023-01-27 12:03:53 +00:00
Eric Mc Sween
2dbc0e3b3d Merge pull request #11489 from overleaf/em-fix-paypal
Set COOP header to same-origin-allow-popups

GitOrigin-RevId: c8c3751386addb307ee2caf59c228484e8e593c0
2023-01-27 09:05:43 +00:00
Jessica Lawshe
dad1460d71 Merge pull request #11414 from overleaf/jel-react-personal-subscription-dash-pt-2
[web] Continue migration of personal subscription dash commons to React

GitOrigin-RevId: 997716f70c953b088f686d4b0f638705ad838520
2023-01-27 09:05:30 +00:00
Jessica Lawshe
2499ecadcc Merge pull request #11340 from overleaf/jel-react-personal-subscription-dash
[web] Begin to migrate personal subscription dash commons to React

GitOrigin-RevId: 43c096bd72199c8c0a7b40c8fd84a0a12c108217
2023-01-27 09:05:22 +00:00
Jessica Lawshe
14039c6729 Merge pull request #11129 from overleaf/jel-survey-link-mobile
[web] Fix line height for survey text on mobile

GitOrigin-RevId: f96e682b8534d7404c89b45ad4264538bf8a0a2e
2023-01-27 09:05:14 +00:00
Jakob Ackermann
0f7f564510 Merge pull request #11221 from overleaf/em-upgrade-requestretry
Upgrade requestretry to 7.1.0

GitOrigin-RevId: 73a89bf9f4165325e1b3f01d36a17df4d442ef13
2023-01-27 09:04:42 +00:00
Jakob Ackermann
8541dc08fb Merge pull request #11210 from overleaf/em-upgrade-jsonwebtoken
Upgrade jsonwebtoken to 9.0.0

GitOrigin-RevId: 9d16fe64418c3c27e4380382f805a567bb68352e
2023-01-27 09:04:34 +00:00
Jakob Ackermann
6a628be198 Merge pull request #11452 from overleaf/jpa-count-tokens
[web] scripts: add a script for counting encrypted access tokens in db

GitOrigin-RevId: 54478a7513c3e33cc25e8a8779d09e84a3db790e
2023-01-27 09:04:20 +00:00
Jakob Ackermann
1f14e08fa1 Merge pull request #11442 from overleaf/jpa-hybrid-pdf-download
[web] add hybrid download of compile output

GitOrigin-RevId: b9c6dfc86e3af2f7b1728e791f074ec6d5e0badf
2023-01-27 09:04:12 +00:00
Thomas
aa9b07d323 Merge pull request #11445 from overleaf/revert-11432-revert-11154-tm-lg-subscription-recurly-cache-name
Re-instate change property name for recurly status cache to recurlyStatus

GitOrigin-RevId: 3b3415d818629676ee44dbc558a6b87469fd1af0
2023-01-27 09:03:58 +00:00
Mathias Jakobsen
83e4a2fab6 [web] Try various file extensions for preview urls (#11467)
GitOrigin-RevId: 1dd8001c337b10450c83a58b4ab0904867a21250
2023-01-26 11:39:08 +00:00
Tim Down
fd90261313 Merge pull request #11465 from overleaf/td-remove-ace-tooltip
Remove info icon next to editor switch for users without Ace option

GitOrigin-RevId: 69fa8af8ddd40c47a58de50eb9aa79cc82629aa8
2023-01-26 09:04:38 +00:00
Eric Mc Sween
30e94eba32 Merge pull request #11444 from overleaf/em-price-increase-subscription-page
Fix copy when a pending subscription change is a price change

GitOrigin-RevId: 2ab3470f5eda5460bdf08f8464e42d6a7717d814
2023-01-26 09:04:30 +00:00
Eric Mc Sween
deb7d82e68 Merge pull request #11435 from overleaf/em-price-increase-script
Script to increase prices for existing customers

GitOrigin-RevId: 8b5357b05a9f09f2ed1b2b52f5dff8d296d06bf3
2023-01-26 09:04:21 +00:00
Alf Eaton
5c5051d48a Clear performance measures when switching editor modes (#11430)
GitOrigin-RevId: c1dbfa850e90b94cb5aa1c68fecd784bda099757
2023-01-25 11:47:14 +00:00
Alf Eaton
640f2cfc8f Move code for loading MathJax v3 into the editor core (#11433)
GitOrigin-RevId: 14adc6c35d511d6737d0f3b8c0adec00d8a0abb6
2023-01-25 11:47:06 +00:00
Alf Eaton
adca4980db Read window.MathJax.Hub outside the timeout (#11431)
GitOrigin-RevId: 6a9f3cd2a7811059b7d1d95b411b37a41cb35b83
2023-01-25 11:46:58 +00:00
Miguel Serrano
691438ee37 Merge pull request #11391 from overleaf/msm-history-controller-pipeline
[web] refactor `req.pipe` into `pipeline`

GitOrigin-RevId: 2b78ff1de3cb7e439824ef0847b3a3db9288b8c6
2023-01-25 09:06:34 +00:00
Tim Down
a05438d9c7 Merge pull request #11332 from overleaf/td-remove-ace-split-test
Add handling for source-editor-legacy split test

GitOrigin-RevId: 9575087c34bc3f2e8b490846984bc97641c560aa
2023-01-25 09:06:26 +00:00
Eric Mc Sween
c59b28d315 Merge pull request #11207 from overleaf/em-upgrade-express
Upgrade express to 4.18.2

GitOrigin-RevId: 07c450f31d3324429ac06719aa2bddb53ddce4b5
2023-01-25 09:06:11 +00:00
Thomas
f6ffae02a9 Merge pull request #11432 from overleaf/revert-11154-tm-lg-subscription-recurly-cache-name
Revert "Change property name for recurly status cache to recurlyStatus"

GitOrigin-RevId: 6870e421516fd705343f3e8651d8637f791063df
2023-01-25 09:06:03 +00:00
Thomas
0b6c69dc55 Change property name for recurly status cache to recurlyStatus (#11154)
* Change property name for recurly status cache to recurlyStatus

Co-authored-by: Lucie Germain <lucie.germain@overleaf.com>
GitOrigin-RevId: a1ff69d531519cd15b82ef72974e9702f43409ac
2023-01-25 09:05:48 +00:00
Alf Eaton
69fe1749ce [rich-text] Improve toolbar button styles (#11419)
GitOrigin-RevId: 81def8f65591fe9f8f914384db971238faa4483f
2023-01-25 09:05:26 +00:00
Mathias Jakobsen
f3dac1aa95 [cm6+rt] Move CM6 formatting toolbar to panel (#11395)
GitOrigin-RevId: 97036c57d63fb7590dda7c98df3347ee83f41ae5
2023-01-25 09:05:05 +00:00
Alf Eaton
1d3e41e541 Merge pull request #11418 from overleaf/ae-skip-detach
Skip PdfSynctexControls and useDetachLayout tests

GitOrigin-RevId: bb6c150ffd72c7a2a9d4b5b69dc9c8fd2e9e9759
2023-01-25 09:04:08 +00:00
Brian Gough
918914522f Merge pull request #11393 from overleaf/bg-history-helper-missing-exports
add missing exports to history-migration module

GitOrigin-RevId: dc1c2f9497ab5f306ba3d0182f2a6dfe37ac671b
2023-01-24 09:06:37 +00:00
Brian Gough
5e9b26ae0a Merge pull request #11412 from overleaf/bg-override-history-initialisation
allow history initialisation to be overridden

GitOrigin-RevId: e38c2147f7d335d368579ca53033d08906eb287b
2023-01-24 09:06:29 +00:00
M Fahru
435be3073f Add new event segmentations for upgrade button in dashboard to help analytics (#11345)
* Add new event segmentations for the upgrade button in dashboard to help analysis

* Also add an extra check for the upgrade button in the navbar since it's only appeared in the project dashboard react version

GitOrigin-RevId: fca14e3adfbafd0fd143b045ba43588913f7297b
2023-01-24 09:06:09 +00:00
Tim Down
ea02de3e28 Merge pull request #11367 from overleaf/td-update-vim-emacs-cursor-fix
Update Vim and Emacs keybinding packages

GitOrigin-RevId: 361396820a813a0dc94068b5c8a35ceba002bcf0
2023-01-24 09:05:43 +00:00
Tim Down
ce14ced75c Merge pull request #11352 from overleaf/td-upgrade-cm6-packages-jan-2023
Upgrade all CM6 and Lezer dependencies to latest

GitOrigin-RevId: 2030d7b78d2f6545fc67cd477628ad24f77fbc09
2023-01-24 09:05:35 +00:00
Tim Down
9ab12f3b44 Merge pull request #10966 from overleaf/td-add-coop-header
Upgrade Helmet to add some security-related response headers, including COOP

GitOrigin-RevId: fce8538b004f7b3ba6c6ca65ad311957d75b496a
2023-01-24 09:05:27 +00:00
Eric Mc Sween
b11cb7d1e9 Merge pull request #11390 from overleaf/jpa-cleanup-sessions
[web] scripts: add a script for cleaning up sessions with 2fa artifact

GitOrigin-RevId: 134c2ad2c96defa54e89bbed7d7b20005c803aea
2023-01-24 09:05:20 +00:00
Eric Mc Sween
85ec5c9fbf Merge pull request #11198 from overleaf/em-upgrade-connect-redis
Upgrade connect-redis to 6.1.3

GitOrigin-RevId: b19080576403e6b7d52e208c72132a6fc452eb25
2023-01-24 09:05:12 +00:00
Alf Eaton
68a3b93eca Merge pull request #11311 from overleaf/jpa-plans-page-tooltip-width
[web] plans page: allow tooltips to be slightly larger

GitOrigin-RevId: 17bb0c0a1ae6a88efe5e0d2df284bd28f6e5824b
2023-01-24 09:04:57 +00:00
Alf Eaton
cf8051dcad Advertise CM6 Rich Text in the CM5 track changes panel (#11361)
GitOrigin-RevId: 3d2e43263528c64292a01afb3d032e11a6cbbfb9
2023-01-24 09:04:13 +00:00
Alf Eaton
8b610d2d1c Use MathJax v3 on the editor page (#11330)
GitOrigin-RevId: 5e51404c54e49735988f399ea080b6cb4be726d3
2023-01-24 09:03:58 +00:00
Brian Gough
78360b7358 initial history migration script (#11359)
* initial history migration script

* fix case in migration script

GitOrigin-RevId: cd2786605120e998c3b01bfeae436c2fbf7da0fa
2023-01-24 09:03:50 +00:00
Miguel Serrano
1a0e1def66 Merge pull request #11280 from overleaf/bg-issue11277
Move history migration logic to web module

GitOrigin-RevId: 6f1ba33519277b9ba13ecb2a13ae2c43ee06f675
2023-01-24 09:03:43 +00:00
Miguel Serrano
b4e9bf3449 [web] pipe history zip download to history-v1 in CE/SP (#11362)
GitOrigin-RevId: 4ef181d1b79b3d0e2254af698defe0c2fa8c679f
2023-01-24 09:03:35 +00:00
CloudBuild
2291fd5dae auto update translation
GitOrigin-RevId: 3a52dcea4fb60c826d9981a28483a4fcbb71dd9b
2023-01-23 09:03:01 +00:00
M Fahru
8227199dcb Implement new users micro survey for project dashboard page on react and non-react version (#11347)
* Implement new users micro survey for project dashboard page on react and non-react version

* Add 'new-users-micro-survey-click' and 'new-users-micro-survey-prompt' new event for the analytics

GitOrigin-RevId: 9aabe931987638b38995d404aa90ac4d40b2f3b5
2023-01-20 14:13:53 +00:00
M Fahru
29fbc253fd Clean up link sharing upgrade prompt test and keep the default variant
GitOrigin-RevId: d34ed081bbc61dfc74a7117c0ba633db4b5a0bad
2023-01-20 14:13:51 +00:00
Miguel Serrano
4a84922a2f Merge pull request #11346 from overleaf/msm-config-history-v1-sp
Configuration changes for FPH in CE/SP

GitOrigin-RevId: 990eb0fa6158d4815740413da085759d2cc5e231
2023-01-20 14:13:46 +00:00
CloudBuild
e360cc5d03 auto update translation
GitOrigin-RevId: ea570b2e3c885557758202d282ea5b4e5521545f
2023-01-20 09:05:04 +00:00
Eric Mc Sween
9eb9203104 Merge pull request #11302 from overleaf/em-rate-limiter-2
Move rate limits in router.js to rate-limiter-flexible

GitOrigin-RevId: 9ac5dfe2fdf3de017e852dee36e26859db3ca4cb
2023-01-20 09:04:41 +00:00
Eric Mc Sween
16627a18ef Merge pull request #11325 from overleaf/em-project-upload
Increase the upload project modal timeout

GitOrigin-RevId: 2c1ba1e792bb778c59c0a8bbadf96a0f84de96f7
2023-01-20 09:04:34 +00:00
CloudBuild
12579d584a auto update translation
GitOrigin-RevId: bcd937630b776dcd66983526d8983e8668b53ec0
2023-01-20 09:03:59 +00:00
Jessica Lawshe
7075a1e513 Merge pull request #11259 from overleaf/jel-react-subscriptions-dash-free
[web] Migrate institution free plan subscription dash to React

GitOrigin-RevId: 5f488bdeeb6db4a0895fe99218122220a2ee9561
2023-01-18 15:09:36 +00:00
Jessica Lawshe
c8ef5e6f65 Merge pull request #11231 from overleaf/jel-react-subscriptions-dash-commons
[web] Migrate institution memberships dash to React

GitOrigin-RevId: 75bb8e7d7338418733a836a8e654fe5b0a9fceff
2023-01-18 15:09:28 +00:00
Jessica Lawshe
dddf9b7042 Merge pull request #11213 from overleaf/jel-features-page-event
[web] Remove space in analytics event key

GitOrigin-RevId: 433ee6844b9a509192c49f2afc42acce2c9c101e
2023-01-18 15:09:21 +00:00
Jessica Lawshe
6a127d4408 Merge pull request #11159 from overleaf/jel-use-btn-secondary-on-group-invite
[web] Use new secondary button style on group invite

GitOrigin-RevId: 3772d2a2fd4143592494eae383be957f3ce99cac
2023-01-18 15:09:13 +00:00
Tim Down
467936e655 Merge pull request #11285 from overleaf/mf-fix-margin-bottom-dashboard
Add margin bottom to project dashboard search on mobile view

GitOrigin-RevId: e44d567d2848b23cbffc2b0dc487c468e3313bc4
2023-01-18 15:08:41 +00:00
leo22
d5d3fcda47 [web] locales: update German translations
Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
Co-authored-by: Sasha Goebbels <sasha.goebbels@overleaf.com>
Co-authored-by: Gernot Schulz <gernot.schulz@overleaf.com>
Co-authored-by: leo22 <87432648+leo-022@users.noreply.github.com>
GitOrigin-RevId: ce6d6e677bac29450989404c0b5ce41766fcbf96
2023-01-18 15:08:06 +00:00
Miguel Serrano
8b723c5363 Merge pull request #11160 from overleaf/msm-replace-uuid-crypto
Replace `uuid`/`node-uuid` with `node:crypto`

GitOrigin-RevId: 1be4f09c4681edac7e8bc58af3b5726d0d5ee322
2023-01-18 15:07:58 +00:00
Miguel Serrano
ed9bd54836 Merge pull request #11308 from overleaf/revert-11289-mj-right-toolbar
Revert "[web] Change pdf control toolbar alignment for CM6 RT"

GitOrigin-RevId: 71e7941afbdb3e77186760e3d2a0ce3655bdbc1a
2023-01-18 15:07:50 +00:00
Jakob Ackermann
59e587320a Merge pull request #11246 from overleaf/jpa-user-content-domain-access-check
[misc] prepare migration to user content domain

GitOrigin-RevId: 581ccab6d39ec021fb44a555a09e55441c35d0d1
2023-01-18 09:05:14 +00:00
Eric Mc Sween
f97a543d41 Merge pull request #11255 from overleaf/em-rate-limiter
Introduce rate-limiter-flexible

GitOrigin-RevId: c787397e276fb81015c7d045d191f2ad81ef542d
2023-01-18 09:04:51 +00:00
Alf Eaton
f89361c02b Fix sorting for output files in PDF preview (#11267)
GitOrigin-RevId: 8e8c478c34bf5d58cdb5e44009b918d13ab6a104
2023-01-18 09:04:44 +00:00
Alf Eaton
a1aa65724a Merge pull request #11289 from overleaf/mj-right-toolbar
[web] Change pdf control toolbar alignment for CM6 RT

GitOrigin-RevId: c3906df7ebf8da7097c680cdd58fc4bfb3f75704
2023-01-18 09:04:23 +00:00
Thomas
ae4b4c09b8 Merge pull request #11019 from overleaf/tm-fix-subscription-creation-response-timeout
Fix createSubscription timing out if non-handled error occurs

GitOrigin-RevId: 4f40d7134d81e6c212b045b2b18da36eb0421a43
2023-01-18 09:03:51 +00:00
Eric Mc Sween
d01e83b453 Merge pull request #11170 from overleaf/em-upgrade-mocha
Upgrade mocha to 10.2.0

GitOrigin-RevId: e49606c73e813904d9b794792a838a951a814585
2023-01-17 09:06:28 +00:00
Eric Mc Sween
56726053e8 Merge pull request #11158 from overleaf/em-recompile-pdf-split-test
Recompile PDF split test

GitOrigin-RevId: b02b3fb5b7a979ac299358e276ed432d736c7a03
2023-01-17 09:06:12 +00:00
Mathias Jakobsen
778aa45e96 Merge pull request #11247 from overleaf/mj-toolbar-overflow
[cm6+rt] Wrap formatting buttons if editor is too narrow

GitOrigin-RevId: d1b234c721f4bed67f1da567b90139f0c95895f0
2023-01-17 09:05:27 +00:00
Mathias Jakobsen
f94a325288 Merge pull request #11245 from overleaf/ae-noto-serif-main-style
Add Noto Serif CSS to "main" style

GitOrigin-RevId: 852220465632233356b27bea93813ef9e41022a1
2023-01-17 09:05:19 +00:00
Mathias Jakobsen
fce0a45128 Merge pull request #11234 from overleaf/ae-editor-type-rich-text
Record `cm6-rich-text` editorType in editing session pings

GitOrigin-RevId: 32d8cb60361348123bf5825961eb7e8b6e740ce8
2023-01-17 09:05:05 +00:00
Jakob Ackermann
dea52fec6f Merge pull request #11270 from overleaf/jpa-retry-translations-upload
[web] scripts: add retry to translations upload script

GitOrigin-RevId: b67af0def876d5e1dd0478e7b8fcd234bfc05447
2023-01-17 09:04:51 +00:00
Brian Gough
95bb5ca4e4 Merge pull request #11002 from overleaf/msm-fix-email-suggestion
[web] Fix clearing suggestions in email input

GitOrigin-RevId: c821114e2112bf066f4ee5f01304321db983bc4e
2023-01-17 09:04:43 +00:00
Brian Gough
c87772d732 Merge pull request #10989 from overleaf/bg-clean-up-project-history-handler
clean up ProjectHistoryHandler

GitOrigin-RevId: 82e6510a23934a3f3a1ede0fabbd2e393f74ad03
2023-01-17 09:04:35 +00:00
Jakob Ackermann
d1c2c46224 Merge pull request #11266 from overleaf/jpa-translations-sync-debugging
[web] scripts: verbose logging in upload script

GitOrigin-RevId: dbc8793358fee63dabf1d5a9b80c3613a147a53b
2023-01-17 09:04:20 +00:00
Jakob Ackermann
6154db8f92 Merge pull request #11236 from overleaf/jpa-pdf-caching-fix-size-estimation
[web] pdf-caching: fix estimation of multipart response size

GitOrigin-RevId: 5929cc1e413befb3f931889b38a4b21a7ed4cea8
2023-01-17 09:04:05 +00:00
Alf Eaton
ac61596274 Convert Noto Serif fonts to WOFF2 (#11205)
GitOrigin-RevId: 2564a03b12e01ccda84004c189c0b2e6a9a5b7fa
2023-01-16 08:42:04 +00:00
CloudBuild
377a8aed60 auto update translation
GitOrigin-RevId: 8a5f8a95f0f7fd7a57cf04ac9d6376f57b9448dc
2023-01-13 09:05:36 +00:00
M Fahru
86be2afdf1 Remove unused variable declaration on light theme css file
GitOrigin-RevId: bb838b9c3e7dac72e977ab99c130db917afc5e20
2023-01-13 09:05:28 +00:00
M Fahru
221bddce42 Remove unused css variable on the old less file
GitOrigin-RevId: cdb40060540d9173dd11f1653fd8e62b8232dcef
2023-01-13 09:05:21 +00:00
M Fahru
19e1d50e2e Fix editor overleaf logo on editor disappears if menu button is pressed in light theme
GitOrigin-RevId: a4f104cf988bfc267ba70cbe546e150bea773691
2023-01-13 09:05:07 +00:00
M Fahru
e855b96953 Only disable closing the modal by clicking outside of its element when inflight
GitOrigin-RevId: 9e9f24aed6442a892ed95c1ee598fc82ec931a1b
2023-01-13 09:05:00 +00:00
ilkin-overleaf
7e68b4f0d5 Merge pull request #11147 from overleaf/ii-subscriptions-pages-react-split-test
[web] React subscription split test

GitOrigin-RevId: 6656b3895030bc677483a3e30d5e998f5f7d1458
2023-01-13 09:04:52 +00:00
CloudBuild
7d661ee573 auto update translation
GitOrigin-RevId: 22f7f2aa97f6326928db3e2e203b3ab630160d02
2023-01-13 09:04:45 +00:00
Alf Eaton
017f0b49a0 [rich-text] Add "rich-text" split test (#11180)
GitOrigin-RevId: 8df79f3c70020c8dba0793c8b548fd1f1e1fbf76
2023-01-13 09:04:31 +00:00
Jakob Ackermann
3a890226cf Merge pull request #11194 from overleaf/jpa-drop-dead-admin-tab
[web] drop dead tab on site admin panel

GitOrigin-RevId: ec2dec4d05617e46b22a39bbd14aaa540a7365d5
2023-01-13 09:04:06 +00:00
Jakob Ackermann
0b7e28432d Merge pull request #11144 from overleaf/jpa-translations-helper-scripts
[web] scripts: add script for checking coverage of non-en translations

GitOrigin-RevId: ccde0d5b56b9e3b8f2a32916ecf1b442482edd12
2023-01-13 09:03:58 +00:00
Jakob Ackermann
b91f43f4f2 Merge pull request #11121 from overleaf/jpa-cleanup-en-locales
[web] locales: cleanup unused locales and check on it in CI

GitOrigin-RevId: 7625047f1731ec627df43bb9eb00348f110eadaf
2023-01-13 09:03:50 +00:00
Jessica Lawshe
fe34b650e3 Merge pull request #11132 from overleaf/jel-btn-info
[web] Use new button style for download button in file view in editor

GitOrigin-RevId: 33e8c1aeb21a6ba083a5b9ada3d3135916e64e26
2023-01-12 09:03:43 +00:00
Jessica Lawshe
1e27f5a49e Merge pull request #11130 from overleaf/jel-css-cleanup
[web] Remove unused `theme.less` file

GitOrigin-RevId: 241bb43e8d10ac8084189e34bfdf7dabcb6138d5
2023-01-12 09:03:40 +00:00
Jessica Lawshe
e391a9fc46 Merge pull request #11079 from overleaf/jel-features-link-analytics
[web] Add analytics to features link

GitOrigin-RevId: 80cbba05dfc94bce0b2f0b25a41ac76c8d22eee6
2023-01-12 09:03:38 +00:00
Alf Eaton
dbef19d0d6 Improve Rich Text typography (#11157)
* Replace @fontsource/noto-serif with local Noto Serif fonts
* Make more use of CSS variables in theme
* Make sure the chosen font is used for monospace
* Increase the weight of section headings
* Set link colours
* Rename variable to --source-font-family

GitOrigin-RevId: e14856a619829e075e71bf2df9b799fe0b45acea
2023-01-12 09:03:19 +00:00
M Fahru
82cd2d2a77 perform null check on the old value instead of the new one since to follow the non-react version behaviour
GitOrigin-RevId: 33ef74e1b1da41db8a86fc79ae04fbe49ed194df
2023-01-11 09:10:00 +00:00
M Fahru
94ab78b427 Log error in a promise catch block
GitOrigin-RevId: 09756d52bd6351c55051a74f22f38c450af9a275
2023-01-11 09:09:51 +00:00
M Fahru
7475237170 Refactor project-wide settings:
- Change api function argument (readability)
- create a new wrapper hooks for saving the project to both server-side and angular scope
- Implement the new save project settings hooks on project-wide settings update
- On spell check language update function, add new comment to give more context about the decision

GitOrigin-RevId: 93d558d1e1d4db265a943eeb4366842430900c43
2023-01-11 09:09:40 +00:00
M Fahru
654144dd40 Refactor saveUserSettings: Move sendMB inside the function and change function from supporting multiple settings to only support single key/value pair.
GitOrigin-RevId: 77b9d8fd5cdcbc78f38fd42329b74cf592615638
2023-01-11 09:09:32 +00:00
M Fahru
4444377b11 fix tsc error by re-creating request body object instead of directly assigning it from function argument
GitOrigin-RevId: b17697c7b52c991a06efcbffa0227b6021c5bc8d
2023-01-11 09:09:25 +00:00
M Fahru
b2cf833e9d Remove scope suffix from variable name in react-related files since it's an angular-specific concept
GitOrigin-RevId: b8eea8c8113a977f6cbe07649e1338eea8281841
2023-01-11 09:09:18 +00:00
M Fahru
03e5614969 Remove _csrf in request body since fetchJSON already have X-Csrf-Token set in request header
GitOrigin-RevId: 9dd2389c47ce3537fc4bb22bd8b6b0b83862c5f4
2023-01-11 09:09:11 +00:00
M Fahru
4548f504f7 standardize the naming for rootDocId.
- Remove the `scope` variable suffix
- change `rootDoc_id` to `rootDocId`

GitOrigin-RevId: d8e646ef5f99ba0dbce84ff63c588e63b956a4ec
2023-01-11 09:09:04 +00:00
M Fahru
bdf3b18d4f Change import to import type for type imports
GitOrigin-RevId: 2061bafeca58d063f83a96650403e5741b863c05
2023-01-11 09:08:57 +00:00
M Fahru
608b75c9db Fix linter error because of wrong variable name and camel case issue
GitOrigin-RevId: a5ea8d6c8332133303fcd8e410cc76ac06c5bb97
2023-01-11 09:08:49 +00:00
M Fahru
e3d0380e6f Remove multiple source of type imports; add type on type imports.
GitOrigin-RevId: a6630bb284c456bfbe61901f7331cdd3c13c7f8b
2023-01-11 09:08:42 +00:00
M Fahru
12f5c845b4 Simplify function by removing generic
GitOrigin-RevId: 7732b6782cd1e0130eb56f6b674c03548b8e8315
2023-01-11 09:08:35 +00:00
M Fahru
10bb724197 Fix wrong hook name
GitOrigin-RevId: 58f98b508cf650a6ecab38772faf9ecd38c9a7bc
2023-01-11 09:08:28 +00:00
M Fahru
f2060b35ad Refactor type by reusing type declaration and avoid multiple source of the same type
GitOrigin-RevId: 492a9a524e566cf70b53158b4e5cc6ad57cb6093
2023-01-11 09:08:21 +00:00
M Fahru
f85d17f894 Remove disabling update while listening on socket (ignoreUpdates state) since the logic is more complicated that was originally thought and it will be tested/revisited on a different PR
GitOrigin-RevId: 70cee2f0fc565aaebfb3ead2dd1a58fc5371c816
2023-01-11 09:08:13 +00:00
M Fahru
677ec173ed Disable updating project-wide settings while socket is currently listening to update project-wide settings in a project.
This may happen if the project is being used by multiple people, and we want to avoid race condition on the update since it's possible for multiple people to update setting value at the same time.

GitOrigin-RevId: cdad6a6456e2d9e4ef1812ebfd6f6ef59f23747f
2023-01-11 09:08:06 +00:00
M Fahru
af01ace5a0 refactor function by simplifying function argument (from two arguments to a single object)
GitOrigin-RevId: e4244a07a4ca196afa226e3fac9de74d30f7d4ea
2023-01-11 09:07:59 +00:00
M Fahru
777beaadc3 Don't send spellCheckLanguage request if the old value is the same as the new one
GitOrigin-RevId: 4ef34be7563ff707b6abd44dc8034293c88d2f72
2023-01-11 09:07:52 +00:00
M Fahru
ae5a08e680 Add 'setting-changed' tracking when user changes user-wide settings
GitOrigin-RevId: 04ed66dcdff7fa04e783fe4028505d981a39b37b
2023-01-11 09:07:45 +00:00
M Fahru
85cbc5b721 Apply prettier
GitOrigin-RevId: 34c7e3b95d061c270c77337c7c82502af289b556
2023-01-11 09:07:38 +00:00
M Fahru
06b0833e33 Add a comment explaining why user settings may be undefined
GitOrigin-RevId: 4460d4184cde5639d326da07121b2728d444c782
2023-01-11 09:07:30 +00:00
M Fahru
5597736057 Fix numerous test fails because of unitialized user settings scope on the test environment
GitOrigin-RevId: a27454285b0c89c6abef560f05c52d35f81fa570
2023-01-11 09:07:23 +00:00
M Fahru
56395d9a95 Save spellCheckLanguage to both project-wide and user-wide setting
GitOrigin-RevId: 059cc64d0fe2e955814a7192f82d4ff8ea4e2572
2023-01-11 09:07:16 +00:00
M Fahru
4bf09e21de Fix tsc lint error by restricting the generic type
GitOrigin-RevId: 11ef7ab4111c7b312b283283829e9b28a80c475c
2023-01-11 09:07:09 +00:00
M Fahru
98fbd330b2 Add socket listener for compiler, imageName, and spellCheckLanguage
GitOrigin-RevId: b12644152387e479e433a014e1a1041ebae36f12
2023-01-11 09:07:02 +00:00
M Fahru
b6b6b9c4b1 Rename "rootDoc_id" to "rootDocId" before sending it to server
GitOrigin-RevId: fc29e152ffd3bf97c00ee817abb07086f6cdfe17
2023-01-11 09:06:54 +00:00
M Fahru
30c32713c6 Add _csrf to request body
GitOrigin-RevId: 87b5a7299fbb795618143421df79375b41f8f921
2023-01-11 09:06:47 +00:00
M Fahru
132bb40a21 replace save project setting hooks with common function and implement set root doc id change
GitOrigin-RevId: e5b204cd93fc188288def529cb22018b3d4f89b6
2023-01-11 09:06:40 +00:00
M Fahru
8ae9839f79 apply prettier
GitOrigin-RevId: dd750756d2bfc625817760510e9bdbade186aef3
2023-01-11 09:06:33 +00:00
M Fahru
c2b0707c2a Change variable declaration location + apply prettier
GitOrigin-RevId: 3237a417c23d5c66c47385e55f8d3cb68bdfc3ca
2023-01-11 09:06:26 +00:00
M Fahru
414540af5c Reduce save/setScope user setting duplication by introducing a new shared hooks
GitOrigin-RevId: 6054143eb042e4ff336b1f325a8cef693ae8c4bd
2023-01-11 09:06:19 +00:00
M Fahru
09b1974a3d Migrate updating overallTheme to react
GitOrigin-RevId: 024ceb3c32c8d90ac0067fbb72d6e7d327b869f0
2023-01-11 09:06:12 +00:00
M Fahru
9452bee1b4 add newline
GitOrigin-RevId: f8c4054cbbaf935b50f06f51d19358e3560d0e74
2023-01-11 09:06:05 +00:00
M Fahru
6c41a65200 migrate user-wide settings post request from angular controller to react
GitOrigin-RevId: b5440178a11b82c5a5840eb310416f1519f85bae
2023-01-11 09:05:57 +00:00