Commit Graph

27017 Commits

Author SHA1 Message Date
Jimmy Domagala-Tang 9a6c2edf16 changing to pug conditional format for admin page conditional render (#30302)
GitOrigin-RevId: 38006bc5378151219e7c219f292c167ed27bb38e
2026-01-08 09:05:44 +00:00
Antoine Clausse 7d9f7f131b Merge pull request #30578 from overleaf/revert-30394-revert-30391-dp-test-revert-1
Revert "[web] Reapply: Promisify ProjectLocator (#30319)"

GitOrigin-RevId: 2752266fe84d69ffb9e31c65c7872f58be861ec9
2026-01-08 09:05:34 +00:00
Rebeka Dekany 5c61ea53d5 Include Stripe couponCode and promotionCode in analytics events (#29873)
* Include valid couponCode and promotionCode in `payment-page-view` and `payment-page-form-submit` analytics events

* Update payment event types

* Remove obsolete comment

* fix: only send validated coupon and promotion codes in analytics event

* Add coupon name for the analytics events

* Update test to include the coupon name for analytics

* Remove coupon code from analytics

* Simplify promotion code validation using coupon.code

* Remove undefined

* Allow access to promotion code

* Remove `lastValidatedPromotionCode` and compare against coupon code from the preview response

* Fix test setup to initialize coupon code

* Keep the submit button enabled only when the coupon code is either empty or successfully validated by the backend

* Update test coupon code value to TEST_COUPON

GitOrigin-RevId: b12fa147d91fd3b90b59bc77868a0786ddb633b7
2026-01-08 09:05:27 +00:00
Antoine Clausse 16b83b128b [web] Promisify ProjectRootDocManager (#30327)
* Remove ESLint disable

* Unnest ProjectRootDocManager methods

* Promisify `setRootDocAutomatically`

* Promisify `findRootDocFileFromDirectory`

* Promisify `setRootDocFromName`

* Promisify `ensureRootDocumentIsSet`

* Promisify `ensureRootDocumentIsValid`

* Promisify `_sortFileList`

* Fixup export

* Call `ProjectRootDocManager.promises.setRootDocAutomatically` so mocks work

* Update ProjectRootDocManager.test.mjs

* Remove expects on callbacks

* Add `return` on the first matching entry in `setRootDocAutomatically`

See https://github.com/overleaf/internal/pull/30327#discussion_r2624011209

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

---------

Co-authored-by: Brian Gough <brian.gough@overleaf.com>
GitOrigin-RevId: f83e8239f65776d23b49cb7a569181abc7c9a276
2026-01-08 09:05:12 +00:00
Antoine Clausse 3d352b35cb Merge pull request #30394 from overleaf/revert-30391-dp-test-revert-1
[web] Reapply: Promisify ProjectLocator (#30319)

GitOrigin-RevId: 0cde095b81ea61211881b6b29fa4dd58d952a162
2026-01-08 09:05:08 +00:00
Andrew Rumble 538af8c445 Merge pull request #30455 from overleaf/dependabot-npm_and_yarn-storybook-8.6.15
Bump storybook from 8.6.12 to 8.6.15

GitOrigin-RevId: b4b47eff80a42c902ea8e81a659a989c148b51ef
2026-01-08 09:04:56 +00:00
Jakob Ackermann 32ad596e54 [clsi] minor fixes for clsi-cache (#30551)
* [clsi] fix circuit breaker for clsi-cache

* [clsi] enable ts-check for CLSICacheHandler

* [clsi] limit the number of .blg files in clsi-cache to 50

* [clsi-cache] limit the number of files per job to 100

* [clsi-cache] explain early registration of buildId

* [clsi-cache] lock down downloads via nginx to project folder

GitOrigin-RevId: 081d0c40b08db3a384c4d765b71a50b973f42151
2026-01-07 09:06:30 +00:00
Mathias Jakobsen 0fc0e54cf5 Merge pull request #29325 from overleaf/dp-git-bridge-aws-sdk
[git-bridge] Update AWS S3 SDK

GitOrigin-RevId: c40f6c0c3eef6e45e27a57462a7a4732d5151c26
2026-01-07 09:05:57 +00:00
Eric Mc Sween 9ca39b7854 Merge pull request #30336 from overleaf/em-promisify-web-api-manager
Promisify WebApiManager

GitOrigin-RevId: d86ed972b714d55e864ff630935ae4068933ca39
2026-01-07 09:05:48 +00:00
Mathias Jakobsen 750ef6ca19 Merge pull request #30510 from overleaf/mj-git-bridge-persistent-swap-local
[git-bridge] Make git-bridge data persistent

GitOrigin-RevId: e5e7ec613db455b21b4f96c9bf8e6829cc02a4ce
2026-01-07 09:05:43 +00:00
Mathias Jakobsen bf662f74f5 Merge pull request #30458 from overleaf/mj-git-bridge-local-swap
[git-bridge] Mock S3 locally with minio

GitOrigin-RevId: d56659d601e4450f69332202b86e61a443375101
2026-01-07 09:05:38 +00:00
Mathias Jakobsen 32845170ff Merge pull request #30497 from overleaf/mj-git-bridge-staging-swap
[git-bridge] Reduce amount of projects on staging git bridge disk

GitOrigin-RevId: 428825f354487ece20b2538e7d312186d56cc03a
2026-01-07 09:05:33 +00:00
Thomas 9be3c3fd76 refactor: update Makefile to use conditional assignment (#30295)
* refactor: update Makefile to use conditional assignment

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: a00592608e3377701ec75617eef995ce4b05a95b
2026-01-06 09:06:22 +00:00
Andrew Rumble 0ca1888f76 Merge pull request #29374 from overleaf/renovate-major-vitest-monorepo
chore(deps): update vitest monorepo to v4 from ^3.2.4 (major)

GitOrigin-RevId: 553a8fefadd82598a9ff4089ce468b59791e2d43
2025-12-18 09:06:39 +00:00
Rebeka Dekany cbeb58cc0a Use Sidebar as the name for the rails navigation (#30301)
GitOrigin-RevId: a24f8822f3208a2c1dedb6d424cf243fc3409ed1
2025-12-18 09:06:34 +00:00
Alf Eaton a841dbfd2c Add "Set as main document" to file tree menu (#30399)
GitOrigin-RevId: e05a7d0b103226bdc34e559d0d48c12183abdf5a
2025-12-18 09:06:19 +00:00
Alf Eaton fa62723682 [workbench] Remove raw HTML support (#30396)
GitOrigin-RevId: 9fb75c173be83771042a91804cad878152a6fc8f
2025-12-18 09:06:11 +00:00
Alf Eaton ffd2b2120e [workbench] Use lightbulb_2 icon for thinking (#30303)
GitOrigin-RevId: 26346ce1f70ab419188bb9de503572e05d928ff9
2025-12-18 09:05:59 +00:00
Mathias Jakobsen 82cb0e2839 Merge pull request #30312 from overleaf/mj-mock-web-api-async
[document-updater] Remove callbacks from MockWebApi

GitOrigin-RevId: 0189d5735f3e90160e593fb04043a10b1e922685
2025-12-18 09:05:55 +00:00
Mathias Jakobsen ea4dcd4452 Merge pull request #30311 from overleaf/mj-mock-project-history-async
[document-updater] Remove callbacks from MockProjectHistoryApi

GitOrigin-RevId: b85702bfeeba2dc124880c2b590148514b4e89cb
2025-12-18 09:05:51 +00:00
Mathias Jakobsen 6f67ae4312 Merge pull request #30310 from overleaf/mj-async-mock-docstore-api
[document-updater] Remove callbacks from MockDocstoreApi

GitOrigin-RevId: 86342f293e9bbbcaddd6c44bcca62c301db23670
2025-12-18 09:05:46 +00:00
Mathias Jakobsen c4fb6233ce Merge pull request #30308 from overleaf/mj-host-admin-async
[server-ce] Promisify host-admin.js

GitOrigin-RevId: 18adf72113bb26aaaa1dbf89e3ea6dd6c242239b
2025-12-18 09:05:42 +00:00
Anna Claire Fields 06a0cf2391 Merge pull request #30339 from overleaf/acf-migration5-cleanup
(5) Remove swagger dependencies from history-v1

GitOrigin-RevId: d3d79dd9d3c8ccb59d6a59aeede7186daf18bdb0
2025-12-18 09:05:37 +00:00
Domagoj Kriskovic c30b348668 For editing/deleting chat messages ensure user is a message author
GitOrigin-RevId: d7d4f1bb9f004d8fed8644f0aabe621ed863437b
2025-12-18 09:05:22 +00:00
Miguel Serrano 48e7f8042b [git-bridge] Update jetty to v12 (#30221)
GitOrigin-RevId: 44b3f754b3dbced8a2ac47472e113ef4cae30c50
2025-12-18 09:05:13 +00:00
Daniel Kontšek b79a723630 Merge pull request #30397 from overleaf/dn0-fix-jenkins-worker-build
Fix failing jenkins-worker builds

GitOrigin-RevId: 3fcd2a3f791c811c04c5e3861cf64e9adf7d5f91
2025-12-17 09:23:54 +00:00
Miguel Serrano c12fe12b13 [CE/SP] Force rebuild of base image (#30400)
GitOrigin-RevId: 32e8b96e8ed74bf7f51e52058cd71ca7636d8f50
2025-12-17 09:23:48 +00:00
David bf384683f0 Merge pull request #30393 from overleaf/dp-test-revert-2
Revert "Merge pull request #29916 from overleaf/dp-cleanup-editor-red…

GitOrigin-RevId: c2f14fb55e74a1fcb026e37822774724c36bc0dc
2025-12-17 09:07:15 +00:00
Antoine Clausse 9aa7a36721 Merge pull request #30391 from overleaf/dp-test-revert-1
Revert "[web] Promisify ProjectLocator (#30319)"

GitOrigin-RevId: 4db2e86424619bb032512da7a6718d30a04e7990
2025-12-17 09:07:10 +00:00
Eric Mc Sween 969079125a Merge pull request #30386 from overleaf/revert-30335-em-retry-octokit
Revert github-sync octokit migration

GitOrigin-RevId: d9f89e058e4ef9f5e6c157089be2793168db9170
2025-12-17 09:07:05 +00:00
Antoine Clausse a82b969db7 [web] Promisify ProjectLocator (#30319)
* Promisify ProjectLocator

* Update ProjectLocator unit tests

GitOrigin-RevId: 5d657a9da81de6788f8543ad00d7a374e7d54747
2025-12-17 09:07:00 +00:00
Antoine Clausse 657d7b952f [web] Add missing period to advancing_research_with (#30377)
GitOrigin-RevId: a19e2c1b0716a6a4d9105a806fd3af5797e6f2bc
2025-12-17 09:06:55 +00:00
David 1d831b5776 Merge pull request #29916 from overleaf/dp-cleanup-editor-redesign-opt-out
Cleanup editor-redesign-opt-out feature flag

GitOrigin-RevId: 6a1dc6908fa6276181f9e3996e0b14cfb7537786
2025-12-17 09:06:46 +00:00
Alex Vizcaino efcf776a2d Remove standalone citations checker components and related logic (#30378)
GitOrigin-RevId: 1b4dd5d2e0588472ae4c8daf10186d49606aaf78
2025-12-17 09:06:34 +00:00
Eric Mc Sween d496324b8d Merge pull request #30335 from overleaf/em-retry-octokit
Retry github-sync migration to octokit

GitOrigin-RevId: d34b2498e86039dd0781a1707adbfe523acfa250
2025-12-17 09:06:13 +00:00
jmescuderowritefull 60b8aef82d Do not let users to suggest languages that are already supported (#30354)
GitOrigin-RevId: 4fe91e4f581d5775366cdd94023954efd2af79ed
2025-12-17 09:06:00 +00:00
Kristina 4acf79cd54 [web] only emit assistant-add-on-purchase for add-on purchases (#30288)
GitOrigin-RevId: 084e28f02d348fe5504a38f1405250ea2f7b67ce
2025-12-17 09:05:51 +00:00
Antoine Clausse 039491f866 [web] Promisify NotificationsHandler (#28805)
* Replace request by fetch

* Promisify NotificationsHandler.js

* Replace to `fetchNothing` when we don't consume the body.

I also checked that these endpoints don't return anything: https://github.com/overleaf/internal/blob/de2d0ed8cab15c4347ddecf227073a6d4e06120f/services/notifications/app.js

* Make URLs safer

* Ignore (but log) failing `fetchNothing`s on DELETE endpoints

* Defensively add `userId.toString()` to prevent bugs (!)

* Update NotificationsHandler unit tests

* Throw fetch errors only if we did not get a response

GitOrigin-RevId: 03700ad29658c0e3af4e476b25a964030e9c97f1
2025-12-17 09:05:38 +00:00
Alex Vizcaino 5f5125b3fa [Citation Reviewer] Error Management (#30356)
GitOrigin-RevId: 9a34fab4f5447974e795a49c548b8af730857e88
2025-12-16 09:08:01 +00:00
Alex Vizcaino bba00b3589 [citation-reviewer] clear search functionality and update translations in citations reviewer (#30343)
GitOrigin-RevId: 76a3e69785bb115a3d2ba202ff36a4c9851f7771
2025-12-16 09:07:48 +00:00
Brian Gough 1416a59f87 Merge pull request #28830 from overleaf/bg-async-await-github-sync
migrate github-sync AuthenticationController to async/await

GitOrigin-RevId: 0d0cdc0dcb054dd36c9b1323ea1003678c75f6a2
2025-12-16 09:07:31 +00:00
Domagoj Kriskovic 7b00e5d9f5 Add routes to save/get project notification preferences (#30114)
* Add routes to save/get project notification preferences

* update route url

* improve zod schema

* remove unused json response

* update schema and fix tests

* add jsdoc types to pass type-check

* remove using zod strict()

GitOrigin-RevId: f3ab5c88b58bd5af71e0504d0efbe03bdf9b243c
2025-12-16 09:07:07 +00:00
ilkin-overleaf 3b32b0a61e Merge pull request #30317 from overleaf/ii-recurly-subscription-id-not-found
[web] Show group members page when recurly subscription does not exist

GitOrigin-RevId: 8855af6ca1ad92cec437cabd2fe9425671d8ea23
2025-12-16 09:06:58 +00:00
ilkin-overleaf 4801174f68 Merge pull request #30188 from overleaf/ii-domain-capture-group-sso-link
[web] Improved `group-sso-link` logs

GitOrigin-RevId: 426dfa46c5c3a236382744fe408f33df81c5a9a0
2025-12-16 09:06:53 +00:00
Anna Claire Fields 65c164c73d Merge pull request #30053 from overleaf/acf-migration4-controllers-and-params
(4) Update controllers and tests for Zod migration

GitOrigin-RevId: 876fd64f96e1f5d7244ac1d45053c7db9857d46b
2025-12-16 09:06:44 +00:00
Mathias Jakobsen 0efb28baa7 [web] Tweak basic rate limiter for workbench (#30280)
GitOrigin-RevId: 3e2c2f03e88339ee18e393cb7044ed15e95e51a5
2025-12-15 09:06:16 +00:00
Alf Eaton 5af113d85d Upgrade Streamdown and mdast-util-to-hast (#30270)
GitOrigin-RevId: bce694a6d5d84403f134afd0038576bc1aabadd7
2025-12-15 09:06:11 +00:00
Alf Eaton 953eba1d0d Avoid beta badge focus when word count modal is opened (#30281)
GitOrigin-RevId: 570002a4dade41d393c66508e36c2863840f57f6
2025-12-15 09:06:06 +00:00
Liangjun Song 2706c91b25 Merge pull request #30285 from overleaf/ls-skip-webhook-event-for-admin-user-id-removal
Skip webhook event for admin user id removal

GitOrigin-RevId: f5b3b3543bf4efcbf0d99caa6325259132823c77
2025-12-12 09:06:36 +00:00
Kristina c6fc921c11 [web] add script for updating prices for existing Stripe subscriptions (#30216)
GitOrigin-RevId: 8f20a6ba9c7a737bb304d8698c4fbcb06b6ddc8c
2025-12-12 09:06:32 +00:00