Commit graph

60 commits

Author SHA1 Message Date
azivner
3b1f928fbc renamed db columns to camelCase 2018-01-28 19:30:14 -05:00
azivner
4ab763e295 added codemirror plugin for easier editing - matchtags, match brackets and highlight matches 2018-01-28 11:19:31 -05:00
azivner
e8f8341ef9 fix for icon change when creating note / changing type/mime 2018-01-28 10:37:43 -05:00
azivner
b2ff97ccf2 new note inherits type and mime from parent note, closes #20 2018-01-26 21:31:52 -05:00
azivner
0da13994a6 better filtering of empty HTML content (just tags and whitespace) 2018-01-26 19:54:27 -05:00
azivner
9f3d46ddb1 Allow marking code (JavaScript) notes for execution after application loads, closes #19 2018-01-25 23:49:03 -05:00
azivner
a42fd9b090 refactoring of script subtree execution 2018-01-25 23:22:19 -05:00
azivner
18709eb340 new note type: render HTML note 2018-01-23 23:41:22 -05:00
azivner
4ed2dc9f53 support of including JS subnotes when executing 2018-01-23 22:53:27 -05:00
azivner
f439969962 support for execution of async functions + integration with backend through server.exec() 2018-01-23 21:59:30 -05:00
azivner
27cb6b1c4d added possibility of executing javascript 2018-01-23 20:45:34 -05:00
azivner
8adb31757f add link disables HTML link when in code note (plus some related refactorings) 2018-01-23 20:14:10 -05:00
azivner
403cf02ea7 fix syntax highlight switch 2018-01-23 19:51:16 -05:00
azivner
9901882a0f codemirror mode lazy loading 2018-01-22 23:07:04 -05:00
azivner
93d0e0aa2d fixes for indentation and keyboard shortcuts 2018-01-22 22:14:03 -05:00
azivner
e56fb6d2d4 support for loading and saving type and mime 2018-01-21 23:36:09 -05:00
azivner
f9631ff59f added note type picker component 2018-01-21 23:06:25 -05:00
azivner
15958d06a9 support for saving code notes + other tweaks 2018-01-21 10:33:33 -05:00
azivner
090e1b845f first experiments with code mirror 2018-01-20 21:56:03 -05:00
azivner
58362405c6 workaround for CKEditor bug with setting empty data 2018-01-09 20:01:02 -05:00
azivner
b545100cad removed loader animation - it was causing issues with initial focus on the tree (probably by stealing focus) 2018-01-02 22:01:38 -05:00
azivner
bf2db6eac7 after loading new note make sure editor is scrolled to the top 2017-12-28 20:13:54 -05:00
azivner
12f70b28c8 display current note ID in editor (useful in Electron which doesn't have address bar) 2017-12-25 09:46:11 -05:00
azivner
31a4a201a8 fix setting "protected" class and background on note tree 2017-12-25 09:30:37 -05:00
azivner
8eff18922c fixed background of protected notes 2017-12-16 21:27:42 -05:00
azivner
021f02bd8c converted all timestamps to string representation 2017-12-10 12:56:59 -05:00
azivner
2fdd4c37e5 using change event instead of changesDone because the latter seems to trigger also on e.g. just selection 2017-12-09 21:56:48 -05:00
azivner
d2a5921489 add links in ckeditor 2017-12-09 14:11:35 -05:00
azivner
7b6ccab894 some fixes for CKEditor 2017-12-02 13:54:16 -05:00
azivner
a85bb649cb basic CKEditor integration 2017-12-02 10:37:12 -05:00
azivner
69f77ac439 update note title in tree real time instead of waiting for save event 2017-11-29 21:13:12 -05:00
azivner
3386cd790e cleaned up images and links which are not used nor supported 2017-11-29 20:47:01 -05:00
azivner
54c0ff15b3 using server.method() instead of direct call to $.ajax - preparation for electron without network requests 2017-11-28 20:52:38 -05:00
azivner
14001f67d8 fix updating note title when switching to another note 2017-11-28 19:38:33 -05:00
azivner
0cab4e3edd CTRL-C CTRL-V now clones the note 2017-11-28 11:36:32 -05:00
azivner
b4e6245f7b fix 2017-11-26 21:00:42 -05:00
azivner
9fcafe44d5 fix 2017-11-26 19:56:08 -05:00
azivner
f6aae68063 moved isNewNoteCreated into note_editor 2017-11-23 19:40:47 -05:00
azivner
acba72ec4c cloning in context menu (copy & paste) and a lot of related refactoring and fixes 2017-11-22 23:16:54 -05:00
azivner
16818e7583 correctly updating title for all clone nodes 2017-11-22 19:58:56 -05:00
azivner
a3030f845b unified SQL syntax to uppercase 2017-11-20 23:51:28 -05:00
azivner
8a1c477b8a removed glob.allNoteIds which wasn't used anymore 2017-11-19 22:32:59 -05:00
azivner
5fb94fcbbd notes_tree now has note_tree_id so we stricly distinguish between working on notes or note trees 2017-11-18 17:05:50 -05:00
azivner
dd5a142fdd hiding protected session dialog when moving over to unprotected note 2017-11-15 00:10:11 -05:00
azivner
c2ad14ba18 more cleanup 2017-11-14 23:01:23 -05:00
azivner
98a2322b37 refreshing protected session when loading and saving protected notes 2017-11-14 22:50:56 -05:00
azivner
4aa70d3574 renamed encryption module to protected_session 2017-11-14 22:36:36 -05:00
azivner
b28df3f093 more cleanups 2017-11-14 22:34:33 -05:00
azivner
0a0421ec7e note history decryption now works, more cleanup 2017-11-14 22:21:56 -05:00
azivner
ff411f00b1 server side WIP - saving encrypted note now works, changing terminology of "encrypted note" to "protected note" 2017-11-14 21:54:12 -05:00