Commit graph

55 commits

Author SHA1 Message Date
azivner
f6d481a9e2 fix resource path bug 2017-12-27 16:44:15 -05:00
azivner
ef9a7040e8 if config file doesn't exist, create it from config sample 2017-12-24 15:12:18 -05:00
azivner
9ca7223aea removed foreign key from notes_tree parent_note_id because of sync issues 2017-12-20 22:30:17 -05:00
azivner
f71d71104a set db as ready only if migration fully succeeded 2017-12-12 23:35:41 -05:00
azivner
021f02bd8c converted all timestamps to string representation 2017-12-10 12:56:59 -05:00
azivner
4f47c4d6e9 better fix for migration in electron + electron upgrade to 1.8.2 beta 3 2017-12-06 21:15:46 -05:00
azivner
bbd1774815 fix migration in electron build 2017-12-06 20:58:59 -05:00
azivner
a0bbd8c853 throwException instead of throwing exceptions manually (includes stacktrace) 2017-12-06 19:53:23 -05:00
azivner
6546548848 implemented initial setup of the app 2017-12-03 22:29:23 -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
7bdf269095 migration now works also in electron 2017-11-30 19:58:00 -05:00
azivner
6d603eda86 drop links and images tables 2017-11-29 20:48:58 -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
160c1c455c initial implementation of tree prefix 2017-11-26 22:34:25 -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
3610926804 adding clone from recent notes dialog 2017-11-19 16:35:35 -05:00
azivner
00151beded fixed recent notes 2017-11-19 12:06:48 -05:00
azivner
cc3c9d6428 parent-child relationship is now stored in notes_parent table 2017-11-18 18:57:50 -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
azivner
c190c738a2 data key is not encrypted with aes-cbc as well 2017-11-15 23:39:50 -05:00
azivner
5313ac47e6 changing from AES-256-CTR to AES-128-CBC for note encryption 2017-11-15 22:13:45 -05:00
azivner
892aa39d46 renamed encryption session timeout to protected session timeout 2017-11-14 22:44:45 -05:00
azivner
ff411f00b1 server side WIP - saving encrypted note now works, changing terminology of "encrypted note" to "protected note" 2017-11-14 21:54:12 -05:00
azivner
ba24281f22 fixed bug where migrations were not processed sequentially 2017-11-05 18:59:58 -05:00
azivner
ae23f2ea84 added sync for recent notes 2017-11-05 00:16:02 -04:00
azivner
3fb30a0b5c persisted recent notes 2017-11-04 23:46:50 -04:00
azivner
e35c2dd4ad event_log - entity and logging sync info 2017-11-03 22:08:27 -04:00
azivner
4073f6a967 removed ID from options, opt_name is now new primary key 2017-11-02 23:02:35 -04:00
azivner
c3d776ae13 sync of options 2017-11-02 20:48:02 -04:00
azivner
40e27cd6f7 removed id from notes_history, new primary key is note_history_id 2017-11-02 19:23:52 -04:00
azivner
43940f1140 added sourceId to sync, fixes to sync etc. 2017-10-31 00:15:49 -04:00
azivner
d88d562d63 created sync table 2017-10-30 18:44:26 -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
a76e82e9a2 trim note_ids to 22 characters (there was a bug in nodejs backend which generated 32 character noteids) 2017-10-28 10:21:55 -04:00
azivner
297da47b34 fix sync of audit log 2017-10-26 21:53:26 -04:00
azivner
266727a21b separate sync for pull (implemented) and push (not yet) 2017-10-26 20:31:31 -04:00
azivner
1c733fbfab sync WIP 2017-10-25 22:39:21 -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
11bfae4007 fixed primary keys, added indexes 2017-10-24 20:00:54 -04:00
azivner
d1981eb6c3 note history snapshots now have date from and date to 2017-10-24 19:36:37 -04:00
azivner
f089a0d7c3 cleanup of options 2017-10-23 23:41:43 -04:00