Commit graph

16 commits

Author SHA1 Message Date
azivner
e206269457 got rid of request context and related refactorings 2017-12-16 21:23:35 -05:00
azivner
6edaf0ed00 split hash checks per table with recent notes not reported into frontend as error 2017-12-15 21:14:10 -05:00
azivner
45fba6d7f8 save sync records even if sync isn't configured, but don't put them as outstanding pushes (should be still available for pulls) 2017-12-14 07:57:31 -05:00
azivner
b0cbe91784 implementation of forcing full (re)sync 2017-12-13 23:03:48 -05:00
azivner
17c90262c2 create sync records only if sync is configured. This will prevent sync conflicts after document fork. 2017-12-13 20:34:21 -05:00
azivner
021f02bd8c converted all timestamps to string representation 2017-12-10 12:56:59 -05:00
azivner
3d84f5c3b0 synchronization of transactions using promise so only one can be active 2017-11-28 17:24:08 -05:00
azivner
fd764f6163 separate DB connection for each transaction (just for the record, will be reverted probably) 2017-11-28 17:04:47 -05:00
azivner
1231e02449 show 0 changes to sync for instances without configured sync 2017-11-26 23:16:47 -05:00
azivner
cb31e0acf2 broadcast messages to all clients, send also number of outstanding syncs 2017-11-25 18:31:38 -05:00
azivner
992238f0b3 websocket reimplementation of status requests 2017-11-25 17:43:05 -05:00
azivner
00151beded fixed recent notes 2017-11-19 12:06:48 -05:00
azivner
9a819cafed sync changes for note_tree_id and fixed recent notes 2017-11-18 17:17:46 -05:00
azivner
5fb94fcbbd notes_tree now has note_tree_id so we stricly distinguish between working on notes or note trees 2017-11-18 17:05:50 -05:00
azivner
e53926738c sync fixes 2017-11-16 22:18:25 -05:00
azivner
b2d1ca1c28 we now remember past source ids so app restart won't change anything in sync operation 2017-11-16 21:50:00 -05:00