Commit graph

218 commits

Author SHA1 Message Date
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
Christopher Hoskin
1a252e3c86 Merge pull request #13201 from overleaf/csh-issue-13004-gc-storage-6_10_1
Upgrade @google-cloud/storage from 6.9.0 to 6.10.1

GitOrigin-RevId: 05eced51c8e42fb932cd6ccd3918b965ff8e585f
2023-05-25 08:03:57 +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
Jakob Ackermann
6d26cdbc69 Merge pull request #13090 from overleaf/jpa-npm-i
[misc] resolve minimatch to specific version for tpds

GitOrigin-RevId: c594fa003abc2b2e16705133e8c0519b3403eaea
2023-05-16 08:04:51 +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
Alexandre Bourdin
658f3abb38 Merge pull request #12889 from overleaf/ab-analytics-sequelize-upgrade
[analytics] Sequelize major version upgrade to v6

GitOrigin-RevId: 230ef45a139877d175ad97669860a3bd5550d7fe
2023-05-12 08:04:15 +00:00
Jakob Ackermann
f60e86a71d Merge pull request #12989 from overleaf/jpa-req-socket-null
[misc] add patches for gracefully handling missing req.socket/connection

GitOrigin-RevId: fd0b067d5a4b5a96857ac94a577460b82bba7672
2023-05-10 08:05:07 +00:00
Jakob Ackermann
51af6558cc Merge pull request #12831 from overleaf/jpa-project-history-pipe
[project-history] migrate to fetch/stream.pipeline

GitOrigin-RevId: 9224eab6a0ad9cbb0c80e443a1c0d4abdd9bbd0f
2023-05-09 08:04:14 +00:00
Alf Eaton
b1929cf16d [cm6] Improve symbol completion ranking (#12902)
GitOrigin-RevId: 8ccc87c2b86636bd37a3472d36873ade9a190209
2023-05-08 08:04:09 +00:00
Jakob Ackermann
a3333fe3f1 Merge pull request #12949 from overleaf/jpa-upgrade-eslint-plugin-mocha
[misc] upgrade eslint-plugin-mocha for node 18 support of its dependency

GitOrigin-RevId: 48762daf5de83c2f2dbd1ffda0a695be81eefade
2023-05-05 08:04:28 +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
Jakob Ackermann
77da9fd0cd Merge pull request #12824 from overleaf/jpa-clsi-pipe
[clsi] rewrite UrlFetcher in async/await and fetch/pipeline

GitOrigin-RevId: a2a90fd886252f06c818f807e85e566f3fc1f841
2023-04-28 08:04:01 +00:00
June Kelly
1661e896fe Merge pull request #12793 from overleaf/jpa-package-json-noise
[misc] resolve crc-32 entry in package-lock.json to current version

GitOrigin-RevId: 5cdc3fca92fcabcb8c7646b538122f5aee89e5e5
2023-04-26 08:04:46 +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
Jimmy Domagala-Tang
594812f808 Merge pull request #12669 from overleaf/jdt-monorepo-audit-fix
fix: updating npm auditable version in monorepo
GitOrigin-RevId: 36899b3907f2ca233adc65f142f301727bd33e7a
2023-04-25 08:06:53 +00:00
Jakob Ackermann
0b985c7a0b Merge pull request #12723 from overleaf/jpa-revert-node-18-upgrade
[misc] revert node 18 upgrade

GitOrigin-RevId: 752d45b015e2e8802b875b5de8ee044ba1170345
2023-04-21 08:03:22 +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
Brian Gough
ed0acd8e58 Merge pull request #12658 from overleaf/bg-node-18-upgrade
Upgrade to node 18

GitOrigin-RevId: 1b25d20a8987950a72a7bf966a825794de4ad960
2023-04-20 08:03:37 +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
Davinder Singh
ff25ac1d9c Merge pull request #12591 from overleaf/ds-subscription-date-tooltip
Admin Panel- Subscription tab tool tip

GitOrigin-RevId: 2f1c4e39e9fdc360d1595b6fd54ab187cdc33932
2023-04-14 08:03:29 +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
Christopher Hoskin
5f69488f67 Merge pull request #12369 from overleaf/csh-issue-4497-bump-profiler
Bump @google-cloud/profiler from 4.1.3 to 5.0.4

GitOrigin-RevId: 2426be7f50f91c8a67430f1097a9d97412178873
2023-04-06 08:02:49 +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
Jakob Ackermann
d483211677 Merge pull request #11909 from overleaf/jpa-update-build-scripts
[misc] update build scripts

GitOrigin-RevId: 1f7c62365190f70daeeff7909ee825b04aa864db
2023-02-22 09:03:57 +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
Jakob Ackermann
82d59a18d9 Merge pull request #11536 from overleaf/jpa-access-token-encryptor-v3
[access-token-encryptor] rewrite module and add scheme v3

GitOrigin-RevId: d23ec86d63739a61f1e45f04ed41ea7d991ddb0e
2023-02-15 09:05:12 +00:00
Eric Mc Sween
5683cebf71 Merge pull request #11679 from overleaf/em-upgrade-prom-client
Upgrade prom-client library in metrics

GitOrigin-RevId: 4ff60d94b17e7f236d4b40103365ed6fe1515148
2023-02-09 14:34:28 +00:00
Christopher Hoskin
574f2733d3 Merge pull request #11716 from overleaf/csh-fix-idp
Get the mock IdP running in the dev environment again

GitOrigin-RevId: 927133ca4118d75ce678787d980d92bb1ad4eb91
2023-02-09 09:07:21 +00:00