Commit graph

254 commits

Author SHA1 Message Date
June Kelly
3288f87dbe [web] Password set/reset: reject current password (redux) (#8956)
* [web] set-password: reject same as current password

* [web] Add 'peek' operation on tokens

This allows us to improve the UX of the reset-password form,
by not invalidating the token in the case where the new
password will be rejected by validation logic.

We give up to three attempts before invalidating the token.

* [web] Add hide-on-error feature to async forms

This allows us to hide the form elements when certain
named error conditions occur.

* [web] reset-password: handle same-password rejection

We also change the implementation to use the new
peekValueFromToken API, and to expire the token explicitely
after it has been used to set the new password.

* [web] Validate OneTimeToken when loading password reset form

* [web] Rate limit GET: /user/password/set

Now that we are peeking at OneTimeToken when accessing this page,
we add rate to the GET request, matching that of the POST request.

* [web] Tidy up pug layout and mongo query for token peeking

Co-authored-by: Mathias Jakobsen <mathias.jakobsen@overleaf.com>
GitOrigin-RevId: 835205cc7c7ebe1209ee8e5b693efeb939a3056a
2022-09-28 08:06:54 +00:00
Davinder Singh
9232a0bfa6 Merge pull request #9730 from overleaf/as-remove-duplicate-translations
Remove duplicate translations, possibly breaking OneSky upload

GitOrigin-RevId: de9232d184f046caa8960be25ede8761cc3a0ed7
2022-09-28 08:05:50 +00:00
Alexandre Bourdin
9f4df9c0f4 Merge pull request #9636 from overleaf/ab-prevent-create-rename-tag-existing-name
[web] Prevent creating/renaming a tag to an existing name

GitOrigin-RevId: 44bb35a4152238ce21fa6e0d4d211cc5b25481e8
2022-09-27 08:04:04 +00:00
Alexandre Bourdin
fe164ec6fd Merge pull request #9545 from overleaf/mf-project-list-load-more
Implement Load More functionality on Project List

GitOrigin-RevId: 9981d5ef9d3b29683164152812f9315c74680c20
2022-09-27 08:03:53 +00:00
ilkin-overleaf
e12c93c537 Merge pull request #9700 from overleaf/ii-dashboard-mobile-view
[web] Projects dashboard mobile view

GitOrigin-RevId: 84894e19c814a2cc1ce751181952c0ade6b62044
2022-09-26 08:04:38 +00:00
Davinder Singh
2c497bfc6d Merge pull request #9610 from overleaf/ds-deleted-projects-table-heading
Admin Panel- Deleted projects table migration to react

GitOrigin-RevId: 0a7c8b34add8eeb30724b955da7e7db1289c9812
2022-09-23 08:04:21 +00:00
June Kelly
73e8fd115b Merge pull request #9466 from overleaf/jk-add-labs-program-for-galileo
[web] Add a new "Overleaf Labs" program, for Galileo

GitOrigin-RevId: 8f6c79c37c1719a59bd8405998cc3de2fd29960d
2022-09-22 08:03:59 +00:00
Tim Down
8388d808a5 Merge pull request #9678 from overleaf/ta-td-galileo-week6
Galileo Integration Banch Week 6

GitOrigin-RevId: 78fffeefdf350042a4c2400823fb2a668ee0f592
2022-09-22 08:03:55 +00:00
Davinder Singh
70e63ca0e3 Merge pull request #9614 from overleaf/ab-limit-tag-length
[web] Restrict the length of tags to 50 characters

GitOrigin-RevId: fc20227e3e2171bf9e27c983105ecc7b198cf882
2022-09-16 08:04:41 +00:00
Davinder Singh
d19cce89c1 Merge pull request #9477 from overleaf/ds-delete-projects
Admin panel user projects list - Delete projects

GitOrigin-RevId: 5d5f5ac8d83afbdad633a7f17000a80841bac0b6
2022-09-16 08:04:00 +00:00
Thomas
db9fad7cf8 Merge onboarding experiments integration branch (#9571)
* Add onboarding survey page

* Add onboarding new analytics events to mixpanel allowlist

* [web] Try Premium prompt

* moved try-premium code to overleaf-integration

* fixed sheet styling

* Add onboarding flow redirect handling to registration handlers (#9462)

* Add redirect logic for onboarding flow after registration

* Update UPGRADE_PROMPT_URL

* Cleanup style of OverleafAuthenticationController

* Refactor finishLogin calls to call wrapped function in OverleafAuthenticationController

* Refactor user properties/onboarding flow redirect into finishLogin wrapper

* Fix async/await calls after refactoring

* Update tests for finishLogin refactoring

* Don't redirect to upgrade prompt if user has premium via commons

Co-authored-by: Miguel Serrano <mserranom@users.noreply.github.com>
GitOrigin-RevId: 7c392aa6949f99fa909f9ca4e4baad4c4d4ff6be
2022-09-15 08:04:06 +00:00
Alexandre Bourdin
a0fabee3b4 Merge pull request #9245 from overleaf/integration-project-dashboard-react-migration
[Integration branch] Project Dashboard React Migration

GitOrigin-RevId: 3c3db39109a8137c57995f5f7c0ff8c800f04c4e
2022-09-14 08:04:03 +00:00
Timothée Alby
2c5d7bde8b Merge pull request #9388 from overleaf/ds-change-word-university
changed university to institution

GitOrigin-RevId: 1fdcdb07ae5351322e8c69b55b8afc3d4c53758c
2022-09-13 08:06:33 +00:00
Timothée Alby
687ce143f3 Merge pull request #9538 from overleaf/ta-galileo-week5
Galileo Week5 Pack

GitOrigin-RevId: 8a72efd15ec59955c2fa3a0f1e5d38fb200f018f
2022-09-13 08:05:57 +00:00
Davinder Singh
ceb000eb2b Merge pull request #9446 from overleaf/ds-projects-table-sorting
Admin Panel- user projects sorting

GitOrigin-RevId: 8ff9b858f72f016f6a6b7e903150a8fbc5431066
2022-09-13 08:05:44 +00:00
Thomas
d1a2868fab Implement checkout page 'refreshed' split test with Recurly Elements (#8320)
* Implement checkout page 'refreshed' split test with Recurly Elements

Co-authored-by: Timothée Alby <timothee.alby@gmail.com>
GitOrigin-RevId: 586a94c7969530f4d2246e9105ef48e868e9510e
2022-09-05 08:03:51 +00:00
Timothée Alby
c074e7acf8 Merge pull request #9432 from overleaf/ta-galileo-bibtex-copy-hint
Show Bibtex Copy Hint After Selecting Galileo Suggestion

GitOrigin-RevId: 879598d7a949f99c248b6536ca86542b63906be1
2022-09-02 08:04:02 +00:00
Miguel Serrano
c908c0c07d Merge pull request #9334 from overleaf/msm-tweak-tooltip-wording
[web] tweak misleading wording on tooltip

GitOrigin-RevId: 3dbbd733076724c385e79b48ff22649d22163e72
2022-09-01 08:03:45 +00:00
Eric Mc Sween
10c9b26f8e Merge pull request #9390 from overleaf/em-history-origin
Show change origin in history display

GitOrigin-RevId: ead64bf3b936bf4915dbee226adf7782806fe53a
2022-08-26 08:03:34 +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
Davinder Singh
d538d28f3e Merge pull request #9246 from overleaf/ds-user-duplicate-projects-banner
Admin panel- Duplicate projects banner

GitOrigin-RevId: 53b4a64ecf36e8e03fa2e7cd1554c779502c9937
2022-08-22 08:04:08 +00:00
Davinder Singh
ac9fd0513f Admin Panel user projects table (#9186)
GitOrigin-RevId: 3f4e42ad67189a80cddc4241528375cbbfc81400
2022-08-22 08:03:55 +00:00
Davinder Singh
3538590559 Merge pull request #9264 from overleaf/ds-tooltip-information-plans-page
Changed the tooltip message on old plans page

GitOrigin-RevId: 24824faf4a165e9bf43db616d5112496c59a3824
2022-08-18 08:03:16 +00:00
Davinder Singh
884a432681 Merge pull request #9114 from overleaf/ds-history-page-word-change
Changing wording on history page for binaries

GitOrigin-RevId: e6ba5f586c195e166b215d35fd3b78c605035b0b
2022-08-08 08:04:27 +00:00
ilkin-overleaf
46b5d57cb8 Merge pull request #8799 from overleaf/ii-cm6-search-tests
[web] CM6 Search tests

GitOrigin-RevId: 9f6172050b5a35d67c8d28f5bb2cfa22606309c7
2022-08-05 08:03:55 +00:00
Timothée Alby
b44bf48282 Merge pull request #9037 from overleaf/ta-beta-copy-fix
Remove Extra Period on Beta Page

GitOrigin-RevId: 49e9154e962aecf68da4024e6f62df63b7ee38ff
2022-07-29 08:03:52 +00:00
Timothée Alby
7f722a006c Merge pull request #8571 from overleaf/ta-token-access-page
Require User Interaction on Token Access Page

GitOrigin-RevId: 2f4c00ba75ebd6bd87d3e770ec8223d736344f5b
2022-07-29 08:03:39 +00:00
Jessica Lawshe
bbc04ac4c5 Merge pull request #8734 from overleaf/jel-translation-sso
[web] Remove "portal" from SSO translations and remove unused translations

GitOrigin-RevId: f03a7f04c2909b4589bda5237e7686383a50d0b8
2022-07-28 08:03:37 +00:00
Miguel Serrano
d2ccd3a3c0 Merge pull request #8958 from overleaf/msm-sp-license-tab
[web] Activity column and license info for Server Pro admin

GitOrigin-RevId: cea736e23440a5d455aacd5c0cf29820604ff29b
2022-07-27 12:18:31 +00:00
Mathias Jakobsen
b01f839831 Merge pull request #8864 from overleaf/td-orcid-deny-access-error
Handle case where user has denied access to Overleaf in ORCID and Twitter when logging in

GitOrigin-RevId: 73dfe1228463aca22b525649cb4249ef606bc3c2
2022-07-27 12:17:37 +00:00
Alf Eaton
9d55859419 Merge pull request #8932 from overleaf/ae-file-upload-translation
Add missing "a" to upload throttled message

GitOrigin-RevId: 0279548f04ee31e7f9d1251a9c0e6a66f8616559
2022-07-22 08:03:40 +00:00
Timothée Alby
7b8d277437 Merge pull request #8898 from overleaf/ta-change-redundant-controls
Change Redundant Layout Controls

GitOrigin-RevId: b50d71b1f75d202334442b3f6cb5037ed0d8a411
2022-07-21 08:04:25 +00:00
M Fahru
574d0eab12 Improve error message when a collaborator tries to refresh a linked file without access to the project (#8884)
* Improve error message when a collaborator tries to refresh a linked file without access to the project

* Move the AccessDeniedError hardcoded error message to translation file

* apply prettier

* remove period (dot) in test hardcoded string

* revert unintended changes

GitOrigin-RevId: 50a5bf46428a96e629e9091cc18068f3ee7084e3
2022-07-21 08:03:32 +00:00
Henry Oswald
5f1abee345 Merge pull request #8939 from overleaf/revert-8882-jk-web-reject-same-password
Revert "[web] Password set/reset: reject current password"

GitOrigin-RevId: f14f970fe93064658a8659537c5cb417e34e2751
2022-07-20 08:04:00 +00:00
June Kelly
d04ea76081 Merge pull request #8882 from overleaf/jk-web-reject-same-password
[web] Password set/reset: reject current password

GitOrigin-RevId: 2c40dda4926d9c68564ae5126b3393b9286bb661
2022-07-20 08:03:36 +00:00
Thomas
7705acfa1f Merge pull request #8874 from overleaf/tm-revert-personal-price-experiment
Revert personal plan discount experiment to original pricing

GitOrigin-RevId: 3134a187e4900570580c3717fe0e19077399eb4d
2022-07-18 08:05:15 +00:00
M Fahru
a2e2dcccda Add new Link sharing upgrade prompt in project page (#8775)
GitOrigin-RevId: 984ab0770b3b920daa945ed8b190e7debf9e4a1d
2022-07-18 08:04:50 +00:00
Alf Eaton
451c910fe3 Merge pull request #8837 from overleaf/mj-fix-default-group-account-translation
Rephrase "Group Account" to "Group Subscription" on subscription management page

GitOrigin-RevId: 899a6f27fbe7533b93345b7c27a4d427d40c5e1a
2022-07-18 08:04:23 +00:00
Alexandre Bourdin
d501bc4820 [web] Compile time warning split test (#8813)
* Implement compile time warning split test

* Add i18n for compile time warning

* Memoize CompileTimeWarning component

* Reuse startFreeTrial() function from account-upgrade

* Improve usage of react bootstrap native properties

* Cleanup compile-time-warning

* Move all logic into CompileTimeWarning component

* Only show compile time warning to project owners

* Handle compile time warning in detached mode and while switching layout

GitOrigin-RevId: 4fc40acfc113f91c81a6744c14c0f8b3ef766e39
2022-07-14 08:03:50 +00:00
M Fahru
cc92f264d2 Improve new plans page university info styling and change its copy (#8822)
GitOrigin-RevId: ebb0e3677cce862f22757a5a7236591d98f39078
2022-07-13 08:05:47 +00:00
M Fahru
3b4968e263 Change number of users in group plan to have a dynamic value in the new plans page (#8592)
GitOrigin-RevId: 008c0a1120e5b99945f18f0b4eee60bfcb08a331
2022-07-13 08:05:33 +00:00
M Fahru
6c7fd1dad0 Add new university info card in the new plans page (#8676)
GitOrigin-RevId: 7d9ec211930afc2536df36665d6cfc6f2cd7b46b
2022-07-13 08:05:13 +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
Timothée Alby
e48c23546e Merge pull request #8724 from overleaf/ta-subscription-contact-link
Link to Contact Page in Subscription Translations

GitOrigin-RevId: f255b0408cf4cf1e6e19cf8d3eebbe996327a598
2022-07-08 08:03:18 +00:00
Timothée Alby
22e24b1763 Merge pull request #8627 from overleaf/ta-a-an-overleaf
Fix Wording with appName Translations

GitOrigin-RevId: 435719fa4428ffba06bc80db91bca2e6dcaf295f
2022-07-08 08:03:06 +00:00
Timothée Alby
75a41e7f94 Merge pull request #8626 from overleaf/ta-register-copy
Change Copy of Login Link on Registration Page

GitOrigin-RevId: 55bad0b2f7fc3074c3db6fba025b5cc995569ff3
2022-07-08 08:03:03 +00:00
Timothée Alby
c92278a8e5 Merge pull request #8609 from overleaf/ta-preview-error-message-copy
Update Preview Errors Copy

GitOrigin-RevId: 0e7f7a4237a80c3fa2efc8ae87fc2011f4bc879d
2022-07-07 08:03:48 +00:00
Timothée Alby
1ffd5a70ef Merge pull request #8547 from overleaf/ta-github-error-detail
Display GitHub Sync Error Detail

GitOrigin-RevId: 89f1c7d3cce38aece49e8c68aa2187283054fb19
2022-07-07 08:03:42 +00:00
Thomas
34ccf343d4 Add sales contact form element type for Contentful CMS pages (#8711)
* Add sales contact form element type for Contentful CMS pages

GitOrigin-RevId: f9e2c0fac84434e473019aaacda4e06a03a97dbd
2022-07-07 08:03:31 +00:00
ilkin-overleaf
b372a20002 Merge pull request #8580 from overleaf/ii-cm6-advanced-reference-search
[cm6] Advanced reference search keyboard shortcuts

GitOrigin-RevId: 7921aab8abeda1742b73cf0127b28a2166762ec2
2022-06-29 08:03:53 +00:00