Shane Kilkelly
|
5e37b1dac1
|
Move logic for selectively loading labels.
Only load labels if the user has write permission
|
2017-06-14 13:26:02 +01:00 |
|
Shane Kilkelly
|
3b066758bb
|
Don't load labels for anonymous/read-only users
|
2017-06-13 14:06:00 +01:00 |
|
Shane Kilkelly
|
954c53aec6
|
Move the labels event logic into ide/labels/LabelsManager
|
2017-06-13 13:29:03 +01:00 |
|
Shane Kilkelly
|
a04eb1197d
|
Move labels service to /ide/labels/services/labels
|
2017-06-13 11:43:25 +01:00 |
|
Shane Kilkelly
|
b97becc7a2
|
Change getLabelsForDoc to broadcastLabelsForDoc
|
2017-06-13 11:38:15 +01:00 |
|
Shane Kilkelly
|
a3dbb16e50
|
Flush project before getting all project labels
|
2017-06-13 11:15:26 +01:00 |
|
Shane Kilkelly
|
bd6133aadb
|
Remove callback-pattern from label parsers
|
2017-06-13 11:10:21 +01:00 |
|
Shane Kilkelly
|
c25b6b792d
|
Namespace the document route under /doc/
|
2017-06-13 10:57:51 +01:00 |
|
Shane Kilkelly
|
d1a85304d2
|
Add comment
|
2017-06-12 15:47:31 +01:00 |
|
Shane Kilkelly
|
26be4f84d0
|
Re-use parser
|
2017-06-12 15:15:14 +01:00 |
|
Shane Kilkelly
|
debb0c06a4
|
Clearer logic for triggering labels-loading
|
2017-06-12 14:23:29 +01:00 |
|
Shane Kilkelly
|
0a491a4f13
|
Add comment, explain flushing of doc to mongo
|
2017-06-12 13:09:13 +01:00 |
|
Shane Kilkelly
|
ff4991284d
|
Change docLabelsUpdated socket event to broadcastDocLabels
|
2017-06-12 13:06:56 +01:00 |
|
Shane Kilkelly
|
234a2d0e21
|
Remove cruft
|
2017-06-12 11:37:34 +01:00 |
|
Shane Kilkelly
|
9f9468d0e0
|
Use lowercase project_id
|
2017-06-12 11:37:05 +01:00 |
|
Shane Kilkelly
|
c9432a1238
|
Fix unit tests
|
2017-06-12 10:09:33 +01:00 |
|
Shane Kilkelly
|
1bb065344c
|
Move labels into an Angular Service
|
2017-06-12 09:44:32 +01:00 |
|
Shane Kilkelly
|
56385a798b
|
Use ide.$http, rather than jquery
|
2017-06-09 11:41:35 +01:00 |
|
Shane Kilkelly
|
5443b92e7d
|
Move state management into LabelsMaster on the ide
|
2017-06-09 11:28:27 +01:00 |
|
Shane Kilkelly
|
965a46291b
|
Only fetch labels for uploaded docs, not files
|
2017-06-08 15:55:17 +01:00 |
|
Shane Kilkelly
|
ff7955dfdb
|
Update labels when docs are uploaded or removed
|
2017-06-08 15:12:18 +01:00 |
|
Shane Kilkelly
|
feb1d87de1
|
Add test for LablesHandler
|
2017-06-08 10:25:39 +01:00 |
|
Shane Kilkelly
|
3c4a6f06be
|
Add unit tests for LabelsController
|
2017-06-08 09:22:26 +01:00 |
|
Shane Kilkelly
|
c7dbd21cd1
|
use flag on aceEditor to enable autocomplete features
|
2017-06-08 09:22:08 +01:00 |
|
Shane Kilkelly
|
f7ad4a4786
|
WIP: basically working, with client sync
|
2017-06-05 14:48:50 +01:00 |
|
Shane Kilkelly
|
51881dbbcc
|
Only load labels from current doc if change is local
|
2017-06-05 11:09:58 +01:00 |
|
Shane Kilkelly
|
f29320dd93
|
Add ability to load labels from single document
|
2017-06-05 09:26:13 +01:00 |
|
Shane Kilkelly
|
4cb41a988a
|
WIP: initial work on server-side labels
|
2017-06-02 15:12:59 +01:00 |
|
Shane Kilkelly
|
0e498d5e65
|
Merge branch 'master' of github.com:sharelatex/web-sharelatex
|
2017-06-02 09:55:30 +01:00 |
|
Shane Kilkelly
|
51e3a6b3a3
|
Don't use String.startsWith, use slice instead.
- String.startsWith is not supported in IE
|
2017-06-02 09:54:48 +01:00 |
|
Shane Kilkelly
|
6feb6959a3
|
Merge pull request #517 from sharelatex/pr-fix-error-banner-clicks
Make the alert container a zero-height static element, to avoid capt…
|
2017-06-01 09:15:46 +01:00 |
|
Shane Kilkelly
|
6b746f757e
|
Merge pull request #514 from sharelatex/ja-update-raven
Update Raven (Sentry lib) to 3.15.0 in client
|
2017-06-01 09:13:40 +01:00 |
|
Shane Kilkelly
|
5847973615
|
Merge pull request #515 from sharelatex/ja-editable-asy-files
Make .asy files editable when uploaded
|
2017-06-01 09:13:25 +01:00 |
|
Shane Kilkelly
|
9a15420c4e
|
Merge branch 'master' into sk-labels-autocomplete
|
2017-06-01 08:34:56 +01:00 |
|
Shane Kilkelly
|
039d18bf8b
|
Simplify logic for deciding whether to re-scan doc on not
|
2017-05-26 15:08:38 +01:00 |
|
Shane Kilkelly
|
faf0337ca9
|
Refactor labels autocomplete
|
2017-05-26 14:56:38 +01:00 |
|
Paulo Reis
|
17acede8ce
|
Control visibility when there are no entries.
|
2017-05-26 09:58:12 +01:00 |
|
Paulo Jorge Reis
|
104bcc94f5
|
Merge pull request #510 from sharelatex/pr-hide-review-panel
Hide review panel+keyboard shortcuts for review
|
2017-05-26 09:40:11 +01:00 |
|
Paulo Reis
|
7fbf6d97bd
|
Merge branch 'master' into pr-hide-review-panel
|
2017-05-26 09:39:29 +01:00 |
|
Paulo Reis
|
749fc6a425
|
Make the alerts container a zero-height static element, to avoid capturing clicks.
|
2017-05-25 16:10:10 +01:00 |
|
Shane Kilkelly
|
7923450e25
|
Move labelsManager into aceEditor directory
|
2017-05-25 09:42:07 +01:00 |
|
Shane Kilkelly
|
0543f32ff0
|
Add comment explaining debounce
|
2017-05-25 09:35:38 +01:00 |
|
Shane Kilkelly
|
ea9a0dda83
|
More robust change detection for autocomplete.
- accurately detect when labels are involved in 'remove' event
|
2017-05-25 09:33:15 +01:00 |
|
Shane Kilkelly
|
1ba8b702ad
|
More robust regex for matching/parsing labels.
- limit label name to max 80 characters
- don't use `.*`
- limit total labels per document to 1000
|
2017-05-25 09:32:10 +01:00 |
|
Shane Kilkelly
|
a363b62f23
|
Remove periodic polling of document for labels
|
2017-05-25 09:31:36 +01:00 |
|
Shane Kilkelly
|
d0bf407515
|
Use coffeescript => functions, rather than self=this .
|
2017-05-24 15:05:53 +01:00 |
|
Shane Kilkelly
|
efd01081f7
|
Set up and automatic refresh of labels
|
2017-05-24 14:28:27 +01:00 |
|
Shane Kilkelly
|
b871cdab4c
|
Remove debug logs
|
2017-05-24 14:28:15 +01:00 |
|
Shane Kilkelly
|
1f3a375b4e
|
Update commentary
|
2017-05-24 11:42:00 +01:00 |
|
Shane Kilkelly
|
da84b3f31c
|
WIP: basically working labels/ref autocomplete
|
2017-05-24 11:40:12 +01:00 |
|