77 Commits

Author SHA1 Message Date
Victor Dubiniuk
f25c334da7 Properly escape query. Fix #59 2013-10-15 19:29:00 +03:00
Victor Dubiniuk
477805fe48 Create documents directory before copying genesis 2013-10-02 19:55:33 +03:00
Victor Dubiniuk
f1e3e1bf27 Fix namespace 2013-10-02 19:54:48 +03:00
Victor Dubiniuk
7b858e75b5 Migrate to simple orm 2013-09-27 18:43:41 +03:00
Victor Dubiniuk
6e7818a967 Add PHP doc 2013-09-27 18:43:41 +03:00
Victor Dubiniuk
4c30cf0e71 Guest can finally edit 2013-09-26 21:02:05 +03:00
Victor Dubiniuk
e3e8ef5b58 Refactoring permissions. Allow guests to join session 2013-09-25 16:34:54 +03:00
Victor Dubiniuk
a7195d6be6 Store genesis to the real file owner instead of session starter 2013-09-24 03:39:33 +03:00
Victor Dubiniuk
20da92fc4e Initial work on public links 2013-09-23 22:56:57 +03:00
Victor Dubiniuk
f96944b867 Add -conflict postfix for files modified externally 2013-09-21 00:01:51 +03:00
Victor Dubiniuk
584d882c65 Resolve path to shared items for current user 2013-09-20 12:41:37 +03:00
Victor Dubiniuk
7f02dac318 Save to new file if hash is changed. Ref #16 2013-09-20 10:05:57 +03:00
Victor Dubiniuk
c6a207ec51 No need in explicit start session. It is started by the first join. Partially Ref #4 2013-09-18 23:41:43 +03:00
Victor Dubiniuk
06ea1d914e Fix non-static notice in logs. Ref #32 2013-09-13 14:25:53 +03:00
Victor Dubiniuk
caeaacfc45 Cleanup session on save. Ref #15 2013-09-11 16:58:01 +03:00
Tobias Hintze
f34ccef158 OC_Util::generate_random_bytes was camelCased in master
check function existence instead of branching away for stable5
2013-09-11 08:27:40 +02:00
Victor Dubiniuk
8d70dffdfc Correct debug code 2013-09-07 22:13:50 +03:00
Victor Dubiniuk
00d4b33374 Fix session cleanup 2013-09-07 21:40:20 +03:00
Victor Dubiniuk
ba6fe651d0 More than one is > 2013-09-07 21:37:36 +03:00
Victor Dubiniuk
136f445581 Cleanup session data if original file is removed 2013-09-07 21:26:22 +03:00
Victor Dubiniuk
4d0bf663d9 Fix typo 2013-09-07 20:48:01 +03:00
Victor Dubiniuk
0fd9b8cbcc Use parent namespace in subclasses 2013-09-07 20:40:36 +03:00
Victor Dubiniuk
f4fadd3bcc Moved common code to the parent class 2013-09-07 20:40:36 +03:00
Victor Dubiniuk
80cba2f5d7 Do not show deleted files in documents 2013-09-03 17:53:05 +03:00
Jörn Friedrich Dreyer
3ada1fcc1d introduce documents_revisions table, whitespace changes 2013-09-02 17:15:29 +02:00
Jörn Friedrich Dreyer
d62e723304 refactor document.js, show overlay icon only when a member active, load session and member info with documents.php 2013-08-28 16:51:17 +02:00
Jörn Friedrich Dreyer
667f3717db add legacy getSessionByFileId to use getSessionsByFileIds 2013-08-28 16:00:27 +02:00
Jörn Friedrich Dreyer
8c44e84a54 allow arrays as param to getSessionByFileId 2013-08-28 15:39:07 +02:00
Jörn Friedrich Dreyer
d756b5fbaa minor reformatting of sql 2013-08-28 15:24:41 +02:00
Jörn Friedrich Dreyer
7bc25ec0ce rename office -> documents 2013-08-28 12:02:27 +02:00
Jörn Friedrich Dreyer
d2e00b9aa3 fix path when opening document 2013-08-27 20:26:34 +02:00
Victor Dubiniuk
968a418ec9 Use path for creating sessions, store fileid to db 2013-08-27 20:26:33 +02:00
Victor Dubiniuk
2635421222 Track and log failures 2013-08-27 20:26:33 +02:00
Victor Dubiniuk
922cdec6b8 Merge session list with document list 2013-08-27 20:26:33 +02:00
Victor Dubiniuk
70a20ebc93 Switch to fileid 2013-08-27 20:26:33 +02:00
Victor Dubiniuk
f975f4a268 Remove cursor on timeout 2013-08-27 20:26:33 +02:00
Victor Dubiniuk
2982f78b45 Add docstrings to download classes 2013-08-27 20:26:32 +02:00
Victor Dubiniuk
70b2b2bb69 Various fixes 2013-08-27 20:26:32 +02:00
Victor Dubiniuk
6cdc2e92da Invite model 2013-08-27 20:26:32 +02:00
Victor Dubiniuk
6d33c54c6c MemberId is now string 2013-08-27 20:26:32 +02:00
Victor Dubiniuk
1340b3bb75 Update last activity time 2013-08-27 20:26:32 +02:00
Victor Dubiniuk
32016d8381 Introducing memberId 2013-08-27 20:26:31 +02:00
Victor Dubiniuk
86952308ce MemberId, not member 2013-08-27 20:26:31 +02:00
Victor Dubiniuk
6cf503f7fb First approach to query_memberdata_list 2013-08-27 20:26:31 +02:00
Victor Dubiniuk
c44ebd24ce Add member DB model 2013-08-27 20:26:31 +02:00
Victor Dubiniuk
4abcc12489 Session interface cleanup 2013-08-27 20:26:31 +02:00
Victor Dubiniuk
2b440eadcc Store original path 2013-08-27 20:26:31 +02:00
Victor Dubiniuk
544991cab3 Use random and unique session id 2013-08-27 20:26:31 +02:00
Victor Dubiniuk
2632387517 Respond to session-list 2013-08-27 20:26:31 +02:00
Victor Dubiniuk
9658890600 Joining session works 2013-08-27 20:26:31 +02:00