Commit graph

15349 commits

Author SHA1 Message Date
Antoine Clausse
b0419a86f2 [web] Add audit logs for clear_sessions_set_must_reconfirm script, "must-reset-password-set" and "must-reset-password-unset" (#21776)
* Promisify clear_sessions_set_must_reconfirm.mjs

* Add test on PasswordResetTests.mjs

* Add `must-reset-password-unset` audit log

* Add `must-reset-password-set` audit log

* Add test ClearSessionsSetMustReconfirmTests.mjs

* Fixup bad copy-paste in test: `must-reset-password-set` -> `must-reset-password-unset`

* Check `must_reconfirm` before calling `removeReconfirmFlag`

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

* Fix unit test

* Use `promiseMapWithLimit`

* Add `{ script: true }` to AuditLog. Also use `undefined` instead of `null` for consistency

---------

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: 522026c82196d263c196503d899b8c57b05b31dd
2024-11-15 09:05:21 +00:00
Jessica Lawshe
da004d367b Merge pull request #21873 from overleaf/jel-website-redesign
[web] Don't underline entire body on hover

GitOrigin-RevId: 01612a11c0dd4d607d7c1aba5c89cbd97ae9a575
2024-11-15 09:05:08 +00:00
Eric Mc Sween
6c6ed06677 Merge pull request #21794 from overleaf/em-validate-plan-add-on
Add-on validation improvements

GitOrigin-RevId: 6812172fb431495ce34c2741c7c2c7c0d33685a6
2024-11-15 09:05:04 +00:00
Eric Mc Sween
571454bd71 Merge pull request #21745 from overleaf/em-subscription-change-preview-pay-now
Implement Pay Now button from the subscription change preview page

GitOrigin-RevId: b4b2835ecd366082af6b692b5e859f36091f98be
2024-11-15 09:05:00 +00:00
Mathias Jakobsen
ec0d3c03f7 Merge pull request #21662 from overleaf/mj-ref-provider-text
[web] Update reference manager linking text

GitOrigin-RevId: b3614a7efead8cb2d6fb628dbfe8a750b4c39033
2024-11-15 09:04:53 +00:00
Tim Down
39a499b25a Merge pull request #21622 from overleaf/td-settings-link-colour
Enable redesign for account settings page and use application link colour

GitOrigin-RevId: dad039810256bda47061799ef56a9c87a663ab3d
2024-11-15 09:04:49 +00:00
Tim Down
daaff1d9c6 Merge pull request #21815 from overleaf/td-bs5-references-search
[BS5] Migrate references search modal

GitOrigin-RevId: 65496840e32af09e5ae7351aa1789ebf5cac5083
2024-11-15 09:04:42 +00:00
Andrew Rumble
73b17dd694 Merge pull request #21627 from overleaf/ar-node-20
[all] node 20 upgrade v2

GitOrigin-RevId: aed13a800894717a796062e3dd4050e045040258
2024-11-15 09:04:32 +00:00
Jessica Lawshe
5f9790d762 Merge pull request #21802 from overleaf/jel-cms-card-body-margins
[web] CMS BS5 - Fix margins not getting removed when row is within a card

GitOrigin-RevId: 2cc8bde809d15936d99ccec7ed222166858b3ee4
2024-11-14 09:05:44 +00:00
Jimmy Domagala-Tang
d93299d47d Merge pull request #21741 from overleaf/jdt-assist-paywall-routing
Direct users to the correct assistant add-on checkout

GitOrigin-RevId: 884d6e68458bc8f27ce79a4849f580a9ec0997fb
2024-11-14 09:05:36 +00:00
Jimmy Domagala-Tang
19dc975e3a Merge pull request #21699 from overleaf/jdt-hide-cancel-addon-when-cancelled-already
[Web] Handle add-on cancellation states on subscriptions page

GitOrigin-RevId: 2b834df6747560d54b7dc22e3870ee7a7e236498
2024-11-14 09:05:32 +00:00
Jimmy Domagala-Tang
1253d36dd3 Merge pull request #21690 from overleaf/jdt-ai-paywall-styles
Update freemium paywall cta with secondary styling

GitOrigin-RevId: d0d8105e8027d6002eac8bf0cbe0a173ea4a8053
2024-11-14 09:05:27 +00:00
Jimmy Domagala-Tang
ad634c7e88 Merge pull request #21692 from overleaf/jdt-premium-secondary-button
Add premium-secondary button style

GitOrigin-RevId: 79ac9004a0b081eb1e7ac2af88ca1f976b997fe0
2024-11-14 09:05:19 +00:00
Jessica Lawshe
6e8cfb769f Merge pull request #21800 from overleaf/jel-cms-equal-col-height
[web] Fix equal column height on CMS BS5 pages

GitOrigin-RevId: 45ea490f1912cd621615e56bab4f1ffa3426c821
2024-11-13 09:05:51 +00:00
Jessica Lawshe
7977bc04cd Merge pull request #21765 from overleaf/jel-gallery-spacing
[web] Spacing updates on the gallery

GitOrigin-RevId: bf10c7ab5d8e05d54ac6834b1e5568c86b1ea767
2024-11-13 09:05:46 +00:00
M Fahru
2cf78229c0 Merge pull request #21768 from overleaf/mf-checkout-page-form-header
[web] Checkout page main header text

GitOrigin-RevId: 440e5e32c0377dcfeb1c3f466a47ea0b21517d31
2024-11-13 09:05:42 +00:00
M Fahru
c5e1c63959 Merge pull request #21766 from overleaf/mf-checkout-main-layout-flexbox
[web] Use flex for layout of the new payment page to match figma width on the left card

GitOrigin-RevId: ca2b104ee50b7df0f352c3baaa610514e0432ffd
2024-11-13 09:05:38 +00:00
M Fahru
52eb08ae96 Merge pull request #21750 from overleaf/ds-checkout-left-section-description
Checkout redesign - Adding the left side description of the checkout page

GitOrigin-RevId: 62c3b9f7d9d4bec8f1d23cd760b76f1267089800
2024-11-13 09:05:34 +00:00
Andrew Rumble
ac84c582b1 Clear lock after every project structure test
Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: af64d6ce2c81df55923e73597c97de6f394d54bb
2024-11-13 09:05:11 +00:00
Christopher Hoskin
4324c4a089 Merge pull request #21554 from overleaf/ae-delete-spelling
Remove the spelling service

GitOrigin-RevId: ca7c17160e79d84740f32bbe9c73bc74c2714ffc
2024-11-13 09:05:00 +00:00
Alf Eaton
da9de7fd9c Revert "Upgrade PDF.js to v4.8.69 (#21711)" (#21798)
This reverts commit 91e0298467034b651d013d73bc41a9efcae7a729.

GitOrigin-RevId: 35830409e1d58371922d58ca50932e1752351403
2024-11-13 09:04:55 +00:00
Domagoj Kriskovic
8a90ffa3fb Add confirm modal on accept/reject selected changes (#21540)
* Add showGenericConfirmModal in ModalsContext

* Add confirm modal on accept/reject selected changes

* plural in translations

* change tooltip to include selected changes

* add _plural to all translated languages

* lowercase title/tooltip

* count replacements as single change

* use new translation key

GitOrigin-RevId: afadbe1eeb2a290688b96f2b5388485f40c958d0
2024-11-12 09:06:01 +00:00
Domagoj Kriskovic
edb4e3d537 Improve selection detection for "Add comment" tooltip (#21731)
GitOrigin-RevId: cd13cacea0d6e45015997f3a831d0f127ddf8cd8
2024-11-12 09:05:57 +00:00
Alf Eaton
76c7c3e28e Fix dirtyState handling in ranges context (#21724)
GitOrigin-RevId: 44f3aa9efc6dbd0d34a2b0440054197398a62caf
2024-11-12 09:05:42 +00:00
Alf Eaton
fe2ff49c72 Merge pull request #21756 from overleaf/rd-mobile-nav-ui
[web] Fix vertical padding of links in the main navigation on small screen sizes

GitOrigin-RevId: feebbada37df1185fb612423458f8ba1f1b1f3b3
2024-11-12 09:05:34 +00:00
Alf Eaton
66fee7a794 Only use the LaTeX indent service for when inserting a line break (#21530)
GitOrigin-RevId: 15c5e5afdee59badc833fe2deb13a80b3c409862
2024-11-12 09:05:30 +00:00
Alf Eaton
54ec174331 Upgrade PDF.js to v4.8.69 (#21711)
GitOrigin-RevId: 91e0298467034b651d013d73bc41a9efcae7a729
2024-11-12 09:05:23 +00:00
Miguel Serrano
53d84efb3a Revert "[web] Send email to support when skipping deleting pro group subscrip…" (#21780)
This reverts commit 8a4abe0742ab6a1c6b15bb17b5cc4863a11010b2.

GitOrigin-RevId: 2b91b8a127d195f4297fe99653fb69664b2a91a7
2024-11-12 09:05:18 +00:00
Miguel Serrano
a6deee4961 Revert "[web] Prevent subscription downgrades (#19895)" (#21779)
This reverts commit b0ff548b4e1bf5843a96885b3176fdf11a49a2e1.

GitOrigin-RevId: b01c0800c62b83da8db2e01fc1fb6ca09e099c4d
2024-11-12 09:05:14 +00:00
Miguel Serrano
1b80f172d7 [web] Prevent subscription downgrades (#19895)
* Notify support when subscription deletion skipped

GitOrigin-RevId: b0ff548b4e1bf5843a96885b3176fdf11a49a2e1
2024-11-12 09:05:00 +00:00
CloudBuild
77cfdb391c auto update translation
GitOrigin-RevId: de1c41be6b92b9b2920932965f0845da783f301d
2024-11-12 09:04:55 +00:00
Jessica Lawshe
4d8a6c5c9d [web] Send email to support when skipping deleting pro group subscription (#19971)
* Move group SSO enabled check up

So that we have this available when managed users is enabled. This will be useful in the following commit.

* Notify support when subscription deletion skipped

* Fix rebase conflicts

---------

Co-authored-by: mserranom <mserranom@gmail.com>
GitOrigin-RevId: 8a4abe0742ab6a1c6b15bb17b5cc4863a11010b2
2024-11-12 09:04:48 +00:00
Miguel Serrano
7f675ac006 Merge pull request #20936 from overleaf/msm-launchpad-esm
[web] Migrate `modules/launchpad` to ESM

GitOrigin-RevId: 6730aa82698e9d98d57e6ce53c91211b0dbb4740
2024-11-12 09:04:44 +00:00
Miguel Serrano
5170f28a4f Merge pull request #21648 from overleaf/msm-disable-ce-survey
[web] Remove CE Survey

GitOrigin-RevId: e492ced24b2c289a8d41f4e0e3215079ff5e7829
2024-11-12 09:04:39 +00:00
ilkin-overleaf
6345ec3b04 Merge pull request #21712 from overleaf/ii-flexible-group-licensing-confirmation-page
[web] Request confirmation page for flexible licensing

GitOrigin-RevId: 855dcbd46c645da75b8c641f0c49670b2e04df3f
2024-11-12 09:04:35 +00:00
M Fahru
2939282a7f Merge pull request #21725 from overleaf/ds-payment-page-layout
Checkout Redesign - adding the layout of the checkout page

GitOrigin-RevId: e48feed16b69e26ec3b4d1935c1db169c16172e9
2024-11-11 09:05:30 +00:00
Jessica Lawshe
aa782b2737 Merge pull request #21733 from overleaf/jel-tooltip-badges
[web] Fix tooltips not always added to badge links

GitOrigin-RevId: d4e80f3bb62bce2083dec261ffd5634510310127
2024-11-11 09:05:26 +00:00
Domagoj Kriskovic
8b0b923063 Fix "show more/less" options in new review panel (#21700)
* Fix "show all/less" options in new review panel

* added newLineCharsLimit, inline options

* fix scss lint

GitOrigin-RevId: 98f29c76d4efda225515162cde0961e55acd5545
2024-11-11 09:05:21 +00:00
Mathias Jakobsen
595c60327e Merge pull request #21737 from overleaf/dp-eq-preview-beta-badge-v2
Update split test badge for math preview tooltip V3

GitOrigin-RevId: 9ff41f5bc68ba6cd4d7a1c7e8d5f1f725369c02a
2024-11-11 09:05:17 +00:00
Mathias Jakobsen
cb72799fff [web] Add toast notifications to editor (#21567)
GitOrigin-RevId: 7f7ab83d4615f564c0e79bc2a05ca6cb9e5239fd
2024-11-11 09:05:12 +00:00
Alf Eaton
a50d76f4ea Remove web /spelling/check endpoint (#21740)
GitOrigin-RevId: f10ebfec08ba1156eafce45078bc783ca934864d
2024-11-11 09:05:04 +00:00
Antoine Clausse
5821dc7273 [web] Fix main branch linting error (#21749)
* Sync package-lock

I get this change when running `make install && bin/npm i`

* Add `featureUsage` to LoggedOutUser keys

We might want to change this to something like this:

```
export type NullifyProperties<T> = {
  [P in keyof T]: undefined
}

export type LoggedOutUser = {
  id: null
} & NullifyProperties<Omit<User, 'id'>>
```

* Revert "Sync package-lock"

This reverts commit 982466eba3f8d72a388d248b66658be0350b2d09.

* Remove `canceledSubscription` types for now

This is breaking the build at the moment. We can work on creating a `Request` that matches our usages of it

GitOrigin-RevId: bb21baba6a074c2169af786a9e56b33beddddd2f
2024-11-11 09:04:56 +00:00
Antoine Clausse
7f48c67512 Add prefer-node-protocol ESLint rule (#21532)
* Add `unicorn/prefer-node-protocol`

* Fix `unicorn/prefer-node-protocol` ESLint errors

* Run `npm run format:fix`

* Add sandboxed-module sourceTransformers in mocha setups

Fix `no such file or directory, open 'node:fs'` in `sandboxed-module`

* Remove `node:` in the SandboxedModule requires

* Fix new linting errors with `node:`

GitOrigin-RevId: 68f6e31e2191fcff4cb8058dd0a6914c14f59926
2024-11-11 09:04:51 +00:00
Rebeka Dekany
4563273396 Merge pull request #21680 from overleaf/rd-dyslexic-font
Add OpenDyslexic Mono typeface font to the source editor

GitOrigin-RevId: 8826e51cfa50f1d5ffc2217fb86fb4d1dec21b92
2024-11-11 09:04:42 +00:00
Antoine Clausse
5462fcd128 [web] Set layout-react in Subscription pages (#21529)
* Update `User` type

* Set `layout-react`: `subscriptions/successful-subscription-react`

* Set `layout-react`: `subscriptions/canceled-subscription-react`

* Set `layout-react`: `subscriptions/dashboard-react`

* Set `layout-react`: `subscriptions/team/invite-managed`, `subscriptions/team/invite`, `subscriptions/team/invite_logged_out`

* Set `layout-react`: `subscriptions/team/group-invites`

* Add `header-footer-react` to subscription/base.js

* Fix: Replace `date-type` by `data-type`

* Fix SubscriptionControllerTests

GitOrigin-RevId: b9049a9093a700b3be1bf33809e3a1494022350a
2024-11-11 09:04:32 +00:00
Antoine Clausse
59a1cc2c7a Merge pull request #21718 from overleaf/td-bs5-nav-logged-out
[BS5] Add missing logged-out items to React nav bar

GitOrigin-RevId: 3dc681dcac46cdb68675f6034be56e2b96292c32
2024-11-11 09:04:21 +00:00
Antoine Clausse
455fbd8cc3 Update loading spinner in Chat (#21624)
GitOrigin-RevId: 6af510b7e229249dd5192ceba2ec88e95339cab5
2024-11-11 09:04:16 +00:00
Jakob Ackermann
252533b2fd Merge pull request #21668 from overleaf/jpa-mongo-utils
[mongo-utils] create new home for batchedUpdate helper

GitOrigin-RevId: 9f61c5e367a9f4cef63b5cc4c0bbbd3ef57c8ca8
2024-11-08 09:07:09 +00:00
CloudBuild
776647d62a auto update translation
GitOrigin-RevId: 96e1603b6e71d6cfbf5e9cdb47a9fe46be7e35e3
2024-11-08 09:06:32 +00:00
Domagoj Kriskovic
83bed793f5 Add sort:true when updating decorations for delete highlight (#21715)
GitOrigin-RevId: afd5aed5a4ea1ff7f9439155b5150b23666b0cc7
2024-11-08 09:06:28 +00:00