Commit graph

733 commits

Author SHA1 Message Date
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