Commit Graph

952 Commits

Author SHA1 Message Date
Alf Eaton
ae0f6b66ea Upgrade AI SDK (#32062)
GitOrigin-RevId: dcd8a667e666debdb9670f269818939ce91ebba1
2026-03-09 09:06:01 +00:00
Domagoj Kriskovic
138f7f8023 feat: add Python support with Pyodide integration
GitOrigin-RevId: 382ce102c43050aace691dd89d825a94abf347a8
2026-03-09 09:05:34 +00:00
Andrew Rumble
68b97f2c02 Merge pull request #31869 from overleaf/dependabot-npm_and_yarn-storybook-8.6.17
Bump storybook from 8.6.15 to 8.6.17

GitOrigin-RevId: 00587f0f3d107f8fcf06afd52d7de51fb352bed1
2026-03-06 09:13:48 +00:00
Jimmy Domagala-Tang
a7b4fdde9c Allow debugging for web acceptance tests (#28883)
* adding debug option for web acceptance tests

fix: improving acceptance debug make target and removing duplicate service from docker-compose

* Switching debug mode to use DEBUG=true in test command

---------

Co-authored-by: Liam O'Brien <l.obrien@digital-science.com>
GitOrigin-RevId: 42a2ef53db08eccbf2a52f829a2fb7af997f911e
2026-03-06 09:13:00 +00:00
Andrew Rumble
a4ef0c7ce1 Merge pull request #31954 from overleaf/ar-remove-js-to-esm-transform
[web] remove esm transforms

GitOrigin-RevId: cd6aadcc66fa31026e8cb56f7b5f8fc5c5f8e18c
2026-03-06 09:12:16 +00:00
Andrew Rumble
16cc4026a0 Merge pull request #30890 from overleaf/ar/code-coverage-e2e
[monorepo] code coverage e2e

GitOrigin-RevId: cfdef9e6b485831bd34847f7b7af13d39c18c3e6
2026-03-06 09:10:56 +00:00
Andrew Rumble
029c73adce Merge pull request #31863 from overleaf/ar-re-apply-request-overrides
[monorepo] reapply request overrides

GitOrigin-RevId: 97a4f86ddd237b96c8ed6d91ebab00fc70b1b445
2026-03-06 09:10:15 +00:00
Eric Mc Sween
c99fcf3157 Merge pull request #31786 from overleaf/em-minisearch
Replace fuse.js with minisearch

GitOrigin-RevId: c57afbe23241c98a0e1adaac22312e706e06098d
2026-03-06 09:07:45 +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
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
Alf Eaton
aab1764236 Upgrade Streamdown to v2 (#31287)
GitOrigin-RevId: c092a9491b086a186cd7a5d88698bd1aaf745e96
2026-02-19 09:06:31 +00:00
Andrew Rumble
2a6da7b186 Merge pull request #31500 from overleaf/ar-qs-tools-saas-e2e
[monorepo] bump qs as dependency of @cypress/request

GitOrigin-RevId: a36bcf35b69246cef2614adb3d24db2233f6fcfb
2026-02-13 09:05:14 +00:00
jmescuderowritefull
4f284e15d5 Upgrade Axios dependency (#31465)
GitOrigin-RevId: 983298d6caf68f644e8be67e59e9bffa841a05f8
2026-02-11 09:07:09 +00:00
Eric Mc Sween
ab2f44bbe9 Merge pull request #31417 from overleaf/em-bibtex-validation
Validate the bibtex entry form using react-hook-form

GitOrigin-RevId: c89d29da41eea124c0c410ff28dab04da4691514
2026-02-11 09:07:04 +00:00
Anna Claire Fields
72f8dff76d Upgrade GC storage and big query with updated patches (#31297)
GitOrigin-RevId: ff1432f4194c3529ebf6090d1f93dbed38539014
2026-02-11 09:06:32 +00:00
Andrew Rumble
b2d4687c52 [web] Experiment with code coverage (#28029)
* Update test script to allow coverage to be recorded

* Collect coverage in CI

* [web] integrate coverage report with Jenkins

* [web] add coverage report for acceptance tests

* Use --all flag in vitest coverage

* Use --all flag in acceptance tests

* Switch vitest to use istanbul

* Bump versions of vitest plugins and update package-lock.json

* [web] use a dedicated parameter for coverage in unit/acceptance tests

* [web] temporarily generate HTML report and archive artifacts

* [web] do not run acceptance tests as root in CI

* [web] increase hook timeout in vitest when collecting coverage

* [web] exclude packageMapping from coverage report

* [web] use relative paths in clover reports

* [web] reduce concurrency for unit tests in CI

* [web] keep source code forever on builds

* Revert "[web] temporarily generate HTML report and archive artifacts"

This reverts commit 4c9db571

* [web] archive all the raw coverage report files

* [monorepo] update build scripts for web

* [monorepo] update package-lock.json after merge

* [web] remove spurious change

* [web] merge Jenkins parameter sections

* [web] increase hookTimeout when collecting coverage report

---------

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: 9f1ec6d38a7b037267737bec3b0bc53a0ac844af
2026-02-10 09:05:36 +00:00
Jakob Ackermann
fd647002f5 [monorepo] enable caching for eslint and prettier (#30967)
* [monorepo] enable caching for eslint/prettier/stylelint

* [monorepo] speed up prettier by swapping --list-different for --check

--list-different will print each file that it processes. We have a lot
of files in the monorepo. Using --check only prints mismatching files.

Co-authored-by: Rebeka <rebeka.dekany@overleaf.com>

* [monorepo] explicitly configure prettier cache-location

This is the default location. Prettier will only discover that location
if the top level node_modules folder is writable, which is not the case
in CI. We create the .cache folder outside of docker, writable to node
inside docker.

The proper fix would be in prettier, to only check for write access in
the cache folder. Something to raise/upstream another day.

* [monorepo] run top-level format/format_fix in a single container

With the cache in place, it is much faster to use a single container.
As there is a single shared cache file, concurrent processes may see a
partially (re-)written cache file and bail out.

- all in a single container: 24s
- previous with -j4: 41s
- previous with -j8: failed due to corrupted cache file

---------

Co-authored-by: Rebeka <rebeka.dekany@overleaf.com>
GitOrigin-RevId: 7850a3a980ae6c836393d97fe56a6316ffc3fa18
2026-02-06 09:05:44 +00:00
Rebeka Dekany
a648015db8 Centralize prettier configuration to root level (#30501)
* Merge all .prettierignore files into top-level config

* Merge all .prettierrc files into top-level config

* Replace service-specific glob patterns in package.json format scripts with `prettier .`

* Add template files with Jinja2, Go template, envsubst, and Handlebars syntax to .prettierignore

* Ignore GitHub templates

* Ignore PUG templates to format them separately with `format:pug`

* Encourage double quotes for YAML, YML files

* Move prettier for PUG source format script to the root

* Move prettier for styles source format script to the root

* Remove prettier for jenkins files from web

* Remove prettier source format script from all services

* Make .prettierrc more readable

* Update format scripts by file type

* Organise `.prettierignore`

* Add `--cache` flag to prettier scripts for faster runs

* Format all files with prettier

* Format all or format services

* Remove `format`/`format:fix` scripts from services since now it runs from root `package.json`

* Avoid conlficts with yamllint configuration

* Remove `--cache` flag from prettier scripts

* Update all service Makefiles to use root-level prettier configuration

* Update all Jenkinsfile to use root-level prettier configuration

* Ignore auto-generated files by build_scripts

* Update package-lock.json

* Update root Makefile format targets

* Update SP Jenkinsfile format target

* Update E2E Makefile format script

* Udpate `format_js` to work in both local and CI env

* Add docker-mailtrap to .prettierignore

docker-mailtrap is a third-party git-ignored directory used for testing

* Added Docker env detection to prevent nested Docker spawning

* Ignore handlebars templates

* Add cryptographic files and test output to `.prettierignore`

* Add terraform modules to `.gitignore`

* Remove prettier-plugin-groovy

* Use npx directly instead of Docker for local formatting for faster formatting

* Auto-generate Makefiles

* Revert "Remove prettier-plugin-groovy"

This reverts commit 194a33589a2e1e4d2225d10c67e9f025e4222025.

* Mount monorepo root in RUN_LINT_FORMAT for prettier config access

* Prettier ignores all `node_modules` by default regardless of location

* Show only changed files in format output

* Ignore LICENSE files

* Enable prettier on rendered build_scripts outputs

* Ignoring all the template folders by prettier

* Remove the public/minjs entry since it does not exist

* Remove all non-existent paths

* Sync `.prettierignore` with ignored files by `.gitignore` and `.dockerignore` files

* Revert "Auto-generate Makefiles"

This reverts commit c0233e490de1bc95fe437219d65e0b66e0331ec9.

* Revert "Use npx directly instead of Docker for local formatting for faster formatting"

This reverts commit 1d2b2cf1a6c6974c76885852a90dd55e84167e41.

* Ignore dashboard JSON files

* Ignore files generated by bin/update_build_scripts

* Remove unsupported file types from `.prettierignore`

* Ignore test fixture generated files

* Ignore README file types by prettier

* Ignore generate snapshots by prettier

* Allow to format generated bin/update_build_scripts by prettier

* Ensure build script outputs prettier-compatible tsconfig.json

* Fix build script output to match prettier formatting
- Fix Jinja2 whitespace in docker-compose templates
- Change YAML quotes from single to double

* Don't read cryptographic files by prettier

* Ignore google verification files by prettier

* Revert npx prettier formatting

* Ignore domain verification files

* Show only changed files in format output

* Make `.github` prettier

* Allow all files to be formatted in jobs by prettier

* Allow server-ce/server-pro files to be formatted by prettier

* Ignore more folders in clsi, filestory, git-bridge by prettier

* Update build script with `RUN_LINTING_CI_MONOREPO`

* Ignore docker-mailtrap and downloads in server-ce by prettier

* Restore prettier configs and prettierignore for V1 since it has its own prettier (an older version)

* Source format

GitOrigin-RevId: 637adc3cc422d1f20c86d6ebc8ec514d60758287
2026-02-04 09:08:22 +00:00
Domagoj Kriskovic
b10854f3e3 Use "tanstack/react-table" for visual bibtex editor
GitOrigin-RevId: 85c7ae2433de04a4d64d9d59af062646add3b473
2026-02-04 09:06:49 +00:00
roo hutton
a0a621f727 Merge pull request #30788 from overleaf/rh-cio-sub-topics
Replace Mailchimp newsletter subscriptions with customer.io topic subscriptions

GitOrigin-RevId: de536fb7ef24ff44c494659b2ef5ede5b33cc977
2026-02-04 09:06:24 +00:00
Jakob Ackermann
5829a7fe43 [web] integrate clsi-cache into download pdf from project dashboard (#31138)
* [monorepo] fix downloads from non-sharded clsi-cache

* [web] check some compile from cache options server-side

* [web] integrate clsi-cache into download pdf from project dashboard

* [web] remove frontend tests for server-side validation

* [web] remove unused fetch mock

* [web] use helper that adds polyfill for AbortSignal.any()

* [web] upgrade fetch-mock to fix leaking AbortSignal

* [web] do not add an extra timeout to clsi-cache request

The web backend service has a low timeout already.

GitOrigin-RevId: a90984b92f5d4f24005db5a09f2c5d2424436886
2026-02-02 09:06:13 +00:00
Antoine Clausse
c512072c02 Merge pull request #30980 from overleaf/revert-30752-acf-upgrade-google-cloud-storage
Revert "Update @google-cloud/storage to version 7.18.0"

GitOrigin-RevId: 55136a0fbd6a07011505471e47db0485326ddeb3
2026-01-26 09:06:28 +00:00
Anna Claire Fields
21d672c0f4 Update @google-cloud/storage to version 7.18.0 (#30752)
GitOrigin-RevId: 2acdc676cf821b3a3c562961742c7e83145a9406
2026-01-21 09:05:41 +00:00
Anna Claire Fields
2bf9d30a03 Upgrade Bcrypt and JSDom in web (#30758)
* Update bcrypt and jsdom dependencies in web

GitOrigin-RevId: 3a709203b5c40c5a23664a3433b563382bbc1711
2026-01-19 09:06:49 +00:00
Andrew Rumble
028bca6e87 Merge pull request #30798 from overleaf/ar-reapply-request-overrides
[monorepo] reapply request overrides

GitOrigin-RevId: 55d19cc011435a00ffc1e5c63f523473cd0fc2dc
2026-01-16 09:56:13 +00:00
Andrew Rumble
4271744bfd Merge pull request #30606 from overleaf/ar/bump-qs-to-6.14.1
[monorepo] bump qs to 6.14.1

GitOrigin-RevId: 4b1f8b1cf739c3c0195392fa6707fc233d036b70
2026-01-15 14:20:06 +00:00
Alf Eaton
23255fe264 Downgrade @codemirror/view to 6.38.6 (#30776)
GitOrigin-RevId: bb123c35674b0c21959e1532adc5cdb957f9aa89
2026-01-15 14:19:15 +00:00
Alf Eaton
5d16fa207a Upgrade CodeMirror and Lezer dependencies (#30615)
* Upgrade CodeMirror and Lezer dependencies
* Ensure that BraceWidget and IconBraceWidget always have string content
* Add updateDOM to BraceWidget
* Use pinned versions
* Fix description list decoration

GitOrigin-RevId: 5306f7f09290eb9a2c375e97d33509537f3c5e5f
2026-01-15 09:06:05 +00:00
Andrew Rumble
27950a42b4 Merge pull request #30585 from overleaf/ar/bump-storybook-plugins
[web] bump storybook plugins to 8.6.15

GitOrigin-RevId: dc3d0ed496dab490902f556ec019fa57a75c635f
2026-01-14 09:05:27 +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
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
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
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
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
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
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
Alf Eaton
5af113d85d Upgrade Streamdown and mdast-util-to-hast (#30270)
GitOrigin-RevId: bce694a6d5d84403f134afd0038576bc1aabadd7
2025-12-15 09:06:11 +00:00
Alf Eaton
851f0c92b1 Upgrade AI dependencies (#30202)
GitOrigin-RevId: 829f359c3d8c5b6abb2dbf0eca4c8bd3dec284be
2025-12-10 09:06:31 +00:00
Rebeka Dekany
7921e9852f Remove non-functional ejs overrides from service packages (#30178)
GitOrigin-RevId: 495fb629aa53d44bf7f097a7a92e4963c99fe58f
2025-12-10 09:05:49 +00:00
Andrew Rumble
f3c9b2f2f0 Merge pull request #30182 from overleaf/ar/update-jws-to-3.2.3_or_4.0.1
[monorepo] update jws to 4.0.1

GitOrigin-RevId: b3e778b26b2860112fe80220d6e7354520994082
2025-12-10 09:05:25 +00:00
Tim Down
f8e87929e1 Merge pull request #30150 from overleaf/td-ciam-welcome-storybook
Add CIAM welcome interstitial page

GitOrigin-RevId: 6d333b4d3256e6af2604fbf6363bce7079c4c1ab
2025-12-09 09:06:28 +00:00
Alf Eaton
83db1e858f Replace react-markdown with streamdown (minus mermaid) (#29977)
GitOrigin-RevId: c78f7c537f17085fd3e8a6189c6ade59ff98eb9f
2025-12-04 09:06:02 +00:00
Andrew Rumble
f1e788d9b3 Merge pull request #29967 from overleaf/ar/web-remove-mocha-unit-tests
[web] remove mocha unit tests

GitOrigin-RevId: eda753af3470dbd1f385cb0bc3f06d78ade8a764
2025-12-03 09:05:37 +00:00
Andrew Rumble
07c827e9fd Merge pull request #29928 from overleaf/ar-last-infrastructure-conversions
[web] last infrastructure conversions

GitOrigin-RevId: ad1aff9b7df0610ed0303157d9e2c8032f32c02b
2025-11-28 09:05:56 +00:00
Andrew Rumble
18f44866e5 Merge pull request #29919 from overleaf/revert-29795-ar-last-infrastructure-conversions
Revert "[web] last infrastructure conversions"

GitOrigin-RevId: 48dc64553012afb5d2db4b2eb9c9898489b7e5ef
2025-11-27 09:05:54 +00:00