Commit graph

292 commits

Author SHA1 Message Date
azivner fdcc833f6d added force note sync functionality to context menu 2017-12-30 21:44:26 -05:00
azivner 2d2d76a715 enter on note tree can also give focus to the editor 2017-12-28 22:57:35 -05:00
azivner aebce8f12b making not focused active tree item more visible 2017-12-28 20:53:31 -05:00
azivner 045ca1f0bf global CTRL-SHIFT-arrows to move in the note tree without losing focus in the note editor 2017-12-28 20:38:57 -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 cf84114f91 removed unused methods 2017-12-28 19:58:33 -05:00
azivner 6426157bb3 title in fancytree needs to be escaped for HTML special characters 2017-12-28 19:00:31 -05:00
azivner 332fc16852 fix pasting into non-expanded non-loaded node (UI only) 2017-12-27 22:44:27 -05:00
azivner da2cd57428 CTRL+ENTER on note in tree pane switches to the editor 2017-12-27 21:16:47 -05:00
azivner de9bab1181 fixed keyboard controlled clipboard 2017-12-27 21:12:54 -05:00
azivner ae337e4500 don't open dev tools for search page in electron 2017-12-26 22:24:47 -05:00
azivner 19ffa14f10 hide logout button in electron since it doesn't do anything 2017-12-26 22:19:42 -05:00
azivner bf3f26fde8 using textarea instead of pre for note source since that's easier to copy to clipboard 2017-12-26 20:54:41 -05:00
azivner baab745462 some visual tweaks 2017-12-26 19:54:43 -05:00
azivner 0d3b3ec7c5 alt+s toggles search instead of just showing it 2017-12-26 19:16:04 -05:00
azivner 7aff20bb0d added show note source 2017-12-26 18:15:29 -05:00
azivner 5acf84aece Calling project "Trilium Notes" in some places as it is more self explanatory 2017-12-26 12:55:40 -05:00
azivner 20c14a1920 fix collapse tree keyboard shortcut 2017-12-26 11:00:04 -05:00
azivner 04063d8a9c sql console reports successful execution (useful when query doesn't produce any result set like in update/delete) 2017-12-26 10:21:33 -05:00
azivner dd69e0135b added collapse sub-tree in context menu 2017-12-26 10:00:08 -05:00
azivner 9029d18178 fix go to external link by double clicking 2017-12-26 09:10:54 -05:00
azivner e9a1791e3d fix unwanted movement with navigation keys 2017-12-25 21:47:32 -05:00
azivner 583123ab0a classes in extraClasses need to be separated by space, not comma 2017-12-25 09:59:48 -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 7dcd80bd81 fix for not working keyboard navigation after context menu (de)activation by handling this with hotkeys plugin 2017-12-24 14:01:20 -05:00
azivner fe81fcf332 fix go to internal note link 2017-12-23 23:22:27 -05:00
azivner bb0acec4a2 fix for initial non-clickability of start node 2017-12-23 17:18:51 -05:00
azivner 2749abded2 context menu now displayed associated keyboard shortcuts 2017-12-23 14:35:20 -05:00
azivner 8bc12a2654 fixes in working with top level nodes and root node 2017-12-23 12:19:15 -05:00
azivner bd2a5f6d82 change in naming of SQL methods
added assert methods to note tree
2017-12-23 11:02:38 -05:00
azivner 215c3a414f cleanup of soft deleted items
vacuuming database
consolidation of "advanced" operations in settings
2017-12-23 09:35:00 -05:00
azivner eba00e6ff8 target note is expanded after cloning into it
CTRL-V pastes into instead of after
showing messages about clipboard operations
2017-12-23 08:24:03 -05:00
azivner 3c3117e22f unified opening of external links in new tab (doubleclick in editor, singleclick in preview tooltip) 2017-12-23 07:48:59 -05:00
azivner 4a3169dfdd reset radio to "html" type link when displaying dialog again 2017-12-21 23:13:28 -05:00
azivner e007ec5e21 removing extra actions (add link, cloning) from jump to dialog 2017-12-21 22:03:13 -05:00
azivner 262b02c1b2 scroll to current page after loading app 2017-12-21 22:00:44 -05:00
azivner 84faa41321 added cloning to the "add link" dialog 2017-12-21 21:54:25 -05:00
azivner 66652f2f0c bind ctrl+enter to execute query in SQL console 2017-12-20 22:30:44 -05:00
azivner 00e316fe29 Merge branch 'master' into stable 2017-12-20 19:52:17 -05:00
azivner 333735543e yet another attempt at fixing reporting sync changes to client 2017-12-19 23:22:21 -05:00
azivner f54d855f55 sql console now shows error message if any SQL error ocurred 2017-12-19 22:33:44 -05:00
azivner 5403f340ec functionality to fill up / cleanup sync rows compared to the entity rows 2017-12-19 22:04:51 -05:00
azivner 72712bc24b added foreign keys to relations to guarantee data consistency 2017-12-19 21:40:48 -05:00
azivner bb2f47deb2 alt-left and alt-right navigation also for electron 2017-12-19 19:54:55 -05:00
azivner eddb3ed58a hook on hash change which allows us navigation with alt-left, alt-right 2017-12-19 19:31:02 -05:00
azivner b0e2d99a7b fix history shortcut for firefox 2017-12-18 23:44:20 -05:00
azivner 0d6ccd7f61 change in default keyboard shortcuts 2017-12-18 23:41:13 -05:00
azivner 35912f325b making sure that if AJAX request fails, then the whole operation is cancelled (previously the promise has been resolved successfully even in case of failed request) 2017-12-18 22:56:44 -05:00
azivner 3edbb65b0f logging current time with console.logs on frontend 2017-12-18 22:06:24 -05:00
azivner f96e38fd13 fix tooltip 2017-12-17 17:37:19 -05:00
azivner 125012cba7 ctrl+. shortcut for scroll to current note which also allows to switch quickly to tree from editor 2017-12-17 16:56:30 -05:00
azivner eee06a4b90 ctrl+insert now works globally - i.e. inside editor 2017-12-17 16:40:38 -05:00
azivner 42dfbaa986 updating data model after change parent of the note 2017-12-17 16:28:13 -05:00
azivner cf7ab2b8d6 fix for non-sync WS messages 2017-12-17 13:46:18 -05:00
azivner ccc7775c7c small usability improvements 2017-12-16 21:35:44 -05:00
azivner 8eff18922c fixed background of protected notes 2017-12-16 21:27:42 -05:00
azivner 50ff5da947 per-browser source id so we support having notecase opened in multiple tabs/windows 2017-12-16 20:48:34 -05:00
azivner 8d3ed6c8a6 fancytree upgrade & cleanup 2017-12-16 00:19:15 -05:00
azivner 5b08dfefd3 db anonymization implementation 2017-12-16 00:05:37 -05:00
azivner fab69f411e fix settings active tab color 2017-12-15 22:35:42 -05:00
azivner df69dbb2e1 if note doesn't exist we don't try to activate it 2017-12-15 21:36:21 -05:00
azivner 92992a3e2a cleanup inconsistencies from prod DB. Show error message on frontend in case of inconsistencies 2017-12-14 23:21:03 -05:00
azivner e1159c472d better behavior when deleting last item 2017-12-14 22:53:25 -05:00
azivner f3f453bdbf padding dates 2017-12-14 22:38:38 -05:00
azivner 581f406a24 sql console implementation 2017-12-14 20:38:56 -05:00
azivner b0cbe91784 implementation of forcing full (re)sync 2017-12-13 23:03:48 -05:00
azivner 643069e8d6 sync check failure is now shown as error message in frontend 2017-12-12 23:47:17 -05:00
azivner 513689b175 fix 2017-12-12 22:26:40 -05:00
azivner 4596d56ae8 fix bug causing non-working autocomplete after creating new note 2017-12-12 22:20:03 -05:00
azivner c24d9a0afa added search for electron + sourcemap for jquery 2017-12-12 21:40:55 -05:00
azivner cba457bd61 using ISO8601 format instead of custom 2017-12-10 15:31:43 -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 7483f11d10 more consistent handling of tree data structures when creating new note 2017-12-09 21:53:21 -05:00
azivner 3abbe2d970 realoding tree after deletion (too many changes in data model) 2017-12-09 21:42:22 -05:00
azivner f55f0a4ed3 make sure entity IDs are generated only with alphanumeric characters (base62) 2017-12-09 20:44:06 -05:00
azivner 372cce8f8e fixed "add date" for ckeditor 2017-12-09 14:17:03 -05:00
azivner 5001e7e630 removed summernote 2017-12-09 14:12:56 -05:00
azivner d2a5921489 add links in ckeditor 2017-12-09 14:11:35 -05:00
azivner 7ca043ebc6 Merge branch 'master' into ckeditor 2017-12-09 11:56:36 -05:00
azivner 4187ff36fb generating all IDs with secure method (important now since it's used as salt for encryption) 2017-12-07 22:57:39 -05:00
azivner 6fad30e9af renamed start_note_tree_id option to startNotePath 2017-12-06 23:15:53 -05:00
azivner f1256423ac fix handling of note history - when saving note history we save previous state, not current 2017-12-06 22:31:28 -05:00
azivner d467fbdff3 better styling of parent list 2017-12-06 20:19:41 -05:00
azivner 0c6521545a fix for cloned notes at root level + better logging 2017-12-06 20:11:45 -05:00
azivner a0bbd8c853 throwException instead of throwing exceptions manually (includes stacktrace) 2017-12-06 19:53:23 -05:00
azivner 33ab709209 spacing between action buttons and pointer cursor 2017-12-04 18:21:57 -05:00
azivner 6546548848 implemented initial setup of the app 2017-12-03 22:29:23 -05:00
azivner 502e5cbbdf Merge branch 'master' into ckeditor 2017-12-03 17:47:40 -05:00
azivner 3a26054619 fixes to recent changes 2017-12-03 17:46:56 -05:00
azivner 34f1eb930c recent notes are reloaded if synced 2017-12-03 10:42:23 -05:00
azivner 28bc443914 using WSS protocol when on HTTPS instead of WS 2017-12-03 10:12:16 -05:00
azivner 15faefe8a3 recent notes are now keyed by note tree id which simplifies things 2017-12-03 10:06:53 -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 0521deb304 unifying API paths to lower-case 2017-12-01 22:47:23 -05:00
azivner cba9d8b5c1 logging JS errors to backend logs 2017-12-01 22:28:22 -05:00
azivner 07070e2222 grey-scaled loading circles 2017-11-30 23:56:11 -05:00
azivner 0bd5296aa1 multiline style (but still colored) 2017-11-30 23:53:15 -05:00