Commit graph

21888 commits

Author SHA1 Message Date
James Allen
db3537a8eb Reset heartbeat timer after triggering a reconnect 2014-11-19 11:25:09 +00:00
James Allen
b67b49564d Revert "Use own fork of node-redis-sentinel"
This reverts commit a351534a5f0e50656430ff37d2f6c42f701096d0.
2014-11-19 11:21:36 +00:00
James Allen
e988dc8586 Don't need secure random bytes which can error if not enough entropy 2014-11-19 11:18:31 +00:00
James Allen
68c428545d Don't hash because Henry is hashist! 2014-11-19 11:16:43 +00:00
James Allen
34e20e99f5 Pull redis from github master temporarily 2014-11-19 11:09:59 +00:00
James Allen
d6532c63f8 Use new robust subscription model 2014-11-19 11:09:42 +00:00
James Allen
5ec9e587f0 Roll back real-time settings for now 2014-11-19 11:09:32 +00:00
James Allen
c90cc61570 Set retry_max_delay to 5 seconds so that reconnects don't slow down exponentially 2014-11-19 11:02:27 +00:00
James Allen
230203eadf Add in robust heartbeat driven subscription model 2014-11-19 11:01:02 +00:00
James Allen
22346f5532 Revert "Pull redis from github master temporarily"
This reverts commit 919fbdf8945bdd2cdb5ddda5a7ac8c5b7395597b.
2014-11-18 18:01:58 +00:00
James Allen
f8cbc5d51a Pull redis from github master temporarily 2014-11-18 15:55:08 +00:00
James Allen
79afad5409 Use own fork of node-redis-sentinel 2014-11-18 15:49:27 +00:00
Ingolf Becker
9d71073a5c Added more POST declarations 2014-11-17 15:19:11 +00:00
James Allen
4d691cf543 Delete client.coffee 2014-11-17 15:09:55 +00:00
James Allen
cddb4e7279 Add cookie parser dependency 2014-11-17 15:01:37 +00:00
Henry Oswald
bb5ec10609 don't try and get angular min map file 2014-11-17 14:55:48 +00:00
Ingolf Becker
fd28751db0 Change Login and Register methods to use POST rather than GET 2014-11-17 14:55:28 +00:00
James Allen
2cb365d2b4 Add /status end point 2014-11-17 14:38:43 +00:00
James Allen
14ace64bc6 Ignore grunt forever output 2014-11-17 14:35:32 +00:00
James Allen
ce587a00ba Send web requests with HTTP auth 2014-11-17 14:35:07 +00:00
Winston Li
50023ba265 Loading project and file store from database. 2014-11-17 13:59:11 +00:00
Winston Li
1d4f856832 Moved projects table into WLProjectStore class. 2014-11-17 13:54:37 +00:00
Winston Li
5d1c9d436a Basic sqlite database being loaded. 2014-11-17 13:49:19 +00:00
James Allen
e559c72491 Connect to configurable websocket service 2014-11-17 13:38:44 +00:00
Winston Li
2a02ed466a Added sqlite-jbdc-3.7.2.jar and javadocs to ant build. 2014-11-17 13:29:26 +00:00
James Allen
66dfafdebe Add metrics into all end points 2014-11-17 13:12:49 +00:00
Winston Li
eb8dccc151 Made deleteInDirectory use deleteInDirectoryApartFrom. 2014-11-17 13:09:27 +00:00
Winston Li
555f4e1674 Changed deleteInDirectoryApartFrom to take variadic type. 2014-11-17 13:08:29 +00:00
Winston Li
3bbef6f066 Now deleting all files before writing snapshot to disk. 2014-11-17 12:47:59 +00:00
James Allen
8bc6d0e291 Unify logging 2014-11-17 12:46:27 +00:00
Winston Li
1e8d7d5840 Removed printing of push data. 2014-11-17 12:31:51 +00:00
James Allen
7b275e9e0e Add acceptence tests for leaving(disconnecting) from a project 2014-11-17 12:23:30 +00:00
Winston Li
3dea6036f8 Added more description exception messages. 2014-11-17 10:59:47 +00:00
Winston Li
bdb34f89e7 Catching everything else in the put hook. 2014-11-17 10:48:53 +00:00
Winston Li
da5b661858 Added exception if the push request returned instantly with an error. 2014-11-17 10:41:36 +00:00
Winston Li
c9d773b6e8 Made constructor for pushed snapshot. 2014-11-17 10:13:01 +00:00
Winston Li
7d650a8604 Removed unused variable. 2014-11-17 10:08:56 +00:00
Winston Li
3d86a3e149 Added exception handling to postback and implemented waiting properly. 2014-11-17 10:00:15 +00:00
Winston Li
3e12845345 Used cond instead. 2014-11-16 22:08:45 +00:00
Winston Li
38cf9e33c6 Added timeout to wait. 2014-11-16 22:04:18 +00:00
Winston Li
ccf17f9867 Extracted project name properly from uri. 2014-11-16 21:58:36 +00:00
Winston Li
48305d963f Testing candidate snapshot approval. 2014-11-16 21:49:16 +00:00
Winston Li
06a7ee6614 Corrected remoteAddr to localName. 2014-11-16 21:00:57 +00:00
Winston Li
db2bf43aa7 Checking local IP of request. 2014-11-16 20:55:44 +00:00
Winston Li
87bd7e6ff4 Setting Content-Type and sending request for SnapshotPushRequest. 2014-11-16 20:43:33 +00:00
Winston Li
375916678d Generating SnapshotPostRequest data correctly. 2014-11-16 20:27:37 +00:00
Winston Li
20c48cbd92 Made changed files accessible via http. 2014-11-16 20:02:30 +00:00
Winston Li
30675a11d4 Successfully creating changed and new files. 2014-11-16 19:59:18 +00:00
Winston Li
05d222ab00 Added POST support to Request class. 2014-11-16 18:56:00 +00:00
Winston Li
f96a29bc45 Implemented WriteLatexDataSource with WriteLatexAPI instead of WLDataModel. 2014-11-16 18:05:44 +00:00