Commit graph

101 commits

Author SHA1 Message Date
azivner 5f3a11af47 even though trilium APIs are still exposed in electron, they require login if not called directly from electron 2017-11-30 23:29:21 -05:00
azivner 471821ebe5 separated electron routing into separate file 2017-11-30 20:51:35 -05:00
azivner 8bd76721ad prefixes are now displayed also in all autocompletes and recent notes 2017-11-29 22:03:03 -05:00
azivner e6629b2c93 cosmetic sync related changes 2017-11-29 21:04:30 -05:00
azivner 3386cd790e cleaned up images and links which are not used nor supported 2017-11-29 20:47:01 -05:00
azivner e47027cbef recent notes are kept only for one day 2017-11-29 20:30:47 -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 8b5988e13c sync fix to prefix and some usability improvements 2017-11-26 23:10:23 -05:00
azivner 160c1c455c initial implementation of tree prefix 2017-11-26 22:34:25 -05:00
azivner 8766e9ae4a cleanup of status code 2017-11-25 18:38:29 -05:00
azivner f433b30089 removed audit_log 2017-11-24 20:51:44 -05:00
azivner f799d3076b sync / transaction fixes for recent notes 2017-11-24 00:09:53 -05:00
azivner f499872809 fix sync API for note tree 2017-11-23 22:25:39 -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 79a803ccc9 added content hash check 2017-11-21 22:11:27 -05:00
azivner 163a03663f app info is now logged after startup 2017-11-21 00:25:53 -05:00
azivner a3030f845b unified SQL syntax to uppercase 2017-11-20 23:51:28 -05:00
azivner 4c0315d2bf fix deleting notes 2017-11-19 23:12:39 -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 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 9a819cafed sync changes for note_tree_id and fixed recent notes 2017-11-18 17:17:46 -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 7b2c79b754 lazy loading of tree 2017-11-17 21:31:54 -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 7e3fd2f63e added app and db versions to about dialog in settings 2017-11-16 20:03:44 -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 9cf935efd1 protect/unprotect subtree 2017-11-15 00:04:26 -05:00
azivner 892aa39d46 renamed encryption session timeout to protected session timeout 2017-11-14 22:44:45 -05:00
azivner 0a0421ec7e note history decryption now works, more cleanup 2017-11-14 22:21:56 -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 c18799b938 Merge branch 'stable' 2017-11-13 23:42:23 -05:00
azivner fbce84e779 added build date & revision 2017-11-13 23:35:23 -05:00
azivner 50b789fc39 server side encryption WIP 2017-11-12 21:40:26 -05:00
azivner ec49bf0cca server side encryption WIP 2017-11-10 22:55:19 -05:00
azivner 8f1eedfe0d refactoring of password change and preparations for server side encryption 2017-11-09 23:25:23 -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
azivner 70f717b350 note expansion is not synced anymore so there's less possibility of conflict 2017-11-07 20:36:17 -05:00
azivner a73afa9ded fix password change 2017-11-06 19:48:02 -05:00
azivner e1251222cc sync fix and more logging 2017-11-06 19:23:35 -05:00