Brian Gough
55a8e3cffe
extend tests for per-user compiles
2016-06-02 15:48:13 +01:00
Brian Gough
ce1524cd07
remove unnecessary build id in query string
...
this is now in the url
2016-06-02 15:48:13 +01:00
Brian Gough
272625fbcc
add per-user compilation in client
...
enabled only when query string includes isolated=true
2016-06-02 15:48:13 +01:00
Brian Gough
9d7f129b61
add per-user compilation in server
...
when no user is defined, fallback to per-project compilation
2016-06-02 15:48:13 +01:00
Brian Gough
061d4934f1
use url attribute sent back by clsi
2016-06-02 15:46:55 +01:00
Brian Gough
5be1886d43
use path attribute sent back by clsi
2016-06-02 15:43:20 +01:00
Henry Oswald
8529cb50b6
rolled back underscore and added lodash in
2016-06-02 13:18:07 +01:00
Henry Oswald
14cbf4f1c8
removed priority url from proxy to clsi
2016-06-02 13:11:20 +01:00
Henry Oswald
c284465ba5
added clsiformat checker, wired in
2016-06-02 13:09:32 +01:00
Brian Gough
b8e31dfc71
fix filename of downloaded pdf files
2016-06-01 16:47:55 +01:00
Henry Oswald
8a5cb86c31
check _checkRecoursesForErrors before compile
2016-06-01 16:46:41 +01:00
Henry Oswald
66ad587c9c
bump underscore to 1.8.3
2016-06-01 16:46:11 +01:00
Shane Kilkelly
a5aab40320
Add the betaProgram
feature to User model.
2016-06-01 16:17:28 +01:00
Henry Oswald
1437877b5a
spike to check latex for basic errors before compile
...
Aims to solve following problems which are currently not visible to user:
- project is too big, which files are worst offenders?
- when there are duplicate file names so an 'old' version keeps overrighting a new version
- when a file has the same path as a folder which blows up clsi i.e. images/research images/research/1.png
2016-06-01 12:28:54 +01:00
James Allen
daf8f6f3cf
Refresh the page if the user is not logged in when joining a project
2016-05-31 11:47:48 +01:00
James Allen
345d38c28d
Don't clean up a documents event listener until after the socket has disconnected on error
2016-05-27 14:39:33 +01:00
James Allen
36c8c197e1
Add more debug log lines
2016-05-27 14:14:08 +01:00
James Allen
fec3266726
Don't remove new instance of Document from openDocs when cleaning up old instance
2016-05-27 14:13:53 +01:00
James Allen
a605dae7ba
Don't show saving just because of pending ops
...
When typing continuously, there is always a pending op present.
The only time we're not saving is if the inflight op isn't changing.
So long as this has changed, it means the previous one has been processed.
2016-05-27 14:08:46 +01:00
James Allen
4bc31ae2b9
Don't throw an error if we get an ack for our update more than once, since we may try sending it more than once
2016-05-27 10:46:14 +01:00
James Allen
6ea58d4d6c
Don't try to resend an update if the editor is not joined to the project
2016-05-27 10:46:14 +01:00
James Allen
39e57a9886
Throw fatal error if document update actually returns an error from the real-time service
2016-05-27 10:46:14 +01:00
James Allen
0175a86d4c
Add in debugging console.logs which only display if ?debug=true is in URL
2016-05-27 10:46:14 +01:00
James Allen
41f789a313
Add in metric to track client side error count
2016-05-27 10:46:14 +01:00
Brian Gough
b55c469b91
use Url instead for url for "url" module
...
to avoid possible conflicts with use of url as a variable
2016-05-26 16:24:18 +01:00
Brian Gough
d83cd547fb
Merge pull request #247 from sharelatex/add-query-string-to-proxy-and-filter-synctex-requests
...
Add query string to proxy and filter synctex requests
2016-05-25 15:08:49 +01:00
Brian Gough
c7363a9df6
provide separate routes for sync-pdf and sync-code with error checking
2016-05-25 15:00:31 +01:00
James Allen
f937f0bc5c
Remove missed debugging console.log
2016-05-25 10:38:40 +01:00
James Allen
a196531a58
Move spinner add logic into same code pathway as spinner remove logic
2016-05-24 15:13:08 +01:00
James Allen
36ba88297b
Don't hang request in the event of a spelling backend error
2016-05-24 15:11:14 +01:00
James Allen
3452a9870e
Show logs when compile fails correctly
2016-05-24 15:10:55 +01:00
James Allen
35442f7ce9
Prompt the user to open a file on the left if no doc is open
2016-05-23 15:03:26 +01:00
James Allen
887631e661
Don't error if the rootDoc_id no longer exists in the project when copying
2016-05-23 14:58:28 +01:00
Henry Oswald
a24f635531
removed uneeded passing of clsiServer to _parseOutputFiles and improve logging
2016-05-21 10:23:17 +01:00
Brian Gough
7f332c0436
support url object with query-string when proxying to clsi
2016-05-20 16:51:19 +01:00
Brian Gough
3c5eb9a730
clean up whitespace
2016-05-20 16:35:00 +01:00
Shane Kilkelly
0c454f5ddd
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-05-20 14:34:55 +01:00
Shane Kilkelly
2441930fe9
Add a spinner when waiting for image preview to load.
2016-05-20 14:28:51 +01:00
Henry Oswald
c918028d14
removed clsi priorty url
2016-05-20 12:46:14 +01:00
Henry Oswald
11724fce13
Merge branch 'master' into clsi-dynamic-load
2016-05-20 12:34:42 +01:00
Brian Gough
eaa41e4361
support displaying output files using .url parameter from clsi
2016-05-20 11:34:22 +01:00
Shane Kilkelly
939c7a8c72
Force reload BinaryFile view when a new object is selected.
2016-05-20 11:20:00 +01:00
Shane Kilkelly
2e2354c574
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-05-20 09:17:35 +01:00
Shane Kilkelly
9a6876d237
Toggle the dots at the end of bib preview, based on size of payload.
2016-05-20 09:17:25 +01:00
Henry Oswald
61b9a683aa
put clsiCookie vals into subobject in settings
2016-05-19 16:55:58 +01:00
Henry Oswald
04e70735d2
Merge branch 'master' into clsi-dynamic-load
2016-05-19 16:26:54 +01:00
Henry Oswald
f03a076669
make cash bust add onto object not recreate it
2016-05-19 16:23:56 +01:00
Brian Gough
5497eb86d1
Merge pull request #245 from sharelatex/clean-up-log-requests-in-pdf-controller
...
clean up log requests, avoid requesting blg file when not present
2016-05-19 16:13:21 +01:00
Shane Kilkelly
0ea16f0bcc
Index '.bib' file objects.
2016-05-19 14:58:12 +01:00
Henry Oswald
789257fd4a
use cookie key when setting cookie for jar
2016-05-19 13:52:18 +01:00
Henry Oswald
036b179ffe
put the clsiserverid onto qs object for correct server allocation
2016-05-19 13:28:20 +01:00
Henry Oswald
2abebd850c
Merge branch 'project_url_query' into clsi-dynamic-load
2016-05-19 13:08:20 +01:00
Shane Kilkelly
b649c13c17
Eliminate weird flicker when loading bibtex
2016-05-19 11:25:24 +01:00
Shane Kilkelly
b70a993572
Make bib previews more robust.
2016-05-19 11:11:23 +01:00
Shane Kilkelly
199844db2d
Fix styling of the bib-loading div.
2016-05-19 10:02:46 +01:00
Shane Kilkelly
3c298ed6ad
Preview up to Two Megabytes of bib files
2016-05-19 10:02:25 +01:00
Shane Kilkelly
5df5ba868c
Fix logic for showing error or loading message.
2016-05-19 10:02:07 +01:00
Shane Kilkelly
4509642914
use highlight colour for any font-awesome icons in file-tree.
2016-05-18 16:34:50 +01:00
Brian Gough
6305cea3e3
clean up log requests, avoid requesting blg file when not present
2016-05-18 16:17:38 +01:00
Shane Kilkelly
10f64004fc
Show a book icon for *.bib
files.
2016-05-18 15:58:24 +01:00
James Allen
d813f45d28
Cherry-pick 0e70320 (Select icon based on file extension) from datajoy
2016-05-18 15:58:01 +01:00
Henry Oswald
d2cc75b73f
changed $scope.pdf.clsiServerId to ide.clsiServerId
2016-05-18 14:38:17 +01:00
Henry Oswald
dba8d96d11
pass clsiServerId to the client and use it as query stirng for requests
2016-05-18 12:50:50 +01:00
Shane Kilkelly
8621d497b4
Fix view so that bib preview only shows for bib files
2016-05-18 11:14:24 +01:00
Henry Oswald
b0baea5073
add query string to end of project resources
2016-05-18 10:09:22 +01:00
Shane Kilkelly
78e52d8c96
Update FileStoreHandlerTests
2016-05-18 09:58:57 +01:00
Shane Kilkelly
eae82a2b20
Preview bib files.
2016-05-17 17:00:14 +01:00
Shane Kilkelly
4f533147b1
enable range requests on files via ?range=m-n
query string.
2016-05-17 16:59:47 +01:00
Shane Kilkelly
af78e893f9
Merge branch 'sk-file-based-ref-import'
2016-05-17 11:48:01 +01:00
Shane Kilkelly
30a778c8e8
add temp module
2016-05-13 13:30:00 +01:00
Brian Gough
40464fe5b5
Merge pull request #244 from sharelatex/add-fast-path-to-pdf
...
Add fast path to pdf
2016-05-13 13:25:49 +01:00
Brian Gough
ac7aa5f936
request output files using /project/project_id/build/build_id/output/* route
...
avoids using query string for build_id
2016-05-13 11:48:58 +01:00
Brian Gough
ee15bbeee0
support the direct path to a clsi output file /project/project_id/build/build_id/output/*
...
this avoids use of the query string ?build=... and so we can match the
url directly with the nginx location directive
2016-05-13 10:33:38 +01:00
Shane Kilkelly
ae85dc3f5d
Enable spaces after commas in references autocomplete
2016-05-12 15:13:00 +01:00
Shane Kilkelly
9eb2e933cd
enable autocomplete on citations like citeauthor
2016-05-12 12:03:08 +01:00
Shane Kilkelly
60cc1bfbff
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-05-12 11:02:54 +01:00
Shane Kilkelly
41a6fa1480
Fix uncompiled pdf view
2016-05-12 11:02:24 +01:00
Brian Gough
ab0bcd4f57
increase default pdfjs chunk size from 64K to 128K
2016-05-10 15:53:37 +01:00
James Allen
aafdc794cd
Remove text limit in content box of contact us
2016-05-10 10:44:51 +01:00
Henry Oswald
b8510301b6
expire cookie key from setting file length
2016-05-06 12:19:22 +01:00
Henry Oswald
ed4fdd48d7
clsi cookies are given an expire time via settings file
2016-05-05 16:50:18 +01:00
Henry Oswald
618935b643
hide hidden domains in hreflang head of html
2016-05-04 22:01:02 +01:00
Shane Kilkelly
48b7800c7f
Revert, because mistake.
2016-05-04 10:43:40 +01:00
Shane Kilkelly
a1552aa872
reset the 'failedLoad' state when a new entity is selected
2016-05-04 10:08:48 +01:00
Shane Kilkelly
9738703424
If image preview fails to load, just show the "no preview" message
2016-05-04 09:32:59 +01:00
Shane Kilkelly
aa301dacb9
Return callback with error if an error is emitted on filestore stream.
2016-05-04 09:32:13 +01:00
Henry Oswald
b237a022c3
added rate limiting on wiki endpoint
2016-04-28 17:24:00 +01:00
Henry Oswald
9db647491a
added different ldap config example
2016-04-28 17:21:07 +01:00
Shane Kilkelly
74205ce11b
Remove features.mendeley
and features.zotero
from User model
2016-04-28 16:01:47 +01:00
Henry Oswald
b00bd5cd94
if clsi cookies are not enabled don't call redis, return empty
2016-04-27 17:05:12 +01:00
Henry Oswald
78b08060ab
redis get not multi used for _getServerId
2016-04-27 16:56:21 +01:00
Henry Oswald
1ee94f9bf5
return server id for set server id and _populateServerIdViaRequest
2016-04-27 16:20:10 +01:00
Henry Oswald
ae522e8b9b
Merge pull request #235 from mdamien/patch-1
...
Correct alignment for word count dialog
2016-04-27 16:12:03 +01:00
Shane Kilkelly
07ad6eb704
actually use the rendering-error state.
2016-04-25 12:42:03 +01:00
Henry Oswald
616630200a
improve send calls and return correct stuff from _makeRequest
2016-04-20 17:08:11 +01:00
Henry Oswald
18560d8621
set server cookie on every compile response and don't expire on get
2016-04-20 16:17:06 +01:00
Henry Oswald
4d54de8b9a
renamed ClsiRequestManager to ClsiCookieManager and improved logging
2016-04-20 15:06:39 +01:00
Henry Oswald
b37595acf9
persist cookie in redis for compiles.
2016-04-19 16:48:51 +01:00
Shane Kilkelly
ce34ce6865
Merge branch 'master' into sk-tpr
2016-04-19 13:56:54 +01:00
Shane Kilkelly
d54515a9a7
add a featureToggle
property to ide.
2016-04-19 11:53:27 +01:00