Commit graph

1379 commits

Author SHA1 Message Date
David
dcabf55882 Merge pull request #24137 from overleaf/mj-ide-permissions-utils
[web] Add switcher for editor redesign

GitOrigin-RevId: 806a1f567027df53f879b564a50aaae9166c8480
2025-03-18 09:05:40 +00:00
CloudBuild
a097577e29 auto update translation
GitOrigin-RevId: 3fa7f5bc4f52ddec1c55f0409bc930be1e522971
2025-03-17 09:04:44 +00:00
Thomas Mees
84996ea88c Implement checks for user eligibility when switching plans (#24276)
* Convert updateSubscription controller to async/await

* Move updateSubscription to subscription module

* Validate if user is eligible to change plan

GitOrigin-RevId: ce538429cd5a3b93acabdc046f1a8b164ac02301
2025-03-14 09:05:19 +00:00
Mathias Jakobsen
5a67353dc3 [web] Editor redesign: Add actions to project name dropdown (#24220)
GitOrigin-RevId: 04f4abdc529a0494c70b0e3d14847b0cf452b80d
2025-03-14 09:04:40 +00:00
Alf Eaton
28ff69b51b Revert "Check for changed files since last merge in GitHub Sync modal (#24180)" (#24273)
This reverts commit 4cd55e1501648f0a18b77be5af19deb0773d6881.

GitOrigin-RevId: 132eead97e924037c2fd17fd636a769ef95f4cc1
2025-03-13 09:06:06 +00:00
Alf Eaton
4ddd3ee772 Check for changed files since last merge in GitHub Sync modal (#24180)
GitOrigin-RevId: 4cd55e1501648f0a18b77be5af19deb0773d6881
2025-03-13 09:06:02 +00:00
Jessica Lawshe
3bc21faeaf Merge pull request #23088 from overleaf/jel-managed-users-enroll
[web] Show message instead of enrollment form when already managed

GitOrigin-RevId: ffa9dfd8af17ee3128df15d4027a66b96f2c8b0d
2025-03-12 09:06:03 +00:00
ilkin-overleaf
96af83a4ed Merge pull request #24138 from overleaf/ii-flexible-licensing-colombian-pesos
[web] Recurly subtotal limit on flexible licensing

GitOrigin-RevId: 302fb15dcc360e3b47674e8e776ffa115af6cbe6
2025-03-12 09:04:52 +00:00
CloudBuild
aaa15a2733 auto update translation
GitOrigin-RevId: 9617a83b396ecec5c4b8a50a858db49257326027
2025-03-11 09:06:26 +00:00
M Fahru
cae698b705 Merge pull request #23994 from overleaf/mf-20-millions-update-user-count
[web] Update user count to 20 millions

GitOrigin-RevId: 768b08b70cdbcff0435897f7cf518de3dff80f55
2025-03-11 09:06:12 +00:00
Davinder Singh
7ec4cbd841 Merge pull request #24164 from overleaf/ds-group-discount-10-percent-february
Group plans - Reintroduce 10% discount for group plans (Part 1, 2 & 3 Combined)

GitOrigin-RevId: f3a59a65bbd300cc06f70e179e794c32ed7970ce
2025-03-11 09:05:50 +00:00
David
9824151e62 Merge pull request #24033 from overleaf/mj-rail-dropdown
[web] Editor redesign: Add help dropdown to rail

GitOrigin-RevId: 052ba1852a8e2702fe1671c4613d986b9b0c91c2
2025-03-11 09:05:12 +00:00
CloudBuild
6a344c7a52 auto update translation
GitOrigin-RevId: 037a91f43519537e0dc572771f8cbe92659d61df
2025-03-10 09:05:31 +00:00
CloudBuild
b5031fdee5 auto update translation
GitOrigin-RevId: ba3022ee74dee8356611c970a9cd880930023d34
2025-03-10 09:05:27 +00:00
Antoine Clausse
c4e6dfbbbd [web] Use 6-digits code to confirm existing email in Account Settings (#23931)
* Rename `checkSecondaryEmailConfirmationCode` to `checkAddSecondaryEmailConfirmationCode`

* Create function `sendCodeAndStoreInSession`

* Create function `sendExistingSecondaryEmailConfirmationCode`

* Create function `_checkConfirmationCode`

* Create function `checkExistingEmailConfirmationCode`

* Rename `resendSecondaryEmailConfirmationCode` to `resendAddSecondaryEmailConfirmationCode`

* Create function `_resendConfirmationCode`

* Create function `resendExistingSecondaryEmailConfirmationCode`

* Add `ResendConfirmationCodeModal`

* Remove `ResendConfirmationEmailButton`

* `bin/run web npm run extract-translations`

* Update frontend test

* Fix: don't throw on render when send-confirmation-code fails!

* Update phrasing in the UI

Per https://docs.google.com/document/d/1PE1vlZWQN--PjmXpyHR9rV2YPd7OIPIsUbnZaHj0cDI/edit?usp=sharing

* Add unit test

* Don't share the "send-confirmation" and "resend-confirmation" rate-limits

* Update frontend test after copy change

* Rename `checkAddSecondaryEmailConfirmationCode` to `checkNewSecondaryEmailConfirmationCode` and `resendAddSecondaryEmailConfirmationCode` to `resendNewSecondaryEmailConfirmationCode`

* Rename `cb` to `beforeConfirmEmail`

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>

* Return `422` on missing session data

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>

* Add `userId` to log

* Replace `isSecondary` param by `welcomeUser`

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>

* Rename `resend-confirm-email-code`'s `existingEmail` to `email`

* Remove "secondary" from rate-limiters

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>

* Remove unnecessary `userId` check behind `AuthenticationController.requireLogin()`

* Only open the modal if the code was sent successfully

---------

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: df892064641d9f722785699777383b2d863124e1
2025-03-07 09:06:50 +00:00
Davinder Singh
e52f3543a7 Merge pull request #24149 from overleaf/ds-revert-of-discount-pr
Revert "Group plans - Reintroduce 10% discount for group plans (part 1)"

GitOrigin-RevId: b3ed4fa969df49c35e9119241161dabeeb66ce61
2025-03-07 09:06:39 +00:00
Davinder Singh
37dc516ea2 Merge pull request #24148 from overleaf/revert-24066-ds-group-discount-2
Revert "Group plans - Reintroduce 10% discount for group plans (part 2)"

GitOrigin-RevId: 2d8a8d117222daa997e4d0632a9e7235559a8b8c
2025-03-07 09:06:35 +00:00
Davinder Singh
3784061935 Merge pull request #24066 from overleaf/ds-group-discount-2
Group plans - Reintroduce 10% discount for group plans (part 2)

GitOrigin-RevId: ea5d600d901329944092daf560a015ac8ca10cd3
2025-03-07 09:06:05 +00:00
Davinder Singh
8ad7ec6682 Merge pull request #23973 from overleaf/ds-group-discount
Group plans - Reintroduce 10% discount for group plans (part 1)

GitOrigin-RevId: 7cb60413ff99396a015de03450b19fba2d896fab
2025-03-07 09:06:01 +00:00
Rebeka Dekany
cd133e8240 Show dashboard notification for unconfirmed emails and untrusted secondary emails (#23919)
* Show an aggressive dashboard notification for unconfirmed emails
Show a persistent dashboard notification for untrusted secondary emails

* For emails before the cutoffDate, start displaying the notification on the deletionDate and show the notification for 90 days

* Update the email deletion logic for displaying the email notification and update test

* Update test

GitOrigin-RevId: 1b0e44f79592292d428c634dc1ec4df9e6ceaeb4
2025-03-07 09:05:50 +00:00
Alf Eaton
2147f1d53d Remove Bootstrap 3 code from IDE page components (#23061)
GitOrigin-RevId: b41aff10672bf96e892de0be396a69eb25e2443b
2025-03-07 09:05:45 +00:00
Alf Eaton
ee99856b8f Update text in GitHub Sync modal (#24068)
GitOrigin-RevId: c99b9f8eac48b8dee1e195e82ae5d8bbf4a4b0a5
2025-03-07 09:05:21 +00:00
Alf Eaton
b653ae2a66 Remove prototype full project search components (#24106)
GitOrigin-RevId: 7ffd290f537c1f3aae072a045405b2c3b2253f45
2025-03-07 09:05:16 +00:00
CloudBuild
4441f42dea auto update translation
GitOrigin-RevId: 2e25b40ec57740bbb49deaab1c4f4809a5c150fd
2025-03-06 09:05:41 +00:00
Domagoj Kriskovic
42ddbb6eb3 Update Overleaf assist paywall to reflect group and institution licensing (#24061)
GitOrigin-RevId: 5df447febb845ed60ddb04428d7f6a0375f351f7
2025-03-06 09:05:07 +00:00
CloudBuild
2c91363745 auto update translation
GitOrigin-RevId: 0ad3c5d4f7b66b19329b2a249a291af52c7da312
2025-03-05 09:06:00 +00:00
Mathias Jakobsen
733bc26ed1 Merge pull request #23848 from overleaf/dp-settings
Add initial components for new editor settings modal

GitOrigin-RevId: e3eb511d2af9265e0fc1cf54178b3e2953717950
2025-03-05 09:05:34 +00:00
Domagoj Kriskovic
0a270e0870 Open Overleaf assist paywall if in "overleaf-assist-bundle" split-test (#23894)
* Add overleaf assist paywall modal component in storybook

* update img alt

* remove data-action

* rename assistant -> assist

* use css var for blue color

* Open Overleaf assist paywall if in "overleaf-assist-bundle" split-test

* dont use optional planCode

GitOrigin-RevId: 9315ee2350cb7bc804afa720047849c220781686
2025-03-03 09:04:48 +00:00
Davinder Singh
3851ee4eb2 Plans Group Size - Removing the 50 size (#23851)
* removing the group size 50

* removing the if condition for 20/50 groups

* running make cleanup_unused_locales

* removing instances of sizesForHighDenominationCurrencies and the related if conditions

* removing the price related to group size of 50 in different currencies

* fixing the test

* changing the 50 to 20 under faqs

* changing the remaining 50 to 20

* cleaning of variables

* removing extra variable

GitOrigin-RevId: 68f5d7df1eab29360e9c806ad844f1c900341c19
2025-02-28 09:04:51 +00:00
CloudBuild
8610b190e8 auto update translation
GitOrigin-RevId: 35b25e3daaf940ab241b3c97d48375d78cb385db
2025-02-27 09:05:59 +00:00
Jessica Lawshe
50e0d2b4ff Merge pull request #23351 from overleaf/jel-v1-down-sso-login
[web] Catch v1 errors on SSO log in to not block group SSO

GitOrigin-RevId: b99498dfd4a0de2099b8da1ac73dda28280cd430
2025-02-27 09:05:34 +00:00
David
fc19e1d34a Merge pull request #23669 from overleaf/mj-ide-chat-look
[web] Update chat in editor redesign

GitOrigin-RevId: 79c79eb9c774fbaa1a5a1e15386b629cc03239b3
2025-02-27 09:05:03 +00:00
CloudBuild
8533b8a628 auto update translation
GitOrigin-RevId: e1b26d9b9d5b0ed7912a6a643f94fc68ba974ba8
2025-02-26 09:05:32 +00:00
Alf Eaton
9dee601ba3 Remove AI Error Assistant feedback prompt (#23796)
GitOrigin-RevId: 36ee1ca0befc0f2e4bf817a6946213f814947079
2025-02-26 09:03:52 +00:00
CloudBuild
c9bbdc37a1 auto update translation
GitOrigin-RevId: 9948881e46548a02c38202ac0408c609c2c6f82b
2025-02-24 09:06:23 +00:00
CloudBuild
6b90f831ad auto update translation
GitOrigin-RevId: 2d057c8c8816407403ee26baebacbddf5f7d8946
2025-02-24 09:06:19 +00:00
Alf Eaton
3671e4d452 Update AI feedback form text (#23754)
GitOrigin-RevId: 29ca72963e912ee0e121dece9821bb90efa8eff3
2025-02-24 09:05:40 +00:00
Antoine Clausse
3976210485 Merge pull request #23798 from overleaf/revert-23767-ac-remove-ds-nav-code-small
Revert "[web] Show DS Navigation for all users regardless of feature flag "

GitOrigin-RevId: 569800d75e1ef3ed6af666325213f1615c8f3a43
2025-02-24 09:04:37 +00:00
Antoine Clausse
7b2f51aad5 [web] Show DS Navigation for all users regardless of feature flag (#23767)
* Remove uses of `useIsDsNav`

* Remove `sidebar-navigation-ui-update` as true from analytics events

* Hide "ds-nav" survey for users who have the feature flag

* `make cleanup_unused_locales` & `bin/run web npm run extract-translations`

* Update frontend tests

GitOrigin-RevId: 83f429d81ca1b46e9eab4fc667a921026a85912f
2025-02-21 09:05:48 +00:00
Antoine Clausse
34cac93f9a [web] When switching primary email, delete the old primary if it's unconfirmed (#23688)
* Add note to ConfirmModal: unconfirmed primary will be deleted

* Change confirm button copy

* Promisify `UserEmailsController.setDefault`

* Update tests after promisification

* Delete unconfirmed primary when swapped

* Fixup apostrophe in translation

* `npm run extract-translations`

* Add unit tests

* Add acceptance tests

* Fix frontend tests

* Make email address bold

* Add "We removed the previous primary..." to the email

GitOrigin-RevId: c971e219e36e509f9963e1720acdd44f562a05b5
2025-02-21 09:05:44 +00:00
roo hutton
14e76b5a72 Misc fixes for updated compile timeout paywall (#23741)
* hide cached files/logs and files buttons while primary paywall showing

* replace plans link with interstitial

* open checkout in new tab

* editors > collaborators, use correct collab count for student plan, refactor collab translations

* fix variable case

GitOrigin-RevId: 48f53aa385ed6d7e5c9b485fe4a045a47c448777
2025-02-21 09:04:52 +00:00
David
2d02111e06 Merge pull request #23697 from overleaf/dp-layout-switcher
Add layout switcher button to toolbar

GitOrigin-RevId: 33bf664c2e2cb5c2f992b70fd9ca90b5dfe2ee44
2025-02-21 09:04:28 +00:00
Alf Eaton
8ca5360454 Reapply "Increase the length of unsaved doc time before the editor is locked" (#23723)
* Reapply "Increase the length of unsaved doc time before the editor is locked (#23431)"

This reverts commit d0efca398e59ca488c530ee9ec5ca76f29843679.

* Use pendingOpCreatedAt if inflightOpCreatedAt isn't set

GitOrigin-RevId: b3301d7cc1554215a4ba569537bd47beeefde20f
2025-02-20 09:06:31 +00:00
Alf Eaton
432bbe0db8 Merge pull request #23714 from overleaf/ae-revert-unsaved-docs
Revert "Increase the length of unsaved doc time before the editor is locked"

GitOrigin-RevId: 0f2d257a55ebc3353ded2b10d505bfdb2e85f402
2025-02-20 09:05:53 +00:00
Alf Eaton
f40118e58b Increase the length of unsaved doc time before the editor is locked (#23431)
* Use opInflightSince to measure unsaved doc time
* Use performance.now() for lastAcked timestamp
* Use inflightOpCreatedAt
* Increase MAX_UNSAVED_ALERT_SECONDS to 15
* Increase MAX_UNSAVED_SECONDS to 30
* Increase FATAL_OP_TIMEOUT to 45000
* Convert "Connection lost" modal to a notification

GitOrigin-RevId: 2d4233723620fd03ce6d6c5795c48c33c0b2f92c
2025-02-20 09:05:20 +00:00
David
46e9c69d8e Merge pull request #23597 from overleaf/dp-integrations-panel
Add integration panel to new editor

GitOrigin-RevId: 85e038c645e40d0ea596ed35d31448caa232e298
2025-02-19 09:05:02 +00:00
Davinder Singh
0c8e31708a Merge pull request #22716 from overleaf/ds-sso-login-redesign-bs5
Website Redesign & BS5 migration - SSO Login page

GitOrigin-RevId: 9c819479c7ca6510d2e683881564427c91c4f04e
2025-02-18 09:04:38 +00:00
CloudBuild
3a898e2b61 auto update translation
GitOrigin-RevId: 3ef229bb22a6986ab693076b4386a0258acc8cbb
2025-02-17 09:05:18 +00:00
Alf Eaton
4611de3f3d Update tooltip text for search buttons (#23448)
GitOrigin-RevId: d189aac06c5f68e009eeb125d7cc225b41e8cc0c
2025-02-17 09:04:45 +00:00
Mathias Jakobsen
05045ee9f7 Merge pull request #23607 from overleaf/mj-papers-default-on
[third-party-references+web] Default to personal library in Papers integration

GitOrigin-RevId: 0a5a3de273341c1f5d5bd50b9c0f8fe98cd7504e
2025-02-14 09:04:27 +00:00