Commit graph

19463 commits

Author SHA1 Message Date
Brian Gough
495dd9016d Merge pull request #10290 from overleaf/bg-clear-feedbacks-collection
add script to clear old messages from mongo feedbacks collection

GitOrigin-RevId: a4986f432a12e801f41ff9bdf11b8771ef2b601f
2022-11-07 09:03:25 +00:00
M Fahru
b593bfa56e Don't show cm6 switch away survey if cm6 is not available
GitOrigin-RevId: e283fc424055f6df85015f02c83ad8314865697d
2022-11-04 09:06:10 +00:00
Jakob Ackermann
7493be028d [web] drop rate of compile-result-backend events to 1%
GitOrigin-RevId: af3e4b56812f014ad7c40d1a98ee6db16798890b
2022-11-04 09:06:03 +00:00
M Fahru
19dd2f67e2 Implement "switch away survey" when users switching back to ace from cm6 (#10201)
Implement legacy source editor survey:

* Force user to switch to cm6 if they haven't seen switch away survey

* Only show user switch away survey if they open ace from another editor

* We need to wait 3 seconds until the survey is being shown

* Add comment to explain the reasoning of not showing cm6 switch away survey for rich text users

* Use localstorage `editor.has_seen_cm6_switch_away_survey` setter to not show the survey if user has seen the survey

* the `editor.has_seen_cm6_switch_away_survey` will have the value `true` even if user is not interacting with it, so update comment to reflect that

* Add `once: true` option to keydown event to avoid unnecessary callback invocation upon key presses

GitOrigin-RevId: c26be2bb39efac2dff112c821fca893e5993dcbf
2022-11-04 09:05:50 +00:00
Mathias Jakobsen
bcad89fd28 Merge pull request #10273 from overleaf/ae-docname-apply
Add a `$scope.$applyAsync` wrapper around the "open a new document" code

GitOrigin-RevId: 7c63338379053d20bd86f10d9db6855cb5c23fc3
2022-11-04 09:05:25 +00:00
Mathias Jakobsen
50b346b4ed Merge pull request #10279 from overleaf/jpa-tracing-optimizations
[misc] do not load the tracing module unless enabled

GitOrigin-RevId: 8a3b9da3e9451e3060b852dd44e078c99cf43cfa
2022-11-04 09:05:00 +00:00
Mathias Jakobsen
aac9e6616e Merge pull request #10285 from overleaf/jpa-pdf-caching-ignore-404-from-fallback
[web] pdf-caching: double down on ignoring 404 from output.pdf requests

GitOrigin-RevId: 6b489180c221a29758b862884dae4ed6ed954a23
2022-11-04 09:04:53 +00:00
Mathias Jakobsen
a54b633726 Merge pull request #10111 from overleaf/mj-lezer-file-outline
[web] Parser backed file outline

GitOrigin-RevId: 0825f4887ba4dae24a14dd1880d07b791d0b4cd9
2022-11-04 09:04:33 +00:00
Jakob Ackermann
986d52b8d4 Merge pull request #10274 from overleaf/jpa-pdf-caching-check-response-size
[web] pdf-caching: bailout early on unexpectedly large response size

GitOrigin-RevId: b2b1cf0abf2367ec7a7f0f5ca7a9f67a03e2fa0d
2022-11-04 09:04:02 +00:00
Lucie Germain
e7203ed0f8 Merge pull request #10232 from overleaf/jpa-lg-silent-no-op-external-update
[document-updater] skip emitting no-op external updates

GitOrigin-RevId: 3fc29740fb8c2bc8b1ba21428a0e8d0d34b6eaf8
2022-11-04 09:03:54 +00:00
M Fahru
867451fa5f Add unit tests and storybook components for help menu
GitOrigin-RevId: d6f17a97d559d698461c77af3273d7d9255cdcc8
2022-11-03 09:03:56 +00:00
M Fahru
a30e934692 Migrate "help menu" in editor left menu to react
GitOrigin-RevId: 7ebbfa693205de1f57b1d54e25c46cfb1851acc8
2022-11-03 09:03:49 +00:00
Jakob Ackermann
10c6bd20ab Merge pull request #10266 from overleaf/ab-split-test-no-serialization
[web] Skip mongoose object transformations for the split test cache

GitOrigin-RevId: 8fb5420f6f938c0ab7cfe1ca82c107c7ce3522ca
2022-11-03 09:03:44 +00:00
Jakob Ackermann
28c1cc2ea9 Merge pull request #10218 from overleaf/jpa-adjust-prefetching
[web] pdf-caching: try to prefetch other smaller chunks

GitOrigin-RevId: 2bf1d33d48c2026ec3794baaaef8346dc9104db3
2022-11-02 09:05:04 +00:00
Jakob Ackermann
6f00659865 Merge pull request #10246 from overleaf/jpa-pdf-caching-object-id-back-fill
[web] pdf-caching: double down on back-filling of object-id

GitOrigin-RevId: 751392dc5ed59eb621eca3813040c7b92ef1369e
2022-11-02 09:04:57 +00:00
Jakob Ackermann
1a434558d7 Merge pull request #10239 from overleaf/jpa-pdf-caching-backend-tweaks
[clsi] pdf-caching: emit partial set of processed ranges on timeout

GitOrigin-RevId: 0038b5a30ac33fcdcab523d7ddc72fea9f2f5be9
2022-11-02 09:04:43 +00:00
Jessica Lawshe
24dc307d7c Merge pull request #10248 from overleaf/jel-add-switch-import
[web] Add switch import to new CSS build

GitOrigin-RevId: 800a5305432baf98e29d5c9ecd652e3ce806a79c
2022-11-02 09:04:36 +00:00
Jessica Lawshe
c021b48824 Merge pull request #10073 from overleaf/jel-cleanup-imports
[web] Design system updates

GitOrigin-RevId: d5a9d8736083b076474e2a43f0200a6419f24a92
2022-11-02 09:04:29 +00:00
Jakob Ackermann
85547ffe40 Merge pull request #10234 from overleaf/jpa-pdf-caching-ignore-404
[web] pdf-caching: stop counting 404s on the output.pdf as failure

GitOrigin-RevId: eb76570fdce3dd79b8e0ea961722e428446672ac
2022-11-02 09:04:21 +00:00
Tim Down
cd60d6719a Merge pull request #10067 from overleaf/ds-design-segmented-control
Changed the css for segmented toggle switch animation

GitOrigin-RevId: e3c0dc496be9fedea5d9463f57b9844991f0c0eb
2022-11-02 09:04:14 +00:00
Tim Down
cbc3aef728 Merge pull request #10109 from overleaf/ds-switch-component
Modifying the Switch

GitOrigin-RevId: 93b8483aa4aa164ea0be5fc2b4ccc5cfb17eae3c
2022-11-02 09:04:07 +00:00
Tim Down
a320982f79 Merge pull request #10235 from overleaf/td-cm6-lag-metrics
Add CM6 typing lag metrics

GitOrigin-RevId: 7068647a28980d888ecb5a0203f0a3563ce4c713
2022-11-02 09:03:59 +00:00
Tim Down
2bb8bd6f14 Merge pull request #10196 from overleaf/ta-galileo-instruction-modal
Add Galileo Instruction Modal

GitOrigin-RevId: c6eb9465c9a90b7b6fb681537bf2851a4570b397
2022-11-02 09:03:46 +00:00
ilkin-overleaf
641db6b8d9 Merge pull request #10184 from overleaf/ii-ignore-received-chat-messages-test
[web] Outdated chat context tests for receiving messages

GitOrigin-RevId: c91cda5ada1c0ef26d41589cdbee31a8afd1e36a
2022-11-01 09:05:17 +00:00
ilkin-overleaf
feb5ae56f5 Merge pull request #10152 from overleaf/ii-settings-sso-unescape-characters
[web] Settings page incorrect character escaping

GitOrigin-RevId: 3bd27a905394d5476487038b4d30ed208d6901ac
2022-11-01 09:05:09 +00:00
ilkin-overleaf
7180ee8700 Merge pull request #10132 from overleaf/ii-dashboard-are-you-affiliated-migration
[web] Project dashboard are you affiliated migration

GitOrigin-RevId: 455ad915dd023c5fab3ce9a5165aa7e960915f1f
2022-11-01 09:05:02 +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
5b9261e13e Dispatch doc:changed and doc:saved events in a debounced timeout (#10024)
GitOrigin-RevId: a55602b448d8b97f224c658fee0a97d2473f8cd1
2022-11-01 09:04:45 +00:00
Alf Eaton
fc558b3c35 Merge pull request #10100 from overleaf/jk-use-parser-for-spelling-filter
[web] Use syntax tree to filter spelling payload

GitOrigin-RevId: 9901a1bbe99b513188313654055a9dcb57e0f7c4
2022-11-01 09:04:19 +00:00
Jakob Ackermann
79e6fecc4a Merge pull request #10231 from overleaf/jpa-pdf-caching-bounds-debug
[web] pdf-caching: debug bounds when reassembling the range from chunks

GitOrigin-RevId: 11871241d07880ebd2659cc5d0feb1f2c29014b6
2022-11-01 09:04:12 +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
Alf Eaton
1bee2cfba3 Merge pull request #10195 from overleaf/ae-editor-left-menu-actions-test
Add test for clone project modal action

GitOrigin-RevId: 7dfa3f4c394efe3c138112f0cfff1f4858b06960
2022-10-31 09:04:26 +00:00
Alf Eaton
f8ddacafd0 Merge pull request #10217 from overleaf/ae-cypress-spec-pattern
Update the pattern for matching Cypress test files

GitOrigin-RevId: d41cafe0468da5b124286f2413b065f650241b7e
2022-10-31 09:04:19 +00:00
Alf Eaton
4c01cdacb5 Merge pull request #10215 from overleaf/ae-server-ce-develop-npm-cache
Remove npm-cache volume from Server CE dev env docker-compose config

GitOrigin-RevId: dab7c0b2fbf3cb9f637ce3edd8f3a871c1030fd0
2022-10-31 09:04:12 +00:00
Tim Down
3dbcc03db2 Merge pull request #10063 from overleaf/td-extra-editing-session-metrics
Add extra editing session metrics

GitOrigin-RevId: d382719364e9fe029cd664e77608faa50204e0e0
2022-10-31 09:04:04 +00:00
Miguel Serrano
b299ccf139 Merge pull request #10191 from overleaf/msm-new-joiner-survey
Banner to recruit new joiners for survey

GitOrigin-RevId: f901818cb428f0338de55655885eb8b54e702268
2022-10-28 08:05:22 +00:00
M Fahru
b85ae6e58e Migrate actions menu in editor left menu to react (#10102)
* Migrate actions menu in editor left menu to react

* Move margin from inline style to css file

* remove focus selector to avoid "highlighting" the button after closing modal and regain focus

* Add disabled state on word count button when the compiling is loading or failed

* Use div instead of button for disabled word count button

* Add accessibility text props when LeftMenuButton is disabled

* Add actions menu test cases and storybook components

* use util assign function and wrap function prop in usecallback

GitOrigin-RevId: 81ab104be21fbcf5dfbc72c07d29eeb32976c61f
2022-10-28 08:05:14 +00:00
M Fahru
d98e32f38a Remove unused class selector.
This is an artefact and should have been removed when we removed the rich text survey component.

GitOrigin-RevId: cdda625b02328b8c300a91178733321ecfcd7290
2022-10-28 08:05:07 +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
ilkin-overleaf
09c330caff Merge pull request #10193 from overleaf/ii-check-password-for-reuse-remove-samplerate
Remove sampleRate from metrics.inc when checking password

GitOrigin-RevId: 830383208039e239bb15a1172fea2ff9fb97373f
2022-10-28 08:04:51 +00:00
ilkin-overleaf
c94043e2fe Merge pull request #10144 from overleaf/ii-metrics-api-patch-opts-arg
Handle opts value in Metrics API

GitOrigin-RevId: dae0de02f513bf65beb7b665259424a07490dc41
2022-10-28 08:04:43 +00:00
Brian Gough
ba68db6ba7 Merge pull request #10128 from overleaf/bg-upgrade-socket-io
upgrade socket.io in real-time

GitOrigin-RevId: 263e52a838a438641690324fc8151445581fd3f3
2022-10-28 08:03:58 +00:00
Timothée Alby
2aff826965 Merge pull request #10125 from overleaf/ta-galileo-prompt-size
Add Query Param to Control Galileo Prompt Size

GitOrigin-RevId: 01fbd60ee6c16e93844021cadb201d39d9d65810
2022-10-27 08:05:28 +00:00
Timothée Alby
ed17421b5d Merge pull request #10036 from overleaf/ta-galileo-feedback-collect
Collect Galileo Feedbacks in Mongo

GitOrigin-RevId: fe1589ab568ff1bc4de812e205d34e696f3b3a31
2022-10-27 08:04:21 +00:00
CloudBuild
6f50f6da3f auto update translation
GitOrigin-RevId: 6d8cff02c7280d8f64470f5646cdfe37fb131135
2022-10-26 08:04:20 +00:00
Jakob Ackermann
a0c180d133 Merge pull request #10156 from overleaf/jpa-web-disable-prefetch
[web] pdf-caching: double down on disabling of prefetching

GitOrigin-RevId: 60ccea883786bad306a747b5a182982bc648bbbd
2022-10-26 08:04:13 +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
Miguel Serrano
c30f887727 Merge pull request #9936 from overleaf/msm-itm-referrer
`itm_referrer` for subscription attribution

GitOrigin-RevId: 2787b55e8b7e9e415e66abef8deb669f3adf0f0d
2022-10-26 08:03:52 +00:00
Jakob Ackermann
956cacaef7 Merge pull request #10139 from overleaf/jpa-split-test-min-chunk-size
[misc] add split test for a per request pdfCachingMinChunkSize

GitOrigin-RevId: 6a8a3c6267501789f2047a67b03db6ac6df427c3
2022-10-26 08:03:39 +00:00
Jakob Ackermann
abaecac268 Merge pull request #10007 from overleaf/jpa-pdf-caching-latency-compute
[web] collect latencyCompute metric from pdf-caching

GitOrigin-RevId: f20fa2b54078a7106b2413432c4f47375878a5d6
2022-10-26 08:03:31 +00:00