Commit Graph

5427 Commits

Author SHA1 Message Date
Henry Oswald a297c07bbb added null check into response.outputFiles? 2016-06-06 14:56:34 +01:00
Henry Oswald 79929eae73 Merge branch 'clsichecks' 2016-06-06 14:34:22 +01:00
Shane Kilkelly fdacf13782 Merge branch 'master' of github.com:sharelatex/web-sharelatex 2016-06-06 13:12:31 +01:00
Shane Kilkelly 4e63a3c7bd Move betaProgram flag up to top-level of user object 2016-06-06 13:12:24 +01:00
Henry Oswald 829b37cd74 set user email on session again on change email 2016-06-06 10:50:45 +01:00
Henry Oswald 2339cda318 added contentful uni pages as fallback 2016-06-06 09:28:53 +01:00
Brian Gough 634c774592 make code clearer when compilation is per-user 2016-06-02 16:54:46 +01:00
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 bc59b15bd8 mark grunt at 0.4.1. in package.json 2016-06-02 15:24:10 +01:00
Henry Oswald 1dd4ea176a Merge branch 'master' into node-4.2 2016-06-02 15:20:57 +01:00
Henry Oswald 734b5613a5 fix package.json 2016-06-02 15:20:18 +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 b6e581756a Merge pull request #246 from sharelatex/clsi-dynamic-load
Clsi dynamic load
2016-05-20 14:25:27 +01:00
Henry Oswald c918028d14 removed clsi priorty url 2016-05-20 12:46:14 +01:00