Commit graph

88 commits

Author SHA1 Message Date
azivner 52034e0cdc added conversion of notes to html 2017-09-17 11:20:33 -04:00
azivner 0fc604e7b4 fixed changing password 2017-09-17 00:18:03 -04:00
azivner 1d395badfa password now encrypts random "data key" which is then used for encryption of the actual data 2017-09-16 23:21:46 -04:00
azivner fdc668e28b scroll to current note in the tree 2017-09-16 11:37:50 -04:00
azivner 4e298d9d85 after changing password, encryption key changed so current encryption session is invalid and needs to be cleared 2017-09-12 23:07:08 -04:00
azivner 5b84487aac encryption timeout is now configurable in the db 2017-09-12 23:04:17 -04:00
azivner 3e97cdf085 changing password in settings dialog 2017-09-12 22:23:57 -04:00
azivner 8bc1bdd5f7 use generated salts instead of fixed ones 2017-09-12 21:43:24 -04:00
azivner 9787ce432a settings button, dialog with tabs. Change password form, currently without implementation 2017-09-10 23:10:32 -04:00
azivner 19561191f6 fuzzy search 2017-09-10 11:50:17 -04:00
azivner 42c21afa62 more refactoring 2017-09-09 12:34:20 -04:00
azivner aad90f016b refactoring - moving stuff to separate files 2017-09-09 12:06:15 -04:00
azivner 7c623d9a0b toggling encrypted/decrypted switches tree node status as well 2017-09-08 23:41:29 -04:00
azivner 07af2de0f5 encrypted notes are distinguished in the tree by shaded icons 2017-09-08 23:14:42 -04:00
azivner adf18132fb if parent note is encrypted, then child note will be created as encrypted as well 2017-09-08 22:43:02 -04:00
azivner 9ba958205d frontend now generates two scrypt hashes with different salts - one for verification and one for encryption. Lowered complexity to half to not affect frontend performance. 2017-09-08 20:55:24 -04:00
azivner aebcabf77d using global one setInterval instead of scheduling setTimeout after each encryption operation (there can be many of them) 2017-09-06 23:16:54 -04:00
azivner fe3d3c1995 note titles are now encrypted as well - plus auto-decryption of note tree and unloading 2017-09-06 23:13:39 -04:00
azivner a8c576298b encryption code separated into its own file 2017-09-06 22:06:43 -04:00
azivner 1bc8a744a6 some tweaking of password input box 2017-09-06 22:03:53 -04:00
azivner 5a64eed1dd encryption key has now limited time to live if not used for 10 minutes 2017-09-06 21:56:06 -04:00
azivner 16485576c8 bootstrap needs to be included before jQuery UI, otherwise close icon in the dialog will be missing 2017-09-06 21:41:12 -04:00
azivner 7bc322f9a1 using globalTree consistently 2017-09-06 21:34:54 -04:00
azivner b6007a25e8 fix for note duplication in recent notes 2017-09-06 21:11:19 -04:00
azivner 465c9e56eb fix for dialog's focus stealing 2017-09-05 23:56:39 -04:00
azivner d41c9349b8 distinction when user asks for action (encryption -> modal) and system asks for password (viewing - non-modal) 2017-09-05 23:51:50 -04:00
azivner a024978d7b jquery ui dialog for encryption password 2017-09-05 23:48:41 -04:00
azivner a760fbbf1b note decryption 2017-09-05 22:01:22 -04:00
azivner 87c1a95ccc verifying password with hash on the backend to make sure we don't decrypt garbage and also to make sure that everything is encrypted with same password/key 2017-09-05 21:22:16 -04:00
azivner 53d327e435 fixed update of encrypted note 2017-09-04 21:58:17 -04:00
azivner b2338c31d7 encrypted notes have grey background to see immediatelly their status 2017-09-04 21:37:55 -04:00
azivner 49db61e5e0 initial support for encryption of individual notes. Shouldn't be used for now. 2017-09-04 21:28:07 -04:00
azivner f20717e29f formatting fix/hack 2017-09-04 18:55:09 -04:00
azivner 63cc208ec7 fix for link doubling 2017-09-04 18:51:07 -04:00
azivner af33a30ad8 handling of beforeunload - we save the note before unloading the page 2017-09-04 16:03:07 -04:00
azivner 1f7f7d105c implemented insert after and insert into in context menu 2017-09-04 13:27:54 -04:00
azivner 390568d743 added context menu on tree items - implemented cut, paste into, paste after 2017-09-04 13:22:24 -04:00
azivner c9f634452e added drag & drop on tree items 2017-09-04 12:02:34 -04:00
azivner a54207dc07 added jump to note functionality 2017-09-03 21:34:30 -04:00
azivner f063d12d07 fix parsing links without any attributes after href 2017-09-03 20:09:17 -04:00
azivner de971d5db5 possible fix for bug which causes to reload the page when adding link (happens only rarely) 2017-09-03 19:43:03 -04:00
azivner 1c5483905d fix autofilling autocomplete label on focus 2017-09-03 19:15:50 -04:00
azivner 573e2f7ace cleanup 2017-09-03 18:50:56 -04:00
azivner 81c534104f recent notes and insert link now include whole note path 2017-09-03 15:08:17 -04:00
azivner 8a388842aa attempt to fix problem when inserting link 2017-08-30 23:17:03 -04:00
azivner b57463d049 insert current date + time on alt+t 2017-08-29 23:27:28 -04:00
azivner 361e69d236 node filtering now scans also note content (using backend) 2017-08-29 22:58:44 -04:00
azivner e862ddae13 cleanup 2017-08-29 22:25:58 -04:00
azivner 0b5aeee0ce hide toggle is now on alt-h (previously ctrl-alt-h) and displays editor on full width 2017-08-29 21:07:02 -04:00
azivner a7180e0e19 button for collapsing tree, button for new top level note 2017-08-29 20:58:53 -04:00