Commit graph

502 commits

Author SHA1 Message Date
Alf Eaton
e0d2b3f29a Upgrade Cypress to 10.2.0 (#8545)
GitOrigin-RevId: 0818a67f57fed3cbde4453dd1c2949d8d20b7ab0
2022-06-24 08:04:09 +00:00
June Kelly
3d38087297 Merge pull request #7880 from overleaf/jk-cm6-parser-migrate-to-web
[web] CM6: Migrate lezer parser to web

GitOrigin-RevId: d6f63ab2f3440292373bcc814c3769285be47c2b
2022-06-24 08:03:44 +00:00
June Kelly
a450a74351 Upgrade async package to 3.2.2 (#8447)
* Revert "Revert "Bump async to 3.2.2 (#7618)""

This reverts commit 75153a555211d654744c2e61e27fe21085826c22.

* [web] fix usage of async.queue.drain in script

* [clsi] fix usage of async.queue.drain

* [spelling] fix usage of async.queue.drain

* [redis-wrapper] fix usage of async.queue.drain

* [web] Test that LockManager queue is cleared

This protects against a regression found when upgrading the
async package. Here we test that the `queue.drain` callback
is really getting called, and the lock is being removed from
the LOCK_QUEUES map.

* [redis-wrapper] Upgrade async to 3.2.2

GitOrigin-RevId: df921e6d7f1d505bd467f22e58600ba1aff48869
2022-06-22 08:03:35 +00:00
Jakob Ackermann
8cdb746628 Merge pull request #8434 from overleaf/revert-7618-dependabot-npm_and_yarn-async-3.2.2
Revert "Bump async to 3.2.2"

GitOrigin-RevId: a5deaea558011fa5a2e1aebe07856e8b0c87c4fc
2022-06-16 08:03:10 +00:00
dependabot[bot]
d55f4dfafa Bump async to 3.2.2 (#7618)
[all] Upgrade async package to 3.2.2

- [web] Fix usages of async library
- [project-history] Fix usage of async library
- [third-party-references] Fix usage of async library
- [track-changes] Fix usage of async library

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: June Kelly <june.kelly@overleaf.com>
GitOrigin-RevId: 90cf132f13da53b2bd6690ee3cdf4d6c8563ecd2
2022-06-16 08:02:49 +00:00
Alf Eaton
917d87257d [cm6] Improve LaTeX autocomplete extension (#8317)
* Upgrade CodeMirror packages

* Merge Metadata types

* Move symbol completions to the symbol-palette module

* Update categories.js

* squash metadata type

* Add open-autocomplete extension

* Increase delay for doc metadata request

* Add metadata state field

* Add bibliographyStyle completions

* Add class names

* Decrease score of usePackage completion

* Improve autocomplete

* Tidy comments

* Use CompletionSource type

* Use sourceEditorCompletionSources

* Update package-lock.json

* Update package.json

* Add tests

* Update window.ts

* Update open-autocomplete.ts

* Tidying

* Update complete.ts

* Fix test

* Add test

* Update top-hundred-snippets.ts

GitOrigin-RevId: 0d8721975893b76d9604b6123576b3a68f178e65
2022-06-09 08:02:32 +00:00
Alf Eaton
716f186fed Upgrade Cypress to v10 (#8322)
GitOrigin-RevId: 856c523a4ca34f8ccdc38067cef6fcd8a5c20250
2022-06-08 08:03:35 +00:00
Jessica Lawshe
8c816b3b23 Merge pull request #6509 from overleaf/jel-migrate-sso-id
[v1 and web] Migrate institution SSO external user ID

GitOrigin-RevId: f31cd50fbada9a2704df1c837d695f2ff547420d
2022-06-08 08:03:22 +00:00
Timothée Alby
391b4adf8e Merge pull request #7676 from overleaf/dependabot-npm_and_yarn-moment-2.29.3
Bump moment from 2.29.1 to 2.29.3

GitOrigin-RevId: 6320e7505883ce881eb8761d280dab94acb3aed9
2022-06-07 08:02:34 +00:00
Jakob Ackermann
c21bb9623a Merge pull request #8075 from overleaf/jpa-nodemon
[misc] move nodemon to the root of the monorepo

GitOrigin-RevId: 235a8de422025da1dc2d88a56dfa15f7bb18aacb
2022-05-31 08:04:06 +00:00
Alf Eaton
910e07ca1c Add types (#8154)
GitOrigin-RevId: 41ee6b6873a01fbfedc41a884b9e3ebee47fc08f
2022-05-30 08:03:45 +00:00
Alf Eaton
3fc00786ea Fix types for debug-print module (#8113)
GitOrigin-RevId: 286f961cab445041926d9a41f4ac69298ec86462
2022-05-25 08:11:31 +00:00
Timothée Alby
233469b233 Merge pull request #8040 from overleaf/jk-cm6-upgrade-lezer-lr
[web] CM6: Fix document environment fold

GitOrigin-RevId: 9e4261b1f20d9a1075f014d7f39a4e629c7bb7aa
2022-05-24 08:05:00 +00:00
Alf Eaton
80f6662957 Add option for parsing valid RFC5322 email addresses (#8065)
GitOrigin-RevId: 6af8ae850bd8075e6bf0ebcafd2731177cdf49ad
2022-05-24 08:03:52 +00:00
Eric Mc Sween
e0ab82e3d4 Merge pull request #8035 from overleaf/em-remove-chaid
Remove the chaid package from tests

GitOrigin-RevId: 61b541eebcf1982137aa10ad51940547c649e68d
2022-05-23 08:04:07 +00:00
Jakob Ackermann
f0bd6dda23 Merge pull request #7986 from overleaf/jpa-eslint-8
[misc] upgrade eslint packages to the latest version everywhere

GitOrigin-RevId: f1480d4a171acef82fb26c4aa54be3a6088b0ab3
2022-05-17 08:05:59 +00:00
Tim Down
dca022af80 Merge pull request #7896 from overleaf/td-lint-highlights-and-tooltips
Tweak linter highlights and tooltips

GitOrigin-RevId: ca790647715af438a14f876ca45ecf5c927bb0b5
2022-05-12 08:04:49 +00:00
Alf Eaton
c380eef9fb Merge pull request #7659 from overleaf/ae-upgrade-codemirror
Upgrade CodeMirror 6 to v0.20.0

GitOrigin-RevId: 603f914cf7e4063231a1c0ed94ea0429dfe6d90c
2022-04-28 08:03:42 +00:00
Timothée Alby
e5051bcd1d Merge pull request #7765 from overleaf/ii-add-email-ui-affiliating-with-existing-institution
Add email with existing and non existing institution

GitOrigin-RevId: 331bc06f0ea289a82b403a910491e233f4eda4bb
2022-04-28 08:03:16 +00:00
Eric Mc Sween
99ed3a2610 Merge pull request #7696 from overleaf/em-upgrade-passport-saml
Upgrade passport-saml

GitOrigin-RevId: eec563211a7e9936696800f638c75a811efd0f13
2022-04-26 08:04:43 +00:00
Timothée Alby
7bac47501b Merge pull request #7486 from overleaf/jpa-drop-unused-dep
[web] remove unused direct dependency on url-parse

GitOrigin-RevId: 5b09231ae85819aea4275203aa27692a837a7b26
2022-04-13 08:03:26 +00:00
Alf Eaton
5e9af2c15c Migrate worker tests to Cypress (#7359)
GitOrigin-RevId: f373f4215e5f25d14256008cf5f6582eb3124431
2022-04-07 08:03:52 +00:00
Alf Eaton
69a2283984 Upgrade to webpack v5 (#7249)
GitOrigin-RevId: 69dc5f9aad3e045cc6904e3663e9965094eced76
2022-04-07 08:03:46 +00:00
Alf Eaton
99607d4afc Move Storybook to tools (#7248)
GitOrigin-RevId: 2dd57d9adda07b01ad3d9aeee7a2e9e8986fae24
2022-04-05 12:17:36 +00:00
Alf Eaton
53324b0cd2 Add Cypress React component testing (#6974)
GitOrigin-RevId: 1260312a0644f3bc60e007a840045974336e264d
2022-04-05 12:17:30 +00:00
Alf Eaton
a5e09a6200 Add TypeScript file extensions to the test:frontend script (#7277)
GitOrigin-RevId: 24298d8d5b7831115ef476fefe1dbd801c159309
2022-04-05 12:17:15 +00:00
Eric Mc Sween
f9b3526b03 Merge pull request #7241 from overleaf/em-pre-node-16
Upgrade packages in preparation for Node 16

GitOrigin-RevId: c364ca0277977adfa0a92373fa5d8dfce8a9c7da
2022-04-05 12:17:06 +00:00
Alf Eaton
755233dcdc [web] Add TypeScript file extensions to ESLint (#7215)
GitOrigin-RevId: 0e7dbc94b304ba0bb17fbbfbc726e31775b97e3d
2022-03-28 08:03:48 +00:00
Alf Eaton
f175aef078 Add typechecking (#7221)
GitOrigin-RevId: 5b5bc5d2f9e5361e868cc6c9560f28a872d90ae1
2022-03-28 08:03:44 +00:00
ilkin-overleaf
da3b5b76c4 Merge pull request #7131 from overleaf/dependabot-npm_and_yarn-sysend-1.10.0
Bump sysend from 1.8.0 to 1.10.0

GitOrigin-RevId: 46b906833ab7add896a4430d6ba03492b958c42b
2022-03-22 09:03:27 +00:00
M Fahru
0dcdc511a9 Merge pull request #7092 from overleaf/mf-prettier-ts-tsx
[web] add ts and tsx extension to the prettier scripts and execute it

GitOrigin-RevId: 22d1bcff978b46664668ea93462271ec4a2dddfe
2022-03-21 09:03:26 +00:00
Alf Eaton
65e71714b8 Upgrade pdf.js via split test framework (#7053)
GitOrigin-RevId: dffe1f5bec07cba0914e3bd18ff5332dfe204f33
2022-03-21 09:03:16 +00:00
M Fahru
1e57b013ef Merge pull request #7079 from overleaf/mf-types-react-reactdom
[web] add @types/react and @types/react-dom as web dependencies for react files using typescript

GitOrigin-RevId: 2d32094d9d4c04a7efd72dc8d6d43cc9a1180074
2022-03-17 09:03:45 +00:00
Alf Eaton
ac0e9d06c3 [web] Configure Babel + ESLint to handle TypeScript files (#5993)
GitOrigin-RevId: e8474274e60e5e0dcefa7263616fbaf04a9f3930
2022-03-16 09:03:07 +00:00
Alf Eaton
293456b63e Upgrade CodeMirror 6 packages (#7000)
GitOrigin-RevId: c0ffea727b14e1abdf94c5c786b1aae6871588f6
2022-03-08 09:03:21 +00:00
Alf Eaton
6fb5397cc8 Add webpack:profile npm script to web package.json (#6870)
GitOrigin-RevId: 7ca6c1e667b0eac7dfec182ed6dfe923bb39b0b2
2022-03-01 09:03:56 +00:00
Alf Eaton
7be97fb2e2 [web] Fix Storybook (#6803)
* Move deprecated CLI option to config
* Reduce custom Storybook webpack config
* Upgrade Storybook
* Update package-lock.json

GitOrigin-RevId: e480aa0298e481d3e78a62b91c067b62c05bdeaf
2022-02-24 09:03:32 +00:00
Alexandre Bourdin
3b9da1d57e Merge pull request #6587 from overleaf/ab-split-test-create-edit
Split tests admin - create/edit

GitOrigin-RevId: a256bf6fe8350214b1ef01ff5e6fa68a812a59be
2022-02-16 11:35:39 +00:00
Jakob Ackermann
ae0c347f27 Merge pull request #6542 from overleaf/jpa-em-code-sharing-workspaces
[misc] npm workspaces

GitOrigin-RevId: 87aa72db6637fb238d7cd35b0a48ac3ed58ab3eb
2022-02-16 11:31:07 +00:00
Jakob Ackermann
42d78528ae Merge pull request #6572 from overleaf/jpa-web-unit-tests-npm-workspaces
[web] adjust unit test setup for npm workspaces

GitOrigin-RevId: 4c6f6debbc082301570173345cc366984a9c59f1
2022-02-16 11:31:03 +00:00
Alf Eaton
371270c622 [web] Convert Ace themes to CodeMirror 6 (#6543)
GitOrigin-RevId: 510064f04afb65387ee9ed7d56ad91db4b7a84d3
2022-02-07 09:03:29 +00:00
Alf Eaton
07abb8ac99 [web] Add keybindings (vim, emacs) to CodeMirror 6 (#6117)
GitOrigin-RevId: 9ee0b320a29ef3bf99bb414a775a94adce8ca8c1
2022-02-07 09:03:17 +00:00
Jakob Ackermann
2ed696b3e0 Merge pull request #6517 from overleaf/jpa-node-fetch-2-6-7
[misc] upgrade node-fetch from 2.6.x to 2.6.7

GitOrigin-RevId: 5a43e82e23d78fd6e68a38655dab4665a401a9db
2022-02-01 09:03:24 +00:00
Alf Eaton
157a380bad Merge pull request #6491 from overleaf/ae-cm6-upgrade
Upgrade CodeMirror 6 packages

GitOrigin-RevId: 997951d9542eb2ad220416e5dc6ee8c2388b2135
2022-01-31 09:03:09 +00:00
Jakob Ackermann
409d8cd1a8 Merge pull request #6470 from overleaf/jpa-o-error-3-4
[misc] upgrade o-error to v3.4.0 in all the places

GitOrigin-RevId: 7b7ce1211cbe5e41754ca2ae112d237befdcf40e
2022-01-28 09:03:45 +00:00
Jakob Ackermann
8e77ada424 Merge pull request #6417 from overleaf/jpa-device-history
[web] add cookie/JWE based device history for skipping captcha challenge

GitOrigin-RevId: b091564bfd93f7e587d396c860fd864f220f4b63
2022-01-27 09:03:34 +00:00
Jakob Ackermann
d720d6affa Merge pull request #6317 from overleaf/jpa-send-explicit-content-type
[web] send explicit content type in responses

GitOrigin-RevId: d5aeaba57a7d2fc053fbf5adc2299fb46e435341
2022-01-18 09:03:18 +00:00
June Kelly
864d2bdeff Merge pull request #6258 from overleaf/bg-improve-routes-tool
[web] format output from bin/routes using escodegen

GitOrigin-RevId: a2a3d4ffb044dfb214d167c411dd1b55fa18a3dd
2022-01-13 09:03:40 +00:00
June Kelly
0e2997a237 Merge pull request #6323 from overleaf/jpa-web-remove-gnu-parallel
[web] remove old way of running unit tests in parallel

GitOrigin-RevId: 77ff350824f7e21a44dae3f233ee9eedcf07c389
2022-01-13 09:03:27 +00:00
Alf Eaton
7288c05075 [web] Use EditorView.scrollIntoView in CodeMirror 6 (#6212)
GitOrigin-RevId: df2cc5c6f671d157c28a76711f3790f23073b6cb
2022-01-12 09:03:14 +00:00