Commit graph

28 commits

Author SHA1 Message Date
azivner
1b900bb907 fix sync of date_modified in notes_tree which caused failed hash check 2017-12-18 20:58:13 -05:00
azivner
50ff5da947 per-browser source id so we support having notecase opened in multiple tabs/windows 2017-12-16 20:48:34 -05:00
azivner
d1329de760 implemented consistency checks 2017-12-14 22:16:26 -05:00
azivner
021f02bd8c converted all timestamps to string representation 2017-12-10 12:56:59 -05:00
azivner
0521deb304 unifying API paths to lower-case 2017-12-01 22:47:23 -05:00
azivner
e6629b2c93 cosmetic sync related changes 2017-11-29 21:04:30 -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
c9ccf797da cycle check when cloning notes 2017-11-23 21:50:12 -05:00
azivner
5b2c18dab7 refactoring and check for existing clone in a parent 2017-11-23 20:49:24 -05:00
azivner
acba72ec4c cloning in context menu (copy & paste) and a lot of related refactoring and fixes 2017-11-22 23:16:54 -05:00
azivner
a3030f845b unified SQL syntax to uppercase 2017-11-20 23:51:28 -05:00
azivner
e992087720 recovery if note path changes, plus change of note path after note move 2017-11-19 18:16: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
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
70f717b350 note expansion is not synced anymore so there's less possibility of conflict 2017-11-07 20:36:17 -05:00
azivner
e1251222cc sync fix and more logging 2017-11-06 19:23:35 -05:00
azivner
0481b1b79c more granular detection of changes which forces less disruptive realoding. Refactoring of audit functions 2017-11-05 10:41:54 -05:00
azivner
a7f95e95e9 proper syncing of note positions 2017-11-02 22:55:22 -04:00
azivner
43940f1140 added sourceId to sync, fixes to sync etc. 2017-10-31 00:15:49 -04:00
azivner
de3d1b3e39 better transaction handling with rollback on exception 2017-10-29 18:50:28 -04:00
azivner
5df3b78abc notes_tree is now soft deleted as well 2017-10-24 22:58:59 -04:00
azivner
8e47e34d1f more logging 2017-10-24 22:17:48 -04:00
azivner
a5bd4c7b6a added date_modified to notes_tree 2017-10-22 22:56:42 -04:00
azivner
dcdabe79d1 use strict in all JS files 2017-10-21 21:10:33 -04:00
azivner
0c823a2927 reorganization of source code 2017-10-15 19:47:05 -04:00
Renamed from node/routes/api/notes_move.js (Browse further)