Commit graph

1715 commits

Author SHA1 Message Date
azivner
22749f252b removed sync code as it's probably not going to happen ... 2017-09-09 14:01:08 -04:00
azivner
eff67cbf27 login uses my_scrypt to reuse the same scrypt code 2017-09-09 13:57:01 -04:00
azivner
b83f090486 password change (reencryption) 2017-09-09 13:53:58 -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
91245ab5b8 fixed deleting notes 2017-09-06 22:54:20 -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
2c3df13424 title for encrypt and decrypt notes 2017-09-06 21:43:50 -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
f1182c9415 moved logout button out of noteDetailWrapper and positioned absolutely (encrypt button as well) 2017-09-05 21:56: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
c16ed9546b got rid of flask_restful and using plain flask to handle REST API calls 2017-08-30 23:07:45 -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