Commit graph

19111 commits

Author SHA1 Message Date
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
Winston Li
abc698085a Added handlers for resources and SnapshotPushPostback. 2014-11-16 17:58:18 +00:00
Winston Li
74ac6e2379 Added push exceptions and deleting root git directory on program start. 2014-11-16 15:40:12 +00:00
Winston Li
3cd94af7e9 Made RepositoryObjectTreeWalker and associated classes and methods. 2014-11-16 12:43:21 +00:00
Winston Li
ba7d0d318c Iterating over received parent commits. 2014-11-15 17:37:11 +00:00
Winston Li
6d4309267e Fixed directory problem in file store and wrote working code for reading new revs. 2014-11-15 17:10:46 +00:00
Winston Li
abc8854f59 Memory store works except the project name still needs to be passed to writeToFile. 2014-11-14 21:32:37 +00:00
James Allen
80b7875414 Add in leaveProject handler 2014-11-14 16:51:55 +00:00
James Allen
4016cfd8b3 Merge pull request #224 from watercrossing/chdirFix
Changed chdir to cd for changing directories
2014-11-14 16:11:21 +00:00
Ingolf Becker
bb03a0f500 Changed chdir to cd for changing directories 2014-11-14 16:02:36 +00:00
James Allen
fd56655529 Add in track changes and doc updater flushing calls 2014-11-14 15:53:59 +00:00
James Allen
347ceaaf03 Listen for updates from doc updater and send them to clients 2014-11-14 15:30:18 +00:00
Winston Li
95a17beef4 Worked on file store. 2014-11-14 14:40:05 +00:00
James Allen
b6f51fdafd Refactor acceptance tests to wait for connection before proceeding 2014-11-14 10:21:54 +00:00
James Allen
fef5f6b775 Add acceptance tests for applyOtUpdate 2014-11-14 10:12:35 +00:00
Henry Oswald
804bc16bc8 redirect users to /register when coming from templates or share url
redirect to /login when going anywhere else (/project /project/1234)
2014-11-13 17:12:39 +00:00
James Allen
f0e69bfe2d Add appltOtUpdate end point (sans acceptance tests for now) 2014-11-13 17:07:05 +00:00
James Allen
cc1c85ebf8 Distribute server side socket.io updates over Redis Pub/Sub 2014-11-13 16:03:37 +00:00
James Allen
e769819521 Add in clientTracking.updatePosition end point 2014-11-13 15:27:18 +00:00
Henry Oswald
efe8667e5e changed the top level on bonus 2014-11-13 15:23:13 +00:00
James Allen
84778b5961 Mark user as connected for cursor updates when joining project 2014-11-13 13:05:49 +00:00
James Allen
f7482014ce Import ConnectedUsersManager from web 2014-11-13 12:27:46 +00:00
James Allen
6ed2a0d04d Refactor client attribute fetching and logging 2014-11-13 12:03:43 +00:00
James Allen
431abdc6eb Add leaveDoc acceptance tests 2014-11-13 11:54:10 +00:00
James Allen
0b18edeff3 Add in /clients and /client/:client_id status end points 2014-11-13 11:48:49 +00:00
Winston Li
33f59c3f65 DirectoryNode being created for latest snapshot. 2014-11-12 17:41:49 +00:00
James Allen
8b923d2fda Add in leaveDoc end point 2014-11-12 16:51:48 +00:00
James Allen
eb8ccc0298 Create joinDoc socket.io end point 2014-11-12 15:54:55 +00:00