Commit graph

789 commits

Author SHA1 Message Date
Sam Stagg
78b7bb80f5 Merge pull request #16219 from overleaf/ss-upgrade-crypto-js
Upgrade crypto-js to 4.2.0

GitOrigin-RevId: bae96e7db0e2aee8f511b2a981cd91dfdeedb9fc
2023-12-18 09:04:02 +00:00
Alf Eaton
c2b553e915 [ide-react] Improve file tree and outline components in the editor sidebar (#16225)
* Upgrade react-resizable-panels
* Add FileTreeOpenProvider
* Add OutlineProvider and OutlineContainer
* Convert Outline tests to Cypress

GitOrigin-RevId: afd9ae8190edf37642e36a4ffb331f1182c8982d
2023-12-18 09:03:53 +00:00
Alf Eaton
76d195cd39 Move Storybook back into web (#13219)
GitOrigin-RevId: 61b69b5fd178dd4f5ab26858c434f959dfc410bc
2023-12-15 09:03:15 +00:00
Miguel Serrano
771f07d7ad Merge pull request #16202 from overleaf/msm-passport-upgrade-2
[web] passport + passport-saml updates (post revert)

GitOrigin-RevId: e1fa5757e15b3ac733511570637d39297247e050
2023-12-14 09:03:24 +00:00
Miguel Serrano
369d5cb406 Merge pull request #16190 from overleaf/revert-15519-em-upgrade-passport
Revert "Upgrade passport"

GitOrigin-RevId: 34a5442d6dae9623463908f92ab103bdc16f1b67
2023-12-12 09:04:23 +00:00
Miguel Serrano
be9dd6de07 Merge pull request #16189 from overleaf/revert-13851-msm-saml-upgrade
Revert "Updated passport-saml to 4.x"

GitOrigin-RevId: d84ff0c49a53b9c92c8e5738fe18f111b52d6075
2023-12-12 09:04:18 +00:00
Miguel Serrano
621e5db6e6 Updated passport-saml to 4.x (#13851)
* Install passport-saml ^4.0.4

* update code with passport-saml 4.x breaking changes

* update settings for passport-saml 4.x

* update tests for passport-saml 4.x

* Fix audience validation in group SSO tests

* Added `issuer` to Group SSO settings and metadata test

* Added `wantAuthnResponseSigned: false,` to Group SSO config

* Remove unnecessary settings for metadata test

* renamed createMockCollabratecSamlResponse.js

GitOrigin-RevId: 3a0b1b4ed172b05dffb3e484d50895e8bc118008
2023-12-12 09:04:13 +00:00
Miguel Serrano
d96283e593 Merge pull request #15519 from overleaf/em-upgrade-passport
Upgrade passport

GitOrigin-RevId: b93bfcab39ba3d2ab4efb4814371defec8ca95c4
2023-12-12 09:04:08 +00:00
Mathias Jakobsen
4763cfd59e Merge pull request #16058 from overleaf/jpa-faster-restart
[misc] faster service shutdown in dev-env

GitOrigin-RevId: c5589844aefe3ca097756b188e02354ab518b94d
2023-12-08 09:04:01 +00:00
Alf Eaton
d5b3c10cb5 Upgrade react-resizable-panels (#15998)
GitOrigin-RevId: af799f1a5b4945ad2acbb460806d559fae7416b9
2023-12-06 09:04:40 +00:00
Alf Eaton
9875e55a27 Remove Ace (#14299)
GitOrigin-RevId: ec8788fdbc8aea73ca33ec2810f4e588fe9476b5
2023-11-29 09:04:08 +00:00
Brian Gough
011609b345 Merge pull request #15913 from overleaf/bg-group-sso-fix-signature-error
fix the error message for an invalid saml signature

GitOrigin-RevId: 2987f84f6ff2bea168887ff3e6ad621fb257aeed
2023-11-28 09:04:58 +00:00
Jakob Ackermann
bd6f599c2a Merge pull request #15900 from overleaf/jpa-upgrade-slack-webhook
[misc] upgrade @slack/webhook to latest version

GitOrigin-RevId: 158979d302db3ba57962acb77c6011008bf74296
2023-11-27 09:03:59 +00:00
Alf Eaton
88e4da6e3d Use KeyboardLayoutMap for Emacs key handling where possible (#15803)
GitOrigin-RevId: d675de58fc37d2ea47162ef5449196902566aae8
2023-11-20 09:03:39 +00:00
Alf Eaton
cdd9ff9ed0 Migrate extension to @overleaf/codemirror-tree-view (#15769)
GitOrigin-RevId: 8355158040923a55dafc7b1c3f566f7e7703cb02
2023-11-20 09:03:35 +00:00
Alf Eaton
d2d2a0ff65 Upgrade PDF.js (#15157)
GitOrigin-RevId: a0a241da08c06a7e345a710559cb47fb59685e5a
2023-11-15 09:03:09 +00:00
Alf Eaton
84500f0cb4 Use w3c-keyname in codemirror-emacs (#15675)
GitOrigin-RevId: 78f7dbfcfd7bf8477ec4d0efb9f4c013da4d2bb9
2023-11-10 09:03:55 +00:00
Alf Eaton
c656e99b38 Upgrade CodeMirror search (#15657)
GitOrigin-RevId: d6a850530fe12bf5d4a36caf1d43761bb975419f
2023-11-09 09:02:52 +00:00
Eric Mc Sween
08304b5947 Merge pull request #15588 from overleaf/em-migrations-mongo-timeout
Disable socket timeout when running Mongo migrations

GitOrigin-RevId: 4fd1b9d4b4756951fce3918a01e1c8803538153d
2023-11-07 09:05:08 +00:00
Domagoj Kriskovic
101e7e0c28 [cm6] advanced reference search tooltip (#14953)
---------

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: 8260353d551e68f743faa17de4d7fcfbfd80b22a
2023-11-06 09:04:07 +00:00
Jakob Ackermann
62765e0e14 Merge pull request #15518 from overleaf/jpa-webpack-thread-loader
[web] compile less via thread-loader off the main event loop

GitOrigin-RevId: 44cde525dcbb7caa2db7eff724ba5785c459a013
2023-11-03 09:00:23 +00:00
Jakob Ackermann
79b4f1ec7f Merge pull request #15508 from overleaf/jpa-webpack-upgrades
[web] upgrade all the webpack packages

GitOrigin-RevId: 39283f2ba58ecbc2a51d14a58c6c6b0241448398
2023-11-02 08:52:43 +00:00
Jakob Ackermann
ce2222dcf7 Merge pull request #15525 from overleaf/jpa-cypress-upgrade
[web] upgrade cypress to 13.3.3

GitOrigin-RevId: a76cb2f721ca0b0349a9be073291c1db3d1a58dc
2023-11-01 09:03:05 +00:00
Jakob Ackermann
690f690253 Merge pull request #15385 from overleaf/jpa-remove-fetch-polyfill
[web] remove polyfill for fetch

GitOrigin-RevId: 7954493415631ceffa0f2d5a339ec96f3dc23fe7
2023-10-25 08:04:12 +00:00
Alf Eaton
10348b4544 Merge pull request #15353 from overleaf/ae-upgrade-react-i18next
Upgrade react-i18next to 13.3.1

GitOrigin-RevId: fb2233742a187f1bf39e83f4e9f7ec3fb2a55b8f
2023-10-23 08:03:57 +00:00
Eric Mc Sween
680ebae30b Merge pull request #15172 from overleaf/em-promise-utils
Move util/promises from web into a shared library

GitOrigin-RevId: fe1980dc57b9dc8ce86fa1fad6a8a817e9505b3d
2023-10-20 08:04:05 +00:00
Alf Eaton
adb53b8964 Merge pull request #15303 from overleaf/ae-upgrade-babel
[web] Upgrade Babel dependencies (and Storybook)

GitOrigin-RevId: 60ca3ac6750a189bd6290cab46ac1790e20adf9d
2023-10-20 08:03:41 +00:00
Alf Eaton
0c81bccfca Ensure that translation values are correctly escaped (#15252)
GitOrigin-RevId: 5a38b4c01921fd4d95dbdb7b9e756443fdb00b80
2023-10-20 08:03:31 +00:00
Tim Down
719da5fbd8 Merge pull request #15056 from overleaf/td-ide-connection-load
IDE page: connection manager and loading screen

GitOrigin-RevId: 2cbc8c09aeb36a14eae66da78b267c7a830fb71a
2023-10-17 08:03:13 +00:00
Jakob Ackermann
6b3dac803d Merge pull request #15006 from overleaf/mj-bad-karma
[web] Remove karma tests and config

GitOrigin-RevId: a157f46d1ecf93fcbc99713a1c3aa11f82e5a619
2023-10-16 08:04:20 +00:00
Jakob Ackermann
3e34467e12 Merge pull request #15120 from overleaf/jpa-mj-val-loader
[web] migrate modules-ide/modules-main from val-loader to babel macro

GitOrigin-RevId: 5114dab96d5bf34285ae42f539fed78e2f068a12
2023-10-16 08:04:12 +00:00
Alf Eaton
2519a2c329 Update @codemirror and @lezer dependencies (#15020)
GitOrigin-RevId: 6ce0f31cd184ee10475ee0744ed64cbeb20bec03
2023-10-13 08:03:35 +00:00
Alf Eaton
1335baa7cd Upgrade Cypress to 13.3.0 (#15162)
GitOrigin-RevId: 94cfe15bf79b45abbe9ec94cfc873c9734da434b
2023-10-10 07:57:39 +00:00
Alf Eaton
e7177e2d2d Upgrade @typescript/eslint dependencies (#15163)
GitOrigin-RevId: cf33ec81d1021027b9fe70585eace04345e1b082
2023-10-10 07:57:35 +00:00
Alf Eaton
8a93044a2a Merge pull request #15127 from overleaf/ae-mandrill
Remove Mandrill nodemailer transport

GitOrigin-RevId: e83897fd8d54accec0954b9a36bb502a30cff22f
2023-10-09 08:03:56 +00:00
Alf Eaton
36e5404d43 Upgrade i18next-scanner (#15124)
GitOrigin-RevId: c002089b5c97b0bcf34b09630288ad0940cbafbc
2023-10-06 08:03:57 +00:00
Alf Eaton
dd19a014c2 Merge pull request #15098 from overleaf/ae-postcss
Upgrade postcss-related dependencies

GitOrigin-RevId: 3c2a34b437e336cb551f8d286c301b5b9b36b272
2023-10-05 08:04:36 +00:00
Jakob Ackermann
efb36b7193 Merge pull request #14698 from overleaf/bg-sg-use-node-watch
[misc] replace nodemon with "node --watch"

GitOrigin-RevId: 8b34861887b39ffe1c64d9e4679f8ebef09302bd
2023-10-03 08:04:36 +00:00
Tim Down
ea1fc5f74e React IDE page shell (#14988)
* React IDE page shell

* Set the maximum height of the symbol palette to 336px

* Tidy export

* Remove unnecessary destructuring

* Update comment

* Optimize toggle

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

* Change snap-to-collapse threshold to 5%

* Synchronize left column width between history and editor views and remove duplication in ide-page

* Replace resizer dots with SVG

* Rermove unnecessary import and comment the remaining ones

* Use block prepend to avoid duplication

* Improve vertical content divider styling

* Implement fixed width during container resize on left column

* Change IDE page file extension

* Refactor fixed-size panel into a hook and use for chat panel

---------

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: aa881e48a2838a192b6f8f9e16e561f5cd706bd3
2023-10-03 08:04:04 +00:00
Jakob Ackermann
9daa8f5d98 Merge pull request #15040 from overleaf/jpa-js-to-jsx
[web] rename all the JSX files to .jsx/.tsx

GitOrigin-RevId: 82056ae47e017523722cf258dcc83c8a925a28f7
2023-09-29 08:04:29 +00:00
Jakob Ackermann
1213709578 Merge pull request #14980 from overleaf/jpa-debug-console
[web] migrate frontend logging to debugConsole

GitOrigin-RevId: b03ff9030b03fff059738d2270bc4b4912e79f16
2023-09-28 08:04:12 +00:00
Jimmy Domagala-Tang
6ffaeb7a92 Merge pull request #14933 from overleaf/jdt-dependabot-mongo-monorepo
fix: update mongo and dependencies
GitOrigin-RevId: 8ea29e74b9b91bbfa42c3786b6690cff4be660cc
2023-09-27 08:03:56 +00:00
Tim Down
994fcd68e2 Merge pull request #14903 from overleaf/revert-14869-revert-14603-td-upgrade-semver
Restore "Upgrade semver"

GitOrigin-RevId: 6eb5fcd3a5489d5f3968e1da2ab11341aba7d63b
2023-09-21 08:03:43 +00:00
Tim Down
d04a1d3767 Merge pull request #14869 from overleaf/revert-14603-td-upgrade-semver
Revert "Upgrade semver"

GitOrigin-RevId: 176399bbb91706e12aacba7ec9370093d8b957b5
2023-09-19 08:03:47 +00:00
Tim Down
6be4626fa9 Merge pull request #14603 from overleaf/td-upgrade-semver
Upgrade semver

GitOrigin-RevId: e3d950128dadd86928ec432b16610219e16fa40e
2023-09-19 08:03:41 +00:00
Alf Eaton
73413f0b33 Upgrade @codemirror dependencies (#14734)
GitOrigin-RevId: 89a1c6dc0b4dd93783caf0614c13b8a42f77c0b5
2023-09-15 08:04:36 +00:00
Alf Eaton
ccb0a1bff8 Merge pull request #14666 from overleaf/ae-babel-plugin-module-resolver
Fix import alias handling for mocha and Storybook

GitOrigin-RevId: aa2fd23bb1ca1ebc44afc725258bc61d3d100038
2023-09-12 08:03:53 +00:00
Alf Eaton
d5a3c4c303 Upgrade @codemirror and @lezer dependencies (#14387, #14388)
GitOrigin-RevId: 10282a1099f63b6a6ec2c6462f399b85e81f4763
2023-08-30 08:04:15 +00:00
Jakob Ackermann
b0f5003708 Merge pull request #14091 from overleaf/jpa-split-web-dependencies
[web] only include production dependencies in the production image

GitOrigin-RevId: edb33543145903de55f263de7385f6a779830b54
2023-08-24 08:03:31 +00:00
Alf Eaton
a4fb08b0b9 Pin @lezer/generator in @codemirror/autocomplete (#14397)
GitOrigin-RevId: 746b02b2f547f9b71f935fea482312636f592f4d
2023-08-18 08:05:28 +00:00
Alf Eaton
c8f0885316 Remove CM5 Rich Text module (#11776)
GitOrigin-RevId: 812d3b5f1df7e769c8be732ccb31653e8e9a8aa3
2023-08-16 08:03:35 +00:00
Jakob Ackermann
bf7aed0e21 Merge pull request #14309 from overleaf/jpa-docker-compose
[web] use docker compose v2

GitOrigin-RevId: 12a262ddc1ca47faf1a3036ee6495c2052a6d5f2
2023-08-15 08:03:17 +00:00
ilkin-overleaf
b5ae499315 Merge pull request #14137 from overleaf/ii-i18next-scanner-upgrade
Upgprade i18next-scanner

GitOrigin-RevId: 5c0f2e771a6e6cb11bddeb275bc358a275ac4d3f
2023-08-04 08:03:57 +00:00
Jakob Ackermann
bf2e33ec83 Merge pull request #14023 from overleaf/jpa-web-clsi-fetch
[web] migrate CompileController from request to node-fetch

GitOrigin-RevId: ffb3319319d7f986ec972b4b6c56bd5499ecd9ab
2023-08-04 08:03:39 +00:00
Miguel Serrano
56dcb129cb [web] update mongoose versions (#13953)
* [web] update mongoose and mongodb versions

Updates mongoose version in web and
templates, also in web updates the mongodb
driver to match the version in mongoose

* lockfile changes on npm install

GitOrigin-RevId: 9cb58adba67282e198fe25662ec08509a5bdee10
2023-07-20 08:05:16 +00:00
Alf Eaton
3a02fbf39d Upgrade Cypress to 12.17.1 (#13827)
* Upgrade Cypress to 12.17.1
* Set CYPRESS_INTERNAL_BROWSER_CONNECT_TIMEOUT

GitOrigin-RevId: 292cdf37e3aa90afc10469663d48f7801e204fa8
2023-07-20 08:04:42 +00:00
M Fahru
9247b01839 Revert "Pin tough-cookie to version 4.0.0 to prevent being updated by npm audit fix."
This reverts commit 2a583b3673573984b425a98ee94c95ff4db27124.

GitOrigin-RevId: a5fe75f79f6ea7ff30c5f80c9e4cca85edea9b39
2023-07-18 08:05:59 +00:00
M Fahru
6d2e19fc79 Pin tough-cookie to version 4.0.0 to prevent being updated by npm audit fix.
`npm audit fix` will update `touch-cookie` to version `4.1.3` which seems to be a breaking update for our usage.

GitOrigin-RevId: 2a583b3673573984b425a98ee94c95ff4db27124
2023-07-18 08:05:34 +00:00
Alf Eaton
ec38d1a3d0 Merge pull request #13913 from overleaf/ae-cypress-chrome
Run Cypress tests in CI using Chrome

GitOrigin-RevId: ce788a85e126fe4484b55c583ba1065e6d5ffc9f
2023-07-18 08:05:26 +00:00
Eric Mc Sween
28e87a9314 Merge pull request #13760 from overleaf/em-fetch-utils-web
Use fetch-utils in web

GitOrigin-RevId: cbd0298200bbe42567c6e94934bfb5114fa9b66f
2023-07-17 11:02:40 +00:00
M Fahru
1b12b51f51 Merge pull request #13727 from overleaf/mf-upgrade-less-latest
upgrade `less-loader on tool/storybook & services/web directory

Upgrade less-loader on tools/storybook to the latest version to fix npm dependency resolution problem.

The less-loader from storybook seems to be conflicting with the less-loader from web services. Web services recently have their webpack loaders updated, which probably causing this error: #13148

To make sure web also have the same version, the less-loader in web is also upgraded.

GitOrigin-RevId: a6449f5d4fcf0516e6f5c1bdb483a0bf433fe347
2023-07-17 10:57:45 +00:00
Eric Mc Sween
75a86bab87 Merge pull request #13537 from overleaf/em-promisify-clsi-manager-2
Promisify ClsiManager

GitOrigin-RevId: e785cdb1989b433f7baa1a4d974b09ba3a93fcbd
2023-07-17 10:54:40 +00:00
Mathias Jakobsen
67e7621633 Merge pull request #13572 from overleaf/mj-bibtex-grammar
[cm6] Add support for bibtex

GitOrigin-RevId: 28bc8e47c53df1612c1e30cf690e893b0bbf500c
2023-07-17 10:47:59 +00:00
Alf Eaton
62533ace6d Use StringQuery and selectWord from @codemirror/search (#12828)
GitOrigin-RevId: 23b3e6a5db8583646f378cef52f41889a73a3672
2023-07-17 10:44:26 +00:00
Alf Eaton
adbccde085 [cm6] Move cursor over existing closing brace when inserting a required parameter (#13494)
* Move cursor over existing closing brace

* Update package-lock.json

* Update tests

GitOrigin-RevId: dd729e41c2174d9f4563f2f47efcc075c7453ced
2023-07-17 10:44:06 +00:00
Alf Eaton
789253e41d Merge pull request #13553 from overleaf/ae-upgrade-codemirror-view-2
Upgrade `@codemirror/view` to 6.14.0

GitOrigin-RevId: 65a34b4c5b46c7a094200c5524b114de912bb137
2023-07-17 10:43:56 +00:00
Mathias Jakobsen
af76768eb7 Merge pull request #13372 from overleaf/mj-captcha-add-email
[web] Add recaptcha to add-email

GitOrigin-RevId: 0540e0dbc3103dcaac87dd7fabeedbc5892c371c
2023-07-17 10:40:08 +00:00
Alf Eaton
a4d1ac2f13 Merge pull request #13477 from overleaf/ae-bottom-padding
[cm6] Improve bottom padding calculations

GitOrigin-RevId: 91fff97ebf6675cddffdd89118fd06f003321143
2023-07-17 10:36:00 +00:00
Alf Eaton
d5dbca09df Merge pull request #13441 from overleaf/ae-downgrade-cypress
Downgrade Cypress to 12.11.0

GitOrigin-RevId: ce94b1b8aed2fe738603fdc768ba6476e4fd8488
2023-07-17 10:35:40 +00:00
Alf Eaton
7bed264d16 Merge pull request #13455 from overleaf/ae-lint-tokens
Fix linting in lezer-latex tokens file

GitOrigin-RevId: 2a2b5e8a05455da5f1260710ed34ae605fa8d3c1
2023-07-17 10:35:30 +00:00
Alf Eaton
b615095696 Merge pull request #13457 from overleaf/ae-upgrade-codemirror-view
Upgrade `@codemirror/view` to 6.13.1

GitOrigin-RevId: ebed7986d1ed5de156a72501db0aeb3d12b6d869
2023-07-17 10:35:20 +00:00
ilkin-overleaf
e514e97305 Merge pull request #13438 from overleaf/ii-review-panel-toolbar-shell
[web] Create review panel toolbar shell

GitOrigin-RevId: 561fb18e1239c9b96b52944716a83cf3b8606677
2023-07-17 10:34:04 +00:00
Alf Eaton
de17f883f7 Merge pull request #13222 from overleaf/ae-less-cleanup
Remove unused plans style and less-plugin-autoprefix

GitOrigin-RevId: 33d353d4d97804d25e4461d0cde8fbba507b409c
2023-07-17 10:29:25 +00:00
Alf Eaton
5382178309 Merge pull request #13223 from overleaf/ae-typescript-upgrade
Upgrade TypeScript to v5

GitOrigin-RevId: 55d98c0e8fdeb39c1297b4472f0d604e25af995b
2023-07-17 10:29:14 +00:00
Alf Eaton
4b968017a0 Upgrade core-js to v3.30 (#13246)
GitOrigin-RevId: cfff35c53e4acdf712b311e0aa3bf674534b3131
2023-07-17 10:29:03 +00:00
Miguel Serrano
7e6613a1a0 Merge pull request #13327 from overleaf/msm-web-track-changes-cleanup
[web] Cleanup track-changes from web

GitOrigin-RevId: 8cef709ec5e91e4ffe8cd06826038ed84f36ef67
2023-07-17 10:28:12 +00:00
Miguel Serrano
a9da694036 Merge pull request #13261 from overleaf/msm-replace-referer-parser
[web] Replace `referer-parser` with fork

GitOrigin-RevId: 2ceedee477af652c8a71911513deefac6dd5ae12
2023-06-02 08:06:51 +00:00
Eric Mc Sween
12e7471213 Merge pull request #12916 from overleaf/bg-move-stream-buffer-code-to-library
move stream-related code to separate  `@overleaf/stream-utils` library

GitOrigin-RevId: a79a873109b927b4fc0ae36f47d5c67e0df58041
2023-06-02 08:05:57 +00:00
Alexandre Bourdin
5b76b08a99 [web] Split test slack notifications (#13186)
* first test of notification

* add notification in all methods

* Format variants, store modification author

* Move webhook URLs to saas settings

* Add split test admin URL in notification payload

* Display modifications author in split test admin

* Extract modals from split test edit page

* Confirmation modal for reverting a test, add/show comments, show version badge

* Update integration tests and populate authors on save

* Show version history button even with 1 version

* Fix linting

* Set slack webhook URLs for staging and prod

* Update conditions to display split test admin modals

* Extract the split test creation modal into a separate component

* Extract split test slack notification management into a separate module

---------

Co-authored-by: Lucie Germain <lucie.germain@overleaf.com>
GitOrigin-RevId: 8b69b4b2318b87312fbdd4c02e13c1a6f920a8e9
2023-05-31 08:04:31 +00:00
Alf Eaton
510e686b7b Upgrade ESLint plugins (#13153)
GitOrigin-RevId: 9cd0b4429a9c2b3df9c18957aef21ef021e5fdfd
2023-05-25 08:05:34 +00:00
Alf Eaton
6926c4bd84 Upgrade Cypress to 12.12.0 (#13152)
GitOrigin-RevId: 3336c03f06645d40374dbfa13214141d3c48dcee
2023-05-25 08:05:25 +00:00
Alf Eaton
929e383ed5 Merge pull request #13151 from overleaf/ae-testing-library-upgrades
Upgrade @testing-library dependencies

GitOrigin-RevId: d1be1cf58eccb5acdbac68ab48a31ab960ad72bc
2023-05-25 08:05:15 +00:00
Alf Eaton
eeb2aae681 Merge pull request #13148 from overleaf/ae-babel-upgrades
Upgrade webpack and babel dependencies

GitOrigin-RevId: ca3529396d8a2a4f5f061591a8cd79a5d709efd0
2023-05-25 08:05:06 +00:00
Alf Eaton
1f7d317db9 Upgrade pdf.js to 3.6.172 (#13112)
GitOrigin-RevId: 030528343f271a1fc1e07c3bba358873173bec76
2023-05-18 08:04:03 +00:00
Alf Eaton
7f795e4c8b Use content-disposition for setting the Content-Disposition header (#13072)
GitOrigin-RevId: f84100beb5e00485be4732c954b5ee553fe18558
2023-05-17 08:05:10 +00:00
Alf Eaton
e7b33415a1 Merge pull request #13088 from overleaf/ae-upgrade-view
Upgrade `@codemirror/view` to v6.11.2

GitOrigin-RevId: 9f7bfa7dbbfcb8628f26d1c5f4b1c15415446a73
2023-05-17 08:04:31 +00:00
Brian Gough
e46567b696 Merge pull request #12195 from overleaf/bg-use-glob-ignore
Change ignored file matching to use standard `minimatch` module

GitOrigin-RevId: ef8f13c039015e7bb9894441fb6170703941653c
2023-05-16 08:03:53 +00:00
Alf Eaton
b1929cf16d [cm6] Improve symbol completion ranking (#12902)
GitOrigin-RevId: 8ccc87c2b86636bd37a3472d36873ade9a190209
2023-05-08 08:04:09 +00:00
Alf Eaton
6c21f0821c [cm6] Handle multiple selection ranges when applying snippets (#12830)
* Use fork of @codemirror/autocomplete
* Handle multiple selection ranges when applying snippets

GitOrigin-RevId: 04afc087ac127206463ea3d4950284a50308364a
2023-05-04 08:04:39 +00:00
Alf Eaton
e0d9069131 [cm6] Add "within selection" option to the search form (#12798)
* Use forked @codemirror/search
* Use getPanel to get the search panel
* Remove layer-based highlightSelectionMatches
* Add "within selection" option to the search form
* Add test for "replace all within selection"
* Fix tests

GitOrigin-RevId: 95ce76fd017f96278b04c16a1fd34f785f7504a3
2023-05-01 08:05:02 +00:00
Alf Eaton
40cbfc451a [cm6] Improve search match scrolling into view (#12787)
GitOrigin-RevId: 6ce9b86253a9c3a2c6ff44c10f78204ff16bd6e2
2023-05-01 08:04:27 +00:00
Alf Eaton
f3205c1d06 Merge pull request #12768 from overleaf/ae-upgrade-codemirror-3
[cm6] Upgrade CodeMirror dependencies

GitOrigin-RevId: aa2d3473deee940fc86ac18261c0e0c35af53711
2023-05-01 08:04:07 +00:00
Miguel Serrano
a8885b1720 OAuth server: generate GitHub-style tokens (#12617)
* Add `base-x` and `crc-32` dependencies

* OAuth server: generate GitHub-style tokens

GitOrigin-RevId: c128742a37d53f1902ccfaf75fa1c5ca5adfdbf2
2023-04-25 08:07:18 +00:00
Jimmy Domagala-Tang
45797f8bb6 Merge pull request #12764 from overleaf/jpa-remove-unused-http-proxy
[web] remove unused http-proxy dependency

GitOrigin-RevId: bc1e30d1ce175e1f5c88614ab6f2fbbeb5d863a5
2023-04-25 08:07:09 +00:00
Mathias Jakobsen
4341abcf64 Merge pull request #12678 from overleaf/mj-cm6-vim-upgrade
[cm6] Upgrade codemirror-vim

GitOrigin-RevId: 2f57c338a69c19bf6bd6525debd10e5e6eb1269f
2023-04-21 08:03:05 +00:00
Mathias Jakobsen
c2292a8567 Merge pull request #12677 from overleaf/ae-codemirror-view-upgrade
[cm6] Upgrade CodeMirror dependencies

GitOrigin-RevId: cc973b1c5b23eca0fc93a9b3a970c832212e47af
2023-04-21 08:02:53 +00:00
Alf Eaton
924012e21f [cm6] Avoid overwriting themed syntax highlighting colours when editing Markdown (#12648)
GitOrigin-RevId: ed5d558544839978862004a8b7feb80806a2100d
2023-04-19 08:03:04 +00:00
Mathias Jakobsen
4b2cc907e2 [cm6] Change Emacs commands to visual-line-mode (#12523)
* [cm6] Change Emacs commands to visual-line-mode
* [cm6] Change line deletion commands to visual line mode

GitOrigin-RevId: 7a4f3d66bec611de410b6c1fbafbfe33b974e37b
2023-04-17 08:05:08 +00:00
Alf Eaton
161decd67d Upgrade @codemirror/view (#12574)
* Upgrade @codemirror/view
* Disable emptyLineFiller extension

GitOrigin-RevId: 57ce4194ece0ea448e24184f0b3a3e13352cb014
2023-04-17 08:04:00 +00:00
Tim Down
7f37ba737c Move source editor out of module (#12457)
* Update Copybara options in preparation for open-sourcing the source editor

* Move files

* Update paths

* Remove source-editor module and checks for its existence

* Explicitly mention CM6 license in files that contain code adapted from CM6

GitOrigin-RevId: 89b7cc2b409db01ad103198ccbd1b126ab56349b
2023-04-13 08:40:56 +00:00
Alexandre Bourdin
04c204f989 [web] Colour picker for tags (#12255)
* Base for color picker

* React color picker and updated modals

* Add tag color picker to mobile dashboard

* Update existing tests and fix disable save button condition

* CSS adaptations for desktop modal streched into mobile display

* Update TagsController tests

* Add aria-hidden label on color pickers

* Fix linting

* Fix project list test

* Select random color when creating tag

* Cleanup leftovers in project list context

* Test cleanup

* Pre-select custom color and store local color while picking

* Add type to preset colors

* Add css fix to override disabled button opacity

* Skip redundant check

* Fix linting

* Add back btn-secondary on manage tag modal after rebase

GitOrigin-RevId: a4cf24e85cc0ca01466f4bf9c77482be8360e68e
2023-04-13 08:04:03 +00:00
Alexandre Bourdin
25282f720e Merge pull request #12542 from overleaf/ab-reorder-config-local-env
Reorder config loading for local env web

GitOrigin-RevId: 86a2ba22aa684b09691458ee4be87151c0b4be51
2023-04-07 08:03:54 +00:00
Alf Eaton
0227f186c5 Merge pull request #12389 from overleaf/mj-indentation-markers-update
[web] Update codemirror-indentation-markers

GitOrigin-RevId: 709a61cc4c9e21703313d17d6c3d8fe5632d6b10
2023-03-30 08:03:38 +00:00
Alf Eaton
d58b6e69e1 Upgrade CodeMirror dependencies (#12332)
GitOrigin-RevId: a227087580d210fdac5af9f0e6f820881a9c6ff0
2023-03-30 08:03:05 +00:00
Tim Down
e956ccfdaa Merge pull request #12201 from overleaf/td-cm6-update-view-6-9-2
Update CM6 view package and revert custom cursor blink

GitOrigin-RevId: ed0db2621f8a3533b76fb05c4a8d34ea61edc907
2023-03-16 09:04:50 +00:00
Tim Down
973902ced6 [cm6] Search panel keyboard navigation (#11639)
Implement search panel keyboard navigation using CSS grid, order and offscreen checkboxes

GitOrigin-RevId: 67985d5ba90e8c139cbc505e4c380fc9c08337eb
2023-03-16 09:04:41 +00:00
Christopher Hoskin
aad001a684 Merge pull request #12107 from overleaf/csh-issue-11902-try-324
Upgrade passport-saml from 3.2.3 to 3.2.4

GitOrigin-RevId: 93deb0d037c3964a874198e3fd1463155969ac10
2023-03-08 09:04:19 +00:00
Eric Mc Sween
65976cb363 Merge pull request #11869 from overleaf/em-upgrade-mongoose-web
Upgrade Mongoose and the Mongo driver in web

GitOrigin-RevId: 2cad1aabe57eae424a9e4c68b2e0062f0e78ffaf
2023-03-01 09:03:27 +00:00
Jessica Lawshe
124306d7ac Merge pull request #11819 from overleaf/jel-subscription-dash-change-to-group-prices
[web] Show price in change to group plan modal on React subscription dash

GitOrigin-RevId: 6a1a4be3a7d008cd9e26186c2d97bc0bdc2f82ed
2023-02-22 09:05:13 +00:00
Tim Down
f0d0a3a38d Merge pull request #11848 from overleaf/td-mj-indentation-markers
[cm6] Indentation markers

GitOrigin-RevId: 54450f2aa6a6e251854f3709774939e2e53a3807
2023-02-21 09:04:01 +00:00
Tim Down
31bf1f0183 Merge pull request #11849 from overleaf/td-cm6-update-view-6-9
Update CM6 dependencies

GitOrigin-RevId: beccd421db603fccea34785b2c691da845c2d51d
2023-02-21 09:03:53 +00:00
Tim Down
84bf52206e Merge pull request #11853 from overleaf/td-passport-saml-lock
Update package-lock.json with correct passport-saml version string

GitOrigin-RevId: 4ed9daea1e12ab8768e5b9020fd7bdb3ef23e60a
2023-02-21 09:03:45 +00:00
Christopher Hoskin
b531105446 Merge pull request #11807 from overleaf/csh-issue-11777-use-upstream-passport-saml
Use upstream passport-saml 3.2.3

GitOrigin-RevId: b2c951686ba859f15e87709d257ebd6b034689b0
2023-02-16 09:04:05 +00:00
Tim Down
1a4011fb61 Merge pull request #11732 from overleaf/td-remove-cm6-indentation-markers
[cm6] Remove indentation markers for now

GitOrigin-RevId: 0281abf1dc27a68ce41e99e1ebd5f00266b1e362
2023-02-09 09:06:53 +00:00
Eric Mc Sween
1073c08c10 Merge pull request #11601 from overleaf/em-upgrade-oauth2-server
Upgrade oauth2-server

GitOrigin-RevId: 428dddb53cd66d5385380d678c680a6e9cededb5
2023-02-09 09:06:14 +00:00
June Kelly
2683ca5d4a Merge pull request #11721 from overleaf/td-update-cm6-view-6-8
Update CM6 and Lezer packages, remove custom toggleFold

GitOrigin-RevId: 0601ca7662fb1793c5cbc242933d92634540b948
2023-02-09 09:05:32 +00:00
Mathias Jakobsen
7bae6f1397 Merge pull request #10393 from overleaf/mj-cm6-indentation-markers
[cm6] Add indentation markers

GitOrigin-RevId: 29538d549e5d347841621d75b74052552f19630b
2023-02-08 09:05:37 +00:00
ilkin-overleaf
db54475bd0 Merge pull request #11525 from overleaf/ii-payment-page-migration-init
[web] Payment page migration initialisation

GitOrigin-RevId: f33b73a13b96fad3cddf0c0205d05df678ce5300
2023-02-02 18:21:52 +00:00
Eric Mc Sween
c0ae1f4c90 Merge pull request #11545 from overleaf/em-upgrade-sanitize-html
Upgrade sanitize-html to 2.8.1

GitOrigin-RevId: a945fa844b0bed54b773048e8b4d680638447731
2023-02-02 09:03:11 +00:00
Jessica Lawshe
af818e9859 Merge pull request #11546 from overleaf/em-fix-github-deps
Use GitHub style deps in package.json

GitOrigin-RevId: 9b8ef56d7b2684a5a3c7af29090215deeee4d441
2023-02-01 09:05:19 +00:00
Jakob Ackermann
9e6a767c96 Merge pull request #11544 from overleaf/jpa-re-encrypt-access-tokens
[misc] add scripts for rotating all the encrypted access-tokens

GitOrigin-RevId: ce3374bb5d318a7f16a416ac1719a819c1160fb4
2023-02-01 09:03:56 +00:00
Eric Mc Sween
75abea72b0 Merge pull request #11492 from overleaf/em-rate-limiter
Move all remaining rate limiters to rate-limiter-flexible

GitOrigin-RevId: 163ab2aebecb281057e552dc75591dd02028990c
2023-01-31 09:03:44 +00:00
Mathias Jakobsen
a87d44ffdd [cm6+rt] Add cypress tests for atomic decorations (#11486)
GitOrigin-RevId: c8bd264603dbb8eb5354d07f8d277010aeb9a2c0
2023-01-27 12:03:53 +00:00
Jakob Ackermann
0f7f564510 Merge pull request #11221 from overleaf/em-upgrade-requestretry
Upgrade requestretry to 7.1.0

GitOrigin-RevId: 73a89bf9f4165325e1b3f01d36a17df4d442ef13
2023-01-27 09:04:42 +00:00
Jakob Ackermann
8541dc08fb Merge pull request #11210 from overleaf/em-upgrade-jsonwebtoken
Upgrade jsonwebtoken to 9.0.0

GitOrigin-RevId: 9d16fe64418c3c27e4380382f805a567bb68352e
2023-01-27 09:04:34 +00:00
Eric Mc Sween
deb7d82e68 Merge pull request #11435 from overleaf/em-price-increase-script
Script to increase prices for existing customers

GitOrigin-RevId: 8b5357b05a9f09f2ed1b2b52f5dff8d296d06bf3
2023-01-26 09:04:21 +00:00
Eric Mc Sween
c59b28d315 Merge pull request #11207 from overleaf/em-upgrade-express
Upgrade express to 4.18.2

GitOrigin-RevId: 07c450f31d3324429ac06719aa2bddb53ddce4b5
2023-01-25 09:06:11 +00:00
Tim Down
ea02de3e28 Merge pull request #11367 from overleaf/td-update-vim-emacs-cursor-fix
Update Vim and Emacs keybinding packages

GitOrigin-RevId: 361396820a813a0dc94068b5c8a35ceba002bcf0
2023-01-24 09:05:43 +00:00
Tim Down
ce14ced75c Merge pull request #11352 from overleaf/td-upgrade-cm6-packages-jan-2023
Upgrade all CM6 and Lezer dependencies to latest

GitOrigin-RevId: 2030d7b78d2f6545fc67cd477628ad24f77fbc09
2023-01-24 09:05:35 +00:00
Tim Down
9ab12f3b44 Merge pull request #10966 from overleaf/td-add-coop-header
Upgrade Helmet to add some security-related response headers, including COOP

GitOrigin-RevId: fce8538b004f7b3ba6c6ca65ad311957d75b496a
2023-01-24 09:05:27 +00:00
Eric Mc Sween
85ec5c9fbf Merge pull request #11198 from overleaf/em-upgrade-connect-redis
Upgrade connect-redis to 6.1.3

GitOrigin-RevId: b19080576403e6b7d52e208c72132a6fc452eb25
2023-01-24 09:05:12 +00:00
Alf Eaton
8b610d2d1c Use MathJax v3 on the editor page (#11330)
GitOrigin-RevId: 5e51404c54e49735988f399ea080b6cb4be726d3
2023-01-24 09:03:58 +00:00
Eric Mc Sween
f97a543d41 Merge pull request #11255 from overleaf/em-rate-limiter
Introduce rate-limiter-flexible

GitOrigin-RevId: c787397e276fb81015c7d045d191f2ad81ef542d
2023-01-18 09:04:51 +00:00
Eric Mc Sween
d01e83b453 Merge pull request #11170 from overleaf/em-upgrade-mocha
Upgrade mocha to 10.2.0

GitOrigin-RevId: e49606c73e813904d9b794792a838a951a814585
2023-01-17 09:06:28 +00:00
Alf Eaton
dbef19d0d6 Improve Rich Text typography (#11157)
* Replace @fontsource/noto-serif with local Noto Serif fonts
* Make more use of CSS variables in theme
* Make sure the chosen font is used for monospace
* Increase the weight of section headings
* Set link colours
* Rename variable to --source-font-family

GitOrigin-RevId: e14856a619829e075e71bf2df9b799fe0b45acea
2023-01-12 09:03:19 +00:00
Alf Eaton
84f3d52f3b Rich Text typography improvements (#11102)
GitOrigin-RevId: 04658c09aa265a6bba0523a7789913b4c5a852c9
2023-01-11 09:04:42 +00:00
Alf Eaton
cda947d1ac Remove sysend dependency (#10852)
GitOrigin-RevId: c3d9601256af8720ab41264609cb5c5c810afbba
2023-01-10 09:04:37 +00:00
Alf Eaton
0b14c55d24 Upgrade Cypress to v12 (#11011)
* Upgrade Cypress to v12.2.0
* Remove cy.unmount
* Only record video in CI
* Remove unmount definition and @cypress/react

GitOrigin-RevId: 463bc216b1debc65ad066f7c1d479724cfa062d1
2023-01-06 09:03:55 +00:00
Alexandre Bourdin
55e05d2fb6 Merge pull request #10933 from overleaf/ab-hackathon-split-tests-fancy-dash
[web/analytics] Split test dashboard improvements

GitOrigin-RevId: 7711060111c043a3002f30381c292249a84c320e
2022-12-21 09:05:50 +00:00
Alexandre Bourdin
971dabb1f8 Merge pull request #9116 from overleaf/ab-script-group-membership-sync
[web] Script & cron job to synchronize group subscriptions memberships in BQ

GitOrigin-RevId: 0180f7586eb520f37d4d600bcb8d3eeea36a538a
2022-12-21 09:05:42 +00:00
Alf Eaton
1867584bf6 Merge pull request #10899 from overleaf/ae-cm-upgrade
Upgrade `@codemirror` and `@lezer` packages

GitOrigin-RevId: 190786aa520e54153217a2454a21c10d8851a63c
2022-12-16 09:02:56 +00:00
June Kelly
ccd509ff6d Merge pull request #10771 from overleaf/mj-emacs-improvements
[cm6] Update emacs extension

GitOrigin-RevId: 915e28c2c8ede463741c18e5617028edb51c65d4
2022-12-12 09:03:45 +00:00
Jessica Lawshe
7a2c91b2cb Merge pull request #10814 from overleaf/jel-premium-badge
[web] Use new rich text type on CMS and render premium badge

GitOrigin-RevId: 14b1f5452dfb99cbba907425f3a2ffdafb7d8bb0
2022-12-09 09:05:05 +00:00
Alf Eaton
12af54069c Merge pull request #10787 from overleaf/ae-pdfjs-3
Start upgrading pdf.js to the latest version

GitOrigin-RevId: e7d8c6dedb0fe58ba31626408df81fd42ba1ca3b
2022-12-09 09:03:53 +00:00
Mathias Jakobsen
0e30718892 Merge pull request #10731 from overleaf/mj-vim
[web] Upgrade codemirror-vim CM6 extension

GitOrigin-RevId: 202ff178083a9a20c525447288a263cbf6190e1f
2022-12-02 09:04:21 +00:00
Jakob Ackermann
db4d5f2522 Merge pull request #10686 from overleaf/jpa-upgrade-multer
[web] upgrade multer

GitOrigin-RevId: 4f43c783733f495eaed4df16ae9c9fc5b1186254
2022-12-01 09:04:07 +00:00
Alf Eaton
12885bc9ec [cm6] Highlight the active visible line (#10441)
* Remove background opacity from selection
* Remove highlightActiveLine and highlightActiveLineGutter extensions
* Add new highlightActiveLine extension
* Adjust zIndex for layers
* Ensure the output file ends with a newline
* Update themes
* Remove the active line highlight when text is selected
* Disable emptyLineFiller temporarily

GitOrigin-RevId: a3228d3441ee2eac136768c3d0788ec471559cd9
2022-11-29 09:04:18 +00:00
Alf Eaton
a619225872 Upgrade CodeMirror dependencies (#10483)
* Upgrade CodeMirror dependencies
* Re-enable emptyLineFiller extension

GitOrigin-RevId: 86291af24e1669b8509bad5a799e18c2a176ae87
2022-11-18 09:04:11 +00:00
Alf Eaton
b11c18d04e Merge pull request #10364 from overleaf/ae-upgrade-codemirror
Upgrade CodeMirror and Lezer dependencies

GitOrigin-RevId: 1f2a25206030c69fa3d72ed618a2f9a69f478910
2022-11-10 09:03:30 +00:00
Simon Detheridge
3d9c8f80f4 Merge pull request #10227 from overleaf/spd-td-opentelementry
Add opentelemetry to dev environment

GitOrigin-RevId: 31a8234197337a264412b411429692525793c8b0
2022-11-01 09:04:53 +00:00