Commit graph

2051 commits

Author SHA1 Message Date
azivner
649dc0fbbb node authentication 2017-10-15 16:32:49 -04:00
azivner
c4ed01128b hover tooltip for internal links 2017-10-11 20:37:27 -04:00
azivner
4a4228cd03 making dialogs wider to accompany deeper hierarchies. Recent changes now display full path of the note 2017-10-11 19:41:45 -04:00
azivner
a363b43c2b added "jump to note" to header 2017-10-10 20:37:45 -04:00
azivner
af8b26cbd5 unified naming of IDs in all lower case 2017-10-10 20:19:16 -04:00
azivner
fb28111288 notecase webapp renamed to trilium 2017-10-10 19:47:46 -04:00
azivner
c9322465a5 refactored naming to conform to PEP 8 2017-10-09 19:48:10 -04:00
azivner
8a5ff3968b routes separated from the main app file 2017-10-09 19:38:35 -04:00
azivner
49460dfb8a we should probably try to work on a newer database (assuming changes are mostly additive and backwards compatible) 2017-10-09 16:55:58 -04:00
azivner
b02f5dac5b basic implementation of DB upgrades 2017-10-09 16:50:36 -04:00
azivner
29f50f47b8 added history button 2017-10-09 11:28:56 -04:00
azivner
5b3dafd395 added top header 2017-10-06 22:46:30 -04:00
azivner
b7a5dca803 cleanup of old backup files 2017-10-06 20:39:00 -04:00
azivner
ee4eca33d4 basic backup implementation (in progress) 2017-10-05 21:43:39 -04:00
azivner
d5320bff0f fixed tree scrolling 2017-10-05 19:28:56 -04:00
azivner
ade9da4a8a recent notes can now both jump and add link 2017-10-01 23:07:32 -04:00
azivner
2e8787ff91 moved search behind tree action button 2017-10-01 08:47:26 -04:00
azivner
566008baae cleaned up fuse.js which isn't used anymore 2017-09-30 22:37:25 -04:00
azivner
d0cc5f4a5f dates are now stored in UTC and displayed in local time 2017-09-30 22:35:13 -04:00
azivner
569f7a392d recording note content and title changes to audit_log 2017-09-30 21:18:23 -04:00
azivner
734b45dc67 returning 401 for unauthorized API calls while redirecting to /login for unauthorized page access 2017-09-30 18:38:22 -04:00
azivner
e28c06ef37 all APIs are not prefixed with /api 2017-09-30 10:05:12 -04:00
azivner
ff58456332 basic conflict detection based on the audit log 2017-09-29 00:17:28 -04:00
azivner
a9698d362f basic implementation of audit logging 2017-09-28 23:16:36 -04:00
azivner
50b61d30f0 cleanup of old code which used notecase formatting 2017-09-27 00:04:50 -04:00
azivner
b30bc19bd2 basic recent changes implementation 2017-09-26 23:23:03 -04:00
azivner
c6472a1c0c fixed alt-m (hiding everything but content) 2017-09-25 21:37:14 -04:00
azivner
c315975995 history content has fixed width to prevent jumping based on size 2017-09-25 21:33:26 -04:00
azivner
a3425a09ff history fix 2017-09-24 21:06:17 -04:00
azivner
c12161feba history snaphost time interval is now configurable in settings 2017-09-24 20:50:14 -04:00
azivner
08064b181d main layout improvements - whole thing is now limited to 1100px wide (again) 2017-09-24 20:22:07 -04:00
azivner
55667d052f better layout for history 2017-09-24 12:09:50 -04:00
azivner
da17bc6370 removed initial help message - outdated and help will be done differently 2017-09-24 11:52:16 -04:00
azivner
398a0bce5e moved message area next to note title 2017-09-24 11:34:16 -04:00
azivner
21f49ea7c5 layout conversion to cleaner CSS grid, work in progress 2017-09-23 23:54:38 -04:00
azivner
a14257a31c basic functionality of history now working 2017-09-23 10:18:08 -04:00
azivner
647bbcaee1 WIP on the dialog for history 2017-09-21 22:20:10 -04:00
azivner
8ec2c6c338 api for history 2017-09-20 22:30:11 -04:00
azivner
775a943c47 saving history snapshots into new table notes_history 2017-09-20 21:37:21 -04:00
azivner
b307907796 package fix 2017-09-17 21:28:04 -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
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
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
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
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
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
49db61e5e0 initial support for encryption of individual notes. Shouldn't be used for now. 2017-09-04 21:28:07 -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
a54207dc07 added jump to note functionality 2017-09-03 21:34:30 -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
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
azivner
36dbcfcce0 search notes input box 2017-08-28 23:10:04 -04:00
azivner
169825abff initial implementation of link dialog (buggy and feature incomplete) 2017-08-27 23:45:01 -04:00
azivner
5e8edf4469 basic support for internal links 2017-08-27 14:39:26 -04:00
azivner
1b3a113639 correct tabindex so that tab from note title jumps to note content 2017-08-25 19:30:26 -04:00
azivner
4a5d29b83d fixed major rendering problem with mixed links and formattings 2017-08-25 00:00:08 -04:00
azivner
c23928d070 scrolling inside tree fixed 2017-08-23 23:36:16 -04:00
azivner
9d260e9f5c handling of cloned notes moved to backend which should fix some annoying behaviors 2017-08-23 21:43:02 -04:00
azivner
c1f9ca4796 added "show recent notes" widget 2017-08-22 22:40:54 -04:00
azivner
e58b8e6c40 last note viewed is displayed after loading the app. Doesn't work well with cloned notes yet, also scrolling to the item in the tree doesn't work yet. 2017-08-22 21:23:10 -04:00
azivner
aec8083d0c ctrl-alt-h now toggles visibility of everything except the main content (probably controversially also title) 2017-08-21 22:04:08 -04:00
azivner
0c602299b2 encryption POC 2017-08-21 20:34:17 -04:00
azivner
e6c759e476 https can be disabled 2017-08-16 20:48:40 -04:00
azivner
11742bba58 make note title input box wider 2017-08-15 23:07:40 -04:00
azivner
c5660986d6 path to document file is now configurable, flask secret is now also taken from configuration 2017-08-15 22:57:44 -04:00
azivner
bd19dd3e55 auto resizing (full height) of tree and editor to fill the window without creating global scrollbar (instead there are independent scrollbars for tree and editor) 2017-08-15 22:32:30 -04:00
azivner
b986e93356 support for cloned notes including updating clones. Creating clones is not supported. Renaming is handled a bit differently - all clones and original share the same name, while in Notecase desktop each clone has separate name. 2017-08-15 21:29:12 -04:00
azivner
3c924afbca configurable port plus support for SSL 2017-08-14 21:05:01 -04:00
azivner
6fe81cd93a various small usability improvements 2017-08-13 21:42:10 -04:00
azivner
191f70477c app broken up into individual files/modules 2017-08-13 19:43:33 -04:00