James Allen
b978171e0c
Fix "cannot set headers after sent" in setting doc end point
...
If somehow a project ends up with the same doc/file in two locations in the
file tree, then projectLocator.findElement will return the callback for
both entries. This then tries to end the request multiple times. Of course
this should never be a state the project is in, but if it is we should catch it.
2016-02-05 15:39:26 +00:00
James Allen
6143b2218c
Send user_id on Dropbox requests through to doc updater
2016-02-04 14:27:00 +00:00
Henry Oswald
47eebb1840
add null check and default empty object for subscirption dashboard
2016-02-03 17:41:05 +00:00
Henry Oswald
7994528c92
make site licence regex more specific
2016-02-03 16:08:29 +00:00
James Allen
4c626f23e7
Merge pull request #224 from sharelatex/ja_draft_mode
...
Draft mode for compiles
2016-02-02 15:04:21 +00:00
James Allen
425a9b9db2
Add in option to compile in draft mode
2016-02-02 14:50:48 +00:00
Henry Oswald
6cd66c7304
allow rate limiter to work on api router where session does not exist
2016-02-02 12:31:54 +00:00
James Allen
b32178182d
Explicitly create tags and get their id
2016-02-01 10:18:56 +00:00
James Allen
77cc6af35e
Update add tag end point to use tag_id
2016-02-01 10:18:56 +00:00
James Allen
f1e65cc776
Use tag_id for deleting tags from project
2016-02-01 10:18:56 +00:00
James Allen
1bd5aef85f
Allow renaming of tags
2016-02-01 10:18:56 +00:00
James Allen
1a86e69d1f
Allow tags to be deleted
2016-02-01 10:18:56 +00:00
Shane Kilkelly
50a451970b
Merge branch 'master' into sk-references-2
2016-01-28 10:06:41 +00:00
Shane Kilkelly
cc818695ef
Split References.index into index and indexAll.
2016-01-27 16:00:53 +00:00
Shane Kilkelly
ec8a12d445
Flush changes to mongo before sending request to references service
2016-01-27 13:33:42 +00:00
Shane Kilkelly
fed10280ab
Use docstore url rather than going through web api.
2016-01-27 09:58:54 +00:00
Shane Kilkelly
d1e53f0cb8
Test ReferencesSearchHandler.index
2016-01-26 16:14:17 +00:00
Shane Kilkelly
8a991b0d06
Start testing ReferencesSearch feature
2016-01-26 14:29:23 +00:00
Henry Oswald
690b195f1a
move login success to .json as it sends json over
2016-01-25 17:35:57 +00:00
Shane Kilkelly
c911b7d6a3
Broadcast references-key changes back to connected clients.
2016-01-22 15:59:43 +00:00
Shane Kilkelly
af75bb8a60
wip: change how indexing of references works.
2016-01-22 14:23:59 +00:00
Shane Kilkelly
307f78b831
WIP: send multiple bib files and get back keys
2016-01-21 17:01:24 +00:00
Shane Kilkelly
d5d5ba9066
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-01-20 14:02:24 +00:00
Shane Kilkelly
0b28e7e964
send a fullIndex
flag along to references service.
2016-01-20 13:53:28 +00:00
James Allen
bcb9e1180b
Add jobs page
2016-01-20 11:56:08 +00:00
James Allen
ed5872702a
Pass image to wordcount end point in CLSI
2016-01-19 14:17:01 +00:00
James Allen
5125aa0089
Make templates a premium feature
2016-01-19 13:37:22 +00:00
Shane Kilkelly
41aaefc1f6
Enable pre-indexing of references
2016-01-18 11:41:30 +00:00
Shane Kilkelly
2a7894f6e4
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-01-15 14:41:12 +00:00
Shane Kilkelly
20757b11b8
Add code to automatically index bib files on project load.
2016-01-15 14:41:05 +00:00
James Allen
03d75944b0
Allow image name to be configured
2016-01-15 10:26:36 +00:00
Shane Kilkelly
b49ed15c14
Fix missing comma
2016-01-14 15:13:19 +00:00
Shane Kilkelly
ca0a625dcc
Begin work on indexing the references when project is opened.
2016-01-14 14:53:08 +00:00
Shane Kilkelly
1e904e6ab7
Merge branch 'master' into sk-references-ac
2016-01-13 11:31:58 +00:00
Henry Oswald
a181905ab8
removed console.log
2016-01-04 11:42:54 +00:00
Shane Kilkelly
a63028bad3
Test the ReferencesSearchHandler
2015-12-31 10:28:19 +00:00
Shane Kilkelly
d9ca9fc06d
Fix comically long lines.
2015-12-31 09:22:35 +00:00
Shane Kilkelly
86d69f3275
Start testing ReferencesSearch.
2015-12-30 15:08:12 +00:00
Shane Kilkelly
8c9c476dd7
Fetch the list of keys from references index.
2015-12-18 16:00:24 +00:00
Shane Kilkelly
c9db11edbe
Change to using project_id rather than user_id in references index.
2015-12-18 14:57:36 +00:00
Shane Kilkelly
e684968a59
Add ability to request the doc as plain text, rather than a json object.
...
This makes it much easier to stream-parse the document.
2015-12-18 13:36:25 +00:00
Shane Kilkelly
1ea13a74dd
Refresh the references when the bib file is closed.
2015-12-17 15:13:02 +00:00
Shane Kilkelly
249dd638ec
experimental: update references index from fronted.
2015-12-17 11:51:14 +00:00
Henry Oswald
501763bb4e
changed add doc to use ligher mongo call (folders only)
2015-12-15 13:27:41 +00:00
Henry Oswald
763f16f43c
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-12-12 11:39:54 +00:00
James Allen
e8f21986dd
Refactor registration so it can be called from modules
2015-12-11 17:11:20 +00:00
James Allen
c0dfdb3bd8
Use translations for activation page
2015-12-11 14:25:17 +00:00
James Allen
1e8ab5357b
Improve pre-registered account activation process
2015-12-11 11:30:06 +00:00
Henry Oswald
13af9b7b56
find project by name should only find active projects
2015-12-10 17:06:00 +00:00
Henry Oswald
aafdeb031e
wip - downgrade options it all works, need unit tests & translations
2015-12-08 18:23:28 +00:00