Commit graph

23940 commits

Author SHA1 Message Date
Jakob Ackermann
fb36fff63d Merge pull request #21931 from overleaf/bg-get-all-blobs-for-project
add getProjectBlobs method to retrieve metadata for all blobs in a project

GitOrigin-RevId: 38f504a4fb56cd8ef8beaff1d8917ead26e85f5a
2024-11-20 09:04:56 +00:00
Jakob Ackermann
8e74d3c58c Merge pull request #21947 from overleaf/bg-jpa-back-fill-script-tweaks
[history-v1] back_fill_file_hash: performance tweaks

GitOrigin-RevId: c3d0c7906707fc902addcde64eaf41c24ceeece7
2024-11-20 09:04:51 +00:00
Antoine Clausse
87e7e3017a Migrate missing node:18 to node:20 (#21903)
GitOrigin-RevId: 0315d5df0ab1154d5ccadcbf11b09ec53df5728f
2024-11-20 09:04:47 +00:00
M Fahru
a1d45aa264 Merge pull request #21942 from overleaf/ds-checkout-redesign-TrialCouponSummary
Checkout Redesign - Add the TrialCouponSummary component in redesign version

GitOrigin-RevId: 5d0483b403e13ce0a4d055ef449d4bc6938c42eb
2024-11-19 09:06:05 +00:00
M Fahru
8a8142414a Merge pull request #21915 from overleaf/as-checkout-address-fields
Add checkout redesign address fields

GitOrigin-RevId: c51c8ce32e0b33da8c768f61c6ce6170afec817e
2024-11-19 09:06:00 +00:00
Jessica Lawshe
931384c91d Merge pull request #21893 from overleaf/jel-font-color-option
[web] CMS BS5 - Add option to change font color

GitOrigin-RevId: 5fb4d7d3a910f30259748423922da0d2d67ee1cd
2024-11-19 09:05:56 +00:00
M Fahru
53955963ed Merge pull request #21901 from overleaf/mf-checkout-page-company-details
[web] Implement company details input fields in new checkout page

GitOrigin-RevId: b3a96a79046a8a5c684e6d986be2f467268db83f
2024-11-19 09:05:48 +00:00
M Fahru
b3b94962b1 Merge pull request #21801 from overleaf/mf-checkout-page-card-element
[web] Checkout page redesign card input field UI

GitOrigin-RevId: 165116dc7b9d7998cd55c00075eba13731bea10e
2024-11-19 09:05:41 +00:00
M Fahru
cf7ba7fb44 Merge pull request #21950 from overleaf/ds-checkout-redesign-renaming-editors-to-collaborators
Checkout page redesign - Renaming editors to collaborators

GitOrigin-RevId: 8c9538b9c9146e127ff6d490ec7eefaa25b2bdcf
2024-11-19 09:05:36 +00:00
M Fahru
4db676b4ee Merge pull request #21821 from overleaf/as-checkout-payment-switch
Add new version of payment method toggle for Checkout Redesign

GitOrigin-RevId: 0d5593e0b9fe90e9d5bfd47e07cbc675d7924da3
2024-11-19 09:05:32 +00:00
Eric Mc Sween
ab36c80a26 Merge pull request #21954 from overleaf/em-revert-ai-add-on-deploy
Revert faulty AI add-on deploy

GitOrigin-RevId: 923ec89f01d4951596f83fcf58b820c39db1e54a
2024-11-19 09:05:27 +00:00
Jakob Ackermann
27076c50cc Merge pull request #21670 from overleaf/jpa-mongo-backend-types
[history-v1] add types to mongo BlobStore backend

GitOrigin-RevId: 7d91074eaa781904f7f3b56390aacee1800a7f67
2024-11-19 09:05:23 +00:00
Eric Mc Sween
087b612e16 Merge pull request #21869 from overleaf/em-repurchase-add-on
Repurchase the AI add-on when changing plans

GitOrigin-RevId: 1035e57af4c254fc73464f14010e4ba7e18cfe80
2024-11-19 09:05:18 +00:00
Eric Mc Sween
d84d4dd093 Merge pull request #21937 from overleaf/em-total-per-year
Display "Total per year" for annual subscription change previews

GitOrigin-RevId: 90e6cd6ccc9f442b6ce1ec27f539202d2b6a7796
2024-11-19 09:05:14 +00:00
Eric Mc Sween
424fd5b591 Merge pull request #21839 from overleaf/em-subscription-change-preview-premium
Subscription preview for users with standalone AI add-on

GitOrigin-RevId: 636fa5aca8538bb95e79040d5c309dc505cfb17a
2024-11-19 09:05:09 +00:00
Eric Mc Sween
34fa1e12e7 Merge pull request #21898 from overleaf/em-ai-add-on-checkout-page
Adapt checkout page to standalone AI add-on

GitOrigin-RevId: ed877bc10c1dd4362c981000e0d783e370f3593a
2024-11-19 09:05:04 +00:00
Alf Eaton
b617266c6d Merge pull request #21916 from overleaf/ae-spelling-cleanup
Spelling service cleanup

GitOrigin-RevId: 429071c6ad3cf55ae3cc6688cd1216ea7e9108fb
2024-11-19 09:05:00 +00:00
CloudBuild
3874cca29b auto update translation
GitOrigin-RevId: 474be90e5f927e55aeb441d33561509a17c22ad1
2024-11-18 09:06:45 +00:00
Jessica Lawshe
dd18e1f91e Merge pull request #21863 from overleaf/jel-cms-row-cards
[web] Fix row options not applying when card option selected on row

GitOrigin-RevId: e191958f414b57d2033aa93b25bf9c0c2773299e
2024-11-18 09:06:37 +00:00
Jessica Lawshe
f50aca2809 Merge pull request #21862 from overleaf/jel-wbr
[web] Add `<wbr />` so that text within brackets moves to new line

GitOrigin-RevId: 19a42ac02760528fdbb9557dc0ef96795eefb055
2024-11-18 09:06:33 +00:00
Jessica Lawshe
5c63188200 Merge pull request #21832 from overleaf/jel-search-badges
[web] Add tooltips when needed on badge links in gallery search results

GitOrigin-RevId: edcdcf8134698f17f607e003627a8b4123519b0b
2024-11-18 09:06:22 +00:00
Jessica Lawshe
ade1b7f2bc Merge pull request #21890 from overleaf/jel-gallery-search
[web] Gallery search results title adjustments on smaller screens

GitOrigin-RevId: d07e042ba16457f806e7214081461e66635c7d51
2024-11-18 09:06:17 +00:00
Jakob Ackermann
ca0a46b5bb Merge pull request #21928 from overleaf/jpa-handle-already-hard-deleted
[history-v1] backup-deletion-app: use deletedProjectOverleafHistoryId

GitOrigin-RevId: 169ba0fba71c42b0415e5fa40424547b054dd5b0
2024-11-18 09:06:13 +00:00
Jakob Ackermann
dd15ade2b9 Merge pull request #21880 from overleaf/jpa-history-store
[history-v1] make HistoryStore generic and add backupHistoryStore

GitOrigin-RevId: 65d275de182dbcf5d4b6bf3c610b71b58db68e70
2024-11-18 09:05:48 +00:00
Jakob Ackermann
9cc6f2a9d5 Merge pull request #21829 from overleaf/jpa-backup-deletion
[history-v1] backup-deletion-app: initial revision

GitOrigin-RevId: 9e05c0e16595cb8d180861ef503c7b4522110d39
2024-11-18 09:05:44 +00:00
Jakob Ackermann
97b39ef98f Merge pull request #21681 from overleaf/jpa-back-fill-file-hash
[history-v1] add script for back filling hash into project file-tree

GitOrigin-RevId: 70ab8c72f3eea1062708e4471b4ad1c60317ad26
2024-11-18 09:05:39 +00:00
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