Commit Graph

24720 Commits

Author SHA1 Message Date
Jakob Ackermann
0544aded40 [clsi] handle draft mode and tikzexternalize as part of sync phase (#32516)
* [clsi] handle draft mode and tikzexternalize as part of sync phase

* [clsi] emit empty string from SafeReader on ENOENT

* [clsi] persist history state after clearing dirty state without changes

GitOrigin-RevId: d9dcd2e6887017f7935b5e95bdbdc6e11a3b18f5
2026-03-31 08:07:19 +00:00
Andrew Rumble
0059928f24 Merge pull request #32430 from overleaf/ar-add-some-explicit-timeouts
[web] add some explicit timeouts

GitOrigin-RevId: 29ff0830796eacdc08645bc61a71b22c4148a393
2026-03-31 08:07:14 +00:00
David
7e3b8da480 Merge pull request #32409 from overleaf/dp-update-reference-integrations-when-linked
Use BroadcastChannel to keep ref provider linked state up to date

GitOrigin-RevId: eea7a99daf261166b11bfad1bb50f1989040d959
2026-03-31 08:06:47 +00:00
Jakob Ackermann
9f8f77e56f [web] extend history debugging with estimate on snapshot size (#32502)
GitOrigin-RevId: 6ee75d227c0d093e4698324f6cc018b077076730
2026-03-30 08:06:09 +00:00
Mathias Jakobsen
9542334fef [web] Hide docx import behind setting (#32499)
GitOrigin-RevId: 72406af0ea7dffac579991acc114e43ceed03a50
2026-03-30 08:05:49 +00:00
Alexandre Bourdin
a1bd2e9b93 Merge pull request #32441 from overleaf/ab-script-insert-alpha-version-0
[web] Add script to insert missing 0% rollout alpha phase version to existing feature flag

GitOrigin-RevId: 56dc4c74e5f7f5141647fd71f64df71a1264734e
2026-03-30 08:05:41 +00:00
Kristina
ad853d661a [migration] fix issues found in finalization script during stage 3b (#32472)
* accept taxInfoPending as tax id comparison point
* convert recurly unit amount to minor units correctly for no cent currencies
* Use original subscription currency in finalization check
* make it easier to spot migrated with tax info pending

---------

Co-authored-by: John Lees-Miller <jdleesmiller@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
GitOrigin-RevId: d3c74032bc06369fcf6bafb4cfaff85c49a3cfef
2026-03-30 08:05:28 +00:00
Miguel Serrano
251ccbf1ad [git-bridge] Downgrade info logs to debug (#32470)
* [git-bridge] Downgrade `info` logs to `debug`

Moving most `info` logs to `debug` to reduce log noise.

GitOrigin-RevId: 21f8d11ba950078b5e3a88a245e8ed68f2548141
2026-03-30 08:05:23 +00:00
Jakob Ackermann
d66a856baa [clsi] remove locking from docker actions (#32373)
* [clsi] remove locking from docker actions

Start:
- We have an in-memory lock on the compile request

Destroy:
- as part of run: see above
- as part of cleanup: we check the last access time now, so it cannot
  happen concurrent to compiling anymore.

Co-authored-by: Anna Claire Fields <anna.fields@overleaf.com>

* [clsi] update comment

---------

Co-authored-by: Anna Claire Fields <anna.fields@overleaf.com>
GitOrigin-RevId: a58df45416ae31c0b38d5efec7f9371d747303df
2026-03-27 09:06:28 +00:00
Mathias Jakobsen
9c97876268 [web]+clsi] Allow docx import via pandoc (#32004)
Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: 246b3290ec04867f71545b1a7c5d95d0f68379ff
2026-03-27 09:06:23 +00:00
Jakob Ackermann
dec809913c [web] block malformed compile requests from known other frontends (#32461)
The req.body.rootResourcePath has been shipped three weeks ago, so it's
unlikely to trip up stale editor sessions.

For now, only block node-fetch and log the rest.

GitOrigin-RevId: 541189675f68fdcab09f4b409b4143024a29f94a
2026-03-27 09:06:10 +00:00
Jakob Ackermann
828e196a69 [web] switch /status/compiler/:projectId to compile from history (#32458)
GitOrigin-RevId: d55b0078a3fa59af4f8f1eb60d29d2dc68397f9a
2026-03-27 09:06:06 +00:00
Jakob Ackermann
8fa18e6296 [web] try harder at flushing projects during soft deletion (#32454)
GitOrigin-RevId: 2e35e75d4219b720e7d12ff7a5534bf1ed302d98
2026-03-27 09:06:01 +00:00
Jakob Ackermann
be67efb4d7 [web] migrate compile of templates/example project to history mode (#32453)
* [web] migrate compile of templates/example project to history mode

* [saas-e2e] give clsi-cache more time to process the jobs

* [web] add comment on in-memory project update

Co-authored-by: Brian Gough <briangough@users.noreply.github.com>

* [saas-e2e] add retries to clsi-cache check

* [saas-e2e] remove spurious retry trigger

* [saas-e2e] remove broken assertion

---------

Co-authored-by: Brian Gough <briangough@users.noreply.github.com>
GitOrigin-RevId: 8766662cbe0ab5520c5c79d86fa6f774e012b3da
2026-03-27 09:05:56 +00:00
Jakob Ackermann
a8abc22e6c [web] extend project admin page for history debugging (#32437)
* [web] extend project admin page for history debugging

* [web] address review feedback

Co-authored-by: Malik <malik.glossop@overleaf.com>

---------

Co-authored-by: Malik <malik.glossop@overleaf.com>
GitOrigin-RevId: 01866e8c8529bc8332c49baf4ad281e300f8cdd4
2026-03-27 09:05:52 +00:00
Antoine Clausse
8dd743c543 [web] Filter out institutional_commons from the Change plan modal (#32464)
GitOrigin-RevId: 7e3e6a2e0b6cbac0a392a12726a6c1b54561d388
2026-03-27 09:05:40 +00:00
Anna Claire Fields
aa3715bd66 Fix filestore-readonly crash from ERR_STREAM_UNABLE_TO_PIPE
GitOrigin-RevId: 405ad3210132702fffecdc091066321bc1ccc10c
2026-03-27 09:05:35 +00:00
Anna Claire Fields
6113c6c291 Enable TS noImplicitAny in web (#31636)
GitOrigin-RevId: 18881694770f2476c475f8fef4c6a2678a2a12fe
2026-03-27 09:05:30 +00:00
Kate Crichton
b3489a6792 Merge pull request #31978 from overleaf/kc-create-domain-verifications
Add controller and handler to manage creation of DomainVerification records

GitOrigin-RevId: 4f90ee32f33385b3269cfe374962aaa5888eb3b3
2026-03-27 09:05:26 +00:00
Jimmy Domagala-Tang
72b7524094 Revert "Revert "Adding More Ai Quota Tiers"" (#32433)
* Revert "Revert "Adding More Ai Quota Tiers (#32128)" (#32431)"

This reverts commit f0ea19b418da6096c84b42024aea643807347649.

* fix: dont block workbench from users who have access via WF

* fix: simplify workbench access rules and ensure wf premium users can use workbench

GitOrigin-RevId: 7927248eadd906d7f802d55fa5c6bc7df162b141
2026-03-27 09:05:21 +00:00
Tim Down
c94d649879 Merge pull request #32419 from overleaf/td-remove-material-outlined
Remove unused Material Symbols Pug mixins

GitOrigin-RevId: 03600174c45a73b4983eea1a3c8604747626f606
2026-03-26 09:07:57 +00:00
l-obrien-overleaf
ce6f0dd249 Fixing migration issue by removing check for keys to remove (#32440)
GitOrigin-RevId: 18377e4830e9e6fc6582b812caf0ac8f679c72a9
2026-03-26 09:07:45 +00:00
l-obrien-overleaf
27e5044d30 Migrating reference settings to mongo and exposing them through code … (#31726)
* Migrating reference settings to mongo and exposing them through code mirror context

* removing undefined optional for reference manager type settings

* allowing partial updates to user settings objects, and remove repeated cypress intercepts

* Zod schema parsing for user reference manager settings

* Splitting ref provider mongoose schema into const

* Persisting local storage reference settings to mongo and deleting from local

* Enforcing ref provider group id to always be type string

* Fixing test and format errors

* Migrated flag for settings to only migrate once

* fixing cypress tests adding migrated flag

* persisting local storage to allow for easy rollback

GitOrigin-RevId: f59522bdee6f0e56efb7d98b9d9373a743619ec8
2026-03-26 09:07:40 +00:00
Olzhas Askar
03c30a9d1b Merge pull request #32391 from overleaf/oa-remove-fake-discounts
[web] Remove "fake" student discounts

GitOrigin-RevId: 92ae5820d164639e1078c5cc5fae48173a664ce1
2026-03-26 09:07:28 +00:00
Jessica Lawshe
3f717f6314 Merge pull request #32149 from overleaf/jel-domain-verification-status
[web] Badges for domain verification status

GitOrigin-RevId: 70c33f0f587e22903ec73f3917dd840cba0830ed
2026-03-26 09:07:23 +00:00
Jessica Lawshe
c483994a63 Merge pull request #32115 from overleaf/jel-web-combine-domain-v1-v2
[web] Combine v1 and v2 domains data for groups with domain capture

GitOrigin-RevId: d718ff3dbceeaad792a618b9d5dd6f3196ebca30
2026-03-26 09:07:13 +00:00
Miguel Serrano
a6fd4c4f5a [git-bridge] Added warning on non-fresh repo initialisations (#32432)
* [git-bridge] Added warning on non-fresh repo initialisations

Addresses a TODO by adding a warning when trying to initialise a repo that already exists and is not fresh.

GitOrigin-RevId: f801df9e1c77bfbc8a9a4101f01d5a71c383dc0f
2026-03-26 09:06:56 +00:00
Alexandre Bourdin
671df33da3 Merge pull request #32244 from overleaf/ab-labs-in-feature-flags
[web] Merge Labs programme into the Feature flags system

GitOrigin-RevId: db75e07bf3272becc11ef1eeda3850098b3daa9d
2026-03-26 09:06:51 +00:00
Jimmy Domagala-Tang
6f3e0963b8 Revert "Adding More Ai Quota Tiers (#32128)" (#32431)
This reverts commit e3ef38797f267677cad51d7273272623027ca330.

GitOrigin-RevId: f0ea19b418da6096c84b42024aea643807347649
2026-03-26 09:06:42 +00:00
Jimmy Domagala-Tang
c87fd5c42e Adding More Ai Quota Tiers (#32128)
* feat: adding tiers for free and standard

* feat: updating feature calculation to account for more quota tiers

* feat: rename freeTrialQuota to freeQuota

* feat: add hasAiFreeTier and hasUnlimitedAi to editor, block free tier from using workbench

* fix: updating tests

* fix: updating ordering precedence for quota tiers

* feat: bump unlimited ai fair usage to 300 uses

* fix: update workbench quota usage for unlimited plans

* feat: bump features version for ai quota split

* feat: popover should only show for relevant users on workbench, and adding upgrade notification to ineligible users

GitOrigin-RevId: e3ef38797f267677cad51d7273272623027ca330
2026-03-26 09:06:37 +00:00
Kristina
e4e4193d55 [web] update webhook handler to include cancel_at (#32165)
* update webhook handler to include cancel_at
* guard against accidentally marking subscription event as canceled
* fix cancellation edgecase (reactivating a subscription that was canceled from Stripe Dashboard and also has a non-migration schedule)

GitOrigin-RevId: a872e91afa19094d4ae859293fc9669ea3e528f2
2026-03-26 09:06:32 +00:00
Jimmy Domagala-Tang
942d0e7081 feat: moving writefull endpoint configs to settings and splitting the… (#32065)
* feat: moving writefull endpoint configs to settings and splitting them by quota tier

* feat: updating getAllowance to account for WF premium

GitOrigin-RevId: a4f8b50065206f4e841e2488a8bc37a4a3e44574
2026-03-26 09:06:28 +00:00
jmescuderowritefull
1c9a0273e6 Remove "Get AI Assist" from Writefull's settings (#32249)
GitOrigin-RevId: e6fe83be1ab50f70d5133f479ef262960443e308
2026-03-26 09:06:15 +00:00
Mathias Jakobsen
cc16f15816 Merge pull request #32406 from overleaf/mj-tabs-tests
[web] Add cypress tests for tabs

GitOrigin-RevId: f48b579ffa97f4ca5c9ae73025413e7b3a7c9ca3
2026-03-25 09:05:59 +00:00
Kristina
fe7dad5644 [migration scripts] detect account drift between Recurly and Stripe (#32315)
* add a script to detect drift between recurly and stripe
* only flag when Recurly updated since subscription created in Stripe
* add --comparison-date option instead of stripe subscription created time
* reduce API calls by checking Recurly update time earlier

GitOrigin-RevId: f0ecb5644f7445603da020a46e32622fcd2eebf4
2026-03-25 09:05:43 +00:00
Jakob Ackermann
205573c01a [web] fetch file-tree in fallback to old compile mode (#32403)
* [web] fetch file-tree in fallback to old compile mode

* [web] tweak unit test

GitOrigin-RevId: 1c5f8cb1f0cb15c91efc46babec343d228631019
2026-03-24 09:06:22 +00:00
Jakob Ackermann
adef5b26fb [web] gracefully handle broken histories when compiling from history (#32386)
* [web] gracefully handle broken histories when compiling from history

* [web] trim down schema

GitOrigin-RevId: 97d59b31eb25644d7de1194a45281def6982b130
2026-03-24 09:06:18 +00:00
Mathias Jakobsen
f40b32d711 Merge pull request #32374 from overleaf/mj-file-type-upgrade
[web] Upgrade file-type to 21.3.4

GitOrigin-RevId: 8af86d7240984404bfce1d1394f8eb0536b74931
2026-03-24 09:06:05 +00:00
Mathias Jakobsen
6b01183bba Merge pull request #32330 from overleaf/mj-tabs-survey
[web] Tweaks for editor tabs

GitOrigin-RevId: fed9a500b871fa68a158c2e7ab42030117775161
2026-03-24 09:05:52 +00:00
Jakob Ackermann
01f7bba166 [web] populate clsi-cache for all users (#32369)
GitOrigin-RevId: ebe5c6b40aa98217de599f15a5bf63b6facf060b
2026-03-23 09:06:43 +00:00
Eric Mc Sween
19a3644eab Merge pull request #32116 from overleaf/em-bibtex-paste
Implement BibTeX import functionality and parser

GitOrigin-RevId: 9e30d03bf0a73e106f009e621d8f60e766e93a9b
2026-03-23 09:06:32 +00:00
Jakob Ackermann
52c73e9247 [web] handle 502 from clsi-lb like 503 (#32357)
GitOrigin-RevId: 3e2ec7f85e57e749131507d1fd823cf4b25ad4ae
2026-03-23 09:06:27 +00:00
Maria Florencia Besteiro Gonzalez
7f7ada1b1a Merge pull request #31922 from overleaf/mfb-ol-support-custom-bibtex-entry-types
Mfb ol support custom bibtex entry types

GitOrigin-RevId: 0146080b767c9653afd6567891d6d7778858ff24
2026-03-23 09:06:23 +00:00
Jakob Ackermann
07397bbdde [clsi] avoid server error when clearing cache while compiling (#32349)
* [clsi] avoid server error when clearing cache while compiling

* [clsi] tweak API around releasing locks

Co-authored-by: Eric Mc Sween <eric.mcsween@overleaf.com>

---------

Co-authored-by: Eric Mc Sween <eric.mcsween@overleaf.com>
GitOrigin-RevId: d3f171467d3bc26941758dd333f30049b37a05c8
2026-03-23 09:06:18 +00:00
Eric Mc Sween
1c6d4b7be3 Merge pull request #32266 from overleaf/em-bibtex-virtual-scrolling
Replace pagination with virtual scrolling in BibTeX entry list

GitOrigin-RevId: d2265cb340efdf525064332a65a2d815d659c5f9
2026-03-23 09:06:13 +00:00
Antoine Clausse
f3fbfeab20 [web] Fix feature refresh handling in ProjectController (#32353)
* Update tests to check that refreshed features are used correctly

* Fix feature refresh handling in ProjectController

GitOrigin-RevId: 14c0cedf72f6cfe6657aa35fab16e319a37231e7
2026-03-23 09:06:09 +00:00
Domagoj Kriskovic
6486ef3e1e [web] Add deletedReason parameter to project deletion methods (#32221)
* [web] Add deletedReason parameter to project deletion methods

* revert sinon.match.any in ProjectDuplicator negative assertion

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
GitOrigin-RevId: d1595eefe0e36150231ee9646fe5eba0786fd1f5
2026-03-23 09:06:04 +00:00
Jakob Ackermann
c9ba2ac025 [web] enable clsi-cache for all compiles for 20min during outages (#32337)
* [web] enable clsi-cache for all compiles for 20min during outages

* [web] populate clsi-cache when compile from history is enabled

* [web] hide history snapshot from frontend

GitOrigin-RevId: e46c8b5ab401ebdc2407e44eb95439e4d43400da
2026-03-23 09:06:00 +00:00
Mathias Jakobsen
b87053a932 Merge pull request #32281 from overleaf/mj-remove-enableNewEditor
[web] Remove enableNewEditor settings

GitOrigin-RevId: cc33be59b8c2f5b0ba9e12a2fe9af9ccba7196e8
2026-03-23 09:05:55 +00:00
Mathias Jakobsen
84fa80c8e9 Merge pull request #32343 from overleaf/mj-fix-ai-paywall
[web] Fix initial project load ai paywall

GitOrigin-RevId: 5183fd48fb067961ba6cf0f7593407411fa4ab6a
2026-03-23 09:05:50 +00:00