Commit Graph

17382 Commits

Author SHA1 Message Date
Mathias Jakobsen b5149591d1 Merge pull request #28601 from overleaf/mj-pdf-error-state-scroll
[web] Allow scrolling in PDF error state in case of overflow

GitOrigin-RevId: 3591f01980c3c95691eca9437b8eed0e504f27e6
2025-09-22 08:05:34 +00:00
Jakob Ackermann 73cfd65f83 [web] switch storybook build to Jenkins (#28590)
* [web] add Jenkins pipeline for storybook

* [web] fix storybook build

* [terraform] dev-project: switch writer for storybook bucket to Jenkins

* [web] remove explicit dependency

* [terraform] dev-project: link service account

* [web] tweak storybook index.html

- explicitly sort entries
- remove index.html

* [packer] jenkins-worker: install m4

* [web] remove cloud build trigger for storybook

GitOrigin-RevId: a1aa70ee91644f876d95ae7bc6643b0a1ef59759
2025-09-22 08:05:28 +00:00
Mathias Jakobsen 5931f70194 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 553a46c2e4 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 01b411c5d3 Merge pull request #28580 from overleaf/mj-compile-log-entries
[web] Remove compile-log-events override for labs users

GitOrigin-RevId: 247a27f06e0eb8eff41d015d916c088b5da2a45d
2025-09-22 08:05:09 +00:00
Mathias Jakobsen 3046dcaf37 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 9d28e4ab91 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 d75f4b3a7b 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 3218533131 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 55edbe6606 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
Jakob Ackermann 19b3ded887 [monorepo] run prettier on Jenkinsfiles (#28565)
* [monorepo] consolidate .editorconfig files at the root

* [monorepo] run prettier on Jenkinsfiles

* [saas-e2e] increase timeout for XeTeX compile

GitOrigin-RevId: 48aa82f7c81611899837753ae92c7732998d4ca5
2025-09-19 08:07:49 +00:00
Jakob Ackermann c6bee626bf [monorepo] reset Jenkins pipeline vars (#28573)
GitOrigin-RevId: 9523895a16262fc7d9b8eecc716e72cdb6cb5d1a
2025-09-19 08:07:44 +00:00
Domagoj Kriskovic a3d948d006 [dsmp] filter notifying authors on their actions (#28429)
GitOrigin-RevId: c1186c84d9b1e885081ba2ea30cbdb6277192bc0
2025-09-19 08:07:31 +00:00
Mathias Jakobsen 543e207c3e Merge pull request #28518 from overleaf/mj-new-logs-old-position-spacing
[web] Move aux file buttons to bottom of container

GitOrigin-RevId: d5e81097e25ca344ad6b3769e95ae99fd4ad4b61
2025-09-19 08:07:26 +00:00
Davinder Singh 1a26a90bec Adding green overleaf logo in navbar and footer for website redesign (#28508)
* adding overleaf-green logo in navbar

* adding overleaf green in footer

GitOrigin-RevId: de8c8a280ee5611a37a6cfa3d710ada1815506e5
2025-09-19 08:07:21 +00:00
Domagoj Kriskovic 8f8c47dd16 [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 a9de6371b1 Use validation-tools library in web
GitOrigin-RevId: e10a22f5ad2efe45e12158471ffcc64c79e54125
2025-09-18 08:06:37 +00:00
Jimmy Domagala-Tang 89f416af05 feat: add tests for recurly plan revert feature (#25966)
GitOrigin-RevId: 9bb0c198d237a9c86b63da8b4892c7867f79c71f
2025-09-18 08:06:28 +00:00
Jimmy Domagala-Tang 87c132d1f0 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 18b9d4158e 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 6db579c6ac 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
Jakob Ackermann 16d1dd6b4e [monorepo] rebuild lezer output as part of 'make install' (#28545)
* [monorepo] rebuild lezer output as part of 'make install'

* [monorepo] run 'make install' with high concurrency in Jenkins

* [monorepo] rebuild lezer parser output once

* [monorepo] headless npm run

* [web] update docs for lezer

GitOrigin-RevId: f385bb8a9cdab1a6bfc28a8843b5128ceec364ec
2025-09-18 08:06:02 +00:00
Borja 4f53a19943 Writefull codebase migration (#27077)
GitOrigin-RevId: 48ff40d0b141d5bf7c70eaba8beacba7e64f237a
2025-09-18 08:05:57 +00:00
Brian Gough 19e6fc4fe3 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
Jakob Ackermann fdc2ed99c7 [web] fix retries in Jenkins (#28542)
GitOrigin-RevId: b808200371b972a0fd5206993463c6a6d8c795e9
2025-09-18 08:05:48 +00:00
Alf Eaton 4b11851738 Scroll directly to comment position (#28349)
* Scroll directly to comment position

* Only use EditorView.scrollIntoView when the target position is outside the viewport

* Always listen for editor:scroll-position-restored (#28352)

GitOrigin-RevId: 2da23b05ddd4ddbd2631c1da5b27dbef4757c86d
2025-09-18 08:05:43 +00:00
Alf Eaton f411ef9273 Add support for \subfile (#28517)
* Add \subfile to LaTeX grammar
* Handle \subfile in word count
* Show tooltip for \subfile in Visual Editor
* Add subfile completions

GitOrigin-RevId: d9c4308581bd3f25accb97f2191ffe1e5a64764e
2025-09-18 08:05:39 +00:00
Tim Down d68e8679ee 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
Tim Down 9afcd88a48 Merge pull request #28469 from overleaf/td-improve-project-audit-log-index
Improve project audit log entries Mongo index

GitOrigin-RevId: a4343523af6fad85957876bd3c0cb04bf1e87f63
2025-09-18 08:05:30 +00:00
Miguel Serrano 3ef17cb1b6 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 bffc13d380 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
Jakob Ackermann 360743c418 [monorepo] add 3 retries to all the Jenkins pipelines (#28516)
GitOrigin-RevId: d52cb329481586daddade00cecc91875e9ae0de6
2025-09-17 08:05:38 +00:00
Jessica Lawshe d1b08f8352 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
Mathias Jakobsen e1d9522759 Merge pull request #28492 from overleaf/mj-ai-assist-old-logs-colors
[web] Fix AI assist colours in old logs in new editor

GitOrigin-RevId: 962f5bc4c39265c19d129ee9477a0e22e6d51fb0
2025-09-17 08:05:19 +00:00
Mathias Jakobsen 614ddca656 Merge pull request #28467 from overleaf/mj-ignore-new-user-date
[web] Add flag to ignore new user cutoff date

GitOrigin-RevId: 4faca9de9e8d22d543613124390185915d42cb67
2025-09-17 08:05:15 +00:00
Mathias Jakobsen 2ad17039f1 Merge pull request #28441 from overleaf/dp-4-way-test
Initial setup for 4 way split test

GitOrigin-RevId: c15496111b32e1b9bf0b7798d9d8ff79d229b1c8
2025-09-17 08:05:10 +00:00
Mathias Jakobsen 2879550770 Merge pull request #28438 from overleaf/dp-itm-content
Add itm-content param indicating split test variant to compile timeout paywalls

GitOrigin-RevId: 809e13f8e548498d890c055d20d7ce30fd6ead7f
2025-09-17 08:05:06 +00:00
Antoine Clausse 0ef959d05b [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
Andrew Rumble 6f732c8513 Merge pull request #27958 from overleaf/ar-change-esm-codemod-to-use-vitest-and-general-refactor
[web] change esm codemod to use vitest and general refactor

GitOrigin-RevId: 7f8c699b160ee0b7ff991d6284cb126165694c4f
2025-09-17 08:04:57 +00:00
Kristina f1872fc04c Merge pull request #28324 from overleaf/kh-add-stripe-custom-checkout-page
[web] add Stripe custom checkout page

GitOrigin-RevId: ff614f3de828f0061e5c7839f3c017103d58b79a
2025-09-16 08:05:49 +00:00
Kristina 5d2e0651f0 Merge pull request #28270 from overleaf/kh-add-stripe-payment-context
[web] add stripe payment context

GitOrigin-RevId: 79dfbb1da0dd6b1d36c68c86debffc1edb169961
2025-09-16 08:05:45 +00:00
Kristina e0fb22fc6d Merge pull request #28263 from overleaf/kh-add-create-complete-stripe-subscription
[web] add API endpoints for creating & completing Stripe custom checkout subscriptions

GitOrigin-RevId: 70add674e4a622d409c26e40f64b57812284191c
2025-09-16 08:05:41 +00:00
Kristina 5521bcd7f1 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 819b2a3a46 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 e6e636d45c [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 ae135f3950 [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
Olzhas Askar 2f5c3c913c Merge pull request #28481 from overleaf/oa-access-secondary-mongo
[web] Prefer secondary Mongo for get emails script

GitOrigin-RevId: 84cf1d23b056a4d4a738f1783059d2309997d912
2025-09-15 08:05:51 +00:00
Olzhas Askar 1f68e3d374 [web] Back to school user extraction script (#28416)
* fix: the script was not exiting when no users were found

* feat: scaffold a new script

* fix: make the script actually runnable

* refactor: exit at the same place

* feat: filter out subscriptions and without subscriptions

* fix: filter out groupies

* feat: from IDs to emails

docs: fix wording

refactor: will not need this script anymore

fix: don't use concurrency

feat: add id files

fix: remove the data files

fix: this indeed works!

* fix: review comments

* fix: prettier complaints

GitOrigin-RevId: 839ca850ff0df6972afafbfc25d4b89c10284dc6
2025-09-15 08:05:47 +00:00
Eric Mc Sween c37fd4dbe2 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 e44f137090 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