Commit graph

26 commits

Author SHA1 Message Date
azivner
11e173aeac small changes to table names (notes_image => note_images etc.) 2018-01-28 19:38:05 -05:00
azivner
3b1f928fbc renamed db columns to camelCase 2018-01-28 19:30:14 -05:00
azivner
45a92313d5 attribute sync fixes 2018-01-13 23:33:09 -05:00
azivner
0575924cf1 added is_synced to options to better differentiate between synced and not synced options 2018-01-11 22:45:25 -05:00
azivner
b250ad593c added basic infrastructure for attributes 2018-01-09 22:09:45 -05:00
azivner
c0e45a73a8 relation between notes and images 2018-01-06 21:49:02 -05:00
azivner
784cd62df1 image sync 2018-01-06 15:56:00 -05:00
azivner
7f7028873c fixed synced issue when changing protected status of note history 2017-12-30 19:38:30 -05:00
azivner
bd2a5f6d82 change in naming of SQL methods
added assert methods to note tree
2017-12-23 11:02:38 -05:00
azivner
72712bc24b added foreign keys to relations to guarantee data consistency 2017-12-19 21:40:48 -05:00
azivner
b0cbe91784 implementation of forcing full (re)sync 2017-12-13 23:03:48 -05:00
azivner
f68ffe1581 fixes for dates in sync 2017-12-10 15:45:17 -05:00
azivner
15faefe8a3 recent notes are now keyed by note tree id which simplifies things 2017-12-03 10:06:53 -05:00
azivner
3386cd790e cleaned up images and links which are not used nor supported 2017-11-29 20:47:01 -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
f433b30089 removed audit_log 2017-11-24 20:51:44 -05:00
azivner
79a803ccc9 added content hash check 2017-11-21 22:11:27 -05:00
azivner
a3030f845b unified SQL syntax to uppercase 2017-11-20 23:51:28 -05:00
azivner
51ad89ce63 Merge branch 'stable' 2017-11-20 23:37:27 -05:00
azivner
b998c936ba don't save backups with colons in filenames, doesn't work on windows 2017-11-20 19:43:48 -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
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
azivner
433982e7bc - changing note parent must change date_modified otherwise it will trigger a conflict
- when syncing note tree we don't overwrite is_expanded status
2017-11-09 21:11:33 -05:00
azivner
a3b2e705ce refactoring of sync code 2017-11-09 20:52:47 -05:00