Commit graph

103 commits

Author SHA1 Message Date
Jakob Ackermann
93cd752e24 Merge pull request #3646 from overleaf/jpa-narrow-global-watch-dog-scope
[frontend] aceEditor: narrow down the scope of the global watch dog

GitOrigin-RevId: 610c771eb6e4dc04acfe0a6ba6e5be7796aaeb87
2021-02-12 03:04:09 +00:00
Jakob Ackermann
36cc89299b Merge pull request #3544 from overleaf/hb-tidy-out-of-sync
Links from out of sync modal open new tab

GitOrigin-RevId: fdb3734eb7700fdf7a78719ce854999686f5b739
2021-01-13 03:04:06 +00:00
Timothée Alby
e7c4ce6e80 Merge pull request #3538 from overleaf/ta-file-tree-no-selection
[ReactFileTree] Update Editor View on Empty Selection

GitOrigin-RevId: 18744cd64c2a012488c3d0969549ae464e752a4b
2021-01-08 03:05:23 +00:00
Timothée Alby
4faa6dde0d Merge pull request #3505 from overleaf/as-reenable-lint-rules
Reenable some lint rules

GitOrigin-RevId: 42d891f24b7ab101308adcf8f31cccf7ac229a59
2021-01-06 03:07:40 +00:00
Alasdair Smith
d487ffea5c Merge pull request #3490 from overleaf/as-remove-eslint-disables
Remove empty eslint disable comments

GitOrigin-RevId: 5a0f3a5a9e4f20fdd8138ecc8c929a7587ccef66
2020-12-17 03:07:37 +00:00
Alf Eaton
2ff1cf43d6 Merge pull request #3470 from overleaf/eslint
Upgrade and configure ESLint

GitOrigin-RevId: ad5aeaf85e72c847a125ff3a9db99a12855e38aa
2020-12-16 03:08:28 +00:00
Brian Gough
c446f7712c Merge pull request #3487 from overleaf/bg-shut-down-connection-manager
shut down connection manager on out of sync

GitOrigin-RevId: e191ed62a49c72e8b8ed8c9ba57ed6e0b3606abe
2020-12-15 03:05:03 +00:00
Brian Gough
9a1ef37991 Merge pull request #3484 from overleaf/jpa-hide-ui-below-out-of-sync
[frontend] hide ui elements below the out-of-sync modal

GitOrigin-RevId: 4e48b402522531524f347c784c58f4589b753997
2020-12-15 03:04:58 +00:00
Brian Gough
ad8f7fbb5d Merge pull request #3483 from overleaf/jpa-leave-on-out-of-sync
[frontend] displaying the out-of-sync modal is a dead end

GitOrigin-RevId: 475bf851c9f07bb2a7b052879b98756881de44a2
2020-12-15 03:04:53 +00:00
Brian Gough
0b94c89990 Merge pull request #3482 from overleaf/jpa-cleanup-on-epoch-mismatch
[frontend] on editorOpenDocEpoch mismatch, cleanup the old doc

GitOrigin-RevId: b07beb33a17d218d7aa35961dee5e215bd82c315
2020-12-15 03:04:49 +00:00
Brian Gough
a393352516 Merge pull request #3479 from overleaf/jpa-ignore-error-of-other-doc
[frontend] do not process otUpdateError of other docs

GitOrigin-RevId: 95b43fbe1f24c1b60a0b9beeb3814645231e5063
2020-12-15 03:04:45 +00:00
Brian Gough
62dd773629 Merge pull request #3478 from overleaf/jpa-preseve-out-of-sync-trigger
[frontend] preserve the error handler that powers the out-of-sync modal

GitOrigin-RevId: 759ede691658d42cedec7c984b284e45d5c776e9
2020-12-15 03:04:40 +00:00
Brian Gough
2200221820 Merge pull request #3477 from overleaf/jpa-harden-switching-docs
[frontend] harden the process of switching between docs

GitOrigin-RevId: f3540782f0c45671330ca7324d9d58d9c161bf84
2020-12-15 03:04:35 +00:00
Jakob Ackermann
b7e4ece352 Merge pull request #3475 from overleaf/jpa-frontend-logging
[frontend] proper source location for console.log calls with debug=true

GitOrigin-RevId: b82860e6c113745694c3dc0617cc1bfe7daefbfb
2020-12-12 03:04:40 +00:00
Jakob Ackermann
d2dfc37421 Merge pull request #3387 from overleaf/cmg-jpa-source-code-pro
Update editor font options and load Source Code Pro

GitOrigin-RevId: 1b3ddcfcc682b484ded93598eb05621f792b2db2
2020-12-01 03:04:18 +00:00
Jakob Ackermann
b1eb510ce0 Merge pull request #3171 from overleaf/bg-end-to-end-check
add end-to-end check on unacked edits when user is typing

GitOrigin-RevId: 5914eff1f391f18d4e0ab38a39cf284fbdb28480
2020-12-01 03:04:13 +00:00
Jakob Ackermann
0f2e5542e0 Merge pull request #3356 from overleaf/jpa-unified-remote-flag
[frontend] sharejs: replace 'suppress' hack w/ unified 'remote' flag

GitOrigin-RevId: 25e761a1e543d08477d9b0f3960ddf055d38790b
2020-11-13 03:04:19 +00:00
Shane Kilkelly
fc1816b0fc Merge pull request #3337 from overleaf/jpa-fix-consitency-check
[frontend] Document: fix consistency check

GitOrigin-RevId: d303fe48e4f3460dab609d53e195992920af7b1b
2020-11-05 03:04:59 +00:00
Shane Kilkelly
57e9cf2829 Merge pull request #3304 from overleaf/ns-env-autocomplete-nesting
Parse nested environments for autocomplete suggestion

GitOrigin-RevId: 1ddfc0e0129801f203084a74c586031ffe0d5bb9
2020-11-05 03:04:53 +00:00
Jakob Ackermann
7088651c0c Merge pull request #3301 from overleaf/ns-clean-snippets
remove malicious suggestions from autocomplete

GitOrigin-RevId: 6112b375b9f4bdbf3de3ff6651b460de1c1c31ca
2020-10-22 02:04:38 +00:00
Brian Gough
d54400af61 Merge pull request #3169 from overleaf/bg-fix-doc-race
prevent unflushed doc from being removed from openDocs

GitOrigin-RevId: 79733fdc589d1981faf577174431d65f9dbe30e7
2020-09-17 02:04:43 +00:00
Timothée Alby
8f4ddcbbbb Merge pull request #3170 from overleaf/fix-editor-race
discard previous doc load when new doc opened

GitOrigin-RevId: 0bbbb94b6ca5ebd4b5a0b4e3472f705d5337cdf5
2020-09-16 02:04:42 +00:00
Timothée Alby
bc90ffb1e8 Merge pull request #3105 from overleaf/ta-outline-go-to-pdf
[Outline] Go To PDF on Double-Click

GitOrigin-RevId: 0be4207eb26d0712814097b71906b3c9c37d4790
2020-08-25 02:04:05 +00:00
Timothée Alby
7fc0f88996 Merge pull request #3111 from overleaf/pr-file-outline-out-of-beta
File outline out of beta

GitOrigin-RevId: 64fa6554813b1d0ceff2b567922651509badecc7
2020-08-19 02:06:20 +00:00
Paulo Jorge Reis
414f7397fa Merge pull request #3073 from overleaf/pr-highlight-styling-and-beta
New highlight styling + highlight in beta

GitOrigin-RevId: e5d308bd725b4a1cfc4f0e564af05663ac4188dc
2020-08-10 15:55:37 +00:00
Timothée Alby
558854f51b Merge pull request #3030 from overleaf/ta-outline-highlight
Outline Highlight

GitOrigin-RevId: f51eec6f1714403d749e454b55be363819930b98
2020-08-10 15:54:08 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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