Commit Graph

8800 Commits

Author SHA1 Message Date
Jimmy Domagala-Tang
bcee2939d0 naive removal of callback code from InstitutionsAPI (#30426)
GitOrigin-RevId: 073127685720b85360362ecf08be9b037c0a098f
2026-03-31 08:07:57 +00:00
Maria Florencia Besteiro Gonzalez
ec8ef1cc5e Merge pull request #32402 from overleaf/jpa-auto-close-debug
[web] auto-close notification on old debug projects

GitOrigin-RevId: 6a33da9da2995e83400c73eecaf07ada2fb2505c
2026-03-31 08:07:33 +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
Mathias Jakobsen
9542334fef [web] Hide docx import behind setting (#32499)
GitOrigin-RevId: 72406af0ea7dffac579991acc114e43ceed03a50
2026-03-30 08:05:49 +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
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
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
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
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
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
Jakob Ackermann
01f7bba166 [web] populate clsi-cache for all users (#32369)
GitOrigin-RevId: ebe5c6b40aa98217de599f15a5bf63b6facf060b
2026-03-23 09:06:43 +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
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
Rebeka Dekany
d232ab9ec7 Align secondary email, compromised password and confirm secondary email pages with the website redesign style (#32143)
GitOrigin-RevId: 7b7bc68e59714df9b6198f4aebe2ac218454d68b
2026-03-23 09:05:37 +00:00
Alexandre Bourdin
a8ff429d29 Merge pull request #31914 from overleaf/ab-cleanup-writefull-frontend-migration-flag
Remove unused writefull-frontend-migration feature flag

GitOrigin-RevId: 73343a9749ab844a55381c6b8be9e3d3aa1b732b
2026-03-20 09:07:06 +00:00
Alexandre Bourdin
5d0498f89c Merge pull request #32312 from overleaf/ab-rename-editor-tabs-flag
[web] Rename editor tabs feature flag

GitOrigin-RevId: 3b9a0ea618d2f43edc108362d384a5b354d1b0e4
2026-03-20 09:07:01 +00:00
Jessica Lawshe
bdbff7c3f6 Merge pull request #28814 from overleaf/jel-v1api-promisify
[web] v1 API decaf cleanup and remove unused code

GitOrigin-RevId: 706506ca12df20be74c7c3b35bec4d74baa7f130
2026-03-20 09:06:49 +00:00
Mathias Jakobsen
9224197fb3 Merge pull request #32164 from overleaf/mj-tabs
[web] Add editor tabs experiment

GitOrigin-RevId: 8cef265a45dbd826ad8a4df7d98e38f9bb7ec1cd
2026-03-20 09:06:32 +00:00
ilkin-overleaf
32095c092b Merge pull request #32033 from overleaf/ii-project-sharing-admin-page
[web] Sharing permissions group admin page

GitOrigin-RevId: 97baeeca9ca33cec043badcae2affdd954081ef2
2026-03-19 09:06:35 +00:00
ilkin-overleaf
d61413e57d Merge pull request #31827 from overleaf/ii-project-sharing-access-denied
[web] Project sharing access denied redesign

GitOrigin-RevId: b1e3016eb7ef9e2a502e0b67abc3b10c08531fe9
2026-03-19 09:06:31 +00:00
Jakob Ackermann
2e389c5a41 [rails] migrate compiles of conversions/submissions to history mode (#32053)
* [saas-e2e] test gallery templates with binary file

* [rails] add make target for fixing rubocop errors

* [rails] migrate compiles of conversions/submissions to history mode

* [rails] forward version to clsi request

* [rails] trim down compile request

* [saas-e2e] source v1 secrets after make install

GitOrigin-RevId: 65269e1df1051c9f3b4f1813d2e9dcf32a01be50
2026-03-18 09:07:22 +00:00
Jakob Ackermann
efa01e6282 [web] fix incremental compile from history for old history ids (#32222)
* [saas-e2e] port history tests to old history

* [web] fix incremental compile from history for old history ids

* [saas-e2e] tweak return type

GitOrigin-RevId: 2c89b570647c292c720cd0d02b6188f66e3e3a69
2026-03-18 09:06:57 +00:00
Alex Vizcaino
cc5fc541c3 Writefull Rebrand (Phase 1)
GitOrigin-RevId: 3f1d28ccd4650d81f24a10f10d74b21e002c4527
2026-03-18 09:06:35 +00:00
Miguel Serrano
34fc7e2c7a [web] Update survey filters (#32189)
Updates the filters to support different subscription cohorts: group plans, professional plans, etc.

GitOrigin-RevId: cc9ef4a2460942baa449fe7e6b8c14a88ae2f92f
2026-03-18 09:06:25 +00:00
Davinder Singh
b7f140ba0b Tear down cancellation-survey-ai-assist feature flag (#32129)
* tearing down the cancellation-survey-ai-assist

* fixing a failing test

GitOrigin-RevId: 592873217120c2b19f5dccd2575b56cce4d8f0b5
2026-03-16 11:56:39 +00:00
jmescuderowritefull
cedc5f2e2e Add simulated suggestions for non English documents (#32147)
GitOrigin-RevId: 923495f92de4c445f7906240b4f60101a82bf8f3
2026-03-16 09:05:33 +00:00
roo hutton
15714582e4 Merge pull request #32096 from overleaf/rh-rm-cio-integration-segmentation
Remove customerio-integration segmentation from all events

GitOrigin-RevId: 628772f61f2ace0fc6b6f4ddbabbab94057188ca
2026-03-10 09:06:17 +00:00
Jimmy Domagala-Tang
bb5d90a332 Add usage quota to Workbench (#31782)
* feat: adding usage rate limiting to workbench and aligning editor context values for suggestionsLeft

* feat: prepend word token to headers of token rate limiter to prevent confusion with usage rate limiter

* Shared AI paywalls (#31948)

* feat: renaming hasPremiumSuggestion and adding token limits to editor context and project load

* feat: adding new ai features paywall component

* feat: rename getRemainingFeatureUses to token based naming for token based limiter, removed checking for feature usage on anonymous users, and removed guard on null userId since we shouldnt be calling getRemainingFeatureUses on a nonexistent user

* feat: using token rate limit headers to set token rate values in editor context

* feat: update workbench to be available without refreshing if rate limit reset occurs within session

* fix: move paywall out of inert section

* Hide new paywalls behind FF and open plans page on upgrade attempt (#32023)

* feat: hide new paywalls behind FF

* feat: update ai paywall buttons to navigate to plans page post quota plans change release

* feat: showing a fair limit notificaiton pre-quota change, and updating paywall to not fire if user has premium already (#32056)

GitOrigin-RevId: 565fb128d55543fea34c383bc4abeaa3dd148d09
2026-03-06 09:17:52 +00:00
Jessica Lawshe
e89c9128c3 Merge pull request #31783 from overleaf/jel-mongo-domainVerification
[web] Add `domainVerifications` collection

GitOrigin-RevId: 5a9fe9ea80ecf76af9802014149ae785cc4412d5
2026-03-06 09:17:33 +00:00
ilkin-overleaf
6539e26107 Merge pull request #31742 from overleaf/ii-project-sharing-join-project
[web] Join project page redesign

GitOrigin-RevId: d182ec4fb744f384f824c9e63b534da02a9f8e99
2026-03-06 09:17:16 +00:00
Antoine Clausse
d5a65e906f [web] Paywall and other AI text edits (#31993)
* Update Compile timeout copy

* Update Collaborator limit copy

* Update Track changes copy

* Update History copy and "Start free trial" button

* Remove unnecessary children passed to StartFreeTrialButton

* Update Dropbox copy

* Update Github copy

* Update Git copy

* Update Reference managers copy

* Update Symbol palette copy

* Update Onboarding prompt copy

* Update Subscriptions page (on free account) copy

* `bin/run web npm run extract-translations`

* Add split-test assignment in subscription page

* Fix tests

* Update services/web/modules/symbol-palette/frontend/js/components/symbol-palette-overlay.tsx

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

* Update services/web/modules/onboarding/app/views/onboarding/try_premium.pug

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

* Update services/web/modules/onboarding/app/views/onboarding/try_premium.pug

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

* Replace `Github` to `GitHub` in translations

* Update "non Overleaf" to "non-Overleaf"

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
GitOrigin-RevId: 56ee2735899de18f820b229bc226249322ac0c87
2026-03-06 09:17:11 +00:00
Mathias Jakobsen
ee294c524d Merge pull request #32026 from overleaf/jpa-rate-limit-accept-invite
[web] add rate limit for accepting project invite

GitOrigin-RevId: 1b6e8d7b7547d03cbf3a8ed53b606b9541e37d1f
2026-03-06 09:15:59 +00:00
Mathias Jakobsen
ada0922988 Merge pull request #31950 from overleaf/mj-themed-project-load
[web] Add themed project loading screen

GitOrigin-RevId: b73d8c825b5ab04ede1c9dde10a6891be63758a4
2026-03-06 09:15:55 +00:00
Jimmy Domagala-Tang
3fa5ce8b16 Add Shared Usage Quota to Writefull Functions (#31867)
* feat: moved error handling to controller, added config for each route, added usage rate limiter, and removed uneeded functions from manager

* feat: allow for 0 usage cost features in Writefull

* feat: update decrement to also use cost, and make cost optional, defaulting to 1

* feat: adding WF quota tests and updating tests for quota rate limiter (#31982)

* feat: adding WF quota tests and updating tests for quota rate limiter

* Apply suggestions from code review

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

---------

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
GitOrigin-RevId: 281cb6b50b54c02f54a85a6492ca322ef8f00429
2026-03-06 09:14:46 +00:00
Mathias Jakobsen
26739294d5 Merge pull request #31941 from overleaf/mj-default-theme
[web] Change default data-theme attribute to light

GitOrigin-RevId: adabde890746da24728bd1cd47562eb769893ee0
2026-03-06 09:14:31 +00:00