Commit graph

23964 commits

Author SHA1 Message Date
Jakob Ackermann
d6e94d2586 Merge pull request #21908 from overleaf/jpa-storage-class
[object-persistor] s3: add support for setting storage class on upload

GitOrigin-RevId: dc5480a95ec7f1551f08848f7fa45f760d97ab22
2024-11-18 09:05:10 +00:00
Alf Eaton
36acad4d1b Rename $SectioningCommand to $SectioningCtrlSeq or $Section (#21534)
GitOrigin-RevId: 5b3173d82ec4c00fe69e2ab059bf48a872a4ca3e
2024-11-18 09:04:51 +00:00
Alf Eaton
2dee905361 Merge pull request #21535 from overleaf/ae-grammar-grouping
* Move $MathContainer grouping into the LaTeX grammar
* Remove $Environment grouping from NodeProp.group

GitOrigin-RevId: 96c74edd818bf84acf4b492702864c3c71a9bee3
2024-11-18 09:04:46 +00:00
Alf Eaton
79164f90d7 Fix "autocompile disabled" error in PDF preview (#21876)
GitOrigin-RevId: 3a7360b5d38614acf20353bd9bcdce8558472289
2024-11-18 09:04:41 +00:00
Jakob Ackermann
2be894c18a Merge pull request #21892 from overleaf/jpa-auto-gunzip
[object-persistor] add autoGunzip option to getObjectStream

GitOrigin-RevId: 21cd6c9ab349017ddb28d165238371d967ab9a59
2024-11-15 09:06:32 +00:00
Jakob Ackermann
bd855044af Merge pull request #21891 from overleaf/jpa-consistent-getObjectSize-type
[object-persistor] gcs: return a number from getObjectSize

GitOrigin-RevId: f3e0e3269e789b0077c82014c42a4ca63cd84b39
2024-11-15 09:06:28 +00:00
CloudBuild
b36bbdbd90 auto update translation
GitOrigin-RevId: 432b73d28a92e1128980964c0af43a656219f755
2024-11-15 09:06:24 +00:00
Jakob Ackermann
38b83d7edf Merge pull request #21881 from overleaf/jpa-missing-break
[object-persistor] s3SSEC: missing break statement in rootKEK discovery

GitOrigin-RevId: 3116a36006c9c7ae0b15593d8938fd559794a898
2024-11-15 09:06:14 +00:00
M Fahru
9dba1ccd8f Merge pull request #21854 from overleaf/as-checkout-name-fields
Add new Name fields for Checkout Redesign

GitOrigin-RevId: 448084e026a86510efe3c76c6663c0a770c24f8e
2024-11-15 09:06:07 +00:00
M Fahru
e588b0748a Merge pull request #21728 from overleaf/as-checkout-currency-switcher
Add Bootstrap 5 Redesign variant of currency selector

GitOrigin-RevId: f0f4176f7d51835a7e15324be7cfcaab0af5bf36
2024-11-15 09:06:04 +00:00
M Fahru
1c10059c0a Merge pull request #21850 from overleaf/ds-payment-disclaimer-text
Checkout Redesign - Adding money back disclaimer text

GitOrigin-RevId: 5d5190c8fe8d1dd5254cc21498baa12d0bf18a4e
2024-11-15 09:06:00 +00:00
M Fahru
468278d621 Merge pull request #21757 from overleaf/ds-checkout-price-summary
Checkout redesign - Adding the price summary section on the left section of the page

GitOrigin-RevId: 2224b0ac0444afc1033fc007132cf69f4271c3b0
2024-11-15 09:05:56 +00:00
Andrew Rumble
11213d85fe Merge pull request #21883 from overleaf/ar-disable-keep-alive-remaining-services
Disable keepAlive in all services

GitOrigin-RevId: 9a3bac37e3fb09ee64b05cfda300dfe8d8672aad
2024-11-15 09:05:52 +00:00
Antoine Clausse
c89002f1b8 [web] Migrate TPR promotions and form to BS5 (#21810)
* Update TPR promotions to BS5

* Remove unused class names

* Add responsive visibility in BS5

* Fix `OLFormControl` as `OLFormSelect`

With this update, it fixes the Select when importing from Mendeley or Zotero, in BS3 and BS5

* Use spacing variables in SCSS

GitOrigin-RevId: 8dd0e52a1674114bb3dc38fc4e3958a9c17ad5ac
2024-11-15 09:05:45 +00:00
Antoine Clausse
6b45dab5ad [web] Migrate Writefull notification to BS5 (#21814)
* Migrate Writefull notification to BS5

* Remove unused writefull classes in LESS file

GitOrigin-RevId: ed993df5e4f1abdfd7784308dda90e6596da60cf
2024-11-15 09:05:41 +00:00
Antoine Clausse
bf26ef58a2 [web] Migrate "Manage Template" option in editor left menu to BS5 (#21799)
* Update manage template modal to BS5

* Update `ManageTemplateButton` to BS5

* Update `OLFormControl` prop types so it has its `as` props

* Update `LeftMenuButton` to BS5

* Fixup linting

* Update `ManageTemplateModalBody` style:

* Bold label
* Correct rows in BS3

* Set spinner color to `text-muted` instead of blue

* `npm run format:fix`

GitOrigin-RevId: c5311e4786b2859a8b7cf567d19cd3d7614dd3db
2024-11-15 09:05:37 +00:00
Antoine Clausse
e038d5241e [web] Migrate all of the Git bridge modal in editor left menu to BS5 (#21786)
* Remove dead code: `GitBridgeOptionalTokensContent`

* Update git-brigde modal to BS5

* Update Check Icon to BS5

* Delete removed translations

GitOrigin-RevId: 6a2616939a307240994d5933f1e39bcdd3dfa053
2024-11-15 09:05:33 +00:00
Antoine Clausse
629435e87a Replace className="secondary" by variant="secondary" (#21672)
GitOrigin-RevId: a45532c2b4e927c3cc3a771eaf185ced4650f94c
2024-11-15 09:05:29 +00:00
Antoine Clausse
1d4737ac69 [web] Changes to recompile button in Bootstrap 5 (#21586)
* Add Story for `PdfCompileButton`

* Set the CompileButton height so it's similar to BS3

* Add the CompileButton animations

* Remove `sm` from CompileButton: makes font size bigger

* Use MaterialIcon in compile-button dropdown-toggle

* Use MaterialIcon in LayoutDropdown

* Fix stripe alignment on Recompile button

* Set padding around dropdown caret

Per Alexandru's instructions

* Prevent border from disappearing on hover

* Set the padding of the compile button even on both sides

Before: left 12px, right 16px;
After: left 16px, right 16px;

* Change px values to spacing var

* Add some button classes for BS5 only

* Don't render the hidden "Compiling…" in BS5, it changes the button width

* Prevent `loading="[object Object]"` in the DOM

Co-authored-by: Rebeka <rebeka.dekany@overleaf.com>

---------

Co-authored-by: Rebeka <rebeka.dekany@overleaf.com>
GitOrigin-RevId: 34f1eed03e63f3459243a37c878612a623f321f8
2024-11-15 09:05:25 +00:00
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
Alf Eaton
eb693e41dc Fix Server CE dev environment (#21846)
GitOrigin-RevId: 456beadb67a3313262c1f4f88792719535b1991c
2024-11-15 09:04:28 +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
e5fd2a462c Convert references service to ES modules
GitOrigin-RevId: f904721ff81b291127fdc8750105846a9cf3ceb0
2024-11-13 09:05:23 +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
Eric Mc Sween
eec87af5ff Merge pull request #21575 from overleaf/em-big-query-add-ons
Fix RAW.REC_subscription_history table in BigQuery

GitOrigin-RevId: 47507e17e819341a2663e4aadd8fea04b0e7a02d
2024-11-13 09:04:50 +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
Jakob Ackermann
805c4f8321 Merge pull request #21764 from overleaf/jpa-esm-build-scripts
[misc] prepare linting for ESM files in services

GitOrigin-RevId: 468983ebff40617158bac28514381a6aaf725893
2024-11-12 09:05:50 +00:00
Jakob Ackermann
61c7c728ad Merge pull request #21755 from overleaf/jpa-history-initialize-project
[history-v1] tests: use createEmptyProject helper consistently

GitOrigin-RevId: 80d979091d80c53c780919700561849d9703368e
2024-11-12 09:05:46 +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