Alasdair Smith
5ecb02bd66
Set size of RT when review panel is expanded
2018-05-23 16:11:26 +01:00
Alasdair Smith
0918e7e694
Fix CodeMirror not scrolling correctly
...
CM has a hard-coded 300px height in it's stylesheet. Because of the way we
absolutely position the editor (to work with the dividers) we need to work a
bit to set the CM height to 100%
2018-05-23 16:11:26 +01:00
Shane Kilkelly
78f87c0ecf
Add acceptance test for the project-list and project-entities endpoints
2018-05-23 15:02:45 +01:00
Tim Alby
a9f1989eca
add test_unit_app task
2018-05-23 15:47:28 +02:00
Shane Kilkelly
ba9143fc3c
Show test-controls for admin users by default
2018-05-23 12:55:49 +01:00
Shane Kilkelly
561b62f7db
Add a hidden 'Test Controls' section to the left-menu.
...
This is to be used for hidden features that are not yet ready to ship,
and would otherwise be hidden behind a console command.
Append `?tc=true` to the project url to reveal this panel.
2018-05-23 12:37:42 +01:00
Paulo Reis
fb33fc6c30
Add loading indicators; handle binary files; keep selected file across points in time.
2018-05-23 12:14:27 +01:00
Shane Kilkelly
f5dd94ca1d
Remove test code from FileTreeManager
2018-05-23 11:46:37 +01:00
James Allen
103ddd79ef
Merge pull request #580 from sharelatex/ja-fix-trials
...
Use intelligent /user/trial v2 URL for v2 trials
2018-05-23 11:46:17 +01:00
Shane Kilkelly
295425e791
Check that user can read a project on entities-json route
2018-05-23 11:34:55 +01:00
Shane Kilkelly
6a5af88e12
Remove stray comment
2018-05-23 11:32:00 +01:00
Alberto Fernández Capel
a5b608a502
Merge remote-tracking branch 'origin/master' into afc-metrics-spike
2018-05-23 09:38:22 +01:00
James Allen
2ff5ecb342
Use intelligent /user/trial v2 URL for v2 trials
2018-05-22 16:59:59 +01:00
Shane Kilkelly
4daf062be9
Add unit test for ProjectController.projectEntitiesJson
2018-05-22 16:40:39 +01:00
Shane Kilkelly
b1c1cdecef
Add unit test for ProjectController.userProjectsJson
2018-05-22 16:17:59 +01:00
Jessica Lawshe
6a84fb374f
Merge pull request #567 from sharelatex/jel-remove-wiki-page-btn
...
Remove suggest new wiki doc
2018-05-22 10:07:47 -05:00
Shane Kilkelly
bc5769cd73
Stub out the ProjectEntityHandler in ProjectController tests
2018-05-22 15:56:01 +01:00
Paulo Reis
f4f3a4375b
Add history toolbar (just scaffolding); show files at point in time.
2018-05-22 15:40:57 +01:00
Shane Kilkelly
691eec48ba
Merge branch 'master' into sk-linked-files-from-project
2018-05-22 15:39:09 +01:00
Shane Kilkelly
e34131ed45
Add acceptance test for project linked files
2018-05-22 15:01:51 +01:00
Shane Kilkelly
73184c063e
Be more specific about the source-file-not-found error case
2018-05-22 11:36:35 +01:00
James Allen
701a803da7
Fix ProjectInvite tests since the user no longer had the features
2018-05-22 10:19:47 +01:00
James Allen
1d0be569a6
Fix SubscriptionUpdater -> FeaturesUpdater miscall
2018-05-22 10:05:08 +01:00
James Allen
50bd60dd51
Split FeaturesUpdater out of SubscriptionUpdater
2018-05-22 10:05:08 +01:00
James Allen
0830c473ad
Update unit tests and refactor to make more testable
2018-05-22 10:05:08 +01:00
James Allen
4deaf7865d
Guard against no apis.v1 setting
2018-05-22 10:05:08 +01:00
James Allen
b1f378208d
Properly merge subscriptions from different places
2018-05-22 10:05:08 +01:00
Paulo Reis
81c93e11d0
History file tree integration with the backend.
2018-05-21 15:13:34 +01:00
Paulo Reis
a501e7dc85
History file tree styles.
2018-05-21 15:13:16 +01:00
Paulo Reis
a716f9ccd3
Integrate history file tree in the UI.
2018-05-21 15:12:47 +01:00
Paulo Reis
6701b4413b
Add history file tree components.
2018-05-21 15:12:03 +01:00
Paulo Reis
2a52eab8d6
Proxy history filetree requests through web.
2018-05-21 15:10:46 +01:00
Alasdair Smith
5b3fbe47db
Merge pull request #528 from sharelatex/as-cm-spelling
...
Rich text spelling
2018-05-21 11:50:30 +01:00
Shane Kilkelly
1f2ee4e3fc
Show error if refresh fails
2018-05-21 11:02:12 +01:00
Alasdair Smith
309792401f
Re-focus editor after clicking suggestion
2018-05-21 10:35:43 +01:00
Shane Kilkelly
7d8c7bebe2
Remove commented-out code
2018-05-21 10:17:00 +01:00
Shane Kilkelly
ee1b32eee1
Check for case where the source file is not found
2018-05-21 10:12:41 +01:00
Hugh O'Brien
346f37011f
Merge pull request #546 from sharelatex/ns-allow-latexmkrc
...
Allow for latexmkrc files in project zip upload
2018-05-21 09:03:40 +01:00
Hugh O'Brien
5474ec3f70
Merge pull request #557 from sharelatex/hb-compile-react-production
...
Compile react in production mode
2018-05-21 09:03:24 +01:00
Michael Mazour
19e07485bc
Handle error in ExportsController
2018-05-18 15:08:33 +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
Shane Kilkelly
2b99080ed3
Fix rendering of long previews, stop cutting off last line in short ones
2018-05-18 11:25:01 +01:00
Shane Kilkelly
4acd55b1c6
More tidy unpacking of data
2018-05-18 11:07:59 +01:00
Shane Kilkelly
16106df2f0
Remove obsolete code
2018-05-18 11:05:20 +01:00
Shane Kilkelly
94a599d530
Fix the reloading of file view after refreshing linked file
2018-05-18 10:35:02 +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
Jessica Lawshe
0fd29d4819
Remove missing wiki controller
2018-05-17 09:43:19 -05: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
Shane Kilkelly
2345b77ea7
Validate project-linked-file data before doing import
2018-05-17 10:51:58 +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
Alberto Fernández Capel
ddb53e0272
Pin translations-sharelatex to master
2018-05-16 13:59:33 +01:00
Alberto Fernández Capel
15c52af0aa
Remove unused dependency
2018-05-16 13:59:33 +01:00
Alberto Fernández Capel
1fd923bf27
Add some comments to the webpack config
2018-05-16 13:59:33 +01:00
Alberto Fernández Capel
de645afff9
Move handlebars loader to dev dependencies
2018-05-16 13:59:33 +01:00
Alberto Fernández Capel
1087fa6797
Make jQuery version match the one statically linked
...
In 14148648e6/app/views/layout.pug (L60)
2018-05-16 13:59:33 +01:00
Alberto Fernández Capel
156263115b
Styles for the metrics app
...
Imported from v1 with minimal changes.
2018-05-16 13:59:33 +01:00
Alberto Fernández Capel
cc530666ab
Configure handlerbars loader in webpack
...
Needed for the metrics app.
2018-05-16 13:59:33 +01:00
Alberto Fernández Capel
fe75936ff7
Add dependencies needed for metrics app
2018-05-16 13:59:33 +01:00
Michael Mazour
b9c479c245
Update README description of acceptance tests.
2018-05-16 13:56:20 +01:00
Shane Kilkelly
c626446aad
Tidy up the project/file display in project-linked-file
2018-05-16 13:52:54 +01:00
Shane Kilkelly
9624e2a290
Record the source project display name, to render with the file
2018-05-16 13:44:21 +01:00
Shane Kilkelly
f533674dbd
Clean up
2018-05-16 13:26:59 +01:00
Shane Kilkelly
7292602167
More fine-grained loading spinners
2018-05-16 11:49:10 +01:00
Shane Kilkelly
e3bc6cac9e
Auto-set filename based on selected file
2018-05-16 11:12:00 +01:00
Shane Kilkelly
74d8e67a05
Remove leading slash from path names, for display
2018-05-16 10:58:56 +01:00
Shane Kilkelly
f2702c7b0a
Show the linked-files UI for project-linked-files
2018-05-16 10:41:21 +01:00
Shane Kilkelly
103832af7d
Functioning project-linked-file importer
2018-05-16 10:29:51 +01:00
Shane Kilkelly
9c33f3f8bc
WIP: Project Linked File modal
2018-05-15 16:22:47 +01:00
Shane Kilkelly
33b4a1768b
Merge branch 'master' into sk-linked-files-from-project
2018-05-15 10:53:59 +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
hugh-obrien
d1756436e8
compile react in production mode
2018-05-11 15:34:22 +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
Nate Stemen
d108b11bc0
Add latexmkrc in FileTypeManager
2018-05-10 16:59:58 -04: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
James Allen
b7be63f3a8
Import Overleaf v1 theme from sharelatex/ace
2018-05-04 15:12:47 +01:00
Brian Gough
afd4a10a19
retry lock with exponential backoff
2018-05-04 15:02:36 +01:00
James Allen
1aadd7d369
Configure line height and font family separately for v2
2018-05-04 14:05:20 +01:00
James Allen
b847638ed1
Clean up comments and callbacks
2018-05-04 13:31:26 +01:00
Brian Gough
e414100c41
add support for unique lock values
2018-05-04 13:22:33 +01:00
Shane Kilkelly
30beb098ab
Sort the project entities by path
2018-05-04 11:06:59 +01:00
Shane Kilkelly
08263180fa
Add project_id to the entities payload
2018-05-04 11:03:54 +01:00
Shane Kilkelly
3c3ce2010a
Add endpoint to list entities within a project
2018-05-04 10:45:13 +01:00
Shane Kilkelly
4925bfe536
Add an endpoint to get users projects as json
2018-05-04 09:44:13 +01:00
James Allen
7e250be66d
Update font and line spacing in Ace to match OL v1
2018-05-03 17:04:49 +01:00
James Allen
42ac8faaae
Add dependency mapping for vim keybindings
2018-05-03 17:01:34 +01:00
Shane Kilkelly
87fb226c3e
Fix invocation of getFileStream
2018-05-03 15:30:44 +01:00
Shane Kilkelly
5cb85c0332
WIP: Add ProjectFileAgent
2018-05-03 14:29:03 +01:00
James Allen
8ecd073efc
Support Ctrl-. to compile for v1 compabitility
2018-05-03 12:28:14 +01:00
James Allen
09486f2eea
Recompile on Cmd-S and :w
2018-05-03 12:20:53 +01:00
Hayden Faulds
7c93c92c6a
Merge pull request #531 from sharelatex/hof-custom-retry
...
add V1HistoryNotSyncedError
2018-05-02 14:01:07 +01:00
Hayden Faulds
ba0e06d0fe
add V1HistoryNotSyncedError
2018-05-02 13:18:43 +01:00
Paulo Reis
9f6dc12658
Add custom styling; add code to handle point-in-time selection.
2018-05-01 17:27:51 +01:00
Shane Kilkelly
1c31012135
Merge branch 'master' into sk-fix-chat-link-color-in-v2
2018-05-01 15:23:42 +01:00
Shane Kilkelly
af70ef0dc4
Add templates
to the hasFeature
function
2018-05-01 14:01:52 +01:00
Shane Kilkelly
387108da48
Make links in chat messages white (same as text), with underline
2018-05-01 10:16:56 +01:00
James Allen
40da785363
Fix test for sampling front users
2018-05-01 09:02:43 +01:00
James Allen
dfc2b8631b
Merge pull request #521 from sharelatex/as-watch-modules-coffee
...
Add modules public/coffee dir to nodemon frontend watch
2018-05-01 08:50:31 +01:00
James Allen
d2e54c5e0c
Merge pull request #504 from sharelatex/afc-show-group-export-csv
...
Show export user CSV even if the group has reached max capacity
2018-05-01 08:50:04 +01:00
James Allen
4c7364fd01
Merge pull request #503 from sharelatex/ja-reorder-compile-rate-limits
...
Re-order compile rate limits
2018-05-01 08:48:22 +01:00
James Allen
a294fe795c
Merge pull request #519 from sharelatex/ja-relative-dates-in-v2
...
Display last modified as a relative date in v2
2018-05-01 08:48:14 +01:00
James Allen
d454be8053
Bring down proportion to 10%
2018-04-30 17:19:21 +01:00
James Allen
6399621d1f
Show front widget for paid and sampled free users
2018-04-30 17:13:57 +01:00
Alasdair Smith
b2e3997e83
Add modules public/coffee dir to nodemon frontend watch
2018-04-30 10:18:06 +01:00
James Allen
5c87a2aa90
Display last modified as a relative date in v2
2018-04-27 16:50:46 +01:00
Paulo Reis
6e6bc91130
Style the history entries components.
2018-04-27 15:59:28 +01:00
hugh-obrien
157efa6d96
make publish modal accessible from query string
2018-04-27 15:50:11 +01:00
Hugh O'Brien
5a580b6ef9
Merge pull request #517 from sharelatex/hob-publish-menu-style
...
Remove ol-variables which cause style problems in SL
2018-04-27 14:54:30 +01:00
hugh-obrien
e76a15e4e0
remove ol core variables
2018-04-27 14:50:52 +01:00
Hugh O'Brien
780b377cf2
Merge pull request #515 from sharelatex/hob-publish-menu-style
...
Basic publish menu styling
2018-04-27 14:25:34 +01:00