Commit graph

46 commits

Author SHA1 Message Date
azivner
75878c80a8 migration script to camel case 2018-01-28 20:52:05 -05:00
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
77278fe09e added small image to demo document 2018-01-07 23:52:32 -05:00
azivner
07c33979c3 consistent checking of is_deleted, some small refactorings 2018-01-03 22:13:02 -05:00
azivner
136375cf11 refactored detection of whether user is initialized 2017-12-27 18:23:24 -05:00
azivner
f6d481a9e2 fix resource path bug 2017-12-27 16:44:15 -05:00
azivner
79a4a6eb01 fixes for DB initalization and import of demo data 2017-12-23 13:55:13 -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
f54d855f55 sql console now shows error message if any SQL error ocurred 2017-12-19 22:33:44 -05:00
azivner
2df81c3a83 forgot to enable the constraints immediatelly after connecting 2017-12-19 22:24:41 -05:00
azivner
72712bc24b added foreign keys to relations to guarantee data consistency 2017-12-19 21:40:48 -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
3789ead2da creating new starting page when creating database 2017-12-04 00:17:08 -05:00
azivner
6546548848 implemented initial setup of the app 2017-12-03 22:29:23 -05:00
azivner
a3f57622ff distinguishing between when DB is just connected and when it's ready for queries (validated) 2017-12-03 19:18:33 -05:00
azivner
e6629b2c93 cosmetic sync related changes 2017-11-29 21:04:30 -05:00
azivner
cd90200272 fixed sync 2017-11-28 18:33:23 -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
cc3c9d6428 parent-child relationship is now stored in notes_parent table 2017-11-18 18:57:50 -05:00
azivner
2f2969b2a1 all DB operations now wait for DB connection 2017-11-17 19:09:51 -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
0481b1b79c more granular detection of changes which forces less disruptive realoding. Refactoring of audit functions 2017-11-05 10:41:54 -05:00
azivner
ae23f2ea84 added sync for recent notes 2017-11-05 00:16:02 -04:00
azivner
a7f95e95e9 proper syncing of note positions 2017-11-02 22:55:22 -04:00
azivner
c3d776ae13 sync of options 2017-11-02 20:48:02 -04:00
azivner
1cf247f164 more fine grained handling of conflicts without having to reload whole page most of the time 2017-11-01 22:36:26 -04:00
azivner
962c078bbc number of sync changes to push next to "sync now" button 2017-11-01 20:31:44 -04:00
azivner
43940f1140 added sourceId to sync, fixes to sync etc. 2017-10-31 00:15:49 -04:00
azivner
8630b3685d incremental push sync 2017-10-29 22:22:30 -04:00
azivner
de3d1b3e39 better transaction handling with rollback on exception 2017-10-29 18:50:28 -04:00
azivner
afadd6ec06 added date_modified to options as preparation for options syncing 2017-10-29 16:14:59 -04:00
azivner
eb6f9f8f81 added document_secret as basis for API authentication 2017-10-28 19:55:55 -04:00
azivner
724f4b43b7 added document_id for sync identification 2017-10-28 13:19:12 -04:00
azivner
966ac6f620 shortening of noteIds to 12 characters 2017-10-28 12:12:20 -04:00
azivner
a2f0a372a5 sync fixes etc., push/pull sync is now working in basic form 2017-10-26 23:21:31 -04:00
azivner
1c733fbfab sync WIP 2017-10-25 22:39:21 -04:00
azivner
5253f680f6 sync WIP 2017-10-24 23:14:26 -04:00
azivner
8e47e34d1f more logging 2017-10-24 22:17:48 -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/sql.js (Browse further)