Andrew Rumble
519b18e4a1
Lint fixes
...
GitOrigin-RevId: 686f3fb718faf5830a34656d45f888c8e245f7f9
2025-07-09 08:05:48 +00:00
roo hutton
a7e3ce67ea
Merge pull request #26809 from overleaf/rh-email-already-registered
...
Update 'email already registered' text
GitOrigin-RevId: aa8b7d0f83549f22a721f6e41a4a6cd51e287251
2025-07-07 08:05:19 +00:00
andrew rumble
4960569648
Remove unused full arguments
...
As distinct from removing destructured props.
GitOrigin-RevId: d02ad8d36fb532559ed2899268d7b699f2f2fa37
2025-06-11 08:05:46 +00:00
Antoine Clausse
f7b6246d41
[web] Use 6-digits verification in project-list notifications (bis) ( #25847 )
...
* Pull email context outside of `ResendConfirmationCodeModal`
* Use `loading` prop of button instead of deprecated Icon
* Swap notification order to clarify priority (no change in behaviour)
* Replace confirmation link action by confirmationCodeModal, and simplify code
* Change to secondary button variant in the Notification
* Display errors within the modal
* Increase ratelimit for resend-confirmation
* Copy changes
* Add stories on email confirmation notifications
* Fix other Notification stories
* Update tests
* Update services/web/frontend/js/features/settings/components/emails/confirm-email-form.tsx
Co-authored-by: Rebeka Dekany <50901361+rebekadekany@users.noreply.github.com>
* Remove placeholder on 6-digit code input
---------
Co-authored-by: Rebeka Dekany <50901361+rebekadekany@users.noreply.github.com>
GitOrigin-RevId: dad8bfd79505a2e7d065fd48791fd57c8a31e071
2025-05-28 08:05:01 +00:00
Antoine Clausse
e0f3bea9ad
[web] De-capitalize english translations ( #24123 )
...
* Create decapitalize.sh script
* Remove `text-capitalize` classes, rely on translations instead
* `Account Linking` -> `Account linking`
* `Account Settings` -> `Account settings`
* `Add Affiliation` -> `Add affiliation`
* `Add Email` -> `Add email`
* `Add Files` -> `Add files`
* `Add to Dictionary` -> `Add to dictionary`
* `All Projects` -> `All projects`
* `All Templates` -> `All templates`
* `Archive Projects` -> `Archive projects`
* `Archived Projects` -> `Archived projects`
* `Auto Compile` -> `Auto compile`
* `Back to Subscription` -> `Back to subscription`
* `Blank Project` -> `Blank project`
* `Change Password` -> `Change password`
* `Change Project Owner` -> `Change project owner`
* `Clear Sessions` -> `Clear sessions`
* `Company Name` -> `Company name`
* `Compile Error Handling` -> `Compile error handling`
* `Compile Mode` -> `Compile mode`
* `Compromised Password` -> `Compromised password`
* `Confirm Affiliation` -> `Confirm affiliation`
* `Confirm Email` -> `Confirm email`
* `Connected Users` -> `Connected users`
* `Contact Sales` -> `Contact sales`
* `Contact Support` -> `Contact support`
* `Contact Us` -> `Contact us`
* `Copy Project` -> `Copy project`
* `Delete Account` -> `Delete account`
* `Emails and Affiliations` -> `Emails and affiliations`
* `Git Integration` -> `Git integration`
* `Group Settings` -> `Group settings`
* `Link Accounts` -> `Link accounts`
* `Make Primary` -> `Make primary`
* `Mendeley Integration` -> `Mendeley integration`
* `Papers Integration` -> `Papers integration`
* `Project Synchronisation` -> `Project synchronisation`
* `Sessions Cleared` -> `Sessions cleared`
* `Stop Compilation` -> `Stop compilation`
* `Update Account Info` -> `Update account info`
* `the Sales team` -> `the sales team`
* `your Group settings` -> `your group settings`
* `Zotero Integration` -> `Zotero integration`
* Update decapitalize.sh
* Decapitalize some translations
* `Example Project` -> `Example project`
* `New Project` -> `New project`
* `New Tag` -> `New tag`
* `Trashed Projects` -> `Trashed projects`
* `Upload Project` -> `Upload project`
* `Your Projects` -> `Your projects`
* Revert "Create decapitalize.sh script"
This reverts commit 8c79f367096c206c704c7c01e3572a18f3961d5e.
* Revert changes to stories
* Fix tests
* `Contact us of` -> `Contact us if`
* Make `Contact us` bold in tex files
* `sales team` -> `Sales team`
* `Link accounts and Add email` -> `Link accounts and add email`
* `Make Private` -> `Make private`
* `contact support` -> `contact Support`
* Make `Make primary` tests case sensitive
* Use `add_email` translation string
* Revert changes to non-english locales
* Remove redundant `Account settings` translation
* `New project Name` -> `New project name`
GitOrigin-RevId: 675c46f96ddbf3d259a8d723fed62aa4a7ed40b7
2025-05-22 08:07:46 +00:00
roo hutton
d680544b69
Merge pull request #24787 from overleaf/rh-sort-account-emails
...
Sort user emails by primary>confirmed>alphabetical
GitOrigin-RevId: 1d166e424e3848b83110c1a87adfff7790c1a01f
2025-05-20 08:06:00 +00:00
Alf Eaton
d280d4ecad
Merge pull request #25691 from overleaf/ae-project-list-nav
...
Move isReady out of DefaultNavbar component
GitOrigin-RevId: 66f19620399e405c9ef4d95f7aef3ab918da5aa1
2025-05-19 12:27:05 +00:00
Rebeka Dekany
e282a74f7a
Make links more descriptive on the Account settings page ( #25558 )
...
GitOrigin-RevId: 21cb7c02f7a5678b4c385da5b842ad6a5303169b
2025-05-16 08:06:44 +00:00
Rebeka Dekany
271635491a
Remove incorrect "button" role from navigational links that are styled as buttons ( #25504 )
...
GitOrigin-RevId: 717b20a6f2e893034eb12547fa663d358c0de419
2025-05-14 08:05:21 +00:00
Rebeka Dekany
ac51878186
Improve ARIA labels for buttons and links on the Account setting page ( #25499 )
...
* Improve announced button and link labels for screen reader users
* Improve labels for integration widgets and update test
* Make integration widget IDs to be required
GitOrigin-RevId: 1e0124ef63a91fb63dffd79881c60794bccb9d27
2025-05-13 08:08:31 +00:00
Tim Down
7abafb01ea
Merge pull request #23940 from overleaf/td-react-18
...
Upgrade to React 18
GitOrigin-RevId: 9b81936e6eea2bccd97fe5c2c5841f0b946371b8
2025-05-02 08:05:29 +00:00
Tim Down
fb50d429b4
Merge pull request #24965 from overleaf/td-downshift-9-upgrade
...
Upgrade Downshift to version 9
GitOrigin-RevId: b36904ab0c82c09a633a25cd6fed651d7c8b19f7
2025-04-24 08:06:24 +00:00
Antoine Clausse
b901bb6c75
[web] Update fetch-mock
to version 12 ( #24837 )
...
* Update fetch-mock to version 12
* Replace `fetchMock.done` by `fetchMock.callHistory.done`
* Replace `…Mock.called` by `…Mock.callHistory.called`
* Replace `fetchMock.reset` by `fetchMock.hardReset`
* Replace `fetchMock.restore` by `fetchMock.hardReset`
* Replace `fetchMock.resetHistory` by `fetchMock.clearHistory`
* Replace `fetchMock.calls` by `fetchMock.callHistory.calls`
* Replace `fetchMock.flush` by `fetchMock.callHistory.flush`
* Update tests for fetch-mock version 12
See https://www.wheresrhys.co.uk/fetch-mock/docs/Usage/upgrade-guide
* Update stories for fetch-mock version 12
* Remove `overwriteRoutes` option
* Add `fetchMock.spyGlobal()` to storybook
* Remove deprecated `sendAsJson` param
* Replace `fetchMock.hardReset()` by `fetchMock.removeRoutes().clearHistory()`
* Fixup fetch-mock in storybook:
Call `mockGlobal` inside the hook, call `removeRoutes` and `unmockGlobal` on cleanup
Behaviour can be tested by navigating between
https://storybook.dev-overleaf.com/main/?path=/story/editor-ai-error-assistant-compile-log-entries--first-log-entry
https://storybook.dev-overleaf.com/main/?path=/story/editor-ai-error-assistant-compile-log-entries--rate-limited
https://storybook.dev-overleaf.com/main/?path=/story/project-list-notifications--project-invite
https://storybook.dev-overleaf.com/main/?path=/story/project-list-notifications--project-invite-network-error
And clicking the buttons
GitOrigin-RevId: 35611b4430259e4c21c3d819ad18b2e6dab66242
2025-04-17 08:06:24 +00:00
Rebeka Dekany
562ef81389
Cleanup Bootstrap 3 code in the Account settings page ( #24058 )
...
* Remove the Bootstrap 5 version utilities
* Remove Account settings LESS stylesheet and unused styles
* Prefer using the OLFormText wrapper component instead of FormText
* Remove the Bootstrap 3 version stories
* Replace Font Awesome icons to Material icons
* Fix the heading hierarchy
* Cleanup unused translation
* Restore ellipsis to the text of two loading spinners
* Add loading button tests back and add some button loading labels
---------
Co-authored-by: Tim Down <158919+timdown@users.noreply.github.com>
GitOrigin-RevId: 283a9167c8c78bf0fe5062840ded6917dcd6263b
2025-03-24 10:49:33 +00:00
Tim Down
c2da12939e
Merge pull request #24313 from overleaf/td-ac-bs5-frontend-tests
...
Update front-end tests to use Bootstrap 5
GitOrigin-RevId: abaa09f8c0639d64d6ade97468ab16204e5de97b
2025-03-24 10:48:20 +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
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
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
Antoine Clausse
4738961f51
[web] Update secondary email addition: confirm with 6 digits code ( #22851 )
...
* Remove `Interstitial` from `ConfirmEmailForm`
* Allow adding `affiliationOptions` in `addWithConfirmationCode`
* Add confirmationStep in add-email.tsx
* Call `getEmails` once a secondary email is added
* Fix tests
* Lint fix
* Style confirm-email-form
Figma: https://www.figma.com/design/TWyeImDSZHhkl9akYaGmeb/24.5-Secondary-email-reconfirmation?node-id=1-449&p=f&m=dev
* Remove unnecessary `successMessage` and `successButtonText` from hidden ConfirmEmailForm
* Remove icon padding
* Rename file to confirm-email-form.tsx
* Use `OLButton`
* Add Cancel button
* Update loading states
* Remove redundant `className` with variants
GitOrigin-RevId: 62b1729cf2299da38f20fa3946273ad0193c7d54
2025-01-31 09:05:23 +00:00
M Fahru
51bf63a32a
Merge pull request #23125 from overleaf/mf-change-case-settings-page-form
...
[web] Change settings page form labels to sentence case (instead of capitalizing each word)
GitOrigin-RevId: 70cc94c2883e782928b5cfdf81ea5ed2d4ff4363
2025-01-29 09:05:47 +00:00
Alf Eaton
4898b15dea
Add eslint-plugin-testing-library ( #23017 )
...
* Add eslint-plugin-testing-library
* Update .eslintrc.js
* Only import from @testing-library/react
* Fix issues
GitOrigin-RevId: c225f1f70020d4431866119423cd839ce1ee5ed2
2025-01-24 09:04:59 +00:00
roo hutton
ad096f82bf
Merge pull request #21905 from overleaf/rh-pause-sub
...
Add support for pausing subscription
GitOrigin-RevId: f939ea4e7f3c2b1fa16dcb8aff1b2460d091d4e2
2025-01-23 09:06:04 +00:00
Alf Eaton
2fbb4615f9
Convert utility functions to TypeScript ( #22658 )
...
* Convert event-tracking to TypeScript
* Convert local-storage to TypeScript
* Convert mapSeries to TypeScript
* Convert SessionStorage to TypeScript
* Convert account-upgrade to TypeScript
* Convert isValidTeXFile to TypeScript
* Convert date functions to TypeScript
* Convert EventEmitter to TypeScript
* Convert isNetworkError to TypeScript
* Convert webpack-public-path to TypeScript
* Convert displayNameForUser to TypeScript
GitOrigin-RevId: 79c5a2d1101fcd520f3116f0f4af29d974189d94
2025-01-16 09:05:36 +00:00
Jimmy Domagala-Tang
5b73f08703
Merge pull request #20435 from overleaf/jdt-hide-wf-promo-from-wf-commons
...
Hide Writefull Promo From Writefull Commons Users
GitOrigin-RevId: 7adcb8f6e71c9c5b27da248e025b14a51fab703b
2024-09-18 08:05:00 +00:00
Jimmy Domagala-Tang
d41e069c69
Merge pull request #20404 from overleaf/revert-20389-jdt-add-writefull-commons-to-v1
...
Revert "Add writefull commons to v1"
GitOrigin-RevId: 703e2873cb64059f6a3881d6fc7f3c475caf5abd
2024-09-17 08:05:41 +00:00
Jimmy Domagala-Tang
aca9466c49
Merge pull request #20389 from overleaf/jdt-add-writefull-commons-to-v1
...
Add writefull commons to v1
GitOrigin-RevId: 36d1022f41b4db3701c6b8fa2120b035b05b38ba
2024-09-17 08:05:37 +00:00
Jakob Ackermann
aa480a2663
Merge pull request #18898 from overleaf/jpa-no-window
...
[web] migrate from window attributes to getMeta
GitOrigin-RevId: 3dcf1ab6b01155e5e4abeb3e78d0fa9053e055bc
2024-06-19 08:04:21 +00:00
ilkin-overleaf
482bd7fb9c
Merge pull request #18103 from overleaf/ii-bs5-forms
...
[web] Bootstrap 5 form elements
GitOrigin-RevId: 7d031bed07007d0aa00a43f06d25bfb7384dee87
2024-05-15 08:05:11 +00:00
Alf Eaton
9729befe59
Merge pull request #18170 from overleaf/ae-token-access-page
...
Convert token access page to React
GitOrigin-RevId: d7434f0de395c47a95d00767727fbe9d43f9abca
2024-05-03 08:05:01 +00:00
ilkin-overleaf
1e7053cb8e
Merge pull request #17921 from overleaf/ii-bs5-alert-continue
...
[web] Replace all alerts with notifications in settings page
GitOrigin-RevId: a05755c39d2e54b3f57ffa589885e3e96aee00dc
2024-04-24 08:04:35 +00:00
Thomas
52e6ceef67
Merge pull request #17898 from overleaf/tm-remove-twitter-login
...
Remove twitter login code and uninstall passport-twitter
GitOrigin-RevId: 928c877ef2a42d5881652cad7f9d563c7766fd36
2024-04-18 08:04:16 +00:00
Jessica Lawshe
d65bba566c
Merge pull request #17315 from overleaf/ab-accounts-settings-sso-status
...
[web] Show Group SSO linking status on the account settings page
GitOrigin-RevId: ae45e1bd7a90a672c5fb023e7f3e603a00e364e5
2024-03-12 09:03:43 +00:00
Jessica Lawshe
f8094bbdb6
Merge pull request #17060 from overleaf/jel-password-linked-group-sso
...
[web] Prevent updating password for managed users linked to group SSO
GitOrigin-RevId: f40bba47575cfac1b1e42d3138112c0db4f7865c
2024-02-20 09:06:06 +00:00
Jimmy Domagala-Tang
24261ac617
Merge pull request #16007 from overleaf/jdt-writeful-user-settings
...
Add Writeful to user settings
GitOrigin-RevId: 15b3dd47b96cdc8bf8002afe3ddc570b03a6065f
2023-12-08 09:04:45 +00:00
Jimmy Domagala-Tang
e47c3e67c1
Merge pull request #15296 from overleaf/jdt-reword-send
...
Update wording in make primary email action
GitOrigin-RevId: df82ebcbec2ea101182f154673fd1c0fb4acbeaa
2023-10-24 08:03:43 +00:00
Tyna William
dd71c9924e
Tw email confirmation notification ( #14088 )
...
* Edited notification copy for user with affilation that ha commons account
* edited translation key to have overleaf professional appear in bold and switched to using trans component
* changed anchor tag to button and added additional check to ensure affiliation exists before accessing institution name
* add tests for commons user confirmation notification
* edit user email context test to facilitate test data changes
* edit license in fake test data
* edit test to check text of notification for non commons user
GitOrigin-RevId: 6700ceaa066f099ce593283887fa81d72ad624b6
2023-08-15 08:03:30 +00:00
Mathias Jakobsen
af76768eb7
Merge pull request #13372 from overleaf/mj-captcha-add-email
...
[web] Add recaptcha to add-email
GitOrigin-RevId: 0540e0dbc3103dcaac87dd7fabeedbc5892c371c
2023-07-17 10:40:08 +00:00
Miguel Serrano
51223315e4
Merge pull request #13164 from overleaf/msm-email-limit
...
[web] limit user email addresses to 10
GitOrigin-RevId: 038214cc921d86a407391e6c82fa9cd16a7f9646
2023-05-29 08:04:04 +00:00
Alf Eaton
929e383ed5
Merge pull request #13151 from overleaf/ae-testing-library-upgrades
...
Upgrade @testing-library dependencies
GitOrigin-RevId: d1be1cf58eccb5acdbac68ab48a31ab960ad72bc
2023-05-25 08:05:15 +00:00
Jakob Ackermann
b0633b3a47
Merge pull request #12842 from overleaf/jpa-logout
...
[web] remove GET /logout endpoints
GitOrigin-RevId: 93f9498fdb66ece5028d90941aac50cda2737604
2023-05-04 08:05:57 +00:00
ilkin-overleaf
122d2310e6
Merge pull request #12278 from overleaf/ii-change-email-confirmation
...
[web] Show confirmation modal when making an email primary
GitOrigin-RevId: eb67fc37c18a5ecd59973baa27ee9ef8e4b67423
2023-03-21 09:04:23 +00:00
Alf Eaton
f375362894
Always use mockable location methods ( #11929 )
...
* Always use mockable location methods
* Add eslint rules for window.location calls/assignment
* Add useLocation hook
* Update tests
GitOrigin-RevId: eafb846db89f884a7a9a8570cce7745be605152c
2023-03-17 09:05:21 +00:00
Jakob Ackermann
223b8aa9d8
Merge pull request #12250 from overleaf/ii-add-new-email-blocklist
...
[web] Prevent Blocklisted domains from appearing as suggestion
GitOrigin-RevId: b02bebe3e043cb264fbdbffce3f783b3af483e95
2023-03-17 09:04:33 +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
Jessica Lawshe
bd3b9007c8
Merge pull request #11078 from overleaf/jel-features-page-analytics
...
[web] Add analytics to React dash features link
GitOrigin-RevId: 5f62af1af3854b1443734cda6b97334e6eb42711
2023-01-10 09:06:43 +00:00
June Kelly
d71d91e893
Merge pull request #10020 from overleaf/sg-account-delete-case-sensitivity
...
[web] email in leave modal should be case insensitive
GitOrigin-RevId: 250e867f88dd76769a27a8cd61dd82625c1e151f
2022-10-20 08:04:03 +00:00
Tim Down
188e8c99a7
Merge pull request #9790 from overleaf/ds-bug-fix-fetchmock
...
Bug fix- added a missing fetchMock in a test
GitOrigin-RevId: c0bb97f6874afa125ea0e966ff819b6fa7e245c9
2022-10-04 08:03:22 +00:00
Timothée Alby
e6b681838b
Merge pull request #8706 from overleaf/ta-beta-program-copy
...
Update Beta Program Copy
GitOrigin-RevId: 49afa2ca394bee3d48aeb37bbe909f666ff845a2
2022-07-08 08:03:36 +00:00
Miguel Serrano
c2cfa96983
Merge pull request #8359 from overleaf/ta-settings-tracking
...
Track Settings Page Upgrade Clicks
GitOrigin-RevId: 92c9f595a3b0f1a1cf40816204cabe3e94d36db3
2022-06-13 08:03:19 +00:00
Timothée Alby
1fe424631f
Merge pull request #8291 from overleaf/ta-email-emails-ui-tweaks
...
[SettingsPage] Emails UI Tweaks
GitOrigin-RevId: 352d52badb234ed27ae48c39c4367c633ac83424
2022-06-07 08:02:29 +00:00