Commit graph

68 commits

Author SHA1 Message Date
azivner
e56fb6d2d4 support for loading and saving type and mime 2018-01-21 23:36:09 -05:00
azivner
090e1b845f first experiments with code mirror 2018-01-20 21:56:03 -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
8fe6a9353a added dialog and read only view of attributes 2018-01-11 00:01:16 -05:00
azivner
b250ad593c added basic infrastructure for attributes 2018-01-09 22:09:45 -05:00
azivner
20b1357be6 gif support 2018-01-07 09:22:55 -05:00
azivner
c0e45a73a8 relation between notes and images 2018-01-06 21:49:02 -05:00
azivner
23a5e38e02 added basic support for uploading and serving files 2018-01-05 23:54:02 -05:00
azivner
548ecd4171 removed unique index again - from now on the invariant is that there's unique undeleted relationship between note and parent note 2018-01-03 21:29:13 -05:00
azivner
53ee1fa5ed note_id - parent_note_id index needs to be unique 2018-01-02 19:20:42 -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
57c4465a37 remove all other foreign keys from synced entities 2017-12-20 22:43:24 -05:00
azivner
111d92bd81 remove also second foreign key from notes_tree 2017-12-20 22:39: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
72712bc24b added foreign keys to relations to guarantee data consistency 2017-12-19 21:40:48 -05:00
azivner
0fbb3f08e5 extra sync consistency check for extra sync rows 2017-12-15 22:16:28 -05:00
azivner
206a6dd6e7 set last synced push to avoid full sync after DB upgrade 2017-12-14 23:38:03 -05:00
azivner
612c7d9144 more cleanups 2017-12-14 23:28:50 -05:00
azivner
92992a3e2a cleanup inconsistencies from prod DB. Show error message on frontend in case of inconsistencies 2017-12-14 23:21:03 -05:00
azivner
2e11494cac filling up missing sync rows 2017-12-14 22:47:55 -05:00
azivner
d1329de760 implemented consistency checks 2017-12-14 22:16:26 -05:00
azivner
f68ffe1581 fixes for dates in sync 2017-12-10 15:45:17 -05:00
azivner
cba457bd61 using ISO8601 format instead of custom 2017-12-10 15:31:43 -05:00
azivner
021f02bd8c converted all timestamps to string representation 2017-12-10 12:56:59 -05:00
azivner
6fad30e9af renamed start_note_tree_id option to startNotePath 2017-12-06 23:15:53 -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
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
f18d25911b removed notes_parent, instead using notes_tree 2017-11-19 11:28:46 -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
dec9cad106 cleaned up "CBC" from methods since we don't have CTR 2017-11-18 12:53:17 -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
379431eefd fixed encryption of note history 2017-11-16 00:22: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
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
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