Alasdair Smith
309792401f
Re-focus editor after clicking suggestion
2018-05-21 10:35:43 +01:00
Alasdair Smith
c2d7809e05
Add removeWord so that learning word removes all highlights for given word
2018-05-18 14:23:36 +01:00
Alasdair Smith
a719ac6e6e
IE11 doesn't support Array.find so use underscore instead
2018-05-18 13:33:06 +01:00
Alasdair Smith
681e67ecea
Be more consistent with naming
2018-05-18 11:29:27 +01:00
Alasdair Smith
846f27f0ad
Clear highlights that are "touching" the cursor on change
...
This means that correcting a mistake won't wait until the request has resolved and that only the word at the end of the line will have it's spelling
highlight removed instead of the entire row
2018-05-18 11:29:27 +01:00
Alasdair Smith
2be023c731
Prevent spell error marker adding newly typed characters
2018-05-18 11:29:27 +01:00
Alasdair Smith
9fa85400b3
HighlightedWordManager is more naive about tracking position
...
We are relying entirely on Ace's tracking of markers with the anchor trick.
This means that we don't have to apply changes to ensure that the word manager
data structure tracks which row the highlights are on. This is traded off
against slightly less efficient searching/removing
2018-05-18 11:29:27 +01:00
Alasdair Smith
ebf1b7c84c
Extract SpellCheckAdapter to separate file
2018-05-18 11:29:27 +01:00
Alasdair Smith
d2bba0eb60
Fix firefox not closing contextmenu correctly
2018-05-18 11:29:27 +01:00
Alasdair Smith
9c56f6c2fc
Add init test for SpellCheckManager
2018-05-18 11:29:27 +01:00
Alasdair Smith
034531d323
Replace word with suggestion and learn word
2018-05-18 11:29:27 +01:00
Alasdair Smith
cf123ce857
Extract spellMenu component and use when showing spell suggestions
2018-05-18 11:29:27 +01:00
Alasdair Smith
e6ffaaa489
Handle contextmenu for spelling
2018-05-18 11:29:27 +01:00
Alasdair Smith
abcc2cc11b
Style codemirror spelling errors
2018-05-18 11:29:27 +01:00
Alasdair Smith
8de2267824
Adapt aceEditor to use new spell check manager with adapter
2018-05-18 11:29:27 +01:00
Alasdair Smith
22e41cdce7
Simplify word manager to use Range + Anchor to automatically keep marker positions up-to-date
...
Re-implement highlighted word manager to be simpler
2018-05-18 11:29:16 +01:00
Alasdair Smith
37ca7b54a6
Re-implement spell check manager with adapter to abstract away editor
2018-05-18 11:29:16 +01:00
Hugh O'Brien
24b4f9c46f
Merge pull request #436 from sharelatex/mm-project-export
...
Project exports spike
2018-05-18 10:31:15 +01:00
James Allen
8b533841d4
Merge pull request #563 from sharelatex/ja-hide-timeout-upgrade
...
Put the compile timeout upgrade behind an enableSubscriptions flag
2018-05-17 11:55:28 +01:00
James Allen
e7a4aeaf79
Merge pull request #560 from sharelatex/ja-enable-v2-for-all
...
Enable the v2 banner for everyone if showV2Banner is set
2018-05-17 11:55:21 +01:00
James Allen
3724edfc10
Fix translation string interpolation
2018-05-17 11:25:14 +01:00
Michael Mazour
3922b8b916
Add project export acceptance tests
...
- Add acceptance tests
- Add `MockV1Api` helper
- Add flush endpoint to `MockProjectHistoryApi` helper
2018-05-16 14:58:34 +01:00
Michael Mazour
e34dd90a1f
Add project export route and controller
2018-05-16 14:58:34 +01:00
Michael Mazour
a661084485
Add ExportsHander for project exports performed via v1
2018-05-16 14:58:34 +01:00
Michael Mazour
859858c02c
Add V1 API to settings file
2018-05-16 14:17:48 +01:00
Michael Mazour
b9c479c245
Update README description of acceptance tests.
2018-05-16 13:56:20 +01:00
James Allen
66846cc68c
Put the compile timeout upgrade behind an enableSubscriptions flag
2018-05-15 10:17:04 +01:00
Shane Kilkelly
06c0b45ef7
Merge branch 'master' into sk-fix-references-full-index
2018-05-14 13:45:12 +01:00
Shane Kilkelly
43d00a2e5f
Account for the new referencesSearch
flag when deciding to do fullIndex
2018-05-14 11:31:59 +01:00
Hayden Faulds
3fb3daaee7
Merge pull request #529 from sharelatex/sk-remove-templates-from-v2
...
Add `templates` to the `Features.hasFeature` function
2018-05-14 10:57:28 +01:00
James Allen
58b5d67bdd
Enable the v2 banner for everyone if showV2Banner is set
2018-05-14 10:29:42 +01:00
James Allen
ed7b68169e
Revert accidental dev changes to UndoManager
2018-05-11 17:05:39 +01:00
James Allen
35dc518d05
Merge pull request #553 from sharelatex/ja-configurable-fonts
...
Allow font family and line height to be user configurable
2018-05-11 13:50:03 +01:00
James Allen
1469fd8693
Merge pull request #547 from sharelatex/ns-update-readme-for-testing
...
remove old test instructions
2018-05-11 13:49:48 +01:00
James Allen
87d8eed1c8
Merge pull request #555 from sharelatex/as-archived-dash
...
Switch "deleted" projects to "archived" project
2018-05-11 13:49:38 +01:00
James Allen
3b786e389f
Merge pull request #541 from sharelatex/ja-add-overleaf-editor-theme
...
Add Overleaf v1 theme
2018-05-11 13:49:19 +01:00
Alasdair Smith
df9294816e
Show archive or leave icon based on selected projects
2018-05-11 13:46:15 +01:00
Alasdair Smith
64061f0079
Switch name of deleted projects to archived projects to reduce confusion
2018-05-11 13:45:33 +01:00
James Allen
049fe6e176
Update bracket border colour
2018-05-11 10:24:58 +01:00
James Allen
331f9ea9df
Translate default
2018-05-10 18:04:30 +01:00
James Allen
dee96920b0
Allow font family and line height to be user configurable
2018-05-10 18:03:54 +01:00
Hayden Faulds
9ccdf073c4
accept attributes rather than projectHistoryId to ProjectCreationHandler
2018-05-10 11:39:23 +01:00
James Allen
78aefc2871
Merge pull request #542 from sharelatex/ja-match-front-to-v1
...
Update font and line spacing in Ace to match OL v1
2018-05-09 12:24:37 +01:00
James Allen
1e0e006eef
Merge pull request #534 from sharelatex/ja-recompile-on-w
...
Recompile one Cmd-S, :w and Ctrl-. for v1 compatibility
2018-05-09 12:24:29 +01:00
Nate Stemen
c131dcd84d
remove old test instructions
2018-05-08 10:15:55 -04:00
Brian Gough
2bb2d9615f
added comment about using a project entity iterator
2018-05-08 13:37:33 +01:00
Brian Gough
f34ce5b12b
rename _updateProjectStructure to _updateProjectStructureWithDeletedEntity
2018-05-08 13:37:33 +01:00
Brian Gough
1278e2da45
fix project structure version when deleting folder
2018-05-08 13:37:33 +01:00
Brian Gough
24764f66ff
Merge pull request #544 from sharelatex/bg-add-lockvalue-to-lockmanager
...
improve locking in web
2018-05-08 11:11:32 +01:00
Hugh O'Brien
57f07fb5fe
Merge pull request #518 from sharelatex/hob-publish-modal-qs
...
Publish modal accessible from query string
2018-05-08 09:40:41 +01:00