Commit graph

714 commits

Author SHA1 Message Date
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
Alf Eaton
0e09c25a97 Run Cypress interactive UI in Docker (#9954)
Co-authored-by: Eric Mc Sween <eric.mcsween@overleaf.com>
GitOrigin-RevId: 51e7149cf10475c229d6e7a9ae8cf5694002d27b
2022-11-01 09:04:03 +00:00
Brian Gough
e0955c26a5 Merge pull request #10194 from overleaf/bg-clean-up-library-versions
replace monorepo library versions by "*"

GitOrigin-RevId: 4e28d0079803025db01ae58c1f0f3a9c99c9cafc
2022-10-28 08:04:58 +00:00
Miguel Serrano
07ac37e382 Merge pull request #10133 from overleaf/msm-remove-ldajs
Remove `ldapjs` dependency

GitOrigin-RevId: 0ce5c8609091d29bb4d2388f9336fcf075db79a7
2022-10-26 08:03:59 +00:00
Brian Gough
c25d5dfc9b Merge pull request #10108 from overleaf/bg-upgrade-minimist
security upgrade for minimist

GitOrigin-RevId: 57c66b8db9f3bb0b1551c5953c29cbbe2fa9e919
2022-10-24 08:03:10 +00:00
Brian Gough
905c9c6ec1 Merge pull request #10098 from overleaf/bg-upgrade-samlp
upgrade from samlp 3.5.0 to 7.0.2

GitOrigin-RevId: c10afa713239f90b71fe4e4c8823e4fc79b767ba
2022-10-24 08:02:51 +00:00
June Kelly
24cfd7d670 Merge pull request #10017 from overleaf/ae-codemirror-search-view
Upgrade CM6 packages

GitOrigin-RevId: 5d02e26fbd3bac366aa183592274e1bb7850aece
2022-10-20 08:03:56 +00:00
June Kelly
ac37f6ae5f Merge pull request #9996 from overleaf/mj-lezer-incremental-benchmark
[cm6] Add benchmarking script for incremental parsing

GitOrigin-RevId: 208ab92270121b884bbe64df76e2fc24d8c087ba
2022-10-20 08:03:26 +00:00
Christopher Hoskin
09df5b38cd Merge pull request #10022 from overleaf/bg-upgrade-passport-saml
Upgrade passport-saml to v3.2.3

GitOrigin-RevId: c8b4fd1206563a7720fb49953d69afa5ddf46c9e
2022-10-19 08:04:50 +00:00
Eric Mc Sween
fe963ba692 Merge pull request #9956 from overleaf/em-node-fetch-web
Replace request-promise with fetch in web acceptance tests

GitOrigin-RevId: f50357cdea2d1353d7a82c5346b149018f91823f
2022-10-18 08:03:25 +00:00
Alf Eaton
b471b0b96e Merge pull request #9977 from overleaf/ae-codemirror-upgrade
Upgrade CM6 dependencies

GitOrigin-RevId: 6df6a806446a30bcb06b50211d0f965eaa8ff34d
2022-10-17 08:04:20 +00:00
Alf Eaton
a4c76ba1ec Merge pull request #9965 from overleaf/ae-rollback-cm6-upgrade
Revert "Upgrade CodeMirror dependencies (#9933)"

GitOrigin-RevId: f46e13750d29f11a53719dcf244aa93cd115e45e
2022-10-14 08:04:13 +00:00
Alf Eaton
3f5b063b43 Upgrade CodeMirror dependencies (#9933)
GitOrigin-RevId: 2d06aecc3df0c1fe11c335f3d98c98ceadc39584
2022-10-14 08:03:53 +00:00
Eric Mc Sween
da30da76b2 Merge pull request #9894 from overleaf/em-node-fetch-web
Replace request-promise with node-fetch in web

GitOrigin-RevId: 07dbb6db7fd42326807aaeb18e5ee39f7c3d4668
2022-10-13 08:04:24 +00:00
June Kelly
1a63aacdb7 Merge pull request #9883 from overleaf/mj-lezer-benchmarking
Lezer Benchmarking and Optimizations

GitOrigin-RevId: 2db51275968efb65a3c73973fd83d681212515dc
2022-10-12 08:03:59 +00:00
Alasdair Smith
8a173a000e Merge pull request #9918 from overleaf/ii-dashboard-prevent-double-escape
[web] Project dashboard prevent double escape of user name

GitOrigin-RevId: be32c185438aabfc96a403e609ee9c612a9e4035
2022-10-12 08:03:51 +00:00
Alf Eaton
b17bcb6838 Merge pull request #9893 from overleaf/ae-upgrade-cypress-2
Upgrade Cypress to 10.9.0

GitOrigin-RevId: 00134da2915c3a35743da3e6eacfeda6f3be6a6a
2022-10-11 08:03:31 +00:00
Alf Eaton
7fe44050f1 Merge pull request #9831 from overleaf/ae-format-json
[web] Add .json to Prettier file extensions

GitOrigin-RevId: 60ee89c8a2980c7b571878e21f72ef66fce0d533
2022-10-07 08:04:00 +00:00
Miguel Serrano
6e085987e2 Merge pull request #8773 from overleaf/dependabot-npm_and_yarn-moment-2.29.4
Bump moment from 2.29.3 to 2.29.4

GitOrigin-RevId: 17bb85f6dd0ebefecbf2e0ef0ac215fc18cd2e65
2022-10-05 13:26:22 +00:00
Eric Mc Sween
7d099acfdd Merge pull request #9150 from overleaf/em-share-ranges-tracker
Move RangesTracker to shared lib

GitOrigin-RevId: 62da7208f0b453dd7272c06873c7e415ed887817
2022-10-05 13:26:01 +00:00
Tim Down
5810353cc7 Merge pull request #9793 from overleaf/td-vim-cm6-search-fix
Use CM6 Vim fix from Overleaf fork

GitOrigin-RevId: 2b293c2edccaec1fdc9477a2680cdba59fe28391
2022-10-04 08:03:15 +00:00
Tim Down
58d27d3b7e Merge pull request #9811 from overleaf/td-emacs-cm6-autocomplete
Update CM6 Emacs package to use latest version of our fork

GitOrigin-RevId: a21cd77c57aa2e48f7a7a78313e7b281dbc97024
2022-10-04 08:03:12 +00:00
Alf Eaton
df57f6d749 Merge pull request #9769 from overleaf/ae-theme-active-line
GitOrigin-RevId: bc38c03192fa368564c3857f1486c8956a82e2f5
2022-09-29 08:04:51 +00:00
Alf Eaton
91bf3378a5 Add "whole word" option to CM6 search (#9140)
GitOrigin-RevId: bb56c38adca601856a505ad435cc2728efd2b40d
2022-09-29 08:04:32 +00:00
Tim Down
3e2b16cbfe Merge pull request #9695 from overleaf/td-galileo-restore-analytics-rejection
Update CM6 and Lezer packages plus reinstate Galileo suggestion rejection analytics event

GitOrigin-RevId: 26e838c0ac4a282ad5fc4463a68934f40aec5648
2022-09-28 08:07:05 +00:00
Alf Eaton
9c5bf713b6 Upgrade marked (#9618)
GitOrigin-RevId: 0712c8b67c123577efdf1f52a19173b9bd86ab9e
2022-09-16 08:05:11 +00:00
Alf Eaton
9a6f8c4441 Add react-refresh webpack plugin for development (#9496)
GitOrigin-RevId: 6dbfd0f9474c3a7fe4a5fdc5b5b2d59f64e56ce8
2022-09-15 08:04:19 +00:00
Alexandre Bourdin
a0fabee3b4 Merge pull request #9245 from overleaf/integration-project-dashboard-react-migration
[Integration branch] Project Dashboard React Migration

GitOrigin-RevId: 3c3db39109a8137c57995f5f7c0ff8c800f04c4e
2022-09-14 08:04:03 +00:00
Timothée Alby
e177a33eb2 Merge pull request #9399 from overleaf/ta-webpack-config
Load Webpack Config in local:webpack Script

GitOrigin-RevId: 4c07c10a8e900cd56b4821a8e9707792a52ec996
2022-09-13 08:06:04 +00:00
Alf Eaton
10ff701aa1 Check for existence of modules/source-editor (#9426)
GitOrigin-RevId: 7cc72ccdf711c1bd982620af25236e2289dca494
2022-09-02 08:04:27 +00:00
Alf Eaton
7c20e7701b Remove mkdirp from web dependencies (#7427)
GitOrigin-RevId: b170371e538ca65fccd5c21f76dc25feec909190
2022-08-22 08:03:41 +00:00
Alf Eaton
faef8f3247 Avoid scrolling the match into view when opening the search panel (#9164)
GitOrigin-RevId: 385537d87e0a7413098c606c81b81787aec77eac
2022-08-22 08:03:34 +00:00
Simon Detheridge
9953822175 Merge pull request #6661 from overleaf/spd-local-tests
Move acceptance test mocks to nonstandard ports and add options for running locally

GitOrigin-RevId: bd8f70ac8d80599daccc51cfe7b90a2ad8d8c3d8
2022-08-10 08:03:45 +00:00
ilkin-overleaf
9e37ce165b Merge pull request #9119 from overleaf/ii-update-sentry
[web] Update @sentry/browser to latest

GitOrigin-RevId: 9358e53b849c765c21ba120baf3e817aa66b9e7c
2022-08-05 08:03:36 +00:00
Jakob Ackermann
e5e6be99f8 Merge pull request #9099 from overleaf/jpa-web-graceful-shutdown
[web] introduce graceful shutdown

GitOrigin-RevId: f42793a96f1e0304c57a855241bffa32bb291864
2022-08-05 08:03:27 +00:00
Alf Eaton
44b241b5ca Upload files dropped onto the file tree (#8064)
GitOrigin-RevId: 97043661e344b72ff742326c9dc2809e46d0bb9c
2022-07-22 08:04:02 +00:00
Tim Down
5707de398d Merge pull request #8677 from overleaf/td-vim-cm6
CM6 Vim mode fixes plus update CM6 packages to 6.x

GitOrigin-RevId: 54a51d9724ba0c843b079942702103fd7f76741f
2022-07-19 08:03:08 +00:00
June Kelly
7757d8d2ad Merge pull request #8675 from overleaf/as-lint-prettify-parser
Lint & format lezer-latex parser

GitOrigin-RevId: 41e4cffca7945a1699de3f9dd977c5f8a9ac8c66
2022-07-13 08:06:00 +00:00
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