Commit graph

21451 commits

Author SHA1 Message Date
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
Winston Li
f3a24603d9 Fixed test name and added to file store. 2014-11-12 12:20:43 +00:00
Winston Li
ae5a55747e Refactored test package names and added FileIndexStore and BlobHash classes. 2014-11-12 11:54:09 +00:00
Henry Oswald
f5d3801bfb changed findElementByPath to not call cb more than once & deal with nulls 2014-11-11 14:44:44 +00:00
Henry Oswald
948183b685 return done in smoke test 2014-11-10 16:33:36 +00:00
Henry Oswald
ae897cb41d try catch encodeURIComponent 2014-11-10 16:30:02 +00:00
James Allen
919b192e16 Add in null check 2014-11-10 11:40:19 +00:00
James Allen
dc60f2b736 Add acceptance test for unauthorized project joining 2014-11-10 11:38:26 +00:00
James Allen
02c0a3a867 Create joinProject socket.io endpoint 2014-11-10 11:27:08 +00:00
Henry Oswald
c920874872 added null check to compile features 2014-11-10 11:26:40 +00:00
Henry Oswald
29ae816432 added next into controller for error 2014-11-10 11:23:07 +00:00