Commit Graph

8411 Commits

Author SHA1 Message Date
Antoine Clausse 2eb483faab [web] Allow OVERLEAF_NAV_TITLE and OVERLEAF_HEADER_IMAGE_URL to be used at the same time (#28445)
* Remove unused navbar-website-redesign.pug

* Add custom logo and title to the navbar settings

* Update navbar-header so it handles logo+title, and without overflowing

* Revert "Add custom logo and title to the navbar settings"

This reverts commit a860fca916714fa34befa231a0b7f43fcbcc3aee.

GitOrigin-RevId: 4d87b47a5c6f64130fe2b57c57ee8f808baef271
2025-09-22 08:05:59 +00:00
Jimmy Domagala-Tang d5f11f54be Revert "Revert "Rolling TexLive builds experiment"" (#28603)
* Revert "Revert "Rolling TexLive builds experiment""

* adding rolling image to allowed ones in staging (#28588)

GitOrigin-RevId: f377cacd6e4811a4bd9116c793ecbb29a7b72c33
2025-09-22 08:05:53 +00:00
Mathias Jakobsen 6c6048002b Merge pull request #28595 from overleaf/revert-28594-revert-28533-mj-blob-ranges-maxsize
[web+history-v1] Retry: Use range request for binary blobs in project snapshot

GitOrigin-RevId: defc279c9918695135962d65603a2941c5c4b033
2025-09-22 08:05:23 +00:00
Mathias Jakobsen 67d10e96bd Merge pull request #28594 from overleaf/revert-28533-mj-blob-ranges-maxsize
Revert "[web+history-v1] Use range request for binary blobs in project snapshot"

GitOrigin-RevId: 580491611a1b43104846f8509dd1e920f8077c9c
2025-09-22 08:05:15 +00:00
Mathias Jakobsen 6c79ce97cc Merge pull request #28533 from overleaf/mj-blob-ranges-maxsize
[web+history-v1] Use range request for binary blobs in project snapshot

GitOrigin-RevId: e72a2d481bf163b3e85361b42e30e82cf867f1cf
2025-09-22 08:05:04 +00:00
Brian Gough 6ed14c56ae Merge pull request #28567 from overleaf/bg-fix-project-locator-root-folder
respect elementType when matching rootFolder in findElement

GitOrigin-RevId: f4e20ee6441fc16915297b2ac24737ed63398027
2025-09-19 08:08:20 +00:00
Brian Gough aaa62b2dbc Merge pull request #28589 from overleaf/revert-28283-jdt-monthly-tl-experiment
Revert "Rolling TexLive builds experiment"

GitOrigin-RevId: c3c6833dca7ef0d207f854c93bf0bb03bd814694
2025-09-19 08:08:15 +00:00
Jimmy Domagala-Tang aaafb86fe2 Rolling TexLive builds experiment (#28283)
* feat: allow for monthly tl builds experiment

* feat: show correct image when user doesnt have access to current image in compiler settings (#28282)

* adding packer space for extra rolling image

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
GitOrigin-RevId: db909e1a85f36f1567236a2c4d5790b565dda76d
2025-09-19 08:08:10 +00:00
Domagoj Kriskovic 484a01a173 Use history snapshot when doing file/project restore (#28502)
* Add getDocUpdaterCompatibleRanges utility function

* use history snapshot for file/project restore

* move overleaf-editor-core from devDependencies

GitOrigin-RevId: 62481a5304ada9d931e018418be3c0719bccf1f3
2025-09-19 08:07:58 +00:00
Domagoj Kriskovic 34ea7058a1 [dsmp] filter notifying authors on their actions (#28429)
GitOrigin-RevId: c1186c84d9b1e885081ba2ea30cbdb6277192bc0
2025-09-19 08:07:31 +00:00
Domagoj Kriskovic 1915507269 [dsmp] send trackedChangesAdded notification in docModifiedHook (#28454)
* [dsmp] send trackedChangesAdded notification in docModifiedHook

* simplify recipient handling

* simplify check if changes are from a single user

GitOrigin-RevId: dd0b7a0631999ddac0ee1e6705ff4d6d87f3e63a
2025-09-19 08:07:12 +00:00
Andrew Rumble b30740e71c Use validation-tools library in web
GitOrigin-RevId: e10a22f5ad2efe45e12158471ffcc64c79e54125
2025-09-18 08:06:37 +00:00
Jimmy Domagala-Tang 19d1904a3f feat: move wf trial logic to new function and enable enterprise commons to auto-load (#28134)
GitOrigin-RevId: 959d305fa694a6e09a04cb79920af2fc0c14e862
2025-09-18 08:06:24 +00:00
MoxAmber c1f870144d Merge pull request #28498 from overleaf/as-login-noindex
[web] Add noindex to SSO login and login with query params

GitOrigin-RevId: 4c722f51bcd6f4d9b63ebbf584021284c7b5d569
2025-09-18 08:06:19 +00:00
MoxAmber e2a704ea93 Merge pull request #28346 from overleaf/as-compile-timeout-teardown
[web] Teardown 10s-timeout-enforcement split test

GitOrigin-RevId: 56b286539446e7dab371fb1c7392692cabb15db9
2025-09-18 08:06:14 +00:00
Borja 22cfe179e1 Writefull codebase migration (#27077)
GitOrigin-RevId: 48ff40d0b141d5bf7c70eaba8beacba7e64f237a
2025-09-18 08:05:57 +00:00
Brian Gough fd82788e61 Merge pull request #28506 from overleaf/bg-size-limits
add size check when cloning project (logging only)

GitOrigin-RevId: 1f56ed80a2d05b28c44fab8532d751ad8e758943
2025-09-18 08:05:52 +00:00
Tim Down d2f5cd4e46 Merge pull request #28380 from overleaf/td-zod-history
Migrate history-related web back end to Zod

GitOrigin-RevId: 38ed56927bee4f5670604d7178b096e382c8cb65
2025-09-18 08:05:34 +00:00
Miguel Serrano f1dc6ec155 Upgrade aws-sdk to v3 (re-attempt) (#28410)
* Upgrade `aws-sdk` to v3

Also vendored nodemailer-ses-transport

* Moved default region to CE settings

* Ensure timeout is added to `requestHandler` and `region` is populated

* fix unsigned header in signed URL request

The x-amz-acl header is not needed when using the signed request,
as ACL are already defined when creating the signed URL in
PutObjectCommand constructor.

* Add default AWS region for latexqc service

* remove unnecessary region in compose files

* Use AWS_REGION=us-west-2 for history-v1

* prevent retries uploading streams with PutObjectCommand

* Remove AWS SDK JS message suppression

GitOrigin-RevId: 6fda6f02160023ffed76143397bbd965f86a9509
2025-09-18 08:05:22 +00:00
Liangjun Song aaeacb52b7 Merge pull request #28388 from overleaf/ls-set-and-use-user-id-on-customer-object
Set and use userId on customer object

GitOrigin-RevId: 44749df8135154348fbf099db3c680d3d3212ff3
2025-09-17 08:05:52 +00:00
Jessica Lawshe a9a28a13f5 Merge pull request #28402 from overleaf/jel-link-logged-in-async-local-storage
[web] Extend `AsyncLocalStorage` to SAML linking in route, clear `AsyncLocalStorage` on email updates, await analytics helper on email updates,

GitOrigin-RevId: 86a51e6800a4b954ff81a2d977edf1401064dda4
2025-09-17 08:05:30 +00:00
Antoine Clausse 71f0b28a84 [web] Convert some Features files to ES modules (part 3) (#28494)
* Rename files to mjs

* Rename test files to mjs

* Update CODEOWNERS

* Update files to ESM

* Update test files to ESM

* Update RestoreManager.test.mjs

* Remove unused `AdminAuthorizationHelper` mock and stub

* Remove unnecessary return

GitOrigin-RevId: 2b9ef126de1d8964afbc6e5641cca36712655866
2025-09-17 08:05:02 +00:00
Kristina d81ae27dda Merge pull request #28244 from overleaf/kh-add-preview-charges-endpoint
[web] add API endpoint for previewing new subscription charges

GitOrigin-RevId: 6a6df51937837ece348c18aacef201eaee57e42d
2025-09-16 08:05:37 +00:00
Andrew Rumble 7f908915aa Merge pull request #28367 from overleaf/ar-migrate-routermjs-to-zod
[web] migrate router.mjs to zod

GitOrigin-RevId: d3fc21a11351f3e2deb5011cd1beeb86286a300b
2025-09-16 08:05:26 +00:00
Antoine Clausse c6905fc94d [web] Fetch favicons from CDN (#28419)
* Simplify paths in `buildImgPath`

* Move favicons from `public` to `public/img/favicons`

* Create links to favicons in `public` (`ln -s img/favicons/* .`)

* Import favicons dynamically in use-status-favicon.ts

* Update pug files with cdn favicon paths

* Update test

* Revert change in layout-no-js.pug

* Fetch web.sitemanifest from CDN

* Revert favicon move

* Fix favicon paths (use `buildBaseAssetPath`)

* Fixup web.sitemanifest path

* Format

* Update `buildImgPath` mock to be more realistic

* Revert web.sitemanifest link to local origin

* Revert "Revert web.sitemanifest link to local origin"

This reverts commit aa13431b743b55c2f536c33e736f657e1c0db598.

GitOrigin-RevId: fe278fec0f1eaae16de9fabc2b13da3e7a316463
2025-09-16 08:05:03 +00:00
Antoine Clausse 723954ccc2 [web] Convert some Features files to ES modules (part 2) (#28275)
* Rename files

* Rename test files

* Convert to ESM

GitOrigin-RevId: b0ee442ac8edd4ef3695f93a91ffd9521e6bf259
2025-09-16 08:04:59 +00:00
Eric Mc Sween f1eadd78b7 Merge pull request #28459 from overleaf/em-history-restore-metrics
Add revert file/project timing metrics

GitOrigin-RevId: 5c701f70b8d8dcb9052c6559815e05bc3af9bcad
2025-09-15 08:05:33 +00:00
Eric Mc Sween 543f3fafcc Merge pull request #28431 from overleaf/em-docupdater-get-ranges
Look in docupdater when obtaining comments for DSMP

GitOrigin-RevId: acaead280f725da8e0c438d5b429fa983c3cad86
2025-09-15 08:05:29 +00:00
Eric Mc Sween ee094a21eb Merge pull request #28401 from overleaf/em-promisify-document-updater-handler
Promisify DocumentUpdaterHandler

GitOrigin-RevId: 8793f30ef51f5cd5886d0f74773f4b952761c2d4
2025-09-15 08:05:25 +00:00
Olzhas Askar aaf690aa70 Merge pull request #28378 from overleaf/oa-expose-last-active
[web] Expose lastActive to customer.io

GitOrigin-RevId: 5a0f3b43a6c8288e7e5f7b1de05b409a2d3ac86a
2025-09-12 08:06:30 +00:00
Eric Mc Sween daba09c96f Merge pull request #27999 from overleaf/em-reactivate-add-on
Add option to reactivate an add-on

GitOrigin-RevId: a1795f37dac5141996d626d87ba3a9bae1d218dd
2025-09-11 08:05:12 +00:00
Jakob Ackermann d96cd7d251 [web] bring back sampling for compile-result-backend event (#28383)
GitOrigin-RevId: beec70b77d7ceb8b97d5cb4176bcde7c41cb073f
2025-09-10 08:06:28 +00:00
Jakob Ackermann f8d69d05af [web] display project history blob size on admin pages (#28351)
* [history-v1] add endpoint for getting blob stats of projects

* [web] display project history blob size on admin pages

* [web] break down history storage size by text and binary blob

GitOrigin-RevId: bfa4d56cf2c503d03005c13a0f7ac38158156cd2
2025-09-10 08:06:19 +00:00
ilkin-overleaf 452d77cabc Merge pull request #28126 from overleaf/ii-domain-capture-join-success-message
[web] Notification message for joining group via domain capture

GitOrigin-RevId: 67ef924b2d80afb5e1de75fb6aab147263c0f33c
2025-09-10 08:06:07 +00:00
Liangjun Song b678b545f7 Merge pull request #28202 from overleaf/ls-remove-user-features-for-past-due-stripe-subscriptions
Remove paid user features for past due Stripe subscriptions

GitOrigin-RevId: 07a97f90312db7f6e91cbf15201f71cbdeb2e33c
2025-09-09 08:06:52 +00:00
Andrew Rumble 05af37c0ef Convert to ES modules
GitOrigin-RevId: cce5cf005597e4b4a2192f2cb6591eb69d119e62
2025-09-09 08:06:41 +00:00
Andrew Rumble 27ac8ba70e Rename files
GitOrigin-RevId: cd89001ff0a7768c5b547a27d57861e5ba3aac0d
2025-09-09 08:06:36 +00:00
Tim Down 36cbe840dd Merge pull request #28246 from overleaf/td-ts-project-dashboard-jsdoc
Working JSDoc type annotations on project list controller

GitOrigin-RevId: b26833affb0fc2ecd38e869c2523e914eabe6548
2025-09-09 08:06:26 +00:00
Antoine Clausse 009bc4463d Merge pull request #28273 from overleaf/ac-some-web-esm-migration
[web] Convert some Features files to ES modules (part 1)

GitOrigin-RevId: d19b024efad315143e022143e2a2683df8071744
2025-09-09 08:06:22 +00:00
Andrew Rumble c5d6d60963 Allow objectId coercion and fix typing for fetchEntity
Co-authored-by: Eric Mc Sween
<5454374+emcsween@users.noreply.github.com>
GitOrigin-RevId: 1953b7b1378403b6f2fce0608f78232cb39cff88
2025-09-09 08:06:18 +00:00
Eric Mc Sween 8cfec73ba3 Migrate UserMembershipMiddleware.fetchEntity to zod
GitOrigin-RevId: 6f0cac9d3ba1f0d3de69609e19f3d36a1a9ded10
2025-09-09 08:06:03 +00:00
Andrew Rumble b4d8ab2d71 Merge pull request #28301 from overleaf/ar-fix-tscheck-on-project-helper
[web] Add @ to ts-check annotation in ProjectHelper

GitOrigin-RevId: 3db97fff7e8059f2940b9f446c95ead187d950b2
2025-09-09 08:05:33 +00:00
Mathias Jakobsen 442c1952ab [web] Avoid double indexing of client side referencing (#28235)
* [web] Move chat client id to shared module

* [web] Avoid double indexing of client references

GitOrigin-RevId: 993930e66fdc9952649e3e8d345c70dd37516121
2025-09-08 08:05:14 +00:00
Jakob Ackermann 644db1722e [web] double compile 10% of free projects on c2d (#28303)
GitOrigin-RevId: 2cb303881e61e31aa77be3c053eeac0d4b30412f
2025-09-05 08:06:41 +00:00
Domagoj Kriskovic ff0e725935 [dsmp] Add endpoint to retrieve a single message from chat (#28242)
* [dsmp] Add endpoint to retrieve a single message from chat

* use user:null in case is deleted

GitOrigin-RevId: f42360c2e05cfe93fa11230ac3cc311bdb044c1d
2025-09-05 08:06:15 +00:00
David 1fe9277b5b Merge pull request #28050 from overleaf/dp-3-way-feature-flag
Add 3 way editor-redesign-new-users feature flag in preparation for new user split test

GitOrigin-RevId: adc1ce43277647208a2f0098bf9dcf2101a86f65
2025-09-05 08:06:08 +00:00
Alf Eaton 2c1baa717d Use tracked changes and comments from the snapshot (#26267)
GitOrigin-RevId: c2bf0c9c9a5ab4f8837b8712ca549119a31cf067
2025-09-05 08:05:56 +00:00
Tim Down 3b67025398 Merge pull request #27991 from overleaf/td-react-layout-remove-redundant-code
Remove redundant include and entrypointVar block from React layout

GitOrigin-RevId: 43f9f9fbee58f882c99e8e8ad634cf6eb3b2929c
2025-09-05 08:05:21 +00:00
Antoine Clausse 1b0b99e12e [web] Add unlinking third-party logins ability from the admin-panel (#28201)
* Add `clearThirdPartyLogins`

Co-authored-by: Brian Gough <brian.gough@overleaf.com>

* Add a confirmation modal

* Show provider name from settings

* Replace "logins" by "identifiers" for consistency with current terminology

* Hide button if user has no third-party identifiers

* Update tests

* Add test "unlinks Google account"

---------

Co-authored-by: Brian Gough <brian.gough@overleaf.com>
GitOrigin-RevId: 45b9b5ce6fa2cbeba9d4daeda97cd6e500c8266c
2025-09-05 08:05:12 +00:00
Antoine Clausse 86e74b9228 [web] Update admin permissions to view/modify project contents (#28162)
* Split capability definitions `modify-project`/`view-project` into `modify-project-content`/`modify-project-setting`/`view-project-content`/`view-project-setting`

* Add admin capabilities check in AuthorizationManager

* Update checks in router

* Update frontend checks

* Remove UI elements for admins without `view-project-content`

* Update tests

* Remove `modify-project-content` from the roles' capabilities

* Update tests

* Add "with admin roles" tests in AuthorizationTests.mjs

GitOrigin-RevId: 3311bcb2da792968927b5b3703b24e069d0baf5b
2025-09-05 08:05:08 +00:00