Paulo Reis
8b7b3c539b
Correctly fetch users from project info.
2017-06-30 15:25:37 +01:00
Shane Kilkelly
bb3c5e7a34
Reverse direction, don't ignore commands in comments
2017-06-30 15:05:21 +01:00
Brian Gough
abe90cad10
Revert "Merge pull request #23 from sharelatex/bg-optimise-get-all-docs"
...
This reverts commit c1337cf23f37bd9ba48419accf1f54c00390e0ea, reversing
changes made to fbb2fa15bf4239db006db742f906554d61a0eac4.
2017-06-30 14:54:11 +01:00
Shane Kilkelly
bd88adb621
Account for mid-line comments
2017-06-30 14:03:34 +01:00
Paulo Reis
1cffb972d2
Control sync state with server.
2017-06-30 12:25:37 +01:00
Shane Kilkelly
da286438be
Don't trigger autocomplete when editing existing environment
2017-06-30 11:22:11 +01:00
Brian Gough
36252fb5b7
Merge pull request #23 from sharelatex/bg-optimise-get-all-docs
...
optimise get all docs
2017-06-30 11:09:23 +01:00
Shane Kilkelly
c2fcbbeb72
Fix parsing, so it accurately captures command args
2017-06-30 10:55:10 +01:00
Shane Kilkelly
e2bff06aeb
Add comment about ignoring comments
2017-06-30 08:42:03 +01:00
Shane Kilkelly
cfe51089f6
Ignore commands within comments when parsing document
2017-06-29 16:04:52 +01:00
Shane Kilkelly
db80f8ca1c
Don't trigger autocomplete if we're on a comment line.
2017-06-29 14:42:08 +01:00
Shane Kilkelly
c9cda16a5e
Refactor score calculation
2017-06-29 11:13:59 +01:00
Paulo Reis
699ec419aa
Fix bug where announcements were undefined.
2017-06-29 11:04:52 +01:00
Shane Kilkelly
936278b045
Bring score into line with new policy
2017-06-29 10:55:05 +01:00
Shane Kilkelly
cbae1857e7
Allow exact match to be ranked higher than any other result
2017-06-29 10:54:07 +01:00
Shane Kilkelly
3deebc8642
Change the scoring system for autocomplete, scale 0-100
2017-06-29 10:53:52 +01:00
Shane Kilkelly
1490b4a0da
Remove Shift-Space autocomplete trigger, far to easy to misfire
2017-06-29 10:02:49 +01:00
Shane Kilkelly
69796bd835
also trigger autocomplete if last character is backslash
2017-06-28 15:48:21 +01:00
James Allen
c5252f893b
Don't return all updates if no version is given
2017-06-28 15:38:31 +01:00
Paulo Reis
3e7027d9ca
Disable individual users TC control when TC is on for everyone; add styling for disabled toggles.
2017-06-28 15:31:28 +01:00
Shane Kilkelly
c9678ad699
Trigger autocomplete with Shift-Space, in addition to existing triggers
2017-06-28 15:24:37 +01:00
Paulo Reis
318d32360e
Wire up TC widget to controller methods.
2017-06-28 15:00:32 +01:00
Paulo Reis
ccdb29c654
Basic widget for toggling TC state.
2017-06-28 14:27:36 +01:00
Shane Kilkelly
fc9af156a0
Merge pull request #8 from sharelatex/sk-node-6
...
upgrade to node 6.9.5
2017-06-28 13:22:49 +01:00
Brian Gough
a2ac37ac99
comments about optimistic loading
2017-06-28 10:06:50 +01:00
Brian Gough
b9b0596d83
optimistically load all docs
2017-06-27 16:58:20 +01:00
Shane Kilkelly
eaa72d0747
upgrade to node 6
2017-06-27 14:53:20 +01:00
Shane Kilkelly
ca293bdd8c
upgrade to node 6.9.5
2017-06-27 13:29:27 +01:00
Brian Gough
41c2bd7fcd
Merge pull request #53 from sharelatex/bg-timeout-on-slow-prev-ops
...
add a timeout for getPreviousDocOps
2017-06-27 13:26:02 +01:00
Shane Kilkelly
577cf7ef4c
Merge branch 'sk-reduce-kill-project-errors'
2017-06-27 10:03:51 +01:00
Shane Kilkelly
b73b78e570
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2017-06-27 08:24:24 +01:00
Shane Kilkelly
04c3e4340d
Merge pull request #534 from sharelatex/ho-group-plan-redirect
...
null check subscription for group admin panel
2017-06-27 08:24:10 +01:00
Brian Gough
59ace9d5c5
avoid long lines in timeout check
2017-06-26 16:36:05 +01:00
Paulo Reis
f993966935
Typo in gruntfile.
2017-06-26 16:27:12 +01:00
Paulo Reis
7e7bfa866d
Ignore map files in git.
2017-06-26 16:15:28 +01:00
Paulo Reis
5b9e5ecd13
Update grunt tasks to generate source maps.
2017-06-26 16:14:03 +01:00
Paulo Reis
3bc4beee07
Add Angular source maps and unminified bundle.
2017-06-26 16:13:05 +01:00
Shane Kilkelly
0d5d59bb66
Remove user
field from log, var not in scope
2017-06-26 13:56:22 +01:00
Brian Gough
8e1e14c9ca
update to redis-sharelatex 1.0.3
...
adds keepalive support
2017-06-26 13:49:44 +01:00
Brian Gough
cf87ef7dd1
Merge pull request #3 from sharelatex/bg-support-opts-for-cluster
...
add support for passing options to cluster
2017-06-26 13:43:36 +01:00
Paulo Reis
1bc38b2ea7
Use Angular minified bundle.
2017-06-26 10:07:15 +01:00
Paulo Reis
9ffec6eb16
Correctly access response parameters.
2017-06-26 10:00:47 +01:00
Brian Gough
963e513057
add a timeout for getPreviousDocOps
...
it uses several redis operations and this makes it prone to subsequent
timeouts if getDoc succeeds but is slow
2017-06-23 15:50:21 +01:00
Shane Kilkelly
a55debb79f
Send a 404 if the project files have gone away when running synctex.
...
This is semantically nicer than the 500 response which used to be
produced in these circumstances.
2017-06-23 14:46:40 +01:00
Shane Kilkelly
a03bfbc020
Use post-filtering for whitelist, like learnedWords
2017-06-23 10:00:47 +01:00
Shane Kilkelly
407283ee3c
Fix a daft mistake, blank out whitelisted words, rather than remove
...
This had caused an issue whereby spelling-mistakes would be highlighted
on the wrong word in the client. This was a function of how many whitelisted
words had already occured in the sequence. An off-by-n error.
2017-06-23 09:14:39 +01:00
Shane Kilkelly
23fe93ccfd
Prevent double-logging
2017-06-22 15:28:08 +01:00
Henry Oswald
3da5ef818c
null check subscription for group admin panel
2017-06-22 14:07:07 +01:00
Shane Kilkelly
00358aa14b
Use more robust checking of error values
2017-06-22 10:09:30 +01:00
Shane Kilkelly
b7f79699fc
Pin sinon version
2017-06-22 10:09:20 +01:00