Commit graph

641 commits

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