Commit graph

1185 commits

Author SHA1 Message Date
azivner
9e5fcb8be2 simple custom tokenizer search instead of fuse 2017-09-18 20:07:56 -04:00
azivner
a36282caf0 parsing links in html to keep references between notes in links table 2017-09-17 21:58:03 -04:00
azivner
b307907796 package fix 2017-09-17 21:28:04 -04:00
azivner
a460c40587 tweaking html conversion process 2017-09-17 21:17:04 -04:00
azivner
d6ffae2035 encrypt and decrypt subtrees (in tree context menu) 2017-09-17 12:46:14 -04:00
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
b0957a0c8f change password modularized 2017-09-12 22:09:09 -04:00
azivner
8bc1bdd5f7 use generated salts instead of fixed ones 2017-09-12 21:43:24 -04:00
azivner
b4f9fc3a5e username, password and flask_secret_key are now persisted in database 2017-09-12 21:06:09 -04:00
azivner
9787ce432a settings button, dialog with tabs. Change password form, currently without implementation 2017-09-10 23:10:32 -04:00
azivner
7c0f89bc95 encrypt / decrypt is now using icons next to note title 2017-09-10 21:33:39 -04:00
azivner
19561191f6 fuzzy search 2017-09-10 11:50:17 -04:00
azivner
1f19c9cd0d password is loaded on the fly so it's not necessary to restart app for the changes to take place (if no re-encryption is done) 2017-09-09 14:25:35 -04:00
azivner
c06c837904 password is moved out of config file into separate generated file 2017-09-09 14:21:57 -04:00
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