Commit graph

612 commits

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