Commit Graph

  • 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
  • bb03a0f500 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
  • e769819521 Add in clientTracking.updatePosition end point James Allen 2014-11-13 15:27:18 +00:00
  • efe8667e5e changed the top level on bonus Henry Oswald 2014-11-13 15:23:13 +00:00
  • 84778b5961 Mark user as connected for cursor updates when joining project James Allen 2014-11-13 13:05:49 +00:00
  • f7482014ce Import ConnectedUsersManager from web James Allen 2014-11-13 12:27:46 +00:00
  • 6ed2a0d04d Refactor client attribute fetching and logging James Allen 2014-11-13 12:03:43 +00:00
  • 431abdc6eb Add leaveDoc acceptance tests James Allen 2014-11-13 11:54:10 +00:00
  • 0b18edeff3 Add in /clients and /client/:client_id status end points James Allen 2014-11-13 11:48:49 +00:00
  • 33f59c3f65 DirectoryNode being created for latest snapshot. Winston Li 2014-11-12 17:41:49 +00:00
  • 8b923d2fda Add in leaveDoc end point James Allen 2014-11-12 16:51:48 +00:00
  • eb8ccc0298 Create joinDoc socket.io end point James Allen 2014-11-12 15:54:55 +00:00
  • f3a24603d9 Fixed test name and added to file store. Winston Li 2014-11-12 12:20:43 +00:00
  • ae5a55747e Refactored test package names and added FileIndexStore and BlobHash classes. Winston Li 2014-11-12 11:54:09 +00:00
  • f5d3801bfb changed findElementByPath to not call cb more than once & deal with nulls Henry Oswald 2014-11-11 14:44:44 +00:00
  • 948183b685 return done in smoke test Henry Oswald 2014-11-10 16:33:36 +00:00
  • ae897cb41d try catch encodeURIComponent Henry Oswald 2014-11-10 16:30:02 +00:00
  • 919b192e16 Add in null check James Allen 2014-11-10 11:40:19 +00:00
  • dc60f2b736 Add acceptance test for unauthorized project joining James Allen 2014-11-10 11:38:26 +00:00
  • 02c0a3a867 Create joinProject socket.io endpoint James Allen 2014-11-10 11:27:08 +00:00
  • c920874872 added null check to compile features Henry Oswald 2014-11-10 11:26:40 +00:00
  • 29ae816432 added next into controller for error Henry Oswald 2014-11-10 11:23:07 +00:00
  • e077108993 null check user in logging Henry Oswald 2014-11-10 11:21:59 +00:00
  • 4c905c168a do null check on csrf token in smoke test Henry Oswald 2014-11-10 11:20:34 +00:00
  • e9232eb197 try catch converting id to object id Henry Oswald 2014-11-09 23:08:23 +00:00
  • 5686590a36 Began work on memory file store. Winston Li 2014-11-08 19:00:58 +00:00
  • b5513618d0 Refactored so that the correct exceptions are thrown, especially when there is an git repo. Winston Li 2014-11-08 12:54:06 +00:00
  • f245e583b4 Cleaned up WLDataModel.java. Winston Li 2014-11-08 12:08:06 +00:00
  • ea34136fe7 Refactoring. Winston Li 2014-11-07 20:41:05 +00:00
  • 0d7f5e4430 Now saves the versions already held. Winston Li 2014-11-07 18:54:24 +00:00
  • fbf983c2ff Create framework for real-time API with session authentication James Allen 2014-11-07 17:38:12 +00:00
  • 8808097f2c Add javascript wrapper so it can be loaded directly James Allen 2014-11-07 15:02:45 +00:00
  • f43fd39fc7 Basic version of clone working. Winston Li 2014-11-07 13:18:07 +00:00
  • 6d10e45135 Fix unit test James Allen 2014-11-07 12:35:10 +00:00
  • 84c08edcf3 Factor out common joinProject logic to provide and HTTP end point for the real-time API James Allen 2014-11-07 12:31:47 +00:00
  • 0f4e99361f Added data structures for SnapshotGetForVersionRequest. Winston Li 2014-11-07 12:08:28 +00:00
  • 218f5fedf8 Fix broken template creation route James Allen 2014-11-07 11:21:55 +00:00
  • f7e6b24ff6 Save template description on modal close James Allen 2014-11-07 10:26:09 +00:00
  • a59a2dcf39 Make sure to send description before publishing James Allen 2014-11-07 10:20:29 +00:00
  • c9e5583394 Use local versions of jquery and angular James Allen 2014-11-07 09:49:30 +00:00