Commit Graph

27071 Commits

Author SHA1 Message Date
Jessica Lawshe
c2ef50f563 Merge pull request #30176 from overleaf/jel-domain-capture-email-exists
[web] Show message when email from domain capture SAML callback is on another user's account

GitOrigin-RevId: 24b440f368c15811cc5b18623238abcc2a88329f
2026-01-13 09:07:30 +00:00
Domagoj Kriskovic
da7569e892 Revert "[project-history] migrate from joi to zod (#30187)" (#30681)
This reverts commit f8396a3caadd536edf64c6f971c77f4c941f000a.

GitOrigin-RevId: 8d66aa15a29216736755c3f86954a4d40aa20a6c
2026-01-13 09:07:22 +00:00
Jakob Ackermann
9cc2a7f1e0 [clsi-cache] cache templates in GCS and create entries on-demand (#30614)
* [clsi-cache] cache templates in GCS and create entries on-demand

* [clsi-cache] add missing return

Co-authored-by: Daniel Kontsek <daniel.kontsek@overleaf.com>

* [clsi-cache] update build scripts

* [web] fix unit tests

* [web] run prettier (again)

* [clsi-cache] drop 1xx prefix from submissionId

* [clsi-cache] add bestEffortRmDir helper

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

---------

Co-authored-by: Daniel Kontsek <daniel.kontsek@overleaf.com>
Co-authored-by: Brian Gough <brian.gough@overleaf.com>
GitOrigin-RevId: e4bd7dca5611f16d9a6e76f2e7cf83e5819fa610
2026-01-13 09:07:17 +00:00
Mathias Jakobsen
69b12f3075 Merge pull request #30632 from overleaf/mj-pdf-dark-mode-tear-down
[web] Tear down pdf-dark-mode feature flag

GitOrigin-RevId: 5f3fa98af8eba70139ec614a3c2e08e380b56de9
2026-01-13 09:07:12 +00:00
Mathias Jakobsen
1b272483cd Merge pull request #30651 from overleaf/mj-chat-token-members
[web] Hide chat for restricted token members

GitOrigin-RevId: 2bf4dbbc2f0ebf863a73669543a13700cc25df8c
2026-01-13 09:07:08 +00:00
Domagoj Kriskovic
6d3dd3601a [project-history] migrate from joi to zod (#30187)
* Add @overleaf/validation-tools in project-history

* use error handler for zod

* Replace joi validations with zod schema

* fix unit tests

* remove Joi validation middleware

* remove optional when there is a default

* fix tests after checking for objectid

* ran build_scripts

* monorepo npm install

GitOrigin-RevId: f8396a3caadd536edf64c6f971c77f4c941f000a
2026-01-13 09:07:00 +00:00
Jakob Ackermann
18cff6e1ac [object-persistor] import ProjectKey helper from history-v1 (#30600)
GitOrigin-RevId: c72aa4bf91569904a2072c74d6ed2f3c764d97bb
2026-01-13 09:06:55 +00:00
Jakob Ackermann
292230b1db [web] inline trivial mongo queries when creating project from template (#30601)
GitOrigin-RevId: 7aefee892d491b1ec191d07bf1871317b897dec8
2026-01-13 09:06:47 +00:00
Jakob Ackermann
72ad614b25 [web] remove fallback for old clsi-server-id persistence (#30528)
GitOrigin-RevId: bd29aa1f77d61b5ff0c2c0a7d6fa893509c89e37
2026-01-13 09:06:43 +00:00
Jakob Ackermann
425e7b1e5b [web] enable mongo notablescan in CI (#29501)
* [monorepo] record ERROR/FATAL log messages in junit report

* [web] put SaaS specific code behind feature flag

* [web] use split test cache for getting user assignments

The unit tests needed updating as they did not replicate any of the
 mongo filtering. The acceptance tests cover this logic.

* [web] make better use of existing indexes

* [web] avoid col-scan in tests of notifications module

* [web] remove cleanup of empty feedbacks collection

* [web] add assertion for reason of rejected request in launchpad test

* [web] add missing indexes

* [web] enable mongo notablescan

* [web] make emailNotifications tests compatible with notablescan

GitOrigin-RevId: b888f2feeb3a0e915f068ae1c4ea23ec17821221
2026-01-13 09:06:38 +00:00
Andrew Rumble
3073c94522 Merge pull request #30215 from overleaf/ar/convert-real-time-to-esm
[real-time] convert real time to esm

GitOrigin-RevId: 7cc530cc977549d3274be42585735e1fd72cad5f
2026-01-13 09:06:30 +00:00
Mathias Jakobsen
b54bed0dd2 Merge pull request #30621 from overleaf/mj-no-opt-out-split-test
[web] Add feature flag for removing old editor switcher

GitOrigin-RevId: 98b60214686ff5fa002e249e0cd8550d0c54c240
2026-01-13 09:06:21 +00:00
Mathias Jakobsen
db9d075cda Merge pull request #30636 from overleaf/mj-tear-down-editor-redesign-flag
[web] Remove editor-redesign feature flag

GitOrigin-RevId: e03cad9398b381c48074da171c2c7853681cfd71
2026-01-13 09:06:17 +00:00
Miguel Serrano
0cfc97bc72 [web] project-downloaded audit logs (#30075)
Adds new `project-downloaded` and makes it available
to managed group admin.

GitOrigin-RevId: 5ae406182f87590acf300f8095a6c7e6c25366c0
2026-01-13 09:06:08 +00:00
Mathias Jakobsen
a341af2e66 Merge pull request #30562 from overleaf/mj-reshow-old-editor-tooltip
[web] Reshow old editor deprecation notice

GitOrigin-RevId: a1adfaa6f807880e2e3f7d20ce4ea8c2b486da1a
2026-01-13 09:05:57 +00:00
Alf Eaton
d8cbe651cd Reduce brightness of primary colour in dark mode (#30486)
GitOrigin-RevId: 12fddbe998317a8c3e405479ab666b3035fe202b
2026-01-13 09:05:52 +00:00
Andrew Rumble
b35ff1f33e Merge pull request #30583 from overleaf/ar/increase-v1-timeout
[web] increase timeout for v1 requests to 60 seconds

GitOrigin-RevId: 0deb5e5d5fbe6b63d12263f223d76e6aa83b20a5
2026-01-13 09:05:47 +00:00
Maria Florencia Besteiro Gonzalez
3261ffa4d0 Merge pull request #30539 from overleaf/mfb-promisify-cooldown-manager
promisify cooldown manager

GitOrigin-RevId: 88c8c7d7e306042524ecd400fb15527206472cb1
2026-01-13 09:05:43 +00:00
Kristina
29f5026dda [web] fix import products script when tax code is null (#30605)
GitOrigin-RevId: 32ca603376db7f186283514067178d27038a865d
2026-01-12 09:07:16 +00:00
Alf Eaton
5f20651607 Ensure that @writefull dependencies are transpiled to browserslist targets (#29551)
GitOrigin-RevId: e8070679e79c16e81d8e14061cbb9c41781009a0
2026-01-12 09:06:55 +00:00
Domagoj Kriskovic
0a84cefc96 Revert "Record project notification timestamp in Redis on applyUpdate (#29509)"
This reverts commit faa7a97fa929941cade5d62d2d680c6c3f34cdc8.

GitOrigin-RevId: 31c88ee836fb5e1ab3950da590c28e24b1397edb
2026-01-12 09:06:50 +00:00
Mathias Jakobsen
3d5e84d264 Merge pull request #30598 from overleaf/mj-templates-file-menu-button
[web] Add template management button to new editor

GitOrigin-RevId: 64aec2d771f551fc75d3a1e6f3c684842e1086f4
2026-01-12 09:06:41 +00:00
Mathias Jakobsen
e895ff8153 Merge pull request #30549 from overleaf/mj-build-script-minio-certs
[build-scripts] Handle expired certs in minio

GitOrigin-RevId: 7e0d03112790fbbfd0c2a1718e272aeeb99c8767
2026-01-12 09:06:36 +00:00
Brian Gough
e4eb116a5c Merge pull request #30609 from overleaf/bg-additional-check-for-upload-file-leak
handle file tree operation errors in uploadFile

GitOrigin-RevId: 00ebb8318c38cb13b45733774d1328ae20ebc97a
2026-01-12 09:06:31 +00:00
Brian Gough
b3c2146b6f Merge pull request #30530 from overleaf/bg-fix-zip-upload-leak
clean up temporary folder on zip upload failure

GitOrigin-RevId: 83a934f41de7e4c737bb3e1123e6ac6b0cb15429
2026-01-12 09:06:26 +00:00
Brian Gough
6b4b733da1 Merge pull request #30527 from overleaf/bg-acf-fix-file-upload-leak
clean up temporary file on upload failure

GitOrigin-RevId: 0f30e6da2087e94e2e9bb95ae845af2efdaa5a7b
2026-01-12 09:06:21 +00:00
Domagoj Kriskovic
c461d4d8c3 Rename doc updater script to use .mts extension
GitOrigin-RevId: 43d84434ee91aa579cb049081a31cb3769844320
2026-01-12 09:06:12 +00:00
Domagoj Kriskovic
8bca2545ee Record project notification timestamp in Redis on applyUpdate (#29509)
* Record project notification timestamp in Redis on applyUpdate

* Refactor project notification timestamp recording in Redis

* Remove tests which are catching errors that are no longer used

GitOrigin-RevId: faa7a97fa929941cade5d62d2d680c6c3f34cdc8
2026-01-12 09:06:07 +00:00
jmescuderowritefull
239e89a0a8 Enable toolbar generators only when they are runnable (#30470)
GitOrigin-RevId: a9671121d938f480c9f108f9f7c480524da38bee
2026-01-09 09:07:48 +00:00
Antoine Clausse
e0f8aca331 Merge pull request #30613 from overleaf/revert-30251-ac-dismiss-ciam-notification
[web] Revert "Make CIAM login notification dismissible (with cookies)"

GitOrigin-RevId: d7b7fac350dbc5479487341800320d4917f27d1b
2026-01-09 09:07:31 +00:00
Antoine Clausse
31ab47a534 [web] Make CIAM login notification dismissible (with cookies) (#30251)
* Extend notifications so they can be dismissed

The dismissal is stored in a cookie for a year

* Extend CIAM notifications so they can be dismissed

* Make the CIAM notification dismissable

* Style the close button so it is in the corner of the notification

* Add e2e test

* [e2e] Replace 'not.exist' by 'not.be.visible'

* Set cookie with the same pattern as the "cookie-banner cookie"

* Hide notification in the frontend

* Revert "Hide notification in the frontend"

This reverts commit b5d205f3e3a4e2555be038eb3b7561761a2cde59.

* Add `data-ol-dismiss-cookie-paths` to the notification

* Add `data-ol-dismiss-cookie-paths` to the notification (CIAM variant)

* Shorten cookie name

* Revert: remove the .corner class

* Apply design from Figma for CIAM notifications

GitOrigin-RevId: 4070715c6a63d0497b7a41c343c3f943ced4bfef
2026-01-09 09:07:26 +00:00
Antoine Clausse
7dc937b0f0 [real-time] Promisify RealTimeClient (#30500)
* Define `Client` at the end of the file

* Promisify `setSession`

* Promisify `setAnonSession`

* Remove unused `unsetSession`

* Promisify `connect`

* Promisify `getConnectedClients`, add `@overleaf/fetch-utils`

* Promisify `countConnectedClients`

* Promisify `getConnectedClient`

* Promisify `disconnectClient`

* Promisify `disconnectAllClients`

* Remove decaffeinate comment

GitOrigin-RevId: 4b0b376cdae5b1b69fe7e66b131d4b2ec7059eaa
2026-01-09 09:07:19 +00:00
Alf Eaton
861b66b007 Revert "Cite an article by pasting the DOI (#29994)" (#30607)
This reverts commit a68af023b24fcf87bbc608395f2898df8e9b41a5.

GitOrigin-RevId: c0dd9ae3f6a0e12e6ba7d1e856327ea89eae8157
2026-01-09 09:07:14 +00:00
Maria Florencia Besteiro Gonzalez
5e753dd8eb Merge pull request #30123 from overleaf/mfb-docs-site-could-link-to-devs-site-when-it-errors
Mfb docs site could link to devs site when it errors

GitOrigin-RevId: ce250c93a316dfff6d8dd28d107fdba7cb7c5b08
2026-01-09 09:07:10 +00:00
Alf Eaton
7275551690 Use themed colours for editor toggle switch (#30487)
GitOrigin-RevId: 32406f92555722406a636f9c3db9bea3ca9dac10
2026-01-09 09:07:03 +00:00
Alf Eaton
10eca3070c Strip inline cite markers from response text (#30477)
GitOrigin-RevId: af4af74e989c042bb8174854e79f3ba29193ac80
2026-01-09 09:06:58 +00:00
Alf Eaton
18b2621855 Cite an article by pasting the DOI (#29994)
GitOrigin-RevId: a68af023b24fcf87bbc608395f2898df8e9b41a5
2026-01-09 09:06:51 +00:00
Alf Eaton
22d717583f Upgrade core-js and Babel (#29554)
GitOrigin-RevId: 259149f10335d98443fa8e6ccc4289d2bb3138dd
2026-01-09 09:06:46 +00:00
Alf Eaton
ff0eb6696b Merge pull request #30437 from overleaf/ae-glob
Use glob 10.5.0
Remove babel/cli (#30438)

GitOrigin-RevId: aa5477c2f8afff63ac80f90718601ec64f3238e2
2026-01-09 09:06:42 +00:00
Alf Eaton
cfe7300177 Add stylelint as a dev dependency (#30084)
GitOrigin-RevId: 302b7bd1054984d39ab2f9aa25a0666c38608a3b
2026-01-09 09:06:37 +00:00
Alf Eaton
d1db34bcf0 Upgrade TypeScript to 5.9 (#30433)
GitOrigin-RevId: 7b11f258c0188f69fabd8fd0da709e0979fc8a4a
2026-01-09 09:06:33 +00:00
Alf Eaton
3986bae603 Upgrade AI dependencies (#30432)
GitOrigin-RevId: 9f431a8a16f4e30043895198ebeaf62234f86180
2026-01-09 09:06:29 +00:00
Alf Eaton
b69797e3f4 Set min-width on search form position element (#30473)
GitOrigin-RevId: 6f65eba9589f14f7d22668e925d819467c0ad4bd
2026-01-09 09:06:21 +00:00
Alf Eaton
b4ff3f15ad Tear down full-project-search-promo (#30474)
GitOrigin-RevId: 9af516202bdf281b11348726667037fa458d66d9
2026-01-09 09:06:17 +00:00
Alf Eaton
5badb39259 Avoid closing nested menu on click (#30479)
GitOrigin-RevId: 0f966b53ee5bfd8b4bacdf7b259f3e8cab2858c8
2026-01-09 09:06:12 +00:00
Alf Eaton
b54bbc6cff Add Button variants story (#30491)
GitOrigin-RevId: 98d0cd965832de79de493d46ef9c989daff7be9b
2026-01-09 09:06:08 +00:00
Alf Eaton
64104e069a Add IdeRedesign decorator to dropdown menu stories (#30493)
GitOrigin-RevId: c63801c50029f17979c2b1c0e02a3b0ba5fb7adf
2026-01-09 09:06:04 +00:00
Alf Eaton
ce5f66c21b Add keyboard shortcuts for Layout actions (#30494)
GitOrigin-RevId: 7978a579e719c4cd593c02662406e364b19f87e0
2026-01-09 09:05:56 +00:00
Domagoj Kriskovic
6de0273d45 Process notifications by grouping them per project with caching (#30439)
* Add caching for project updates and file diffs in notifications processing

* Simplify filterNotificationsByPreferences function

* NotificationsEmailBuilder class

* fix cachedRecipient issue

* change processing to group per project

* remove updates cache

* clear cache after processing a project

* refactor: update sendNotificationsForProject to accept project as parameter

* fix unit tests

* apply review suggestions

* feat: add migration script for updating emailNotifications indexes

* refactor: update sendNotificationsForProject to accept projectId

* refactor: simplify fileTreeDiff result assigning

* fix tests

GitOrigin-RevId: bfed061864ba7314f85cf97b7adaeef62c8c5f00
2026-01-09 09:05:42 +00:00
ilkin-overleaf
7931c7b3eb Merge pull request #30471 from overleaf/ii-linkedin-insight-tag
[web] Add Linkedin Insight tag

GitOrigin-RevId: f01e1908ad945a5db10343a04ee50104efa32c3c
2026-01-09 09:05:38 +00:00