Commit graph

17729 commits

Author SHA1 Message Date
Henry Oswald
73e4b42df7 use SANDBOXED_COMPILES not DOCKER_IN_DOCKER 2016-05-31 15:21:26 +01:00
Henry Oswald
8a25755b8a set synctexBaseDir: () -> "/compile" if using docker in docker 2016-05-31 15:16:31 +01:00
James Allen
2c53672dbd install qpdf v6 2016-05-31 14:15:24 +00:00
James Allen
51939512ac Return semantic error if doc ops range is not loaded 2016-05-31 14:21:23 +01:00
James Allen
1d7cbd8a78 Fix unit tests 2016-05-31 13:32:15 +01:00
James Allen
11667e8250 Return semantic error if the requested ops are not available when getting a document 2016-05-31 13:24:19 +01:00
James Allen
f4a465ea69 Return a 'not authorized' error if the user is not logged in/authorized 2016-05-31 11:49:51 +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
Henry Oswald
fdc8d83646 log out error on synctex 2016-05-27 16:18:18 +01:00
Henry Oswald
4560a5ded1 run everything as www-data 2016-05-27 15:46:51 +01:00
Henry Oswald
41ca3a4222 log out errors more clearly 2016-05-27 14:45:39 +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
Henry Oswald
9760850d87 one line the apt-get 2016-05-27 13:12:22 +01:00
Henry Oswald
ab61d05e4a run as www-data 2016-05-27 12:55:18 +01:00
Henry Oswald
9646654c48 put apt-get installs on same line and set $TEX_LIVE_DOCKER_IMAGE via env var 2016-05-27 12:12:28 +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
James Allen
343ec9d708 Add in flags that track how often each callback is called 2016-05-26 15:46:45 +01:00
Henry Oswald
93ae1e015f build things that don't change at the start for quicker build time 2016-05-26 11:22:51 +01:00
Henry Oswald
61b8e67447 build latex first for faster images and compile clsi synctex 2016-05-26 11:01:21 +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
Henry Oswald
2f294daa99 Merge branch 'master' of https://github.com/sharelatex/sharelatex-docker-image 2016-05-24 18:15:35 +01:00
Henry Oswald
879a23c857 fix templates & clsi set dynamically. and more robust bool vals from env vars 2016-05-24 16:43:08 +01:00
Henry Oswald
a6cabbb692 Update README.md 2016-05-24 16:10:07 +01:00
Henry Oswald
252cbed435 Update README.md 2016-05-24 15:48:02 +01:00
Henry Oswald
28add83bca Update README.md 2016-05-24 15:47:46 +01:00
Henry Oswald
291602996b moved guide to official wiki 2016-05-24 15:47:13 +01:00
Marc Egea i Sala
65d0d9d511 Merge pull request #11 from overleaf/config-git-for-tests
Config git for tests
2016-05-24 15:16:15 +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
Henry Oswald
5ed6ef571f added logger.info to test setup 2016-05-24 14:12:02 +01:00
Henry Oswald
448a30750b log out which command logger is used 2016-05-24 14:08:39 +01:00
Henry Oswald
a5d1c45c53 added missing ldap settings 2016-05-24 12:12:26 +01:00
Marc Egea i Sala
6a57dd2d9b Improve indentation 2016-05-23 16:16:40 +01:00
Marc Egea i Sala
45254bf34a Add minimal git config to repos
The test don't pass unless a minimal configuration for Git is provided.
With this change, we don't rely on the final user to provide this
configuration.

Every time a repository is cloned on tests we're adding a configuration
only for that repository that's not going to clash with any other
configuration already set.
2016-05-23 15:59:24 +01:00
Henry Oswald
ea8134c433 log out if the command running is being used 2016-05-23 15:45:39 +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
98a07e07ed parallelFileDownloads defaults to 1, sql can't take it 2016-05-23 14:31:27 +01:00
Henry Oswald
3510526963 added strace and time 2016-05-23 14:27:24 +01:00