Commit graph

425 commits

Author SHA1 Message Date
Eric Mc Sween
5b0d5447da Merge pull request #2999 from overleaf/as-em-fix-double-updates-load
Fix history loading updates twice on scroll

GitOrigin-RevId: 964863c7357eef36b2833c7b1e8ebaa07020fb2c
2020-07-21 02:06:42 +00:00
Eric Mc Sween
c200511f86 Merge pull request #3016 from overleaf/ta-editor-load-events
Fix Editor Load Events

GitOrigin-RevId: bb23f17ccab2d53933ad9da870f8ce26fdd169df
2020-07-21 02:06:37 +00:00
Paulo Jorge Reis
4b90b09365 Merge pull request #2987 from overleaf/ta-outline-tracking
Add Event Tracking to Outline

GitOrigin-RevId: 239430ef0ff6ff67bf7c90291969cd28efde0d4a
2020-07-17 02:07:06 +00:00
Paulo Jorge Reis
e0dd4d0cf5 Merge pull request #3019 from overleaf/pr-fix-outline-jump-to-location
Fix outline "jump to location" feature.

GitOrigin-RevId: a760a885b997424bf677313636ac16588776b76a
2020-07-17 02:07:00 +00:00
Paulo Jorge Reis
3660a98fd3 Merge pull request #2979 from overleaf/ta-outline-parser-v2
Improve Outline Parser

GitOrigin-RevId: 1774ac1055efc8c2b899396e4f56b6993438daad
2020-07-17 02:06:48 +00:00
Paulo Jorge Reis
0e9771ac09 Merge pull request #3007 from overleaf/pr-file-outline-extras
File outline extras

GitOrigin-RevId: c35c4f35dce280c9f44c02b567df9734943d0cb0
2020-07-17 02:06:42 +00:00
Miguel Serrano
ce3ca981a8 Merge pull request #2980 from overleaf/ta-outline-no-reopen
Don't Always Expand File Outline After Switching Files

GitOrigin-RevId: 639887686082e2868561c3e7300d42a73dd34f5a
2020-07-11 02:04:40 +00:00
Eric Mc Sween
bd7bddc2d6 Merge pull request #2960 from overleaf/jpa-remove-carriage-return-char
[frontend] ShareJsDoc: remove carriage return char from initial snapshot

GitOrigin-RevId: c4a2efaa9c1a372bfe7503ab5a55171c7c76b113
2020-07-01 02:10:54 +00:00
Eric Mc Sween
3b69a3fc1d Merge pull request #2938 from overleaf/jpa-simple-sampled-socket-io-error
[misc] emit 'socket-io-error' event on connection setup errors

GitOrigin-RevId: 3054da8ec692574f8383fd6cff8788165cbad89b
2020-07-01 02:10:36 +00:00
Timothée Alby
1012dbc3c4 Merge pull request #2961 from overleaf/ta-spike-outline
Document Outline Spike

GitOrigin-RevId: adc315a3546147eb10c7a40ae70f9cab1cbf7b8d
2020-06-30 02:10:19 +00:00
Alasdair Smith
0d2a768e1e Merge pull request #2937 from overleaf/as-remove-global-lodash
Replace global Lodash with explicit imports in frontend

GitOrigin-RevId: b092647039975ac594b69ce1fa145fd03552cc60
2020-06-24 02:10:29 +00:00
Brian Gough
8c4e4bab3f Merge pull request #2908 from overleaf/bg-add-missing-leave-doc-event
add leaveDoc event

GitOrigin-RevId: 6d8a40b1226ced7d853e2b72f02d484619a982ce
2020-06-20 02:10:47 +00:00
Brian Gough
a078a34e75 Merge pull request #2902 from overleaf/bg-handle-clsi-503
handle 503 unavailable from clsi with retry

GitOrigin-RevId: 2b90aadbe93af5007a5a64ff3d2330b2fffbf56f
2020-06-13 02:11:10 +00:00
Brian Gough
a9fd2de493 Merge pull request #2906 from overleaf/bg-fallback-for-unknown-compile-response
fallback to error case on unknown compile response

GitOrigin-RevId: 30d2d7e282dceaa6291cf9701c024890081898a7
2020-06-13 02:11:04 +00:00
Jessica Lawshe
d9e4bda90b Merge pull request #2859 from overleaf/ns-cmg-history-labels-deletion
Ensure history label dissapears from UI when deleted

GitOrigin-RevId: fe48cbce9fbd70f7008043dc202a5d985bd6c5fb
2020-06-12 02:10:35 +00:00
Jakob Ackermann
9eaa1f9677 Merge pull request #2890 from overleaf/jpa-socket-io-secondary-id
[misc] socket.io: use a secondary publicId for public facing usages

GitOrigin-RevId: f472c90ce0706aaf409e63c4199e71899b1aefa3
2020-06-09 02:10:34 +00:00
Chrystal Maria Griffiths
50585a22b3 Merge pull request #2881 from overleaf/jpa-socket-io-retry-handshake
[misc] socket.io: retry the initial connection attempt

GitOrigin-RevId: e7f7e8eb233015f41b2b8c67e46c4661b8fad3c9
2020-06-06 02:09:55 +00:00
Alasdair Smith
8f5270899f Merge pull request #2707 from overleaf/as-transform-esm
Transform frontend module format from AMD to ESM

GitOrigin-RevId: 9adbcdc95e819a54114010c6fd3521d8f58ef2fe
2020-05-20 03:21:38 +00:00
Ersun Warncke
29c60aa4d0 remove call to removed method
GitOrigin-RevId: c75d51ecd56c52b6320ebd6d8e389a0a2bc58a41
2020-05-19 03:20:25 +00:00
Hugh O'Brien
76af2e4319 linting
GitOrigin-RevId: c177ac287aa98c16fa6c89d865e12a4a08779e0b
2020-05-19 03:20:14 +00:00
Hugh O'Brien
b5814f0a3a remove gravatars
GitOrigin-RevId: e90bddcc560160cdf7397acc311f7f31f9861f81
2020-05-19 03:20:09 +00:00
Jessica Lawshe
30a2997b43 Merge pull request #2789 from overleaf/as-fix-no-undef
Enable no-undef linting rule for all frontend files and fix errors

GitOrigin-RevId: bf9c789a381af982bdece55a2f518a2b610c9202
2020-05-13 03:23:18 +00:00
Jessica Lawshe
a0c9b12204 Merge pull request #2824 from overleaf/jel-file-count
Exclude deleted files from getFullCount

GitOrigin-RevId: 2d01dc7aee50e8a237fe4c7dc9bbaae27ac53cc1
2020-05-13 03:23:06 +00:00
Miguel Serrano
e1cc614da7 Merge pull request #2800 from overleaf/jpa-force-flush-onblur
[frontend] EditorManager: flush the documents as the editor looses focus

GitOrigin-RevId: 9157eba091e21c80202448b6c28c22dddd8cb687
2020-05-07 03:27:47 +00:00
Hugh O'Brien
7a315bfa4d Merge pull request #2759 from overleaf/hb-read-only-on-connection-lost
Read only mode on lost connection and local file contents on Out of Sync error

GitOrigin-RevId: e31a259be122ad162e98746cd06a7794a95e78fa
2020-05-02 03:19:31 +00:00
Alasdair Smith
be900488a9 Merge pull request #2773 from overleaf/as-fix-safari-spell-menu
Fix bug where spell menu was opened/closed quickly

GitOrigin-RevId: b6c2385a9893e56c6552a65f9104cbbe73f71876
2020-04-28 03:21:48 +00:00
Simon Detheridge
f84ef4e999 Merge pull request #2769 from overleaf/jpa-fix-socket-io-v2-ie11
[frontend] ConnectionManager: ie11 fix for socket.io v2 and wsUrl

GitOrigin-RevId: 9692a1b7c6b0278e8069013a68990b69694ba549
2020-04-25 03:18:59 +00:00
Eric Mc Sween
bf952e134f Merge pull request #2762 from overleaf/as-prevent-missing-pdf-exception
Prevent Sentry from reporting "expected" MissingPDFException

GitOrigin-RevId: 4a6da75bcb3710df7b3be71005d57160e609b0d4
2020-04-24 03:30:59 +00:00
Eric Mc Sween
674afe400d Merge pull request #2755 from overleaf/jpa-fix-race-in-references-boot
[frontend] ReferencesManager: fix a race condition with the socket boot

GitOrigin-RevId: cf21970bfc95128047d519b7c03ea0a29740174c
2020-04-24 03:30:50 +00:00
Miguel Serrano
310f7a7c60 Merge pull request #2741 from overleaf/hb-apply-please-scroll-pdf
Force pdf viewer to check watches on clickable link

GitOrigin-RevId: 364da514147751c4c1f69491a5070c94bf94aece
2020-04-23 03:29:30 +00:00
Jakob Ackermann
a0359009f9 Merge pull request #2677 from overleaf/jpa-socket-io-v2-shim
[socket.io] add support for v2 using a compatibility shim

GitOrigin-RevId: ef52a3d8e4fdf191f6a8c1a530dfce25f3a11466
2020-04-21 03:23:06 +00:00
Timothée Alby
e3bd6951cf Merge pull request #2735 from overleaf/jpa-try-ws-fallback-on-missing-js
[frontend] ConnectionManager: use fallback backend on missing js blob

GitOrigin-RevId: cd5acf17c67d7fd94641411842f31a17942f1385
2020-04-15 03:15:28 +00:00
Timothée Alby
dba294377c Merge pull request #2736 from overleaf/cmg-ns-set-root-doc
Ensure setRootDoc settings persist

GitOrigin-RevId: 76b7633719b4193dbd70ada98f2889730803b583
2020-04-15 03:15:17 +00:00
Shane Kilkelly
92fb6b2f2d Merge pull request #2723 from overleaf/jpa-fix-scope-in-error-handler
[misc] frontend: ide error reporting handler: fix scoping for socket

GitOrigin-RevId: bd9d169191bdf1b6b50805e9564cf50851ad3279
2020-04-09 03:20:51 +00:00
Alasdair Smith
bc1b73d74e Merge pull request #2515 from overleaf/as-transform-absolute-paths
Transform absolute paths in frontend to relative

GitOrigin-RevId: c1914c0fd09d68984ba6c85a1f00aa3e6858d944
2020-04-07 03:18:45 +00:00
Jakob Ackermann
1a09965503 Merge pull request #2719 from overleaf/jpa-custom-wsurl-for-beta-users
[frontend] ConnectionManager: add support for ie11

GitOrigin-RevId: ab1280f8da68fa87c266463e617b0a84a48065ce
2020-04-03 03:20:58 +00:00
Jakob Ackermann
d6fa1b1ca3 Merge pull request #2718 from overleaf/jpa-custom-wsurl-for-beta-users
[frontend] ConnectionManager: fix dumb string concat in socket.io v0

GitOrigin-RevId: a1c472623e07b020e498d621e9f3241f8afc44f6
2020-04-03 03:20:53 +00:00
Jakob Ackermann
155b22caf9 Merge pull request #2713 from overleaf/jpa-custom-wsurl-for-beta-users
[misc] custom wsUrl for beta users

GitOrigin-RevId: e731ae7245e9c5586ae82cbc4c6716a74e56f2c9
2020-04-03 03:20:47 +00:00
Jakob Ackermann
bdbbe1d596 Merge pull request #2687 from overleaf/jpa-fix-failing-reconnect-caused-by-backend
[frontend] ConnectionManager: fix failing reconnects (caused by backend)

GitOrigin-RevId: f66e45fcb22849c2057b24eabde319ae7781ec51
2020-03-31 03:18:36 +00:00
Jakob Ackermann
4d67acc7f5 Merge pull request #2686 from overleaf/jpa-fix-parallel-reconnect
[frontend] ConnectionManager: fix parallel reconnect

GitOrigin-RevId: 38619b30dc38fd2732b77c0a785c8ab2857c81ff
2020-03-31 03:18:32 +00:00
Jakob Ackermann
2ce244d662 Merge pull request #2685 from overleaf/jpa-fix-out-of-sync-open-doc
[frontend] EditorManager: out-of-sync: wait for joinProject to complete

GitOrigin-RevId: d3006f2ad36c6094815aa892e65d2cf8c8243472
2020-03-31 03:18:27 +00:00
nate stemen
3b027eba22 Merge pull request #2662 from overleaf/cmg-dont-always-scroll
Stop file tree item being scrolled to if it is already in view

GitOrigin-RevId: 7728bca54ab3bdc60537bd7699919240359e127d
2020-03-19 04:17:13 +00:00
nate stemen
3a2bdfe7f1 Merge pull request #2665 from overleaf/pr-fix-spelling-markers-safari
Spellcheck improvements + fix spelling markers being out of place

GitOrigin-RevId: fa70e257f96f78d3570c86871f85c79daf08014c
2020-03-19 04:17:09 +00:00
Eric Mc Sween
5527cab2a2 Merge pull request #2680 from overleaf/jpa-fix-cache-bust
[frontend] fix cache busting: add timestamp unless build id is present

GitOrigin-RevId: ece768cb33af47182b920c894636d686dba02c3b
2020-03-17 04:18:23 +00:00
Timothée Alby
620b95fbe8 Merge pull request #2656 from overleaf/jpa-import-709
[misc] fileOperationI18nNames: drop blocking DOM access

GitOrigin-RevId: e6aab686fc8d4fe3b5515033b88548278c7bf7c0
2020-03-10 04:14:42 +00:00
Hugh O'Brien
d20518fdd4 Merge pull request #2624 from overleaf/hb-warning-nearing-file-limit
Show warning near or above file limit in upload modal

GitOrigin-RevId: 75e7c41e526ccde9516f7caf6ef1b9cbc59c2439
2020-03-04 04:21:48 +00:00
Eric Mc Sween
506bc44336 Merge pull request #2621 from overleaf/jpa-ns-empty-history
Add messaging to projects with empty history

GitOrigin-RevId: 3fab0b115d35ec3d7f7d1ffa5603b7c7d3423c94
2020-03-03 04:21:48 +00:00
Eric Mc Sween
130f97d621 Merge pull request #2625 from overleaf/bg-fix-spelling-stateful-regexp
fix stateful regexp usage in SpellCheckManager

GitOrigin-RevId: 6ac93e6a9227a638b30882ce99771e30c1a097c1
2020-02-28 04:18:37 +00:00
Eric Mc Sween
5f712645ed Merge pull request #2626 from overleaf/bg-fix-editor-regexps
fix stateful regexp usage in editor inputs

GitOrigin-RevId: 4950066251cb6235e218ff4f600fab2652d15e76
2020-02-28 04:18:33 +00:00
Eric Mc Sween
c120309dd0 Merge pull request #2591 from overleaf/pr-avoid-out-of-sync-error-spellcheck
Avoid out of sync error spellcheck

GitOrigin-RevId: e9772c01ffc0ffaca5d137e8e43e797903b727cd
2020-02-28 04:18:29 +00:00
nate stemen
3b70e080b1 Merge pull request #2601 from overleaf/jpa-hotfix-autocomplete-deleted-docs
[autocomplete] ignore deleted docs for completion

GitOrigin-RevId: 9f39bbb90d443e7a1691ff5558742e4d12f4eb4d
2020-02-21 04:20:45 +00:00
Simon Detheridge
bb3394885c Merge pull request #2604 from overleaf/cmg-duplicate-modal-root
Stop duplicate file modal appearing when moving back to original folder - root edition

GitOrigin-RevId: 11fe3b2457190f8bada010a344143a66b8967f34
2020-02-19 04:20:43 +00:00
Brian Gough
69a98355ce Merge pull request #2599 from overleaf/bg-fix-safepath-check
fix safepath check

GitOrigin-RevId: b5bb636d2bd958ab142fa94683ad9cf58369a77d
2020-02-14 04:16:44 +00:00
Simon Detheridge
de40289b38 Merge pull request #2588 from overleaf/ns-add-text-extensions
add more extensions to editable files

GitOrigin-RevId: f2a52eee148a78c8cb3623f27e25f2e0801ef835
2020-02-13 04:20:53 +00:00
Simon Detheridge
73defe82d9 Merge pull request #2561 from overleaf/pr-reduce-spellcheck-initial-req
Reduce spellcheck initial (and subsequent) requests

GitOrigin-RevId: 81eee359ea1bc740991ba84b0fe121c37cb4c6a2
2020-02-13 04:20:44 +00:00
Chrystal Maria Griffiths
3785be1fec Merge pull request #2566 from overleaf/cmg-invalid-filename
Suppress error for empty filename when still editing

GitOrigin-RevId: 42d7fa9af9b183603577effb5d1daaafa21ce065
2020-02-13 04:20:22 +00:00
Jessica Lawshe
222ba263ff Merge pull request #2552 from overleaf/jel-update-pdfjs
Update PDF.js

GitOrigin-RevId: 231ab11eccc32e4eddc87fc8829dd28843e41a51
2020-02-12 04:21:05 +00:00
nate stemen
1f514ec603 Merge pull request #2550 from overleaf/jpa-strip-tex
[autocomplete] input/include: strip the .tex extension

GitOrigin-RevId: 15ae910e38717382a734848c33cbdb3c66a75ac9
2020-02-04 04:19:09 +00:00
Brian Gough
f01df58a04 Merge pull request #2558 from overleaf/bg-add-user-info-to-client-error-reports
add user_id and project_id to client side error reports

GitOrigin-RevId: 3966e9a6c969e198bd333c1ce6687d58b6fa0128
2020-01-30 04:16:39 +00:00
Brian Gough
327f8979b6 Merge pull request #2551 from overleaf/bg-fix-race-condition-in-open
fix worst case of race condition in EditorManager.openNewDocument

GitOrigin-RevId: 24cbc87de2e420c35ffd6a82a2cd761229fd03e1
2020-01-30 04:16:35 +00:00
Brian Gough
4bbc745f4a Merge pull request #2546 from overleaf/bg-update-filetree-on-open
update the file tree selection whenever a document is opened

GitOrigin-RevId: 88d7b651b43d0a0ca5fa9998d4c42c7b1d3effc5
2020-01-30 04:16:30 +00:00
Simon Detheridge
3157d0e04d Merge pull request #2525 from overleaf/cmg-duplicate-modal-updates
Stop duplicate file modal appearing when moving back to original folder

GitOrigin-RevId: 4b8cd83df1bb3ce854e4f7e46176f9171bd61aa0
2020-01-17 04:20:04 +00:00
Henry Oswald
fe8ef3f08f Merge pull request #2531 from overleaf/ho-restore-lodash-2526
Revert "Reverts move from underscore to lodash"

GitOrigin-RevId: 1ea964d5c98a85f9490c0e731d6a68335df93c67
2020-01-17 04:19:51 +00:00
Brian Gough
630a47ed0c Merge pull request #2530 from overleaf/bg-remove-force-reopen-in-log
remove forceReopen in log pane

GitOrigin-RevId: 63c28f374234ac3b07cc3fc2686b6487ad55f32d
2020-01-17 04:19:43 +00:00
Henry Oswald
c607976c4a Merge pull request #2526 from overleaf/ho-revert-to-underscore
Reverts move from underscore to lodash

GitOrigin-RevId: 3d88590a76c37a43f693b53400fdf1f24384cafb
2020-01-17 04:19:30 +00:00
Jessica Lawshe
f2943054fb Merge pull request #2491 from overleaf/as-unvendor-moment
Unvendor moment from the frontend

GitOrigin-RevId: 19ffc42a2d3e6eecfbec42575a0472f992c8abda
2020-01-08 04:18:19 +00:00
Timothée Alby
b185e60749 Merge pull request #2483 from overleaf/as-switch-frontend-to-lodash
Switch frontend from underscore to lodash

GitOrigin-RevId: 7fbc72d2ead6a14ff04f085f01fff5a3dddb77f0
2020-01-08 04:18:01 +00:00
nate stemen
84f81d0eac Merge pull request #2470 from overleaf/cmg-file-tree-highlight
Expand folder to show highlighted file in file tree

GitOrigin-RevId: 7fb9174fd71eb362655bcabf2f7884597aebee47
2020-01-03 04:21:53 +00:00
nate stemen
587c4ba129 Merge pull request #2471 from overleaf/cmg-ns-existing-item-modal
display modal if file exists in drop location

GitOrigin-RevId: 2dbcbce26c32903f1acfdfbf7fdddb676c130098
2020-01-03 04:21:47 +00:00
Brian Gough
f42bb68e74 Merge pull request #2468 from overleaf/bg-optmise-reindexing-of-refs
avoid reindexing references when bib file is unchanged

GitOrigin-RevId: 723c83a256baece49dcc9a7d51364a25ca3c861f
2019-12-18 04:17:18 +00:00
Timothée Alby
5575281dec Merge pull request #2416 from overleaf/ta-sk-multi-select-fix
Better UI feedback for multi-select, and "no file selected" case

GitOrigin-RevId: f415a19a0dc93a18a7f00e5854e2181c51f826b1
2019-12-17 04:22:47 +00:00
Alasdair Smith
26190da566 Merge pull request #2349 from overleaf/as-webpack-css
Compile CSS using webpack

GitOrigin-RevId: 489834038667dde572ea5d9b4b9392b362259a09
2019-11-28 10:39:09 +00:00
Eric Mc Sween
1c0dc0a13f Merge pull request #2376 from overleaf/cmg-no-comment-blur
Stop cancelling a comment on Safari from still creating it

GitOrigin-RevId: b2e6ca77caa9ba318d330f23dd88e04972c7c829
2019-11-21 13:00:22 +00:00
Hugh O'Brien
bf91fe9a05 Merge pull request #2360 from overleaf/hb-reinstate-shortened-cite-autocomplete
Reinstates old behaviour for long autocompletes

GitOrigin-RevId: 832499745a6a491008b30f0c31fbba46bde80c7a
2019-11-18 11:21:32 +00:00
Alasdair Smith
e035d526d6 Merge pull request #2287 from overleaf/as-frontend-rearch
Restructure frontend directories

GitOrigin-RevId: 5a1224ca186f4809df45680a80d374c1c318d7bf
2019-11-05 14:22:52 +00:00