Henry Oswald
142db9dc4e
Merge pull request #14 from c4live/master
...
Update FileHandler.coffee: ignore any error that happens while deleting ...
2014-06-05 15:36:57 +01:00
c4live
408bf43b98
Update FSPersistorManager.coffee
...
Using code 'ENOENT' for error checking instead of errno 34.
2014-06-05 16:01:38 +02:00
James Allen
4818ae8131
Use flag to only get deleted doc when appropriate
2014-06-05 14:10:44 +01:00
James Allen
7870b4fb55
Return deleted docs
2014-06-05 13:29:50 +01:00
c4live
5bc89c3cbf
Update FileHandler.coffee
...
Restoring error check.
2014-06-05 14:10:49 +02:00
c4live
1e42221954
Update FSPersistorManager.coffee
...
Do not propagate the error if trying to delete a directory that does not exist.
2014-06-05 14:10:05 +02:00
James Allen
828aefe2c8
Add in extra null check
2014-06-05 10:20:56 +01:00
c4live
a9be97622b
Update FileHandler.coffee: ignore any error that happens while deleting directory during insertFile.
2014-06-05 10:31:05 +02:00
James Allen
32f1a327a6
Add in null check
2014-06-03 11:42:41 +01:00
James Allen
df6b5132c2
Tidy up testing/logging
2014-06-02 17:25:40 +01:00
James Allen
e17aaba3ba
Catch errors correctly
2014-06-02 17:11:25 +01:00
James Allen
b3f796a093
More logging
2014-06-02 17:02:45 +01:00
James Allen
415d937f84
Add more logging and don't delete temp files
2014-06-02 16:49:49 +01:00
James Allen
fe6c76e62d
Don't normalize path passed to synctex
2014-05-29 16:40:58 +01:00
James Allen
bc22a371d0
Explicitly look for output.pdf file, not any pdf
2014-05-29 15:49:48 +01:00
James Allen
dc9fff94f3
Add null checks for null folders
2014-05-29 14:21:46 +01:00
James Allen
e4e14602f1
null check on id
2014-05-29 12:04:18 +01:00
James Allen
9f969bba4d
Handle null doc lines
2014-05-29 11:18:31 +01:00
James Allen
e529875245
Revert "Send content-length header when getting file"
...
This reverts commit 6f5f7a98fd3ce53091aacc744f43c7704ba73461.
2014-05-23 13:57:18 +01:00
James Allen
daf4f1ffd4
Send content-length header when getting file
2014-05-23 13:54:20 +01:00
James Allen
f8819fbbd7
Increase req and res stream timeouts to 3 minutes
2014-05-22 12:18:56 +01:00
Henry Oswald
973d9b8643
added raw endpoint to docstore
2014-05-20 13:04:33 +01:00
James Allen
9261987bd8
Increase size limit (arbitrarily... *shrug*)
2014-05-19 20:03:05 +01:00
James Allen
5cd66aad58
Return more informative errors
2014-05-19 07:18:57 -04:00
James Allen
de0d79e1bf
Use configurable upload directory
2014-05-17 21:01:48 +01:00
James Allen
7cca4f0368
Don't store and send version data
2014-05-16 13:06:35 +01:00
James Allen
946f451155
Move to default settings file
2014-05-15 16:22:06 +01:00
James Allen
ffd10a8439
Don't send or get versioning info to/from web
...
The version number is only used by the doc updater and so can be cleanly
encapsulated in a collection that only the doc updater knows about. The version
is already stored under docOps, so continue to tore it there.
2014-05-15 11:13:16 +01:00
James Allen
e25fb7e435
Keeping writing and reading updates from Mongo to cover the deploy period
2014-05-14 16:04:25 +01:00
James Allen
bdfe018cad
Log out warning when using Mongo for version still
2014-05-14 14:16:27 +01:00
James Allen
0199f2e129
Use version from web, with fallback to old mongo collection
2014-05-14 13:28:17 +01:00
James Allen
8973969224
Merge branch 'master' into remove_mongo_doc_ops
...
Conflicts:
app/coffee/DocOpsManager.coffee
test/acceptance/coffee/ApplyingUpdatesToADocTests.coffee
test/acceptance/coffee/FlushingDocsTests.coffee
test/unit/coffee/DocOpsManager/DocOpsManagerTests.coffee
test/unit/coffee/RedisManager/prependDocOpsTests.coffee
test/unit/coffee/RedisManager/pushDocOpTests.coffee
2014-05-14 12:39:40 +01:00
James Allen
79457227e1
Support up to 2mb requests
2014-05-13 12:54:58 +01:00
Henry Oswald
1f1f535c8b
removed lines which may be causing issue with domain
2014-05-12 18:33:09 +01:00
Henry Oswald
ce67c8c655
added logging to err domain
2014-05-12 15:57:08 +01:00
Henry Oswald
3bbeff5aff
moved all metrics to use the module, deleting old metrics file and added different check in err domain
2014-05-12 15:45:15 +01:00
James Allen
3213c562bc
Add in new metrics
2014-05-09 14:55:37 +01:00
James Allen
76f929f415
Add in new http monitoring
2014-05-09 13:30:35 +01:00
James Allen
0dda75c2d5
Pass through version and revision information
2014-05-08 15:43:08 +01:00
James Allen
6011ce4783
Use new metrics module
2014-05-08 09:28:13 +01:00
James Allen
0adcf3c140
Log out errors when null docs are encountered
2014-05-07 16:38:10 +01:00
James Allen
43ed71e82c
Do a check for null docs
2014-05-07 16:24:47 +01:00
James Allen
ccbe33a82e
Add in http monitoring
2014-05-07 10:59:16 +01:00
James Allen
f511ebd4b6
Exit cleanly on SIGINT et al
2014-05-07 10:05:07 +01:00
James Allen
d1434f7646
Increase redis lock expiry time to 30 seconds
2014-05-07 09:48:29 +01:00
Henry Oswald
09224007a7
on domain error wait 3 seconds to send 500 to allow for other cleanup.
...
Also check inside function if the res has finished. #confused
2014-05-07 09:06:05 +01:00
Henry Oswald
be8fdcfd6a
added null check on send property of res
2014-05-07 08:23:44 +01:00
James Allen
aed4a7ce18
Add in metrics
2014-05-06 16:52:58 +01:00
James Allen
fa049ff4eb
Add endpoint for getting all docs
2014-04-30 13:06:12 +01:00
James Allen
abbcea2945
Add commented out docker config
2014-04-30 11:31:37 +01:00