Commit graph

88 commits

Author SHA1 Message Date
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 4adf4fcc4a added scrollbar to the autocomplete 2017-09-03 18:53:28 -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 540c28eb3a committed forgotten icons for collapse and add new note 2017-08-29 22:26:18 -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
azivner 36dbcfcce0 search notes input box 2017-08-28 23:10:04 -04:00
azivner b22d55c183 fix - link label set explicitly was not respected 2017-08-28 22:01:02 -04:00
azivner 27dc43b688 better behavior of link title auto setting 2017-08-28 21:59:47 -04:00
azivner 570dd7cb4e link is inserted at correct position in the editor 2017-08-28 21:50:20 -04:00
azivner a2d174665b resetting the editor after note load - not complete solution because ctrl-z will revert to initial editor state 2017-08-28 21:41:04 -04:00
azivner 169825abff initial implementation of link dialog (buggy and feature incomplete) 2017-08-27 23:45:01 -04:00
azivner 9259db9f87 internal link loads referenced note instead of opening into new tab 2017-08-27 14:57:03 -04:00