Commit Graph

  • ef0ea2ace2 if redis fails once mark it to always fail Henry Oswald 2014-11-20 11:09:44 +00:00
  • 2c64fb0e4f Fixed deadlock on exception being thrown. Winston Li 2014-11-20 10:54:16 +00:00
  • b847e6f712 Fixed accidental package move. Winston Li 2014-11-20 10:33:39 +00:00
  • b5adf31774 Added per-project synchronisation and massively refactored SQLiteWLDatabase. Winston Li 2014-11-20 10:27:58 +00:00
  • 08277baa77 Added per-project synchronisation. Winston Li 2014-11-20 09:19:21 +00:00
  • e133c7101e incremented version and added basic health check function in Henry Oswald 2014-11-19 23:18:56 +00:00
  • 6c746d9aec added redis health check in Henry Oswald 2014-11-19 23:18:20 +00:00
  • 458e4335de added a load more currencies Henry Oswald 2014-11-19 21:34:01 +00:00
  • b51b37f71f Creating atts directory when needed. Winston Li 2014-11-19 21:31:01 +00:00
  • 0442cd7e0b Creating .wlgb directory if it isn't there. Winston Li 2014-11-19 21:07:55 +00:00
  • 832009e6cf Finished writing persistent store. Winston Li 2014-11-19 20:57:31 +00:00
  • dc47c17264 Loading fetched versions from database. Winston Li 2014-11-19 19:30:59 +00:00
  • f103c7e3b5 Loading WLProjectStore from database. Winston Li 2014-11-19 19:01:18 +00:00
  • 7d47514810 Changed WLDataModel to not delete project directories. Winston Li 2014-11-19 18:40:34 +00:00
  • 071e0a87cc Wrote persistent store. Winston Li 2014-11-19 18:28:55 +00:00
  • 4f56d8d4e8 Revert "Use new 'robust' subscription scheme" Henry Oswald 2014-11-19 16:54:02 +00:00
  • 566bf72bfd Revert "lock down the redis version" Henry Oswald 2014-11-19 16:53:50 +00:00
  • 5ae364e6c1 lock down the redis version Henry Oswald 2014-11-19 16:48:43 +00:00
  • 57abc2cb24 lock down the version of redis Henry Oswald 2014-11-19 16:45:10 +00:00
  • 6da4f3eef5 bump package Henry Oswald 2014-11-19 16:41:28 +00:00
  • 9e63b6c3a1 use redis 0.0.6 Henry Oswald 2014-11-19 16:41:12 +00:00
  • 4cd3c249ec removed reconnect stuff Henry Oswald 2014-11-19 16:39:06 +00:00
  • cd8c233c05 Revert robust redis connection code Henry Oswald 2014-11-19 15:04:16 +00:00
  • dbb1d68b66 added SEK and CAD currencies Henry Oswald 2014-11-19 14:52:59 +00:00
  • 8b9a26d6f3 Add in http health check end points for redis subscription channels James Allen 2014-11-19 14:12:37 +00:00
  • 1ee287ed98 add createMonitoredSubscriptionClient method James Allen 2014-11-19 14:05:16 +00:00
  • dca42ac72b Initial sqlite database creation code. Winston Li 2014-11-19 13:49:30 +00:00
  • 0eab2d99b6 Use new 'robust' subscription scheme James Allen 2014-11-19 12:54:47 +00:00
  • c822bb6ea4 Add in missed error catching James Allen 2014-11-19 12:51:19 +00:00
  • 42cbaecbe0 Let the client take care of reconnecting only when the stream is actually ended James Allen 2014-11-19 12:30:10 +00:00
  • 861eafd88d Handle reconnect logic better to (hopefully) avoid duplicate connections James Allen 2014-11-19 11:52:40 +00:00
  • db3537a8eb Reset heartbeat timer after triggering a reconnect James Allen 2014-11-19 11:25:09 +00:00
  • b67b49564d Revert "Use own fork of node-redis-sentinel" James Allen 2014-11-19 11:21:36 +00:00
  • e988dc8586 Don't need secure random bytes which can error if not enough entropy James Allen 2014-11-19 11:18:31 +00:00
  • 68c428545d Don't hash because Henry is hashist! James Allen 2014-11-19 11:16:43 +00:00
  • 34e20e99f5 Pull redis from github master temporarily James Allen 2014-11-18 15:54:56 +00:00
  • d6532c63f8 Use new robust subscription model James Allen 2014-11-19 11:09:42 +00:00
  • 5ec9e587f0 Roll back real-time settings for now James Allen 2014-11-19 11:09:32 +00:00
  • c90cc61570 Set retry_max_delay to 5 seconds so that reconnects don't slow down exponentially James Allen 2014-11-19 11:02:27 +00:00
  • 230203eadf Add in robust heartbeat driven subscription model James Allen 2014-11-19 11:01:02 +00:00
  • 22346f5532 Revert "Pull redis from github master temporarily" James Allen 2014-11-18 18:01:58 +00:00
  • f8cbc5d51a Pull redis from github master temporarily James Allen 2014-11-18 15:54:56 +00:00
  • 79afad5409 Use own fork of node-redis-sentinel James Allen 2014-11-18 15:49:27 +00:00
  • 9d71073a5c Added more POST declarations Ingolf Becker 2014-11-17 15:19:11 +00:00
  • 4d691cf543 Delete client.coffee James Allen 2014-11-17 15:09:55 +00:00
  • cddb4e7279 Add cookie parser dependency James Allen 2014-11-17 15:01:37 +00:00
  • bb5ec10609 don't try and get angular min map file Henry Oswald 2014-11-17 14:55:48 +00:00
  • fd28751db0 Change Login and Register methods to use POST rather than GET Ingolf Becker 2014-11-17 14:55:28 +00:00
  • 2cb365d2b4 Add /status end point James Allen 2014-11-17 14:38:43 +00:00
  • 14ace64bc6 Ignore grunt forever output James Allen 2014-11-17 14:35:32 +00:00
  • ce587a00ba Send web requests with HTTP auth James Allen 2014-11-17 14:35:07 +00:00
  • 50023ba265 Loading project and file store from database. Winston Li 2014-11-17 13:59:11 +00:00
  • 1d4f856832 Moved projects table into WLProjectStore class. Winston Li 2014-11-17 13:54:37 +00:00
  • 5d1c9d436a Basic sqlite database being loaded. Winston Li 2014-11-17 13:49:19 +00:00
  • e559c72491 Connect to configurable websocket service James Allen 2014-11-17 13:38:33 +00:00
  • 2a02ed466a Added sqlite-jbdc-3.7.2.jar and javadocs to ant build. Winston Li 2014-11-17 13:29:26 +00:00
  • 66dfafdebe Add metrics into all end points James Allen 2014-11-17 13:12:49 +00:00
  • eb8dccc151 Made deleteInDirectory use deleteInDirectoryApartFrom. Winston Li 2014-11-17 13:09:27 +00:00
  • 555f4e1674 Changed deleteInDirectoryApartFrom to take variadic type. Winston Li 2014-11-17 13:08:29 +00:00
  • 3bbef6f066 Now deleting all files before writing snapshot to disk. Winston Li 2014-11-17 12:47:59 +00:00
  • 8bc6d0e291 Unify logging James Allen 2014-11-17 12:46:27 +00:00
  • 1e8d7d5840 Removed printing of push data. Winston Li 2014-11-17 12:31:51 +00:00
  • 7b275e9e0e Add acceptence tests for leaving(disconnecting) from a project James Allen 2014-11-17 12:23:30 +00:00
  • 3dea6036f8 Added more description exception messages. Winston Li 2014-11-17 10:59:47 +00:00
  • bdb34f89e7 Catching everything else in the put hook. Winston Li 2014-11-17 10:48:53 +00:00
  • da5b661858 Added exception if the push request returned instantly with an error. Winston Li 2014-11-17 10:41:36 +00:00
  • c9d773b6e8 Made constructor for pushed snapshot. Winston Li 2014-11-17 10:13:01 +00:00
  • 7d650a8604 Removed unused variable. Winston Li 2014-11-17 10:08:56 +00:00
  • 3d86a3e149 Added exception handling to postback and implemented waiting properly. Winston Li 2014-11-17 10:00:15 +00:00
  • 3e12845345 Used cond instead. Winston Li 2014-11-16 22:08:45 +00:00
  • 38cf9e33c6 Added timeout to wait. Winston Li 2014-11-16 22:04:18 +00:00
  • ccf17f9867 Extracted project name properly from uri. Winston Li 2014-11-16 21:58:36 +00:00
  • 48305d963f Testing candidate snapshot approval. Winston Li 2014-11-16 21:49:16 +00:00
  • 06a7ee6614 Corrected remoteAddr to localName. Winston Li 2014-11-16 21:00:57 +00:00
  • db2bf43aa7 Checking local IP of request. Winston Li 2014-11-16 20:55:44 +00:00
  • 87bd7e6ff4 Setting Content-Type and sending request for SnapshotPushRequest. Winston Li 2014-11-16 20:43:33 +00:00
  • 375916678d Generating SnapshotPostRequest data correctly. Winston Li 2014-11-16 20:27:37 +00:00
  • 20c48cbd92 Made changed files accessible via http. Winston Li 2014-11-16 20:02:30 +00:00
  • 30675a11d4 Successfully creating changed and new files. Winston Li 2014-11-16 19:59:18 +00:00
  • 05d222ab00 Added POST support to Request class. Winston Li 2014-11-16 18:56:00 +00:00
  • f96a29bc45 Implemented WriteLatexDataSource with WriteLatexAPI instead of WLDataModel. Winston Li 2014-11-16 18:05:44 +00:00
  • abc698085a Added handlers for resources and SnapshotPushPostback. Winston Li 2014-11-16 17:57:53 +00:00
  • 74ac6e2379 Added push exceptions and deleting root git directory on program start. Winston Li 2014-11-16 15:40:12 +00:00
  • 3cd94af7e9 Made RepositoryObjectTreeWalker and associated classes and methods. Winston Li 2014-11-16 12:43:21 +00:00
  • ba7d0d318c Iterating over received parent commits. Winston Li 2014-11-15 17:37:11 +00:00
  • 6d4309267e Fixed directory problem in file store and wrote working code for reading new revs. Winston Li 2014-11-15 17:10:46 +00:00
  • abc8854f59 Memory store works except the project name still needs to be passed to writeToFile. Winston Li 2014-11-14 21:32:37 +00:00
  • 80b7875414 Add in leaveProject handler James Allen 2014-11-14 16:51:55 +00:00
  • 4016cfd8b3 Merge pull request #224 from watercrossing/chdirFix James Allen 2014-11-14 16:11:21 +00:00
  • 759c84a962 Merge pull request #224 from watercrossing/chdirFix James Allen 2014-11-14 16:11:21 +00:00
  • bb03a0f500 Changed chdir to cd for changing directories Ingolf Becker 2014-11-14 16:02:36 +00:00
  • ca4ac23cf1 Changed chdir to cd for changing directories Ingolf Becker 2014-11-14 16:02:36 +00:00
  • fd56655529 Add in track changes and doc updater flushing calls James Allen 2014-11-14 15:53:59 +00:00
  • 347ceaaf03 Listen for updates from doc updater and send them to clients James Allen 2014-11-14 15:30:18 +00:00
  • 95a17beef4 Worked on file store. Winston Li 2014-11-14 14:40:05 +00:00
  • b6f51fdafd Refactor acceptance tests to wait for connection before proceeding James Allen 2014-11-14 10:21:54 +00:00
  • fef5f6b775 Add acceptance tests for applyOtUpdate James Allen 2014-11-14 10:12:35 +00:00
  • 804bc16bc8 redirect users to /register when coming from templates or share url redirect to /login when going anywhere else (/project /project/1234) Henry Oswald 2014-11-13 17:12:39 +00:00
  • f0e69bfe2d Add appltOtUpdate end point (sans acceptance tests for now) James Allen 2014-11-13 17:07:05 +00:00
  • cc1c85ebf8 Distribute server side socket.io updates over Redis Pub/Sub James Allen 2014-11-13 16:03:37 +00:00