Miguel Serrano
978086c658
Merge pull request #25885 from overleaf/jpa-msm-tls-email
...
[web] fix nodemailer config for tls
GitOrigin-RevId: 6470a57bc66a89d463ca11f0f27e864a8cd3f61a
2025-05-23 11:08:21 +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
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
Jessica Lawshe
508b796a69
Merge pull request #23349 from overleaf/jel-managed-unlinked-email-notification
...
[web] Add message about resetting password when user is managed and unlinked
GitOrigin-RevId: e9d6692f17f31d9d63cb13436018ce9fe6986106
2025-02-27 09:05:43 +00:00
John Lees-Miller
cee0276eef
Merge pull request #22418 from overleaf/jlm-spam-safe-length
...
Reduce spam safe project length
GitOrigin-RevId: 2bb128a24c4ad7630bf1c511d2e23a9bf45072ab
2024-12-10 09:05:29 +00:00
Eric Mc Sween
1acb0d1bcd
Merge pull request #21274 from overleaf/em-recurly-client
...
Separate Recurly business logic
GitOrigin-RevId: 9c3b5ce61bdc7a6a5d3f507a31dc8919c882e476
2024-10-31 09:05:00 +00:00
Jakob Ackermann
d655cb129a
Merge pull request #20168 from overleaf/jpa-email-fallback-info
...
[web] log emails on level INFO from fallback transport
GitOrigin-RevId: a1f63e302cf6c5fcfa82b85ff2c79182fdc58945
2024-08-30 08:04:42 +00:00
Miguel Serrano
6721bbb356
Merge pull request #19676 from overleaf/msm-fix-email-support
...
[CE/SP] Fix email sending and support links
GitOrigin-RevId: faaaacd312d3ec4ccf90bfdefbb62d2701df5cfd
2024-08-01 08:06:16 +00:00
Eric Mc Sween
876ee4d967
Merge pull request #18225 from overleaf/em-typescript-eslint
...
Add typescript-eslint rule: no-floating-promises
GitOrigin-RevId: 8c3decdff537c885f5bfeb5250b7805480bc6602
2024-05-27 10:22:20 +00:00
David
c2448ff3d2
Merge pull request #17947 from overleaf/dp-secondary-email-confirmation-code
...
Add endpoints for secondary email confirmation by code
GitOrigin-RevId: c2829672fd9aeca457f76958d4922b9c95086f26
2024-04-26 08:04:00 +00:00
Jessica Lawshe
8d1885cd50
Merge pull request #18073 from overleaf/jel-sso-disabled-email-alert
...
[web] Send SSO disabled email to non-managed and linked users
GitOrigin-RevId: d5e6739efd432b396dcd7fa3dd37e18d2b9dc933
2024-04-25 08:05:30 +00:00
roo hutton
03fb015f8f
Merge pull request #17856 from overleaf/rh-deletion-email-update
...
[web] Use securityAlert template for user deletion email
GitOrigin-RevId: 60dfef18946710f5d5df17daca1a0bdc9800519b
2024-04-12 08:06:40 +00:00
roo hutton
bf7a18db8b
Merge pull request #17730 from overleaf/rh-acct-delete-email
...
[web] Send email notification on account deletion
GitOrigin-RevId: 03c0effba0ee3b829f5b4fe377fe67d05776ba3f
2024-04-10 08:04:12 +00:00
Alf Eaton
6cc2db3cdd
Merge pull request #17525 from overleaf/ae-upgrade-prettier
...
Upgrade Prettier to v3
GitOrigin-RevId: 6f1338f196408f3edb4892d5220ad3665ff1a5bc
2024-03-26 09:04:05 +00:00
Jessica Lawshe
8d4766f5fa
Merge pull request #17234 from overleaf/jel-clear-saml-data
...
[web] Clear linking data for all linked users in group
GitOrigin-RevId: 1b7b3642a37a33c8b1499aee9c98300551bccea0
2024-03-14 09:04:42 +00:00
David
32d2603adb
Merge pull request #16731 from overleaf/dp-ip-rate-metrics
...
Add tracking of rate limit method to metrics
GitOrigin-RevId: 3996c2a0ccb747018571ce402120be46fc52eace
2024-02-13 09:04:09 +00:00
Jakob Ackermann
0596e8d25c
Merge pull request #16813 from overleaf/jpa-remove-legacy-registration
...
[web] remove legacy registration aka the public-registration module
GitOrigin-RevId: 5cbb7ecbc7da5cd0617bd1abd1f5c6eef4c05b3f
2024-02-05 09:04:09 +00:00
Brian Gough
9702b36c64
Merge pull request #16833 from overleaf/bg-google-spam-add-email-metrics
...
Include email type and rate-limit status in metrics
GitOrigin-RevId: eb5645e68d9ee3571d04b87b2c0fc09f9caa126a
2024-02-01 09:03:27 +00:00
Domagoj Kriskovic
b9834b0cbd
Added category support for sendgrid ( #15970 )
...
* Added category support for sendgrid
* use category only for confirmation code
GitOrigin-RevId: 1b93d8d0ac3699b9ad9f633f62b6471d163a2fba
2023-12-01 09:03:09 +00:00
Alexandre Bourdin
661c9f685c
Merge pull request #15963 from overleaf/ab-reminder-invite-non-managed
...
[web] Reminder emails for non-managed groups
GitOrigin-RevId: 93b7c0afb0b0b2057ad38a5628edc9526a0a48a5
2023-11-28 09:04:36 +00:00
Alexandre Bourdin
2783e89bc3
Merge pull request #15539 from overleaf/ab-schedule-sso-reminder
...
[web] Schedule Group SSO account linking reminder after joining the group
GitOrigin-RevId: 5586787fbd268446e441762fd7b4846821f849f6
2023-11-07 09:04:51 +00:00
Domagoj Kriskovic
af4b22fab5
Confirm email new routes ( #15377 )
...
* confirm email routes
* Style the email confirmation template (#15196 )
* error handling
* prettier
* error message
* rename variables
* message codes change
* v1 redirect
* fix assigning to session
* rename rate limitter
* rate limitter per email
* add try/catch
* added stub
* prettier
* confirm email acceptance test
* confirm when created
* tests
* added rate limit tests
* new email text
* subscribe to newsletter
* beforeEach/afterEach test both variants
* move tests to OverleafAuthenticationTests
* Revert "move tests to OverleafAuthenticationTests"
This reverts commit 3c745382815da1594044a811882ba3daa24a7a3a.
* cacheflow reset after each
* remove test archive request
* use crypto for random code
* rate limit in userEmailsConfirmationHandler
* ratelimiter per type
* req.session.pendingUserRegistration
* spy in before/after each
* without deleteMany
* delete staffUser in afterEach
* stub response, format
* rate limiter outside userEmailConfirmationHandler
* mock ratelimitter
* fix subscribe promise
* add email to logger
* logger calls
* using tsscmp
* fix lint
* resendConfirmationCode rate limiter in router
* remove redirect
---------
Co-authored-by: Rebeka Dekany <50901361+rebekadekany@users.noreply.github.com >
GitOrigin-RevId: 786c477966cf2c5f6e28417fe486146ee5c10884
2023-11-02 08:52:48 +00:00
Davinder Singh
f97689aa87
Group SSO - Adding the SSO invite link reminder button in the dropdown ( #15289 )
...
GitOrigin-RevId: 9641946e65ede2d52645caf8876d7587a24e7dfc
2023-10-26 08:03:21 +00:00
Davinder Singh
e1532f068a
sending emails to user when SSO is enabled ( #15133 )
...
Co-authored-by: Miguel Serrano <mserranom@gmail.com >
GitOrigin-RevId: 1b485a09844edc8f71f88fa07439581afc007749
2023-10-13 08:03:40 +00:00
Davinder Singh
9563373466
Group SSO - Adding disable button functionality ( #15052 )
...
GitOrigin-RevId: 50024c6a8c6ce3fc64262f813bb31f3639746aae
2023-10-10 07:57:51 +00:00
Alf Eaton
8a93044a2a
Merge pull request #15127 from overleaf/ae-mandrill
...
Remove Mandrill nodemailer transport
GitOrigin-RevId: e83897fd8d54accec0954b9a36bb502a30cff22f
2023-10-09 08:03:56 +00:00
M Fahru
a834e02cd5
Merge pull request #14442 from overleaf/mf-resend-group-invite
...
[web] Add an option to resend group invite in managed users setting
GitOrigin-RevId: 75625c5a50dfc74b48b3a465c9f713e2d6179db8
2023-08-24 08:04:18 +00:00
M Fahru
f4455d3e87
Merge pull request #14474 from overleaf/ab-managed-users-copy-url-updates
...
[web] Update URLs and copy in managed users screens
GitOrigin-RevId: 97820499c4f8123425ddf103a4cd2666be4db08a
2023-08-24 08:04:12 +00:00
M Fahru
1e4028d05e
Merge pull request #14311 from overleaf/mf-resend-surrender-email
...
[web] Add an option to resend managed users invite in managed users setting
GitOrigin-RevId: 2734ef3be31f77c309caec96e97411c9d48a8160
2023-08-23 08:05:50 +00:00
M Fahru
a5ad8a1deb
Merge pull request #14252 from overleaf/mf-send-emails-surrendering-account
...
Send email to notify users to surrender their account to be managed in a managed users group environment
GitOrigin-RevId: 1f366a9ca1b5359844e288d33ee91097acb71c64
2023-08-17 08:03:10 +00:00
M Fahru
be8b7dfa1e
Add link to "change project owner" wiki page in the email template when inviting an existing user to join managed users.
...
GitOrigin-RevId: a1079a6a54f0c354bef368fe6e9257be4ce0b07e
2023-08-15 08:03:38 +00:00
M Fahru
7ab6f751d9
Add trailing dot on email template when inviting new user to join managed users.
...
GitOrigin-RevId: 531e9a201782e7fb373bd7cde9f14c45e267f704
2023-08-15 08:03:36 +00:00
Alexandre Bourdin
c634267142
Merge pull request #14187 from overleaf/mf-update-email-group-invite-general
...
Add new email template when sending managed users group invitation for existing users
GitOrigin-RevId: e4b4ded9b28400e73f85948f8f10f6fc5a7c01b4
2023-08-10 08:04:35 +00:00
June Kelly
773d83dd17
Merge pull request #13866 from overleaf/jk-managed-users-dont-send-email
...
[web] Don't send email to offboarded user
GitOrigin-RevId: 6ed1fc875d5476c1c054a72d9188214d582e1b4b
2023-07-17 11:10:56 +00:00
Tim Down
49eafa2712
Merge pull request #13604 from overleaf/jk-managed-users-offboarding-ui
...
[web] Managed Users offboarding UI
GitOrigin-RevId: ee4a1ae7cdb0022839ef232836ef6933443400fc
2023-07-17 11:08:52 +00:00
Eric Mc Sween
21971956b7
Merge pull request #12219 from overleaf/em-camel-case-web
...
Camel case variables in web
GitOrigin-RevId: 28e61b759b27f71265f33ab64f588374dba610e0
2023-03-22 09:05:04 +00:00
Mathias Jakobsen
8864e0139f
Merge pull request #12112 from overleaf/mj-welcome-email
...
[web] Update CEO in onboarding email
GitOrigin-RevId: b9d0aab382e8f9ec2b5e8230193119ceba5ee63b
2023-03-09 09:04:34 +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
Lucie Germain
7ad6a909e9
Merge pull request #10427 from overleaf/lg-secondary-email
...
Copy change to email we send when secondary email is added
GitOrigin-RevId: 1efd25e1ea9858f40cebf213f6dfbdc520a53313
2022-11-22 09:05:31 +00:00
Timothée Alby
e54e4b1a59
Merge pull request #9064 from overleaf/jel-cta-email-layout
...
[web] Fix CTA emails layout
GitOrigin-RevId: 0e5de7a3c9bf383798e37b224332024f5e3eff59
2022-09-13 08:06:26 +00:00
Davinder Singh
2432b265eb
Merge pull request #9363 from overleaf/ds-change-team-word
...
changed the team keyword to group subscription
GitOrigin-RevId: 92fbb59c2129c5194368e6b71d904ee5c34d7036
2022-08-25 08:03:58 +00:00
Mathias Jakobsen
f5b2cdc3cb
Merge pull request #9319 from overleaf/mj-deferred-recurly-email
...
[web] Use bull queues for deferred cancellation email
GitOrigin-RevId: a104f9940badcffc15f1f237a1cefd5dd912f4e0
2022-08-24 08:04:36 +00:00
Eric Mc Sween
713fe8946b
Merge pull request #7966 from overleaf/em-onboarding-email-typos
...
Fix typos in onboarding email
GitOrigin-RevId: e46534f479ab7a7dcb753698262497893fbd7809
2022-05-18 08:05:02 +00:00
Eric Mc Sween
e0d91eaa26
Merge pull request #7906 from overleaf/em-downgrade-logs
...
Downgrade all INFO logs to DEBUG
GitOrigin-RevId: 05ed582ef0721fcada059f0ad158565f50feca27
2022-05-17 08:05:26 +00:00
Timothée Alby
f0ac0f3e7a
Merge pull request #7742 from overleaf/ta-email-preferences-page
...
Create Email Preferences Page
GitOrigin-RevId: 371a62e8423e5cbebff83e61bf35a8b3b638c398
2022-04-28 08:03:12 +00:00
Timothée Alby
0703c6d21d
Merge pull request #7142 from overleaf/ii-6756-gmail-flags-emails-as-dangerous
...
Change security email title
GitOrigin-RevId: d33c9d7998ada059dac61ba0d13eefedd66237fc
2022-03-24 09:03:38 +00:00
Eric Mc Sween
5fc6d7dcb3
Merge pull request #5740 from overleaf/em-gcp-logging-web
...
Improve GCP logging for web
GitOrigin-RevId: b304c87a3fe46c29189f665eb3daf22c23d6eb8f
2021-11-11 09:03:09 +00:00
Eric Mc Sween
e5676a9643
Merge pull request #5648 from overleaf/em-revert-gcp-logging-web
...
Revert "Improve GCP logging for web"
GitOrigin-RevId: 92d446baf62108da1df92146eec12a2fe69d30ee
2021-11-02 09:03:29 +00:00
Eric Mc Sween
641b10cceb
Merge pull request #5632 from overleaf/em-gcp-logging-web
...
Improve GCP logging for web
GitOrigin-RevId: 1198fab2e821a55563058171cfa435605216e337
2021-11-02 09:03:22 +00:00
Jakob Ackermann
a6f05109a3
Merge pull request #5352 from overleaf/jpa-no-var
...
[misc] fix eslint violations for `no-var`
GitOrigin-RevId: c52e82f3a8a993b8662cc5aa56e7b95ca3c55832
2021-10-27 08:03:00 +00:00