Commit graph

20614 commits

Author SHA1 Message Date
M Fahru
ae5a08e680 Add 'setting-changed' tracking when user changes user-wide settings
GitOrigin-RevId: 04ed66dcdff7fa04e783fe4028505d981a39b37b
2023-01-11 09:07:45 +00:00
M Fahru
85cbc5b721 Apply prettier
GitOrigin-RevId: 34c7e3b95d061c270c77337c7c82502af289b556
2023-01-11 09:07:38 +00:00
M Fahru
06b0833e33 Add a comment explaining why user settings may be undefined
GitOrigin-RevId: 4460d4184cde5639d326da07121b2728d444c782
2023-01-11 09:07:30 +00:00
M Fahru
5597736057 Fix numerous test fails because of unitialized user settings scope on the test environment
GitOrigin-RevId: a27454285b0c89c6abef560f05c52d35f81fa570
2023-01-11 09:07:23 +00:00
M Fahru
56395d9a95 Save spellCheckLanguage to both project-wide and user-wide setting
GitOrigin-RevId: 059cc64d0fe2e955814a7192f82d4ff8ea4e2572
2023-01-11 09:07:16 +00:00
M Fahru
4bf09e21de Fix tsc lint error by restricting the generic type
GitOrigin-RevId: 11ef7ab4111c7b312b283283829e9b28a80c475c
2023-01-11 09:07:09 +00:00
M Fahru
98fbd330b2 Add socket listener for compiler, imageName, and spellCheckLanguage
GitOrigin-RevId: b12644152387e479e433a014e1a1041ebae36f12
2023-01-11 09:07:02 +00:00
M Fahru
b6b6b9c4b1 Rename "rootDoc_id" to "rootDocId" before sending it to server
GitOrigin-RevId: fc29e152ffd3bf97c00ee817abb07086f6cdfe17
2023-01-11 09:06:54 +00:00
M Fahru
30c32713c6 Add _csrf to request body
GitOrigin-RevId: 87b5a7299fbb795618143421df79375b41f8f921
2023-01-11 09:06:47 +00:00
M Fahru
132bb40a21 replace save project setting hooks with common function and implement set root doc id change
GitOrigin-RevId: e5b204cd93fc188288def529cb22018b3d4f89b6
2023-01-11 09:06:40 +00:00
M Fahru
8ae9839f79 apply prettier
GitOrigin-RevId: dd750756d2bfc625817760510e9bdbade186aef3
2023-01-11 09:06:33 +00:00
M Fahru
c2b0707c2a Change variable declaration location + apply prettier
GitOrigin-RevId: 3237a417c23d5c66c47385e55f8d3cb68bdfc3ca
2023-01-11 09:06:26 +00:00
M Fahru
414540af5c Reduce save/setScope user setting duplication by introducing a new shared hooks
GitOrigin-RevId: 6054143eb042e4ff336b1f325a8cef693ae8c4bd
2023-01-11 09:06:19 +00:00
M Fahru
09b1974a3d Migrate updating overallTheme to react
GitOrigin-RevId: 024ceb3c32c8d90ac0067fbb72d6e7d327b869f0
2023-01-11 09:06:12 +00:00
M Fahru
9452bee1b4 add newline
GitOrigin-RevId: f8c4054cbbaf935b50f06f51d19358e3560d0e74
2023-01-11 09:06:05 +00:00
M Fahru
6c41a65200 migrate user-wide settings post request from angular controller to react
GitOrigin-RevId: b5440178a11b82c5a5840eb310416f1519f85bae
2023-01-11 09:05:57 +00:00
M Fahru
f01a2920cf Migrate editor settings controller to react (this commit includes project-wide settings)
GitOrigin-RevId: 8c47a2699a2f11fda7fd60c5173bf2e29858e37a
2023-01-11 09:05:50 +00:00
M Fahru
67c8fa560e Fix firefox bug where user can't focus on input while renaming file on editor file tree (#11134)
GitOrigin-RevId: daebbe6df4a3fef41cbf25444a31015d306901b3
2023-01-11 09:05:43 +00:00
M Fahru
5f8e10de86 Conform with new design system by changing btn-default to btn-secondary (#10972)
GitOrigin-RevId: 1fac39d3b1e7e68e6feffe467ac21b4cb3253353
2023-01-11 09:05:36 +00:00
Eric Mc Sween
f76ab26822 Merge pull request #10998 from overleaf/em-upgrade-mongo-document-updater
Upgrade Mongo driver in document updater

GitOrigin-RevId: e3c4d86bbcf86dcf16fdfdbfab2aaf0d8eb1037c
2023-01-11 09:05:28 +00:00
Davinder Singh
073645d929 Again => Admin panel- Sessions tab react migration (#11137)
GitOrigin-RevId: 338d2e372de4a827e585c24a3ac09b07e77e6a30
2023-01-11 09:05:08 +00:00
Alf Eaton
62b727fb61 Merge pull request #11008 from overleaf/msm-fix-email-helper-group
[web] Prevent NPE parsing RFC5322 email groups

GitOrigin-RevId: 57fa7dc523b94c44afdd45a790ff6c3e62e45214
2023-01-11 09:04:49 +00:00
Alf Eaton
84f3d52f3b Rich Text typography improvements (#11102)
GitOrigin-RevId: 04658c09aa265a6bba0523a7789913b4c5a852c9
2023-01-11 09:04:42 +00:00
Jessica Lawshe
998a787a57 Merge pull request #11094 from overleaf/jel-use-label-style
[web] Use label rather than deprecated badge style

GitOrigin-RevId: f1275af06642def626820bc81cf7a318da0eedcf
2023-01-10 09:06:51 +00:00
Jessica Lawshe
bd3b9007c8 Merge pull request #11078 from overleaf/jel-features-page-analytics
[web] Add analytics to React dash features link

GitOrigin-RevId: 5f62af1af3854b1443734cda6b97334e6eb42711
2023-01-10 09:06:43 +00:00
Jessica Lawshe
38db8bee30 Merge pull request #10958 from overleaf/jel-features-page-link
[web] Update features page link on dash for split test

GitOrigin-RevId: 5b51700a8a4ca89920288b54e08caf88f29dec96
2023-01-10 09:06:36 +00:00
Jessica Lawshe
4ba2fffdf1 Merge pull request #11092 from overleaf/jel-recompile-btn
[web] Add `data-ol-loading` button style

GitOrigin-RevId: 75230fee0e4c1183f389d08b0253402e4fc375b0
2023-01-10 09:06:28 +00:00
ilkin-overleaf
ea2af56f7b Merge pull request #11122 from overleaf/ii-rollback-some-ts-hooks-to-js
[web] Revert detach hooks from TS to JS

GitOrigin-RevId: c108fe219d472f0c0b745dc8648fd15375f0e083
2023-01-10 09:06:14 +00:00
ilkin-overleaf
8ca4827834 Merge pull request #11071 from overleaf/jpa-typo-symbol-palette
[web] fix typo in symbol palette feature on new subscription pages

GitOrigin-RevId: b167c861ac77b8aaf5e78eae8a5d4c121e0c5f7d
2023-01-10 09:06:06 +00:00
ilkin-overleaf
d959dbc236 Merge pull request #11105 from overleaf/ii-shared-hooks-js-to-ts-conversion
[web] Shared React hooks JS to TS conversion

GitOrigin-RevId: 0ccdebff236c7424b1a73cd7d6646a9d01a20eb1
2023-01-10 09:05:52 +00:00
ilkin-overleaf
4f35333a39 Merge pull request #9536 from overleaf/ii-adjustable-project-dashboard-panel
[web] Adjustable project dashboard sidebar

GitOrigin-RevId: 1007ecb896bbe215af28fa92d295201b2457aeef
2023-01-10 09:05:44 +00:00
Eric Mc Sween
b0bd070018 Merge pull request #10996 from overleaf/em-esm-project-history
Migrate project-history to ES modules

GitOrigin-RevId: 5c84dafb08bd282e99124dccc761b5c94de08994
2023-01-10 09:05:36 +00:00
ilkin-overleaf
0d0e855c96 Merge pull request #11074 from overleaf/ii-tagged-trashed-projects
[web] Project dashboard archived and trashed projects appearing not hiding

GitOrigin-RevId: b323be2a1104af54d3af9c9610b584fc0ab24c10
2023-01-10 09:05:28 +00:00
Eric Mc Sween
bde79780a7 Merge pull request #10971 from overleaf/em-flush-docupdater-on-rename
Flush project in docupdater after a rename

GitOrigin-RevId: f08e722e9eb65e281965fe2603f8e97024edb8e9
2023-01-10 09:05:07 +00:00
Alf Eaton
3cbd460259 Set resize: vertical for textareas (#11010)
GitOrigin-RevId: 1fffad2b35937a9b44440b1007526df266fcf255
2023-01-10 09:04:53 +00:00
Alf Eaton
edbe12b86f Fix .cjs importing via webpack/babel (#11090)
GitOrigin-RevId: 62f17069a3e0fd338269fe772a51870222c2877a
2023-01-10 09:04:45 +00:00
Alf Eaton
cda947d1ac Remove sysend dependency (#10852)
GitOrigin-RevId: c3d9601256af8720ab41264609cb5c5c810afbba
2023-01-10 09:04:37 +00:00
Jakob Ackermann
1ff186a738 Merge pull request #11087 from overleaf/jpa-sort-locales
[web] sort all the locale files and check sorting in CI

GitOrigin-RevId: 5921e24f22e2ca126f7d49a1956b44d810b52dcd
2023-01-10 09:04:22 +00:00
Lucie Germain
c6f9da69da Merge pull request #10995 from overleaf/lg-update-tpds-dropbox-only
Only send updates to tpds if project is linked to dropbox

GitOrigin-RevId: 52d8bbfc229b74346dd440f283925a8d6eb6198a
2023-01-09 09:04:02 +00:00
Eric Mc Sween
e8495b1236 Merge pull request #10968 from overleaf/em-upgrade-mongo-github-sync
Upgrade Mongo driver in github-sync

GitOrigin-RevId: ba3365e874b8a84c7300a03c9d7a9686f3633017
2023-01-06 09:04:10 +00:00
Lucie Germain
4bdffbefdf Merge pull request #11080 from overleaf/lg-openapi-chat-metrics
Fix metrics for chat service

GitOrigin-RevId: fcc6b3e1e5bf411d8c9fe48a6913ad1c0a9199f2
2023-01-06 09:04:03 +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
Alf Eaton
e95ad3e71b Tidy up shared React components (#9509)
GitOrigin-RevId: b8029b65c95ccdac89587d484e2599e25fe44302
2023-01-06 09:03:47 +00:00
Alf Eaton
aa548b3889 Ensure packages from libraries are processed with babel-loader (#10703)
* Allow webpack to resolve symlinks
* Rename library files to .cjs

GitOrigin-RevId: 0eab18604132104b1c5c92a5e6ed21713006a5a8
2023-01-06 09:03:41 +00:00
Lucie Germain
afa66aef49 Merge pull request #11051 from overleaf/revert-10983-revert-10901-lg-openapi-chat
Migrate chat service to OpenAPI : (Revert of the Revert)

GitOrigin-RevId: 77a34fef20f77344e01461d42b531c623cf28203
2023-01-05 09:05:00 +00:00
Alf Eaton
29576fc1fd Merge pull request #11064 from overleaf/ae-skip-pdfsynctexcontrols-tests
Skip PdfSynctexControls tests

GitOrigin-RevId: 17896aa9cf5862b862d777c522c5506ac87fc260
2023-01-05 09:04:52 +00:00
Mathias Jakobsen
2f5eb9c1d4 Merge pull request #11016 from overleaf/ii-dashboard-wrong-action-buttons
[web] Project dashboard wrong action buttons

GitOrigin-RevId: d76c64616a34c63b60bc499b96c6507c1196e666
2023-01-05 09:04:45 +00:00
Mathias Jakobsen
9f1ddf6a64 Merge pull request #10960 from overleaf/mj-keybindinging-cypress
[web] Add cypress tests for emacs and vim keybindings

GitOrigin-RevId: 17ada42d39ed81e2a0947fd102e5782428c1c619
2023-01-05 09:04:18 +00:00
Mathias Jakobsen
e8c677f7ad Merge pull request #11036 from overleaf/jpa-cdn-blocked-metric
[web] add metric for blocked cdn

GitOrigin-RevId: bee0fa5af0cc3c5d91deb64c8e32bb7e04dbcc2b
2023-01-05 09:04:04 +00:00
Mathias Jakobsen
da1d4aba6d Merge pull request #10975 from overleaf/mf-settings-editor-new-tests
Add new tests for editor left menu (compiler & dictionary menu)

GitOrigin-RevId: 1b21fcc51a85901bce4f7b50e557146881df4c3d
2023-01-05 09:03:57 +00:00