Commit Graph

26582 Commits

Author SHA1 Message Date
Jakob Ackermann
0182ad0046 [monorepo] compute IMAGE_CACHE lazily (#29087)
GitOrigin-RevId: de287c89c1cea858d0609265945266be19d7ea26
2025-10-15 08:07:47 +00:00
Borja
ce38ba6fc1 Refactor Writefull toolbar (#28911)
GitOrigin-RevId: 1d8a3addc9046dc67c0cca20d5cf4fba35d132d1
2025-10-15 08:07:42 +00:00
Jimmy Domagala-Tang
a959b53f1c changing 2k file limit notification to a warning (#28711)
GitOrigin-RevId: 548a00ba18a48707f65e2d519045ea1408f02760
2025-10-15 08:07:38 +00:00
Jimmy Domagala-Tang
fc24f36089 adding script to remove the stale wf oauth tokens (#28786)
GitOrigin-RevId: a4bd36a23867bf8d2273fa397426830c87ab47a2
2025-10-15 08:07:29 +00:00
Antoine Clausse
584c23628c [web] Check adminPrivilegeAvailable to show "Project URL lookup" (#29020)
* Check `adminPrivilegeAvailable` to show "Project URL lookup"

This is the correct check as it's what used to decide if the AdminPanelRouter should be included:
ffa200d595/services/web/modules/admin-panel/index.mjs (L14-L15)

* Add "it displays expected admin menu items" to e2e tests

* Don't expect "Project URL lookup" in CE

* Revert "Don't expect "Project URL lookup" in CE"

This reverts commit 467cccbf6c0d538c386d459403c521e3f62cfee2.

* Make "Project URL Lookup" capitalization consistent

GitOrigin-RevId: ed5c219e9b5912a4c324cf9dce58061b58d911b0
2025-10-15 08:07:21 +00:00
Antoine Clausse
8c15af1a70 [web] Fix FileTreeModalCreateFile modal style on "too many files" error (#28995)
* Temporarily update `maxEntitiesPerProject` to test `FileTreeModalCreateFile`

* Remove unused CSS

* Move project_has_too_many_files Notification to the modal body

* Turn project_approaching_file_limit message into a Notification

* Update project_has_too_many_files translation with `fileCount.limit`

* Update other project_has_too_many_files with limit parameter

* Add translations for project_has_too_many_files_limit

* Revert "Temporarily update `maxEntitiesPerProject` to test `FileTreeModalCreateFile`"

This reverts commit 704996aa96c9ba592c7e44d165def0b97d30bed1.

* Fix unit tests

* Move the warning notification to the modal's body

---------

Co-authored-by: Rebeka <o.dekany@gmail.com>
GitOrigin-RevId: 0f54db7021e4cd4537a14e4f9e1d8ef54337778c
2025-10-15 08:07:16 +00:00
Olzhas Askar
60fe5b2e4a Merge pull request #29043 from overleaf/oa-odc-to-cio
[web] Send onboarding data to Customer IO

GitOrigin-RevId: b45d1b66d36c3bba36e9c777fb66699c6bb56d33
2025-10-15 08:06:53 +00:00
Jakob Ackermann
15a6e8ba04 [monorepo] use content hash as docker image cache key (#29046)
* [monorepo] remove docker-repos flag from build scripts

* [monorepo] use content hash as docker image cache key

* [packer] jenkins-worker: populate build cache for all services

* [v1] adopt smarter docker caching

* [latexqc] adopt smarter docker caching

* [monorepo] refresh docker cache in Jenkins

* [packer] jenkins-worker: increase disk size

* [monorepo] run jenkins_docker_build_cache as Jenkins user for v1

* [monorepo] define MONOREPO at the top of all the Makefiles

* [monorepo] add --build-arg BUILDKIT_INLINE_CACHE=1 everywhere

GitOrigin-RevId: 8110c6e68727a52ea80f3ec71711d30e17d69499
2025-10-15 08:06:41 +00:00
Mathias Jakobsen
f694da4443 Merge pull request #28978 from overleaf/mj-visual-editor-broken-image
[web] Add image loading fallback screen to visual editor

GitOrigin-RevId: 205c6355011802672e57123bb2a61cb708242e31
2025-10-15 08:06:32 +00:00
Mathias Jakobsen
fe3ace423c Merge pull request #29028 from overleaf/mj-read-only-referencing
[web] Stop indexing references locally for read-only users

GitOrigin-RevId: ab29fb155de4223d585356d94068c082d89179bb
2025-10-15 08:06:28 +00:00
Liangjun Song
e3a24037fb Merge pull request #29036 from overleaf/ls-enable-individual-to-group-upgrade-in-production
Enable individual to group plan upgrade

GitOrigin-RevId: 3413c012bee320e4a4a61f829aaeff55e6116702
2025-10-15 08:06:23 +00:00
Liangjun Song
2724ebce49 Merge pull request #29045 from overleaf/kh-gracefully-handle-idempotency-errors
[web] fix idemopotency error by delaying backup measure

GitOrigin-RevId: 0a9a62f2a0c559257247d1b720a8668fdb09f6a1
2025-10-15 08:06:15 +00:00
Jakob Ackermann
ca498ed047 [server-ce] trigger Server Pro E2E tests for all web module changes (#29056)
The rake deploy:app task is expecting a build for all web changes.
Triggering a few extra Server Pro E2E test runs is cheaper than making
the rake task smarter.

GitOrigin-RevId: a8380417d4a323b3d2a008eeb6ee26bc0ad151d9
2025-10-15 08:06:10 +00:00
David
584572bb40 Merge pull request #28760 from overleaf/dp-hackathon-knip
Add Knip and remove a bunch of unused code

GitOrigin-RevId: 42ab99fc65973c883d2361e0027e7181767e714e
2025-10-15 08:05:57 +00:00
Alf Eaton
2c7c0caf07 Upgrade CodeMirror dependencies (#28906)
GitOrigin-RevId: 6e97b41c9c83ed00df839ee258c17d0a6e42cbdf
2025-10-15 08:05:52 +00:00
Alf Eaton
5b2e541186 Memoize some editor React components (#28963)
GitOrigin-RevId: 6440df9ac3ef1bf1839dff07eb2f55b52b581d3e
2025-10-15 08:05:48 +00:00
Brian Gough
f6229d6fe1 Merge pull request #29032 from overleaf/bg-retry-failed-backups
Add script and cronjobs to retry failed history-v1 backups

GitOrigin-RevId: c32102086235d4e22b947f4a80089b186c093cea
2025-10-14 08:06:28 +00:00
Maria Florencia Besteiro Gonzalez
c82d077c6b Merge pull request #29029 from overleaf/bg-td-mfb-increase-in-nocdn-metrics
Added more bots to no cdn check

GitOrigin-RevId: 53da4aad749494296df02a9026e2ba294bbba6e1
2025-10-14 08:06:08 +00:00
roo hutton
c442faa263 Merge pull request #29018 from overleaf/rh-cio-timestamp-fix
Use unix timestamps in customer.io

GitOrigin-RevId: 5301095172679712f2bf4e12632b67bd90a33008
2025-10-14 08:06:04 +00:00
David
ad50758d4c Merge pull request #28900 from overleaf/renovate-npm-nodemailer-vulnerability
[Core] Update dependency nodemailer to v7 from ^6.7.0 [SECURITY]

GitOrigin-RevId: aad91a856904c3885d687f2dbfbf52872907aa6f
2025-10-14 08:06:00 +00:00
David
46d0d3e188 Merge pull request #28979 from overleaf/dp-error-logs-buttons
Update dark mode states for some new editor error logs buttons

GitOrigin-RevId: be4cd036e9fc1bb05dbad476796750c9e0354edc
2025-10-14 08:05:56 +00:00
Jakob Ackermann
ddb99b72bf [monorepo] fixes for Jenkins (#29027)
* [packer] jenkins-worker: pull TL2017 for clsi

* [tpdsworker] add stub file for test/setup.js

* [linked-url-proxy] update package-lock.json

* [packer] jenkins: discover common Jenkinsfiles from jobs and libraries

* [linked-url-proxy] fix mocharc path for mocha-multi-reporters

* [linked-url-proxy] install prettier and eslint inside docker

* [linked-url-proxy] make prettier happy

* [linked-url-proxy] add patch for mocha-multi-reporters

* [clsi] pull TL2017

* [monorepo] add bind mount for reports folder for unit tests

GitOrigin-RevId: d0d3d92f963c15549125a298ca4fd50d8a0e83da
2025-10-14 08:05:48 +00:00
Kristina
d6f2dfd8b1 [web] fix Stripe concurrent idempotency error (#29007)
GitOrigin-RevId: 458f712452241771dff99977e638a3f4d2c113fa
2025-10-14 08:05:38 +00:00
Liangjun Song
b03b1e3bfc Fetch all the subscriptions when backfilling user ids (#29005)
GitOrigin-RevId: 07c091176e50cad250e6bb4dea94fa3424643fd2
2025-10-14 08:05:33 +00:00
Liangjun Song
293157149e Fix tax exempt email template (#28964)
GitOrigin-RevId: 8171c12f0255079c6b4e47238d7f436babb59bca
2025-10-14 08:05:26 +00:00
Jakob Ackermann
fd0d21fbbd [monorepo] migrate build scripts to Jenkins (#29019)
* [monorepo] migrate build scripts to Jenkins

* [fraud-dash] fix integration with monorepo

GitOrigin-RevId: 6a30ec5ea68a1eae9b663faf9ccdc741ec7f9cf8
2025-10-13 08:07:11 +00:00
Eric Mc Sween
9813bc4b51 Merge pull request #28992 from overleaf/em-compile-metrics-runs
Add metric measuring the execution time of each latexmk rule

GitOrigin-RevId: fcb7215f7f53063e6fe046c01bbcc81e6441c064
2025-10-13 08:07:07 +00:00
Eric Mc Sween
74524db293 Merge pull request #28909 from overleaf/em-compile-metrics
Use histograms to track CLSI compile times

GitOrigin-RevId: cf25f1e6d2094186f419acc70748f0c71b6c3240
2025-10-13 08:07:02 +00:00
Jakob Ackermann
2390823a30 [monorepo] run Jenkins cleanup in parallel (#29015)
GitOrigin-RevId: 5e0df1cec874950b91edf86a2ca40b358366a897
2025-10-13 08:06:58 +00:00
Jakob Ackermann
0ca3813a00 [libraries] align test setup (#29009)
* [libraries] move all the unit tests into test/unit

* [settings] remove empty test file

* [mongo-utils] remove test setup as there are no tests

* [libraries] ensure that all libraries with tests have test/setup.js

* [monorepo] remove test step from Cloud build for libraries without tests

GitOrigin-RevId: b9a0a8a3330db7d8646c7a272b03fbb8c5e44bc0
2025-10-13 08:06:53 +00:00
Jakob Ackermann
d7623b576f [monorepo] refactor retries in Jenkins to step level (#29008)
* [monorepo] refactor retries in Jenkins to step level

Change the junit reports to use step specific file names. The [hash]
template option was neat in getting unique file names, but results in
duplicate test reports on retry.

* [patches] add support for .cjs config files for mocha-multi-reporters

GitOrigin-RevId: 3a749441470b5ba633e71319589606cfbe860952
2025-10-13 08:06:37 +00:00
Davinder Singh
f0b2466f93 adding the new thank you message in contact us form (#28729)
GitOrigin-RevId: 8fe7f453b786eb30a6d479254afce9eeb442c276
2025-10-13 08:06:02 +00:00
roo hutton
0ea6063147 Merge pull request #28828 from overleaf/rh-promisify-token-generator
Convert TokenGenerator to async/await

GitOrigin-RevId: ceda009ea90eba1f19fd1242ac057d12f1fa2735
2025-10-13 08:05:50 +00:00
roo hutton
85f39b75f4 Merge pull request #28799 from overleaf/rh-promisify-email-confirmation
Promisify UserEmailsConfirmationHandler

GitOrigin-RevId: 844d478818a374a498ff24cdabb87659b5bc75aa
2025-10-13 08:05:46 +00:00
roo hutton
26033aa76a Merge pull request #28775 from overleaf/rh-dedupe-share-modal
Deduplicate emails when pasted in share modal

GitOrigin-RevId: 6c66b51fdbcc5ea3a24ea54523b5a47036fb3fb1
2025-10-13 08:05:41 +00:00
Tim Down
7aa66b260c Merge pull request #28541 from overleaf/td-notifications-app-ts
Change notifications app.js to TypeScript

GitOrigin-RevId: cb6195e2e8c8cd89e1a954bfcb1911929440d6ca
2025-10-13 08:05:36 +00:00
Miguel Serrano
d54efe78f7 [CE/SP] Fix default footer (#28947)
* [CE/SP] Fix default footer

Fixes the default `right_footer`. Only 'text' should be defined when it contains HTML code.

* Remove font-awesome github icon

* Added acceptance test

GitOrigin-RevId: 1a1ba04673f35affcec4bb17bc7cd860d589b13f
2025-10-13 08:05:28 +00:00
Brian Gough
58094ebcd6 Merge pull request #28988 from overleaf/bg-add-file-info-to-performance-logs
add latexmk fdb file info to performance logs

GitOrigin-RevId: 3cc5709cd10fd55c2cd8aff7754fb7868aacdf0c
2025-10-13 08:05:23 +00:00
Brian Gough
da3f366643 Merge pull request #28959 from overleaf/bg-exclude-health-checks-from-performance-logs
exclude health checks from performance logs

GitOrigin-RevId: 88db63e00b32b2b015ee25c7d555546ed7d9a95b
2025-10-13 08:05:18 +00:00
Brian Gough
7b6565c98f Merge pull request #28946 from overleaf/bg-set-health-check-flag-on-compile-status-requests
set health-check flag on compile status requests

GitOrigin-RevId: 56decc98aecf7fa5e12f99efc39ef38915ceebe2
2025-10-10 08:06:28 +00:00
Jimmy Domagala-Tang
0ecfc246a2 Rolling builds error logs notification (#28654)
* feat: allow for monthly tl builds experiment

* feat: add in-editor notification when rolling image has updated

* feat: add in-editor notification when rolling image has updated

* feat: allowing for different messages in experiment when user is optend in

* feat: add a banner notification in the error logs when the user is on the rolling build

* moving rolling check from context to util

* Update services/web/frontend/js/features/pdf-preview/components/rolling-build-selected-reminder.tsx

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>

---------

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: fb669db28a7194babb299413f20209e76dcbd351
2025-10-10 08:06:20 +00:00
Maria Florencia Besteiro Gonzalez
81ababb7aa Merge pull request #28850 from overleaf/mfb-promisify-user-membership-view-model
Promisify UserMembershipViewModel.js

GitOrigin-RevId: d06b44ca7df65886f420332a1f9fc3d5f9c989af
2025-10-10 08:06:15 +00:00
Antoine Clausse
5a11958a57 [v1, web] Return "200 null" instead of no content in v2/api/v2/users/:userId/ip_matcher when there is no data, so it can be read as JSON in the frontend (#28913)
⚠️ Deploy this to `web` first so the breaking change is handled correctly

See https://github.com/overleaf/internal/pull/28792

GitOrigin-RevId: 3cc0344643557541791571dac7338bf878328095
2025-10-10 08:06:07 +00:00
Antoine Clausse
0abab86dc1 [web] Hide the "Project URL lookup" menu item for admins without view-project-setting (#28952)
the destination of that link (https://admin.stag-overleaf.com/admin/project) is blocked correctly already

GitOrigin-RevId: e94978d9fe77b3da3a5dab1dd2998beca6e26102
2025-10-10 08:06:02 +00:00
Alf Eaton
e5e279a19f Use path.resolve for resolving paths (#28905)
GitOrigin-RevId: 8f549b410ebf35e330a472fd4de1e3343747794e
2025-10-10 08:05:57 +00:00
Andrew Rumble
95fda8dd36 Use promises version of getUsersByHostname
GitOrigin-RevId: c7b8be79436075a817e5f1429dbe41d824133141
2025-10-10 08:05:53 +00:00
Liangjun Song
2153fd7fa5 Merge pull request #28898 from overleaf/ls-send-email-for-tax-exempt-certificate
Send email if tax exempt certificate is required

GitOrigin-RevId: 685fec7dbb129eab19095470e681d09423558e4c
2025-10-10 08:05:22 +00:00
Liangjun Song
b8da04078d Merge pull request #28851 from overleaf/ls-collect-business-details-in-stripe-elements
Collect business details in Stripe Elements

GitOrigin-RevId: 5a3affd1916b2ba659e007a7c25f64879899fd1a
2025-10-09 08:08:28 +00:00
Liangjun Song
a79171479b Merge pull request #28847 from overleaf/kh-verify-trials
[web] ensure trials work for Stripe custom checkout

GitOrigin-RevId: 9918e768502d50d61cf1a01dfc244fc57411ed35
2025-10-09 08:08:24 +00:00
Liangjun Song
fd9be80bb3 Merge pull request #28781 from overleaf/ls-handle-business-details-on-backend
Handle Stripe business details on backend

GitOrigin-RevId: 32608ba4913da493a09341b8880cd5b639066462
2025-10-09 08:08:19 +00:00