Eric Mc Sween
ab36c80a26
Merge pull request #21954 from overleaf/em-revert-ai-add-on-deploy
...
Revert faulty AI add-on deploy
GitOrigin-RevId: 923ec89f01d4951596f83fcf58b820c39db1e54a
2024-11-19 09:05:27 +00:00
Eric Mc Sween
424fd5b591
Merge pull request #21839 from overleaf/em-subscription-change-preview-premium
...
Subscription preview for users with standalone AI add-on
GitOrigin-RevId: 636fa5aca8538bb95e79040d5c309dc505cfb17a
2024-11-19 09:05:09 +00:00
Jakob Ackermann
97b39ef98f
Merge pull request #21681 from overleaf/jpa-back-fill-file-hash
...
[history-v1] add script for back filling hash into project file-tree
GitOrigin-RevId: 70ab8c72f3eea1062708e4471b4ad1c60317ad26
2024-11-18 09:05:39 +00:00
Andrew Rumble
e5fd2a462c
Convert references service to ES modules
...
GitOrigin-RevId: f904721ff81b291127fdc8750105846a9cf3ceb0
2024-11-13 09:05:23 +00:00
Christopher Hoskin
4324c4a089
Merge pull request #21554 from overleaf/ae-delete-spelling
...
Remove the spelling service
GitOrigin-RevId: ca7c17160e79d84740f32bbe9c73bc74c2714ffc
2024-11-13 09:05:00 +00:00
Alf Eaton
da9de7fd9c
Revert "Upgrade PDF.js to v4.8.69 ( #21711 )" ( #21798 )
...
This reverts commit 91e0298467034b651d013d73bc41a9efcae7a729.
GitOrigin-RevId: 35830409e1d58371922d58ca50932e1752351403
2024-11-13 09:04:55 +00:00
Alf Eaton
54ec174331
Upgrade PDF.js to v4.8.69 ( #21711 )
...
GitOrigin-RevId: 91e0298467034b651d013d73bc41a9efcae7a729
2024-11-12 09:05:23 +00:00
Antoine Clausse
7f48c67512
Add prefer-node-protocol
ESLint rule ( #21532 )
...
* Add `unicorn/prefer-node-protocol`
* Fix `unicorn/prefer-node-protocol` ESLint errors
* Run `npm run format:fix`
* Add sandboxed-module sourceTransformers in mocha setups
Fix `no such file or directory, open 'node:fs'` in `sandboxed-module`
* Remove `node:` in the SandboxedModule requires
* Fix new linting errors with `node:`
GitOrigin-RevId: 68f6e31e2191fcff4cb8058dd0a6914c14f59926
2024-11-11 09:04:51 +00:00
Jakob Ackermann
252533b2fd
Merge pull request #21668 from overleaf/jpa-mongo-utils
...
[mongo-utils] create new home for batchedUpdate helper
GitOrigin-RevId: 9f61c5e367a9f4cef63b5cc4c0bbbd3ef57c8ca8
2024-11-08 09:07:09 +00:00
Jakob Ackermann
122d89a831
Merge pull request #21660 from overleaf/jpa-s3-https
...
[object-persistor] s3: simplify using a custom CA for HTTPS endpoints
GitOrigin-RevId: 2c6a5312a842582e5e40e917ccc586392087cb7a
2024-11-08 09:07:00 +00:00
Jakob Ackermann
859901ac0c
Merge pull request #21380 from overleaf/jpa-s3-ssec-backend
...
[object-persistor] add backend for SSE-C with S3 using KEK and DEK
GitOrigin-RevId: 9676f5cd5e08107c8c284b68b8d450a1c05bf1b1
2024-11-08 09:06:37 +00:00
Alf Eaton
db8d7a7af0
Upgrade CodeMirror dependencies ( #20618 )
...
GitOrigin-RevId: c1d45e73784fd26db09e9930bc504d2d78c05b12
2024-11-08 09:04:39 +00:00
Andrew Rumble
7fb5d1f0f7
Remove ip from monorepo services
...
GitOrigin-RevId: ea734787fbf31fd667aebe928ecc1e9785ac1185
2024-11-07 09:04:27 +00:00
Andrew Rumble
ba7d11d854
Merge pull request #21105 from overleaf/ar-es-module-helper-scripts
...
[web] ES module helper scripts
GitOrigin-RevId: ebbb123b6e7336215038156b83e96ad42869bb07
2024-11-04 09:04:30 +00:00
Jakob Ackermann
9745c045ba
Merge pull request #21510 from overleaf/jpa-dependency-cleanup
...
[web] dependency cleanup
GitOrigin-RevId: 5b1e0ace2b0acfd7b1b839520f7c24acda8027e3
2024-11-01 09:05:28 +00:00
Jakob Ackermann
5bb90dc6cb
Merge pull request #21442 from overleaf/jpa-align-mongo-version
...
[misc] align all the mongodb dependency versions
GitOrigin-RevId: 1194fe57601af98bb61250a285bfc85b4b8179dd
2024-11-01 09:05:23 +00:00
Jakob Ackermann
7b3e39f63f
Merge pull request #21375 from overleaf/jpa-if-none-match
...
[object-persistor] add support for ifNoneMatch=* in sendStream
GitOrigin-RevId: 268f054ac1b6452105b02757cdec32bad00702fd
2024-11-01 09:05:11 +00:00
Tim Down
06c315760e
Merge pull request #21127 from overleaf/td-bs5-upgrade-react-bootstrap
...
Upgrade react-bootstrap to 2.10.5
GitOrigin-RevId: 7dec4a603cb62226d4a298deca6c394a029b630c
2024-11-01 09:04:51 +00:00
Andrew Rumble
79d80cc266
Merge pull request #21462 from overleaf/revert-18828-ac-node-20
...
Revert "Upgrade Node from `18.20.2` to `20.17.0`"
GitOrigin-RevId: cc12c33b4588caa2959817a113547d20d437d6f4
2024-10-30 09:05:07 +00:00
Andrew Rumble
a480df8a89
Merge pull request #18828 from overleaf/ac-node-20
...
Upgrade Node from `18.20.2` to `20.17.0`
GitOrigin-RevId: 0ba9b0921fc246a97d3da0aad7d48635c0e24ae8
2024-10-30 09:04:38 +00:00
Jakob Ackermann
29381cf054
Merge pull request #21321 from overleaf/jpa-reconfigure-filestore
...
[filestore] refactor acceptance tests
GitOrigin-RevId: a6bb1527220b1c062d980c79d2ccb62973b99d2c
2024-10-25 08:06:02 +00:00
Alf Eaton
d8ce066898
Allow selection of spell-check languages that are only supported in the client-side spell checker ( #21053 )
...
GitOrigin-RevId: 3bff6c14ee4c3cbf322c00ac29d23b60d89737bc
2024-10-16 09:35:43 +00:00
Andrew Rumble
d711d35466
Add a rule to catch commonjs code in es modules
...
GitOrigin-RevId: 7c8efb2b53e981ad32140bcfbeb0f81270936337
2024-10-14 11:11:09 +00:00
Brian Gough
4920af44b0
Merge pull request #20679 from overleaf/bg-issue19022
...
Move flush_all_projects endpoint in document-updater into script
GitOrigin-RevId: cb774d860b5928b7fece1a8e21b0b76aecae73ff
2024-10-14 11:10:42 +00:00
Antoine Clausse
4a8b79080b
[storybook] Update Storybook and add a control for BS3/BS5 ( #20948 )
...
* [storybook] Update Storybook to version 8.3.5
* [storybook] Run storybook with `--no-open`. Fixes xdg-utils issue
* [storybook] Create decorator for BS3/BS5
* [storybook] Add `bsVersionDecorator` to stories
* [storybook] Fix bugs in stories
* [storybook] Fixup `useMeta` type. Use `DeepPartial`
* [storybook] Fix types
GitOrigin-RevId: 48c0f0fefb1ab2d4863ab59051b900b1908a613c
2024-10-14 11:07:40 +00:00
Alf Eaton
d9a4c5b2bc
Only use sentry-cli sourcemaps upload
( #20852 )
...
GitOrigin-RevId: d7effc1ca24a987079811acc0476cc55c9b1b4af
2024-10-14 11:06:41 +00:00
Eric Mc Sween
16d3d59bc1
Merge pull request #20869 from overleaf/em-ranges-tracker-duplicate-ids
...
Fix handling of duplicate change ids in RangesTracker
GitOrigin-RevId: 1a75d1dc7e7931c459d2d004973f34d931100d33
2024-10-14 11:05:30 +00:00
andrew rumble
50c74c3168
Add esmock for tests
...
GitOrigin-RevId: 42be4094f8551a1588de5048b4876557e16888f1
2024-10-14 11:05:07 +00:00
Alf Eaton
a9fac2370b
Upgrade Sentry SDK ( #20806 )
...
GitOrigin-RevId: 70cfbfd7f2ae61bbc865d32c576aa8f195837fb5
2024-10-14 11:01:28 +00:00
Alf Eaton
a457c611c8
Update caniuse-lite
...
GitOrigin-RevId: 772b59d2b370e681ff39de5adff27819e3fd03ec
2024-10-14 11:00:59 +00:00
Alf Eaton
0521371648
Update core-js
...
GitOrigin-RevId: 6273d290704fb9e96c706a69ed7bab33af88dcd0
2024-10-14 11:00:55 +00:00
Alf Eaton
5c4669232c
Upgrade PDF.js to 4.6.82
...
GitOrigin-RevId: 752120f0e6ae5600e4c3a017888423acc240d04b
2024-10-14 11:00:50 +00:00
Alf Eaton
5e7f4feeb8
Remove pdfjs-dist split test
...
GitOrigin-RevId: 39c8a54921c2b541a5bbe3670e1baa6fd9d5f745
2024-10-14 11:00:36 +00:00
Liangjun Song
b10d54fdc7
Merge pull request #20738 from overleaf/ls-upgrade-path-to-regexp
...
upgrade path-to-regexp to patched version
GitOrigin-RevId: f14142d8ad61fcb2bc5a7b74a8d7287d5fea0630
2024-10-14 10:58:46 +00:00
Alf Eaton
24c8629cd4
Use Hunspell for client-side spellchecking ( #20286 )
...
GitOrigin-RevId: c4d0d9e06fe0cc9d7cb7a058fd0768eb024e44f5
2024-10-14 10:58:36 +00:00
Liangjun Song
8309671a8c
Merge pull request #20684 from overleaf/ls-patch-swagger-tools
...
patch swagger-tools
GitOrigin-RevId: ea37be979f7ba928afe8cc3b8b26c16f3abddbc5
2024-10-14 10:57:17 +00:00
Antoine Clausse
6c2cf20125
Merge pull request #20552 from overleaf/ac-update-node-fetch-2
...
Reapply "Upgrade node-fetch to 2.7.0", Fix fetch-utils tests
GitOrigin-RevId: b42a2d2c50ce73f474e39755845e4df065f30b48
2024-10-01 08:05:18 +00:00
Alf Eaton
1cf1624aea
Remove missing entries from package-lock.json ( #20636 )
...
GitOrigin-RevId: 12f4f3f218b959aab4470cc8deba446719549bce
2024-09-30 08:04:30 +00:00
Liangjun Song
cfd0b39b96
Merge pull request #20557 from overleaf/ls-bump-express
...
update express and other dependencies
GitOrigin-RevId: 22107eab0fa95d534ab07360548ae2b2123776db
2024-09-27 08:04:18 +00:00
andrew rumble
35afb713a3
Upgrade mongodb-legacy and mongoose to latest
...
GitOrigin-RevId: a581ebca5a3c0108ad37a6ea55b7772a065793d9
2024-09-24 08:06:36 +00:00
Alf Eaton
9180d85c87
Replace bson import with mongodb
...
GitOrigin-RevId: f353eb6f76bac55f576c932d868e26322e2e3967
2024-09-24 08:06:15 +00:00
Alf Eaton
da020196b3
Upgrade bson
...
GitOrigin-RevId: 8acce817daab7a2b791e73cbc81ef88ac3a91fbc
2024-09-24 08:06:03 +00:00
Jakob Ackermann
8fa676082e
Merge pull request #20299 from overleaf/jpa-object-persistor-metrics-dep
...
[object-persistor] depend on @overleaf/metrics directly
GitOrigin-RevId: eb0c07af8101d44def14154abb552bc77254e074
2024-09-24 08:05:50 +00:00
Antoine Clausse
2179d62d74
Merge pull request #20549 from overleaf/revert-20165-ac-update-node-fetch
...
Revert "Upgrade node-fetch to 2.7.0"
GitOrigin-RevId: 928df97c6fbc81f21097aaf9c331b0c70eeac002
2024-09-24 08:04:44 +00:00
Antoine Clausse
da3553d800
Upgrade node-fetch to 2.7.0 ( #20165 )
...
* Set `node-fetch` to `^2.7.0`
* Update package-lock.json
```
# root
bin/npm update node-fetch
bin/npm update cross-fetch
# in other path in docker
npm update node-fetch
```
* Update node-fetch patch
* [fetch-utils] Skip the test: destroys the request body if it doesn't get consumed
```
1) fetch-utils
fetchJson
destroys the request body if it doesn't get consumed:
FetchError: Invalid response body while trying to fetch http://example.com:30001/json/ignore-request : write EPIPE
at PassThrough.<anonymous> (/overleaf/node_modules/node-fetch/lib/index.js:400:12)
at PassThrough.emit (node:events:529:35)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
```
* [fetch-utils] Delete the test: destroys the request body if it doesn't get consumed
* Remove the `setTimeout` in the node-fetch patch
Fixes a test and doesn't break filestore acceptance tests
* Update node-fetch patch again: bring changes from https://github.com/node-fetch/node-fetch/blob/e87b093/src/index.js
* Update node-fetch patch again: bring changes from https://github.com/node-fetch/node-fetch/blob/e87b093/src/index.js
* Update node-fetch patches back to single lines
Per https://github.com/overleaf/internal/pull/20165#discussion_r1739035513
GitOrigin-RevId: 945e5a12e838673b7bc87b588b7aca1bcd9109e2
2024-09-24 08:04:39 +00:00
Antoine Clausse
6972186161
[latexqc] Disable cross-origin-*-policy
( #20529 )
...
* [latexqc] Disable `crossOriginEmbedderPolicy`
* [latexqc] Disable `crossOriginOpenerPolicy` and `crossOriginResourcePolicy`
* [latexqc] Update to helmet v7
* [latexqc] Disable `xPermittedCrossDomainPolicies`
GitOrigin-RevId: 36e4138b4ecb29fb8692f174e4f192f6eb554dc9
2024-09-23 08:04:42 +00:00
Antoine Clausse
3c459e2032
[latexqc] Update frontend dependencies ( #20310 )
...
* Add `LaTeX Quality Control` to the readme
* Update dependencies
* Match `web` version
* Update to modern packages
* Update to modern versions
* Import `Link` from `react-router-dom`
* Import Helmet correctly
* Remove `react-router-redux`
It seems that we're not actually getting anything from it (?)
* Update component containers/App
* Revert unecessary changes to containers/App
* Update component containers/Upload
* Revert unnecessary changes to container/Upload
* Fix links
* Add `withNavigation` HOC
* Fix link to `/upload`
* Remove unneeded `navigate` props
* SSR: Use `StaticRouterProvider`
* CSR: Use `createBrowserRouter`
* SSR: Simplify since we don't need to perform queries
* Add `data-testid`s to components
* Update tests (`enzyme` -> `@testing-library`)
* Remove unneeded "before" in tests
* Revert "Remove unneeded "before" in tests"
(actually necessary)
* Rename `devToolsExtension` to `__REDUX_DEVTOOLS_EXTENSION__`
Per https://github.com/zalmoxisus/redux-devtools-extension/issues/220
* Return 404 on invalid paths
* Remove unuseds dependencies
* Re-implement react-router `onUpdate` with `RouteChangedHandler`
It appears that `onUpdate` was removed from react-router
https://github.com/remix-run/react-router/issues/4278
* Update package-lock
* Remove debug log
GitOrigin-RevId: 3244b4266b53ac57a92ed4adc7c0e00b93a6b361
2024-09-20 08:06:00 +00:00
MoxAmber
d9e5411ef3
Merge pull request #20444 from overleaf/td-bs5-add-non-react-types
...
Add types for Bootstrap 5 vanilla JavaScript
GitOrigin-RevId: 94efb0ba8fb0cea65f8a0993940bf76cd197c61e
2024-09-20 08:05:41 +00:00
andrew rumble
e537835718
Remove request dep and move fetch-utils to main deps
...
GitOrigin-RevId: c11bb10ab753bc726332a924b3d13617a1fb3b40
2024-09-17 08:05:12 +00:00
Alf Eaton
090c80a7bb
Remove worker-loader ( #20253 )
...
GitOrigin-RevId: a702c0180c1445e6b14fa8691882870741f8aa3b
2024-09-13 08:05:00 +00:00