Commit graph

18380 commits

Author SHA1 Message Date
Brian Gough
df9cb03dcc Merge pull request #134 from sharelatex/pdfng-reload-on-error
Pdfng reload on error
2015-01-16 14:18:17 +00:00
Brian Gough
d832406923 pdfng: add comment about getDestinations vs getDestination 2015-01-16 12:50:08 +00:00
Xavier Trochu
4b54372466 miscellaneous cleanup
_ Remove some references to scribtex
_ Fix some issue when templates are unavailable
2015-01-16 11:04:15 +01:00
Winston Li
682a7e93ad Added stack trace print. 2015-01-15 23:03:12 +00:00
Winston Li
70808b14b5 Added try-catch-finally block for remaining instances of lock releasing. 2015-01-15 23:00:32 +00:00
Henry Oswald
a0f5c09cb9 remove raven source map line 2015-01-15 15:22:45 +00:00
Henry Oswald
f2bc98bc3c Change debuging to stringify messages in exception message 2015-01-15 15:18:15 +00:00
Henry Oswald
f33d9956f9 added minimum memory requirements 2015-01-15 12:30:42 +00:00
Brian Gough
157424c7b6 use font-face for pdfjs rendering 2015-01-13 16:39:49 +00:00
Brian Gough
8d568d9663 increase pdfng page load/render timeouts to 1 minute 2015-01-13 16:38:40 +00:00
Brian Gough
5e06043fcb add loadedCallback to pdfng, detects when pdf is fully loaded 2015-01-13 16:28:24 +00:00
Brian Gough
953821959d hide progress bar when pdfng has loaded 2015-01-13 16:27:04 +00:00
Brian Gough
1d3d316595 capture all pdfng error callbacks with raven 2015-01-13 15:47:27 +00:00
Brian Gough
823bdcf583 fix scope error in pdf viewer 2015-01-12 17:03:03 +00:00
Brian Gough
887423f8d7 report timeout errors to sentry 2015-01-12 17:02:51 +00:00
Brian Gough
560919b78f avoid exception in pdf viewer
if file was previously bigger, current position could be greater than
the number of pages
2015-01-12 16:47:38 +00:00
Brian Gough
bf8bc27de0 catch errors in pdf viewer and reload if necessary
if more than 3 reloads, display error to the user
2015-01-12 16:46:17 +00:00
Brian Gough
7f750ae692 add an error callback to the pdf renderer
use page load and render timeouts of 30 seconds to detect hanging pages
2015-01-12 16:45:24 +00:00
Winston Li
34185c7067 Took the sudo back out again. 2015-01-11 17:38:31 +00:00
Winston Li
4eda2a81ba Restored broken images and removed print statements. 2015-01-11 17:36:51 +00:00
Winston Li
e124a74c2f Fixed bug with git not adding deleted files. 2015-01-11 17:23:49 +00:00
Winston Li
d4613864c0 Changed a string containing writelatex. 2015-01-11 16:24:42 +00:00
Winston Li
9e1d28b9bb Put the sudos back in. 2015-01-11 16:17:05 +00:00
Winston Li
cd7877e02e Added the rest of the test. 2015-01-11 16:01:56 +00:00
Winston Li
a276b7c806 Added integration test for pulling a modified tex file. 2015-01-11 15:54:36 +00:00
Winston Li
21455e494a Removed sudo from mvn package in reinstall script. 2015-01-11 15:28:29 +00:00
Winston Li
e8120a98dd Fixed a test repo. 2015-01-11 15:27:44 +00:00
Winston Li
984969b155 Added canCloneMultipleRepositories integration test. 2015-01-11 15:21:11 +00:00
Winston Li
3a63d9c225 Added actual img 2015-01-11 14:16:53 +00:00
Winston Li
dd6c38dd5b Changed the name of the directory from git to repo. 2015-01-11 12:38:17 +00:00
Winston Li
a9c8deca7f Fixed generated wlgb file root. 2015-01-11 12:19:01 +00:00
Winston Li
517792517c Stopped using getResource. 2015-01-11 12:13:25 +00:00
Winston Li
0dd12e5323 Renamed class. 2015-01-11 12:01:53 +00:00
Winston Li
d8a8493a82 Moved directory. 2015-01-11 12:00:11 +00:00
Winston Li
8dc7f17e46 Added versions. 2015-01-11 11:55:19 +00:00
Winston Li
0c12b3dbd6 Added maven compiler level. 2015-01-11 11:46:13 +00:00
Winston Li
41fc758dd3 Changed maven2 to maven. 2015-01-11 11:38:20 +00:00
Winston Li
f09ed593d7 Removed print statements. 2015-01-11 11:29:19 +00:00
Winston Li
3f67e62846 First integration test. 2015-01-11 11:23:33 +00:00
Winston Li
3a532a76df Added integration test directory and wrote FileUtil and tests. 2015-01-11 09:11:12 +00:00
Winston Li
f5e068a46e Updated readme. 2015-01-10 12:55:57 +00:00
Winston Li
937c36d61e Changed mv jar to cp jar. 2015-01-10 12:54:06 +00:00
Winston Li
0e6f554e42 Added opposite arrows for inbound http requests. 2015-01-10 11:32:33 +00:00
Winston Li
ca936d6630 Added better logging with timestamps and removed verbose http responses. 2015-01-10 11:28:25 +00:00
Winston Li
ae3808e5ad Changed response message slightly. 2015-01-10 09:12:58 +00:00
Winston Li
460ba0c4d7 Added reinstall script and changed script names. 2015-01-10 09:07:37 +00:00
Winston Li
0ce8cc074e Reduced amount of logging of outgoing http requests. 2015-01-10 08:59:04 +00:00
Winston Li
26e2b1262d Implemented mock snapshot server. 2015-01-10 08:41:14 +00:00
Winston Li
2310aa124f Fixed typo and changed to only copy config file if one does not already exist. 2015-01-09 07:53:00 +00:00
Winston Li
5633526845 Modifications to install script and deleted betamax jars. 2015-01-09 07:43:12 +00:00