Commit Graph

27387 Commits

Author SHA1 Message Date
Davinder Singh
d03ae68294 Merge pull request #31606 from overleaf/ds-editor-settings-tear-down
Tearing down of old Editor (Settings)

GitOrigin-RevId: d9e23e61a8e34eb22e9c9e3453a157fb275f68f0
2026-03-06 09:06:43 +00:00
Mathias Jakobsen
6c1003a852 Merge pull request #31609 from overleaf/mj-split-test-system-overall
[web] Add split test for defaulting to system theme

GitOrigin-RevId: 3f5301349074725c56f423ed51662064e52d6aeb
2026-03-06 09:06:38 +00:00
Jakob Ackermann
eca31afb4a [clsi] remove unused endpoints for downloading output files (#31692)
GitOrigin-RevId: a0cac10f3585414779b026f38c2af2773c80082f
2026-03-06 09:06:33 +00:00
Jakob Ackermann
46f5af0987 [docstore] fix evaluating dollar based references (#31792)
Co-authored-by: Brian Gough <brian.gough@overleaf.com>
GitOrigin-RevId: 8ffc1d1f930d0ac3c68cd59d8412932fea4229cd
2026-03-06 09:06:28 +00:00
Jakob Ackermann
9731f061af [monorepo] remove unused firejail profiles (#31790)
GitOrigin-RevId: ba4bac748014d5edf0cf2815af295c573502f144
2026-03-06 09:06:22 +00:00
Jakob Ackermann
84ed96522b [docstore] optimize op-log size using pipeline update (#31752)
Co-authored-by: Brian Gough <brian.gough@overleaf.com>
GitOrigin-RevId: 2850d6b419df360768d8fe172f19e70baf7b4442
2026-02-24 09:07:23 +00:00
Jakob Ackermann
17e01526b4 [web] fix typo in i18n key (#31713)
* [web] fix typo in i18n key

* [web] sort locales

GitOrigin-RevId: 9736eae24cdbd7aabd995087de368c667b25b849
2026-02-24 09:07:18 +00:00
Jakob Ackermann
6c6e8d9a97 [monorepo] switch all output file reads to clsi-nginx (#31691)
* [monorepo] switch all output file reads to clsi-nginx

* [clsi-lb] allow gallery download requests

* [terraform] clsi: use nginx.conf from clsi service

* [clsi] fix flakey tests

* [clsi] replace alias with rewrite and root in nginx config

* [k8s] clsi-lb: expose download port on internal service

* [web] add explicit endpoint for downloading all output files

Serve the output.zip endpoint from clsi.

* [clsi] fix regex for latexqc submission ids

Previously, we only handled template submission ids.

GitOrigin-RevId: 6c3b21b01ec41ae767530b14aac31fbe3d640dd5
2026-02-24 09:07:12 +00:00
Jimmy Domagala-Tang
892047fcf6 Revert "[Web] Enable Quota System for AI Features (#31544)" (#31767)
This reverts commit 17763447965aae5777053b783d2601517bfe6b12.

GitOrigin-RevId: f6589bdbf0ac7e71313739e3e3f4fb5bedd48c22
2026-02-24 09:07:06 +00:00
Jimmy Domagala-Tang
92463fb3e2 [Web] Enable Quota System for AI Features (#31544)
* feat: migrate from aiErrorAssist naming for disabling AI features to aiFeatures.enabled to avoid confusion

feat: keep aiErrorAssistant as setting on user object until migration is run

* feat: migrate writefull.enabled unset to instead use promotionSet false

* feat: updating to use quota based system for AI usage

* feat: hide relevant sections of quota system behind split test

* feat: ship onAiFreeTrial instead of free quota amount to project meta

* fix: renaming splitTestEnabledForUser to featureFlagEnabledForUser

* fix: v1_personal should have free trial amount of ai quota

* fix: onAiFreeTrial in projectController should account for anonymous users with no features

* feat: fixing marketing exports for ai quotas

* feat: update features epoch

* feat: move to quota tiers, and map tier to numeric allowance within rateLimiters

GitOrigin-RevId: 17763447965aae5777053b783d2601517bfe6b12
2026-02-24 09:06:31 +00:00
roo hutton
8fb5b0ed05 Merge pull request #31678 from overleaf/rh-cio-subscription-status
Sync subscription type and features to customer.io

GitOrigin-RevId: 4c23a6b4ec9f103e73b26203b0d43f177e56bb6e
2026-02-24 09:06:22 +00:00
Jakob Ackermann
f9ad6cf5d1 [monorepo] add eslint and prettier check to tools (#31720)
* [dependency-management] check eslint and prettier in Jenkins pipeline

* [npm-overrides-helper] check eslint and prettier in Jenkins pipeline

GitOrigin-RevId: 647f105babd536d0962ac2dbb3d6a0235ba73976
2026-02-24 09:06:12 +00:00
Andrew Rumble
d004aec6f1 Merge pull request #31727 from overleaf/ar-fast-xml-parser-5.3.6
[monorepo] upgrade packages that depend on unsafe fast-xml-parser

GitOrigin-RevId: 8c61d9db1a7ab164dc9233f29c2de11b461f11a4
2026-02-24 09:05:55 +00:00
Mathias Jakobsen
45fb992c9f Merge pull request #31735 from overleaf/mj-cm6-input-border-radius
[web] Reduce border radius of search and go-to-line forms

GitOrigin-RevId: 041d8587e0e1d10fcc2e8daf943e6bc0383662c2
2026-02-24 09:05:46 +00:00
Mathias Jakobsen
328546b07d Merge pull request #31732 from overleaf/mj-go-to-line-theme
[web] Follow overall theme in go-to-line dialog

GitOrigin-RevId: f4f91133d786612bdb55fe775305185fab64afec
2026-02-24 09:05:41 +00:00
Jakob Ackermann
d7514feafe [docstore] add metrics for writes to docs collection (#31741)
* [docstore] add metrics for writes to docs collection

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

* [docstore] fix import

* [docstore] use counter metric

* [docstore] add metric on lines delta

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

---------

Co-authored-by: Brian Gough <brian.gough@overleaf.com>
GitOrigin-RevId: 4662c5862315c800cb7b4d57bef60e08fbe7ba59
2026-02-24 09:05:35 +00:00
Anna Claire Fields
fe65bc2cc1 upgrade for minimatch from 7.4.2 to 10.2.2 in web and third party datastore (#31689)
* upgrade minimatch in web and third party datastore

* upgrade to 10.2.2

GitOrigin-RevId: 5b66b8b3ac24ee46a2d9a9216bf35ef5b6f24adf
2026-02-24 09:05:30 +00:00
Eric Mc Sween
c3b43d92b0 Merge pull request #31618 from overleaf/em-bibtex-editor-design-review
Apply current BibTeX editor designs

GitOrigin-RevId: 3c51a2dd084fe45ba598091f7447d215e5a0739d
2026-02-23 09:05:25 +00:00
Mathias Jakobsen
dd1652bcf6 Merge pull request #31693 from overleaf/mj-light-mode-notifications-buttons
[web] Fix buttons in light mode notifications

GitOrigin-RevId: 7934414356b5185999cf7685f8e4c61441279b04
2026-02-23 09:04:59 +00:00
Miguel Serrano
f4dd04e110 [filestore] add pdftocairo conversion option (#31627)
Includes patches for Server Pro/CE 5.x and 6.x

GitOrigin-RevId: 67e387c96421b681339dbc1d89a8af0c34a163ef
2026-02-23 09:04:55 +00:00
Kristina
820adf568e [web] add support for migrating paypal subscriptions (#31607)
* support Paypal for migration
* remove sensitive payment info in logging
* add `resolveStripeCustomer`

GitOrigin-RevId: a8fc7de4a4bf3971c5221a0dec3fc279d8d2f67d
2026-02-20 09:06:43 +00:00
Jessica Lawshe
00fe0473c5 Merge pull request #31416 from overleaf/jel-saml-session-missing
[web] Throw instance of `SAMLAuthenticationError` when missing session data and show error message

GitOrigin-RevId: e64ec571a127367a27eb032bd4a22c90124e8b0f
2026-02-20 09:06:27 +00:00
Jessica Lawshe
cf39e140b0 Merge pull request #31654 from overleaf/jel-log-sso-config-err
[web] Error message when missing SSO config data

GitOrigin-RevId: 5fe6a73d490d061ce6ba63861e1d2beec3749684
2026-02-20 09:06:21 +00:00
Jakob Ackermann
209f660435 [monorepo] remove endpoints for generating a fake error (#31679)
GitOrigin-RevId: d424881e6ebca157b81344705670021677f856de
2026-02-20 09:06:13 +00:00
Jimmy Domagala-Tang
8e5c207f6b Remove Writefull.enabled (#31476)
* feat: migrate from aiErrorAssist naming for disabling AI features to aiFeatures.enabled to avoid confusion

feat: keep aiErrorAssistant as setting on user object until migration is run

* feat: migrate writefull.enabled unset to instead use promotionSet false

* feat: remove wf.enabled in favor for aiFeatures.enabled for display, and writefull.promotionSet for determining if we should autoload or autocreate

GitOrigin-RevId: 2b7a5b8a430a804f6c9804cc926cb5c057e34df5
2026-02-20 09:06:08 +00:00
roo hutton
48a5de31e1 Merge pull request #31601 from overleaf/rh-migrate-cio-calls
Migrate customer.io calls from pug helper to backend

GitOrigin-RevId: 3d104d0e1038c9fb662385df846ca9167b9c0609
2026-02-20 09:05:59 +00:00
Brian Gough
15a24db3c9 Merge pull request #31650 from overleaf/bg-handle-timeouts-in-persistence-manager
add missing handling of timeouts in PersistenceManager

GitOrigin-RevId: 7fe74068f3ea647b27103393c3f0b243b4b25fe3
2026-02-20 09:05:50 +00:00
Alex Vizcaino
fd4e5c938f Add non-English error handling and UI components for citation reviewer (#31554)
GitOrigin-RevId: b2934c3529eb07971197d81402e550aac25e0cd8
2026-02-20 09:05:28 +00:00
Andrew Rumble
7ae0f7b4b7 Merge pull request #31629 from overleaf/ar-upgrade-brace-expansion-to-5.0.1
[monorepo] bump @isaacs/brace-expansion to 5.0.1

GitOrigin-RevId: 63635265bfec0a2fe6a4e582916d711871ce3ea3
2026-02-20 09:05:11 +00:00
jmescuderowritefull
5cca8b0b4b Unify quota management between Overleaf and Writefull (#31225)
GitOrigin-RevId: 66b6d9a3b5bbd3c37ace0022a84a12dff353c575
2026-02-19 09:06:58 +00:00
Antoine Clausse
43832b7a43 [web] Remove CIAM login notification and cookie (#31563)
* Remove legacy notification cookies

* Remove CIAM notification message from login page

* Remove e2e test "it can dismiss the login notification"

* Clarify comment about removing legacy notification dismiss cookies

GitOrigin-RevId: 33fdc02a397c0f4be491f030ab58fd8954276048
2026-02-19 09:06:49 +00:00
Kristina
8872d851ec [web] rm unnecessary scripts (#31631)
GitOrigin-RevId: c6388685bd9cd43d8d22e38f25db4ee579def808
2026-02-19 09:06:45 +00:00
Kate Crichton
95efb60fb5 Merge pull request #31536 from overleaf/kc-add-batch-download-audit-log
Add logging for batch downloads

GitOrigin-RevId: b3d03ebd20657b571be0d894bc1d2b335844d1fa
2026-02-19 09:06:40 +00:00
Alf Eaton
aab1764236 Upgrade Streamdown to v2 (#31287)
GitOrigin-RevId: c092a9491b086a186cd7a5d88698bd1aaf745e96
2026-02-19 09:06:31 +00:00
Copilot
fe62a55ba7 Expand PDF preview errors by default (#31484)
GitOrigin-RevId: 7044b3033a4140ce5e3a57f5081c8d36b89b1d06
2026-02-19 09:06:27 +00:00
Jakob Ackermann
03fd89fd77 [web] validate and parse email using EmailHelper when ratelimiting (#31622)
* [web] validate and parse email using EmailHelper when ratelimiting

* [web] use a fake email for rate-limiting ldap logins in Server Pro

GitOrigin-RevId: 27ea7724319e06c4d64ac81e1155dcab558da99c
2026-02-19 09:06:18 +00:00
Jakob Ackermann
cb0266035d [web] remove unnecessary filtering of rootFolder (#31585)
11 years ago, the db.projects collection was storing doc lines in the
file-tree/rootFolder. Any operations on the project that did not need
those lines were benefitting from excluding all those entries from the
file-tree. These days, the verbose exclusions are not useful anymore and
merely add load on mongo.

REF: 9805c6a9ff
GitOrigin-RevId: 89f544688934c1ed1ca98877ffbe8baefe66c126
2026-02-19 09:06:13 +00:00
Malik Glossop
13e03fafa2 Merge pull request #31591 from overleaf/mg-show-pdf-sync
Always show pdf when jump to pdf menu item clicked

GitOrigin-RevId: 4094e681c00d3acfed0f6072f428a6c83bb701c3
2026-02-19 09:06:08 +00:00
Malik Glossop
1f18caf5ce Merge pull request #31603 from overleaf/mg-context-menu-focus-on-close
Return focus to editor on context menu close

GitOrigin-RevId: 60ad8040c62c5c174d70cf88e9d6698dd592bbcf
2026-02-19 09:06:04 +00:00
Malik Glossop
daa7b52ef1 Merge pull request #31572 from overleaf/mg-context-menu-non-editable
Show context menu for empty line filler elements

GitOrigin-RevId: 9becb697e61130a623a9a00bccae015b927760a2
2026-02-19 09:05:59 +00:00
Malik Glossop
a7b3cb6042 Merge pull request #31573 from overleaf/mg-context-menu-feedback
Add feedback button to context menu

GitOrigin-RevId: f7d2b27f7f49a4cd3cbad2e8c6f114967f84ab65
2026-02-19 09:05:54 +00:00
Brian Gough
a9c94c4184 Merge pull request #31444 from overleaf/bg-jpa-use-fetch-in-persistence-manager
remove requestretry from PersistenceManager

GitOrigin-RevId: 1fc9ffdfa7879d7ab4f0f4683544d09fe8526f3d
2026-02-19 09:05:45 +00:00
Domagoj Kriskovic
4603722288 [web] Add button style for copy to clipboard component
GitOrigin-RevId: e387f79c829c903660638d3781839c44da10db07
2026-02-19 09:05:37 +00:00
Domagoj Kriskovic
0d71cc18fd [web] linting errors for visual bibtex editor
GitOrigin-RevId: 8c527eb314e21233f6be648b1a1cdb039db8d9b1
2026-02-19 09:05:13 +00:00
Chris Dryden
4fee136b6c Merge pull request #31501 from overleaf/cd-align-github-sync-action-buttons
Cd align GitHub sync action buttons

GitOrigin-RevId: ee4dfb3620e27e1bba0283e488bd003b66a08cd5
2026-02-19 09:05:08 +00:00
Anna Claire Fields
f33c3ba4cb replace utc helper function with local date (#31421)
GitOrigin-RevId: 03d8502bfe105574f8eb1ad65356a334edf44cd0
2026-02-18 09:05:54 +00:00
Anna Claire Fields
59774b34bd add make command (#30469)
GitOrigin-RevId: 8cfbe132e86d305a9069240b13536ae856298f2a
2026-02-18 09:05:50 +00:00
Jakob Ackermann
5b5e5a3d51 [document-updater] remove_deleted_docs: add option to run on single doc (#31595)
* [document-updater] remove_deleted_docs: use promisified RedisManager

* [document-updater] remove_deleted_docs: log all getDoc details

* [document-updater] remove_deleted_docs: add option to run on single doc

GitOrigin-RevId: e2b73defd1d99d14578ce573d0e05c31073ab739
2026-02-18 09:05:42 +00:00
Jimmy Domagala-Tang
97c4c550d7 Migrate user.writefull.enabled -> user.writefull.promotionSet (#31475)
* feat: migrate from aiErrorAssist naming for disabling AI features to aiFeatures.enabled to avoid confusion

feat: keep aiErrorAssistant as setting on user object until migration is run

* feat: migrate writefull.enabled unset to instead use promotionSet false

* Update tools/migrations/20260213102825_swap_writefull_enabled_for_initialized.mjs

Co-authored-by: Mathias Jakobsen <mathias.jakobsen@overleaf.com>

* feat: addind backfill of ai features as a migration as well to help with dev environment setup

---------

Co-authored-by: Mathias Jakobsen <mathias.jakobsen@overleaf.com>
GitOrigin-RevId: fd3f0fc07c91678cd7fd1e0d5237221694b3027b
2026-02-18 09:05:38 +00:00
Kristina
85066c6cb3 [web] various migration script improvements (#31538)
* make warnings more eye catching in clean up dry run
* only increment processedCount after processing
* always rm recurlyAccountCode
* check if existing Stripe customer already has a subscription
* ensure no other customer accounts share the user id
* set recurly_to_stripe_migration_status to cancelled in cancel script
* add script for updating metadata of canceled migrations

GitOrigin-RevId: 3331de480e99774679ff2649b90d41e981a8fdef
2026-02-18 09:05:34 +00:00