Commit graph

2847 commits

Author SHA1 Message Date
Naveen M V 940a70adc5 Fix regex bug (#1005)
(cherry picked from commit 9a662f76da)
2020-05-11 22:06:39 +02:00
Naveen M V 9a662f76da
Fix regex bug (#1005) 2020-05-11 22:06:22 +02:00
zadam 88e8eb7e9c fixed context menu positioning when scaling is active 2020-05-11 20:08:55 +02:00
zadam b365c186a1 fixed clicking on links in read only view 2020-05-11 19:38:14 +02:00
zadam 15bc9dce1c search overhaul WIP 2020-05-10 23:27:53 +02:00
zadam 552fc5261a new note cache WIP 2020-05-09 23:42:26 +02:00
zadam 83c9e6e846 Merge branch 'master' into m43 2020-05-09 20:17:26 +02:00
zadam 2e837642e2 create note directly from mention linking 2020-05-09 14:25:27 +02:00
zadam c70a842bc6 Merge remote-tracking branch 'origin/stable' 2020-05-08 23:44:51 +02:00
zadam d20415c979 bind global menu item "Open SQL console" to the logic to create such a note 2020-05-08 23:39:46 +02:00
zadam c3438e0f3f implemented SQL console as a type of code note 2020-05-08 22:22:43 +02:00
zadam 64c9734f05 transform setup.js to the webpacked version in the build 2020-05-08 20:50:53 +02:00
zadam 48c843c087 fix setup on server edition 2020-05-08 10:24:57 +02:00
zadam 1bb895bb83 Merge remote-tracking branch 'origin/stable' 2020-05-07 23:36:11 +02:00
zadam 0e4eec10b9 added "restore this revision" button 2020-05-07 23:34:13 +02:00
zadam a3661cb763 fix display of buttons for revisions when there is none 2020-05-07 23:14:21 +02:00
zadam 115879ec4a fix note revisions displaying wrong tooltip 2020-05-07 23:02:46 +02:00
zadam f1ce0c7774 Merge branch 'm43-2'
# Conflicts:
#	src/public/app/services/app_context.js
#	src/public/app/widgets/run_script_buttons.js
2020-05-07 20:57:22 +02:00
zadam df11b076bc release 0.42.1 2020-05-06 23:24:13 +02:00
MeIchthys 54ecd2ee75
Prevent td text from overlapping th text (#1002)
This makes all of the Note Info sections more consistent with each other. It prevents overlapping of text when the window is displayed in a small-width environment.
2020-05-06 23:12:28 +02:00
zadam 2369bcf9fc fixes for image download 2020-05-06 23:11:34 +02:00
zadam 5d8808a2ad fix renaming existing attributes + added new label autoReadOnlyDisabled to control automatic setting to readOnly mode 2020-05-06 21:41:14 +02:00
zadam 62b993f06f fix closing tab by mouse 2020-05-06 21:24:51 +02:00
zadam 8aa5608085 fix "Render note" and "Execute script" buttons + refactoring around data-trigger-command handling 2020-05-06 00:00:14 +02:00
zadam b452d7e5c5 Merge remote-tracking branch 'origin/stable' 2020-05-06 00:00:01 +02:00
zadam a0f8caeccd added SQLite (Trilium) mime type 2020-05-05 23:59:26 +02:00
zadam edb9bc9229 fix "Render note" and "Execute script" buttons + refactoring around data-trigger-command handling 2020-05-05 23:58:52 +02:00
zadam 9b9d6d86d0 remove debugging console.log 2020-05-05 22:51:53 +02:00
zadam 7f2755d4a0 refresh button state change on note update 2020-05-05 22:18:09 +02:00
zadam 3b268cc8eb fix selecting note title after creation, closes #997 2020-05-05 21:42:18 +02:00
zadam 768ac83e14 Merge branch 'master' into m43 2020-05-05 19:38:42 +02:00
zadam 6dfe335707 added global menu item to open new empty window + some refactoring 2020-05-05 19:30:03 +02:00
zadam c7125d2b50 createNoteAfter should have saveSelection: false 2020-05-05 19:09:01 +02:00
zadam e8a33a5ee7 fix note title not updating when changing the title 2020-05-05 18:56:12 +02:00
zadam deb0b24c4c release 0.42.0-beta 2020-05-04 21:59:14 +02:00
zadam cafcb67a8a remove dangling autocompletes after closing the tab 2020-05-04 21:58:40 +02:00
zadam 4c6e9480e4 revert #980 because of performance issues 2020-05-04 21:49:03 +02:00
zadam 109bead1c7 removed unnecessary async/awaits 2020-05-04 10:19:11 +02:00
zadam ae1220b970 remove debug 2020-05-04 10:04:50 +02:00
zadam b89a2df462 fix image being redownloaded from localhost 2020-05-04 10:03:54 +02:00
zadam 8b5536ee3a note title widget and protected session entering fixes 2020-05-03 22:49:20 +02:00
zadam 647790885d downgrade sqlite3 library which has issues with electron build 2020-05-03 21:27:24 +02:00
zadam 227c3e4dcc fixes for offline downloading of images 2020-05-03 14:33:59 +02:00
zadam 4eb2407c73 fix folder icon for hidden included images 2020-05-03 13:59:49 +02:00
zadam 43e12fbea2 small fixes for collapse/expand 2020-05-03 13:52:12 +02:00
zadam 2a3091f788 reimplemented expand/collapse differently for better performance 2020-05-03 13:15:08 +02:00
zadam 742df25bc2 collapse/expand only folder notes 2020-05-03 09:49:56 +02:00
zadam 7ac2206e9b start of search overhaul 2020-05-03 09:18:57 +02:00
zadam 9be1d1f697 add note attribute cache to speed up tree loading 2020-05-02 18:19:41 +02:00
zadam ed52f93bbb tree settings popup fixes 2020-05-02 13:52:02 +02:00
zadam 3466a19397 protection against recursive expansion of search notes 2020-05-02 12:16:48 +02:00
zadam fe53e2351c basic implementation of note tree's config 2020-05-02 00:28:40 +02:00
zadam 5c35b870eb added titles with full date time including timezone offset also to note revisions dialog/widget 2020-05-01 00:01:53 +02:00
zadam 90d091aedb make note tree initial load non-lazy 2020-04-30 23:58:34 +02:00
zadam 0a05a40186 fix expand subtree's conflict with auto-lazy loading 2020-04-30 23:09:25 +02:00
zadam 7482ed063b Merge remote-tracking branch 'origin/stable' 2020-04-29 23:27:39 +02:00
zadam 70e343f2fc fix showing deleted notes in "recent changes" dialog, closes #994 2020-04-29 23:25:34 +02:00
zadam 358f3a7291 implement "expand subtree" contet menu, closes #993 2020-04-29 23:13:05 +02:00
zadam 6161b1c193 Merge remote-tracking branch 'origin/stable' 2020-04-29 22:27:46 +02:00
zadam 94b57dadd7 removed link context menu on JS-only links 2020-04-29 22:27:22 +02:00
zadam 6d6695e3a9 ckeditor 19 2020-04-29 17:29:32 +02:00
zadam 4c308ad68f moved protected note switch to "note actions", added shadow to protected note title 2020-04-29 00:01:07 +02:00
zadam 989a003d2f borderless title bar buttons 2020-04-28 21:55:54 +02:00
zadam ccdb41841e release 0.41.6 2020-04-27 23:46:48 +02:00
zadam 0a94622413 fix drag and drop in the tree, closes #984 2020-04-27 23:39:10 +02:00
zadam 5769587305 experimental hiding of images if they are included in the parent note 2020-04-27 23:27:45 +02:00
zadam ffbfccb701 extra window now works in browsers too 2020-04-27 22:29:39 +02:00
zadam 56ce23fc36 fix collapsing of note revisions 2020-04-27 22:13:32 +02:00
zadam cba7e5a59f fix collapsing of note revisions 2020-04-27 21:44:25 +02:00
zadam 86cf8f3202 fix download/export 2020-04-27 20:58:31 +02:00
zadam 907cdd8fcb fixes for extra window 2020-04-26 23:11:52 +02:00
zadam 7ea53d468e use local dates in the recent changes 2020-04-26 14:39:13 +02:00
zadam 586d6b4557 in web version use local client time instead of server time for recording dateModified etc. 2020-04-26 14:26:57 +02:00
zadam 8f68ff1932 tweaks for the code preview 2020-04-26 12:06:54 +02:00
zadam a1ea2c9115 read only code notes WIP 2020-04-26 11:38:30 +02:00
zadam e8ce81a133 organize widgets a bit 2020-04-26 09:40:02 +02:00
zadam aff12950f0 Merge remote-tracking branch 'origin/master' into m42
# Conflicts:
#	src/public/app/services/app_context.js
2020-04-25 23:53:19 +02:00
zadam 75c58cbf79 refactored layouts for extra window 2020-04-25 23:52:13 +02:00
zadam 87a1e98fa2 default search should look also into attribute names and values, #980 2020-04-25 22:10:56 +02:00
zadam d1eacbb574 more robust entering protected session and the following protection of a note 2020-04-25 17:15:57 +02:00
zadam 71d248cd87 touch protected session during note update 2020-04-25 11:09:07 +02:00
zadam ac608b9334 small text changes 2020-04-24 21:21:22 +02:00
zadam 32020d78b5 prototype for new app window 2020-04-23 23:08:15 +02:00
zadam ff853c7d0a implement lazy loading of tabs which speeds up especially initial startup with many tabs 2020-04-22 23:09:35 +02:00
zadam dc89f72e75 fix display of text notes in note revisions 2020-04-21 22:59:37 +02:00
zadam ed759f5585 release 0.41.5 2020-04-20 22:40:02 +02:00
zadam a86177bb59 release 0.41.5 2020-04-20 22:39:23 +02:00
zadam 9f1b3cc892 note paths widget has context menu too 2020-04-20 22:38:37 +02:00
zadam 8473f72ec8 fix support of multiple languages for spellchecking + list all available languages, closes #974 2020-04-20 22:26:31 +02:00
zadam 988fae50cb fix help links and displayed shortcuts, closes #971 2020-04-18 11:14:09 +02:00
zadam 98bbd17920 release 0.41.4-beta 2020-04-15 23:00:13 +02:00
zadam dadcc93ae3 focus and select title after creating a note 2020-04-15 22:06:52 +02:00
zadam f97c9e3619 release 0.41.3-beta 2020-04-14 22:19:56 +02:00
zadam 61167f6646 make sure to close sqlite connection on exit 2020-04-14 22:15:55 +02:00
zadam 29cec8112e fix setup of new document, closes #966 2020-04-14 21:57:42 +02:00
zadam 48aadc8309 fix parsing of includeNote, closes #963 2020-04-13 18:12:41 +02:00
zadam b2508db9af release 0.41.2-beta 2020-04-13 10:30:11 +02:00
zadam 87510fd72b include note styling changes 2020-04-13 10:13:03 +02:00
zadam 339f212e4c added webpack 2020-04-12 14:22:51 +02:00
zadam 3c311cd2a4 loading indicator and optimisations for mobile 2020-04-11 22:06:04 +02:00
zadam b5bf581bd9 don't select tree node when dragging 2020-04-11 15:09:38 +02:00
zadam 242f139be4 allow specifying include note widget size 2020-04-11 11:49:58 +02:00
zadam 6c76d862d2 fix creating link with selection -> must by hyper link, closes #959 2020-04-11 09:47:19 +02:00
zadam 62bc05134e sqlite upgrade 2020-04-09 21:20:14 +02:00
zadam 50d3928dd5 release 0.41.1-beta 2020-04-08 22:10:55 +02:00
zadam 44d641617e fix relation map in demo document 2020-04-08 22:09:32 +02:00
zadam f3b84e5185 use ckeditor content styles also for read only notes, tooltips and book notes 2020-04-08 21:38:11 +02:00
zadam 34b8979016 make note paths work better with hoisted note 2020-04-08 20:38:50 +02:00
zadam 6c188982b3 added some logging 2020-04-08 11:07:38 +02:00
zadam 1175a8ee49 display last noteId in the note path widget as well 2020-04-08 10:19:15 +02:00
zadam 9c04ef9fb7 note path widget tweaks 2020-04-08 10:13:11 +02:00
zadam 6cc3e3cdf6 note paths is now on the left side and showing current path 2020-04-07 22:53:03 +02:00
zadam f8bd55374f support for included notes and reference links also in read only text views 2020-04-07 21:28:40 +02:00
zadam 3ccb1c6ac1 refactoring to editable_text 2020-04-07 21:04:28 +02:00
zadam c063f75f48 fix ZIP import of notes with included note 2020-04-06 22:46:11 +02:00
zadam 2d1f3b7633 renamed text preview to read only text 2020-04-06 22:21:09 +02:00
zadam 3772d97dfa basic text preview implemented 2020-04-06 22:08:54 +02:00
zadam 5c0355718f repository has now first level cache 2020-04-06 20:59:04 +02:00
zadam 081693f263 not generating externalLink labels anymore since there can be too many and benefit is too small 2020-04-05 16:06:13 +02:00
zadam 8d312515dd small fixes 2020-04-05 15:35:01 +02:00
zadam 8d7687f354 fix copying template's content, closes #943 2020-04-05 12:28:16 +02:00
zadam 42128c007f fix "search in subtree", closes #941 2020-04-04 22:49:30 +02:00
zadam dfb97d64f7 fix showing promoted notes, closes #944 2020-04-04 22:40:32 +02:00
zadam b1bed18331 significantly faster sync with transactions 2020-04-04 21:49:57 +02:00
zadam ae50c9847d sync refactorings, added logging for performance tracking 2020-04-04 14:57:19 +02:00
zadam 6201dd70a0 small fixes in consistency_checks 2020-04-04 09:46:49 +02:00
zadam 451c408063 small fixes 2020-04-03 19:34:22 +02:00
zadam 3bbb213f82 fixes for web clipper 2020-04-02 22:55:11 +02:00
zadam bab657e43d release 0.41.0-beta 2020-03-31 22:12:31 +02:00
zadam 4b24d9562c fix visibility of panels after startup with hidden state 2020-03-31 22:09:05 +02:00
zadam a73739d03e small fixes 2020-03-31 21:47:15 +02:00
zadam 4485650cbc library upgrades 2020-03-31 20:52:41 +02:00
zadam 58f610b2c6 fix mobile frontend 2020-03-29 23:10:45 +02:00
zadam 5024454914 better activation behavior when move notes 2020-03-29 22:54:14 +02:00
zadam ca0e36ea81 fix render type non-scrolling 2020-03-29 22:27:05 +02:00
zadam c9b2ff05e9 book notes don't display images as separate children if the image is included in the parent text note, #892 2020-03-29 22:15:09 +02:00
zadam 0973498fe9 small fixes 2020-03-29 20:37:40 +02:00
zadam 189202b1f6 added context menu "recent changes in subtree" 2020-03-29 19:43:04 +02:00
zadam cc298b1e7a recent changes respect hoisted note state 2020-03-29 19:37:34 +02:00
zadam f8bd6183bf fix default document 2020-03-29 18:53:32 +02:00
zadam ef60cb5395 fix placing notes onto relation map by drag & drop 2020-03-29 18:49:30 +02:00
zadam b10c083560 check for images happens before other methods in utils.isHtmlEmpty() 2020-03-29 17:11:44 +02:00
zadam 7c04521e9c Merge remote-tracking branch 'origin/stable'
# Conflicts:
#	src/public/javascripts/mobile.js
#	src/public/stylesheets/mobile.css
2020-03-29 15:41:27 +02:00
zadam 0a0de7312c release 0.40.7 2020-03-28 20:58:20 +01:00
zadam 37255243f7 allow user to see their username in the options #934 2020-03-28 19:55:02 +01:00
zadam b4b22d9353 workaround for overflowing component wrapper in landscape mobile frontend, fixes #933 2020-03-28 19:39:14 +01:00
zadam d3eb640aa2 fix upload image from mobile frontend, closes #931 2020-03-28 19:25:19 +01:00
zadam c4bc53da59 updates to the demo document 2020-03-26 22:22:18 +01:00
zadam 34de8fb874 improved reference link handling 2020-03-26 20:40:15 +01:00
zadam 5a6ab68144 added a progress screen for setup of a new document 2020-03-26 17:47:56 +01:00
zadam c4e5b35187 changed demo.tar to demo.zip 2020-03-26 17:05:17 +01:00
zadam 2e55d544f1 db setup fixes 2020-03-26 16:59:40 +01:00
zadam b778985b5e minor fixes and upgrades 2020-03-26 16:21:17 +01:00
zadam f9a79fa00f improvements and logging to local image storage 2020-03-25 21:01:42 +01:00
zadam ef61e22f1f local image storage fixes 2020-03-25 18:21:55 +01:00
zadam 8a92786012 save paste images locally WIP 2020-03-25 11:28:44 +01:00
zadam a856463173 correctly handle clicks on reference links 2020-03-23 20:18:54 +01:00
zadam cb168218fb proper handling of deleted notes 2020-03-23 16:39:03 +01:00
zadam 978575498c reference insertion is now immediate 2020-03-23 12:31:10 +01:00
zadam a36d6bf9be add link dialog now allows switching between reference link and normal hyperlink 2020-03-22 11:41:00 +01:00
zadam 9b17e9976e basic implementation of reference link functionality 2020-03-21 21:04:34 +01:00
zadam d927865cbd fix import zip corner case where there are 2 independent notes with the same name 2020-03-21 15:14:44 +01:00
zadam 6de0b19569 add image through "include note" will just insert image instead of standard include note element, #922 2020-03-21 10:38:27 +01:00
zadam 84d7097b1a Merge remote-tracking branch 'origin/stable' 2020-03-21 10:05:15 +01:00
zadam 8ccc48c25d images in include note should have max 100% width, #922 2020-03-21 09:52:13 +01:00
zadam 438da7cfbb two pass import from zip file to guarantee that meta file is loaded before other files are process 2020-03-20 22:13:29 +01:00
zadam af5c4b5859 zip import using yazl 2020-03-20 21:57:16 +01:00
zadam 04360381b6 reimplement export with yazl 2020-03-20 16:55:35 +01:00
zadam 45e2dc96fb export subtrees in ZIP instead of TAR format because of more widespread support (especially unicode) 2020-03-19 20:07:27 +01:00
zadam ff426fc1fc added more placement points for custom widgets 2020-03-19 17:15:14 +01:00
zadam 789f12ac8f Merge remote-tracking branch 'origin/stable' 2020-03-19 09:44:00 +01:00
zadam 9a1a76605a fix OPML export of book notes, closes #919 2020-03-19 09:42:41 +01:00
zadam debce78c7f load ancestors and templates when receiving sync from backend 2020-03-19 09:18:36 +01:00
zadam 48c57c7ce7 always keep all the ancestors in the cache WIP 2020-03-18 22:42:29 +01:00
zadam 4a89df7ebf always keep all the ancestors in the tree WIP 2020-03-18 22:35:54 +01:00
zadam 6295a1825d fixes in setting/opening tabs 2020-03-18 10:08:16 +01:00
zadam 280955b3a2 fix events from keyboard shortcuts 2020-03-17 22:49:43 +01:00
zadam 72cc54a83f fixed global create new day note 2020-03-17 21:39:26 +01:00
zadam c3b44b9a91 fixed & improved history navigation - context menu now indicates current, "future" and "past" items 2020-03-17 21:15:57 +01:00
zadam 8a9875ecfa fix filling or targetRelations during backend2frontend sync 2020-03-17 18:38:49 +01:00
zadam 9230b07adb focus created note 2020-03-17 12:48:09 +01:00
zadam 5a6066dcd1 fix "create note after" keyboard shortcut 2020-03-17 12:28:02 +01:00
zadam d4d54c5f01 fix createNoteInto keyboard shortcut 2020-03-17 11:28:41 +01:00
zadam 141d4593ca fix loading of custom widgets 2020-03-16 23:25:52 +01:00
zadam a7ddc33b6d sorting of widgets 2020-03-16 22:14:18 +01:00
zadam 173030e02e basic support for custom widgets 2020-03-16 21:16:09 +01:00
zadam 2c7eb723d5 fix note hoisting 2020-03-15 22:11:42 +01:00
zadam 40247a591e fix delete shortcut in note tree and protect notes recursively 2020-03-15 22:09:48 +01:00
zadam 3a4d32f163 fix clone-to, move-to keyboard shortcuts 2020-03-15 21:52:04 +01:00
zadam 7f2c859b94 fix detail font size setting 2020-03-15 21:40:26 +01:00
zadam a5764c269f pdf preview is now also available in include note, book etc. 2020-03-15 21:35:43 +01:00
zadam 6a1bfdeab9 fix autobook switching back to text 2020-03-15 21:31:25 +01:00
zadam 6de0f75931 fix switching notes in the passive tabs 2020-03-15 18:57:03 +01:00
zadam fcf72262bd Merge remote-tracking branch 'origin/stable' 2020-03-15 18:23:21 +01:00
zadam 114017147f fix load results isEmpty method 2020-03-15 17:18:50 +01:00
zadam a717ee00fb release 0.40.6 2020-03-15 11:21:43 +01:00
zadam 2cc0442ef2 fix new tab open hiding 2020-03-15 11:08:16 +01:00
zadam 687a466a35 Merge remote-tracking branch 'origin/stable' 2020-03-15 09:57:57 +01:00
zadam 20c24e26cc added entity constructors for "content" tables 2020-03-14 21:09:07 +01:00
zadam 3bafc396fc fix consistency checks 2020-03-14 13:13:27 +01:00
zadam 08606f7d88 Merge remote-tracking branch 'origin/stable'
# Conflicts:
#	src/services/sync_table.js
2020-03-14 12:58:47 +01:00
zadam 3fa3e912a4 not sending ping to clients after every sync addition, only after commit which significantly speeds up imports 2020-03-14 12:39:55 +01:00
zadam 44219e7ccc do not load the note content during ENEX import again since it's already available 2020-03-13 22:23:44 +01:00
zadam 48abd765c6 fix sync issues 2020-03-11 22:43:20 +01:00
zadam 2d38706ba8 wip 2020-03-10 23:33:39 +01:00
zadam 8d45662bee clear history in the code mirror after setting a value, closes #766 2020-03-10 22:51:44 +01:00
zadam 5b67854cbe clear history in the code mirror after setting a value, closes #766 2020-03-10 22:48:21 +01:00
zadam 72745aca29 fix unnecessary scroll to parent when opening new tab 2020-03-10 22:25:57 +01:00
zadam e6e41adad0 fix backend to frontend sync with waitForSyncId() 2020-03-10 21:33:03 +01:00
zadam bcbf1b79c3 fixed waitForSync 2020-03-09 22:32:26 +01:00
zadam 1d78432df4 Merge remote-tracking branch 'origin/stable' 2020-03-09 22:16:43 +01:00
zadam c6d912dcb7 sync only changes with isSynced = true 2020-03-09 21:34:03 +01:00
zadam eb287917c1 set sync.isSynced correctly 2020-03-09 21:28:41 +01:00
zadam c67613a557 Merge remote-tracking branch 'origin/stable' 2020-03-09 21:00:38 +01:00
zadam 0ca107ff48 fix event listener for resize 2020-03-09 21:00:31 +01:00
zadam 73bf2dcb02 added isSynced to sync table to allow forward compatibility with 0.41 2020-03-09 20:56:43 +01:00
zadam 719f10981e fix sync 2020-03-08 22:00:12 +01:00
zadam 1774f48d07 fix sync 2020-03-08 21:59:19 +01:00
zadam deb67d6275 release 0.40.5 2020-03-08 21:05:52 +01:00
zadam e7aa84435b render PDF preview in electron for pdf notes 2020-03-08 18:06:24 +01:00
zadam 493d088d80 better back/forward navigation 2020-03-08 17:17:18 +01:00
zadam 5f4d963580 better back/forward navigation WIP 2020-03-08 11:41:42 +01:00
zadam 5114f3f782 fixes after merge 2020-03-08 09:38:49 +01:00
zadam 53f5df4e88 Merge remote-tracking branch 'origin/stable'
# Conflicts:
#	src/public/javascripts/desktop.js
#	src/public/stylesheets/style.css
#	src/views/details/image.ejs
#	src/views/details/relation_map.ejs
2020-03-08 09:26:34 +01:00
zadam e4039ea5e1 fixed printing relation map 2020-03-08 09:24:03 +01:00
zadam 95fef8d2e5 fixes after merge 2020-03-07 22:29:49 +01:00
zadam 7105b61aab Merge remote-tracking branch 'origin/stable'
# Conflicts:
#	src/public/javascripts/desktop.js
#	src/views/desktop.ejs
#	src/views/mobile.ejs
2020-03-07 22:21:55 +01:00
zadam 78a50be663 don't print control buttons 2020-03-07 22:18:12 +01:00
zadam 3d3ad3b99b include themes.css for printing to have default CSS variables available 2020-03-07 22:14:07 +01:00
zadam 0d9cdcac85 load appropriate styles for printing book notes, closes #899 2020-03-07 22:01:34 +01:00
zadam c4f7bb37db removed sidebar widget settings 2020-03-07 21:34:39 +01:00
zadam 81ec85083a link map widget always rendered centered map 2020-03-07 20:41:03 +01:00
zadam 62da383623 only one update 2020-03-07 15:01:48 +01:00
zadam 8513e0201c collapsed state is now synchronized across tab-cached instances 2020-03-07 14:31:25 +01:00
zadam abd60581be right pane is now scrollable 2020-03-07 14:18:58 +01:00
zadam aff02184f8 removed last tab should activate second to last 2020-03-07 13:57:31 +01:00
zadam 8909d175d0 event fixes 2020-03-07 13:40:46 +01:00
zadam 091eb8f791 event fixes WIP 2020-03-06 23:34:39 +01:00
zadam e10d23289e event fixes WIP 2020-03-06 22:17:07 +01:00
zadam 26599f057c collapsible widget remember their collapsed state 2020-03-01 20:49:11 +01:00
zadam 4e0e2e8926 fixes in side pane toggling 2020-03-01 20:11:40 +01:00
zadam 687539cc95 fix zen mode 2020-03-01 19:16:30 +01:00
zadam 03e0c98066 migrated desktop CSS to the desktop layout 2020-03-01 19:06:26 +01:00
zadam 77f358b846 migrated mobile CSS to the mobile layout 2020-03-01 18:57:13 +01:00
zadam 4c82e882e0 bit better right pane layout 2020-03-01 18:47:20 +01:00
zadam 0f4ba43463 mobile frontend is working again 2020-03-01 15:19:16 +01:00
zadam f15239c006 mobile layout fixes 2020-03-01 12:50:02 +01:00
zadam ed1b5e3843 mobile layout fixes 2020-03-01 12:05:10 +01:00
zadam 607bdfef92 mobile global buttons 2020-03-01 11:53:02 +01:00
zadam 4f744564f2 start of mobile layout 2020-03-01 11:04:42 +01:00
zadam f64b343d8d ref 2020-03-01 10:41:23 +01:00
zadam 47b803920b keep body hidden until rendered 2020-02-29 22:13:54 +01:00
zadam 8888d04878 fixes 2020-02-29 22:04:46 +01:00
zadam 49398f5374 refactoring of component event system + little docs 2020-02-29 19:43:19 +01:00
zadam 95d1952896 wip 2020-02-29 16:26:46 +01:00
zadam 3ab2b41e8c open links in new tab without activation 2020-02-29 15:00:35 +01:00
zadam e5155130e7 ckeditor with table/cell properties 2020-02-29 14:32:26 +01:00
zadam 724ba352e6 refactored existing context menus 2020-02-29 13:03:05 +01:00
zadam 1239293435 spell check context menu 2020-02-29 11:28:30 +01:00
zadam 16f42dd4ab use electron 8 spellchecker instead of electron-spellchecker, WIP 2020-02-28 22:07:08 +01:00
zadam 350331e2ef fix 500px constant height of relation maps, closes #882 2020-02-28 15:20:54 +01:00
zadam a2d6a5c3e9 fixes 2020-02-28 11:46:35 +01:00
zadam cb35284d37 wip 2020-02-28 00:31:12 +01:00
zadam 2af37640d8 small refactoring of search code 2020-02-28 00:11:34 +01:00
zadam 4bd298a55b refactor data-kb-command 2020-02-27 23:12:22 +01:00
zadam cd4b1235a7 wip 2020-02-27 14:35:12 +01:00
zadam 5e3c85f891 fix issues 2020-02-27 12:41:15 +01:00
zadam b2a3e1cc04 fixed double refresh of note detail 2020-02-27 12:26:42 +01:00
zadam d71763aedb title row spacing 2020-02-27 10:08:21 +01:00
zadam 368d0c55da refactoring of layout finished 2020-02-27 10:03:14 +01:00
zadam 637010577b layout changes WIP 2020-02-27 00:58:10 +01:00
zadam 7bcae9981b unified/simplified protecting notes & subtree 2020-02-26 16:37:17 +01:00
zadam 3752cf8cba layout fixes 2020-02-25 19:19:10 +01:00
zadam 7270bf287d fixes and right pane layout changes 2020-02-25 16:31:44 +01:00
zadam d821ea4095 fix closing all tabs except current 2020-02-25 12:32:21 +01:00
zadam 41d1d83dc2 fix showing/hiding of type widgets 2020-02-25 12:24:37 +01:00
zadam a2fe110400 unified global variable handling between mobile and desktop 2020-02-25 11:02:59 +01:00
zadam fdc99bb6f9 adapt merged changes from master 2020-02-25 10:47:49 +01:00
zadam 36eac6badd Merge remote-tracking branch 'origin/master' into m41
# Conflicts:
#	src/public/javascripts/mobile.js
#	src/public/stylesheets/style.css
2020-02-25 09:42:27 +01:00
zadam 7cac2521ef fix css class handling 2020-02-25 09:40:49 +01:00
zadam e8a9e49e9e release 0.40.4 2020-02-24 22:59:22 +01:00
zadam fb55cdaea6 release 0.40.4 2020-02-24 22:58:18 +01:00
zadam b9b2cc8364 make sure $rendered is always jquery object 2020-02-24 22:55:12 +01:00
zadam 8dfdd090f5 use note's css class also in book and included note, closes #879 2020-02-24 22:46:27 +01:00
zadam fe7705524a fix include note in mobile frontend, closes #878 2020-02-24 22:37:45 +01:00
zadam 2b1b7774f8 make images in text notes rendered responsively in a book, fixes #871 2020-02-19 22:24:31 +01:00
zadam 2d58019d6e allow to setup web version as a sync client 2020-02-19 22:10:40 +01:00
zadam fe31f08c0d show setup window if DB is not initialized 2020-02-19 22:09:49 +01:00
zadam d9fb36a9a6 fixes 2020-02-19 22:09:02 +01:00
zadam 52f4876f2d camelCase keyboard action names 2020-02-19 20:54:14 +01:00
zadam ad7a55d305 always autofix note_contents.content = NULL sync issue after note erasion 2020-02-19 19:51:36 +01:00
zadam 2e3534dfb7 small fixes 2020-02-18 22:16:20 +01:00
zadam d288c1b052 small fixes 2020-02-17 22:47:50 +01:00
zadam f2cf361acf small fixes 2020-02-17 22:38:46 +01:00
zadam e7af24c139 small fixes 2020-02-17 22:14:39 +01:00
zadam 9797942b8e small cleanups 2020-02-17 19:42:52 +01:00
zadam 32d60a7eb9 refactored tree context menu to reduce duplication 2020-02-16 22:56:40 +01:00
zadam 4330dc47a0 converted tree_keybindings.js into proper commands 2020-02-16 22:14:28 +01:00
zadam 8ca9ad3497 fixes 2020-02-16 20:09:59 +01:00
zadam a679fedb58 refactored keyboard actions into commands 2020-02-16 19:54:11 +01:00
zadam 880f4ad711 renamed Listener() to Event() 2020-02-16 19:23:49 +01:00
zadam e000fb4579 appContext is now component 2020-02-16 19:21:17 +01:00
zadam 22c042e21f remove appContext as copied dependency across components 2020-02-16 18:11:32 +01:00
zadam 2c3f07521d fixes 2020-02-16 11:22:37 +01:00
zadam e06f3ef97e refactorings for add link and include note 2020-02-16 10:50:48 +01:00
zadam 7e41a2750c refactored KB handling and add link dialog 2020-02-15 22:12:05 +01:00
zadam b2a48a1f3a fix clone notes dialog 2020-02-15 18:41:32 +01:00
zadam e1bf4dcbc9 basic executor / command mechanism 2020-02-15 10:41:21 +01:00
zadam 6d847d22d3 components now track their parent 2020-02-15 09:43:47 +01:00
zadam 9337564075 boxicons 2.0.5 2020-02-15 09:16:23 +01:00
zadam 2fa41b44c5 fix branch prefix dialog 2020-02-14 21:21:47 +01:00
zadam 8d2c2202fa refactoring and fixes for saved note 2020-02-14 20:18:09 +01:00
zadam 380bb0cd01 fix deleting 2020-02-12 22:25:52 +01:00
zadam 789f62267c changes in note detail handling 2020-02-12 22:09:25 +01:00
zadam 25553c9e67 simplification of sync event API 2020-02-12 20:31:31 +01:00
zadam 81a54cd4a0 messaging now uses mutex so each component processes only single message at each time 2020-02-12 20:07:04 +01:00
zadam 1d2fc773c2 fix for delete note sync etc. 2020-02-10 20:57:56 +01:00
zadam 7767edd82f fixes 2020-02-09 22:31:52 +01:00
zadam 99ea238c3f frontend sync fixes 2020-02-09 21:53:10 +01:00
zadam 826c434630 fixes in closing tabs and elsewhere 2020-02-09 21:13:05 +01:00
zadam 4401a8e1e8 Merge branch 'master' into m41
# Conflicts:
#	src/public/javascripts/dialogs/add_link.js
#	src/public/javascripts/dialogs/export.js
#	src/public/javascripts/dialogs/import.js
#	src/public/javascripts/dialogs/note_info.js
#	src/public/javascripts/services/search_notes.js
2020-02-09 18:54:56 +01:00
zadam 4ce4ac9584 release 0.40.3 2020-02-09 10:48:23 +01:00
zadam 88bd65c679 external links are also parsed and label is created for them, closes #851 2020-02-09 10:45:07 +01:00
zadam 9eab3026bb display advanced item in the tree context menu in the middle to avoid being hidden, closes #853 2020-02-09 10:15:35 +01:00
zadam 7abaedbf31 add possibility to change clipper parent to a fixed note instead of day notes, fixes #854 2020-02-09 10:12:02 +01:00
zadam 402718d293 return focus to the previously focused element after closing the dialog, fixes #861 2020-02-09 10:00:13 +01:00
zadam 4ec671d199 fixes in enabling / disabling widgets in runtime 2020-02-08 21:54:39 +01:00
zadam 9f4a514562 fix setting path 2020-02-08 21:23:42 +01:00
zadam 18ee239362 fixes 2020-02-08 20:53:07 +01:00
zadam 08687b76ea fix title bar buttons visibility 2020-02-08 18:25:07 +01:00
zadam 60d07a6871 fix duplicated cached widgets 2020-02-08 17:44:34 +01:00
zadam 81f4966a1a fixes, cleaned up noise in the developer console 2020-02-08 10:40:58 +01:00
zadam 9acf723a9a fixes 2020-02-07 22:19:35 +01:00
zadam 47f7f5f4d9 refactoring 2020-02-07 21:43:02 +01:00
zadam 14d6372bd8 moved tab related stuff to tab manager from app context 2020-02-07 21:08:55 +01:00
zadam 6d912c4897 removed dependency on note tree widget from app context 2020-02-07 20:56:49 +01:00
zadam 62e1284790 untangled tabrow dependencies 2020-02-06 22:39:31 +01:00
zadam d79ae261e1 refactored layout out of app context 2020-02-06 21:47:31 +01:00
zadam 92f6558e55 the whole view is now composed from a single root widget 2020-02-06 21:16:02 +01:00
zadam 8d49249ed7 fix lazy initialization of the sidebar 2020-02-06 20:04:43 +01:00
zadam d1bb62c40e fixes 2020-02-05 22:46:20 +01:00
zadam 42017fde5f refactored access to options on frontend 2020-02-05 22:08:45 +01:00
zadam 786bbbc160 sidebars are now represented as widgets 2020-02-04 22:46:17 +01:00
zadam 0cc013c13f left sidebar can now be also collapsible 2020-02-04 20:42:40 +01:00
zadam b757dfcf79 various fixes and small refactorings 2020-02-03 21:56:45 +01:00
zadam 44ddcdd852 various widget optimizations for faster note switching 2020-02-03 21:16:33 +01:00
zadam 66204811cf refactored note creation methods into a separate service 2020-02-03 20:07:34 +01:00
zadam 822a8509b3 fix 2020-02-02 22:33:50 +01:00
zadam 9f62490a75 refactorings of note creation code 2020-02-02 22:32:44 +01:00
zadam b63ecba695 clean up tree service WIP 2020-02-02 22:04:28 +01:00
zadam d5ae3802d1 various widget refactorings 2020-02-02 21:16:20 +01:00
zadam 7c6cd63a53 various widget refactorings 2020-02-02 20:02:08 +01:00
zadam 62a80ef016 standard widget => collapsible widget 2020-02-02 18:46:50 +01:00
zadam 27ab55d26a fixed switch between autobook and text 2020-02-02 11:44:08 +01:00
zadam 34150e7177 fix inserting link 2020-02-02 11:14:44 +01:00
zadam b946599320 Merge remote-tracking branch 'origin/master' into m41
# Conflicts:
#	src/public/javascripts/services/tree.js
2020-02-02 10:45:27 +01:00
zadam 3cd4be4e48 removed note detail service 2020-02-02 10:41:43 +01:00
zadam 96e2b9bc18 fix tree keyboard shortcuts propagating outside of tree 2020-02-02 10:10:37 +01:00
jasontan056 adb8caa8a2
Fix corner case preventing notes from being created before ckeditor is initialized (#849)
* Pass deleteId to deleteBranch in ensureNoteIsAbsentFromParent

* Add checks for whether window.cutToNote is defined.

* check ckEditor initialized.
2020-02-02 09:28:19 +01:00
zadam 0054a32dc7 treecache now manages reloading when starting protected session 2020-02-01 22:29:32 +01:00
zadam 513ce1a183 Merge branch 'master' into m41
# Conflicts:
#	src/public/javascripts/services/sidebar.js
#	src/public/javascripts/services/tab_context.js
#	src/public/javascripts/services/tree.js
2020-02-01 20:01:30 +01:00
zadam 9f38ea6ee7 update tab title upon its change 2020-02-01 19:25:37 +01:00
zadam 0e13678f7c note complement is now loaded through tree cache 2020-02-01 18:29:18 +01:00
zadam f0cbca2838 lazy loading of note complement 2020-02-01 11:33:31 +01:00
zadam f6f7836b8e renamed notefull to notecomplement 2020-02-01 11:15:58 +01:00
zadam 7651c53363 release 0.40.2 2020-02-01 10:17:51 +01:00
zadam 0f25c8a95f autobook should not be active on the mobile interface 2020-02-01 10:17:03 +01:00
zadam 1a49894adf fix tree loading on mobile interface, closes #839 2020-02-01 10:04:18 +01:00
zadam bd8c078fb9 Merge remote-tracking branch 'origin/master' 2020-02-01 09:30:14 +01:00
zadam 6e060b87b8 fix date parsing in local timezone, closes #845 2020-02-01 09:29:56 +01:00
jasontan056 2375b170ba
Pass deleteId to deleteBranch in ensureNoteIsAbsentFromParent (#846) 2020-02-01 09:05:23 +01:00
zadam eeedb91ef7 sync are sent upon DB commit 2020-01-31 22:32:24 +01:00
zadam 05b51c0f68 frontend sync through websocket 2020-01-31 20:52:31 +01:00
zadam 8bf794f13b wip 2020-01-30 22:38:31 +01:00
zadam 48b401164a wip 2020-01-29 22:32:22 +01:00
zadam b65631be7e tree change listener and others 2020-01-29 21:38:58 +01:00
zadam 439b45b0b8 refactored entity reloading 2020-01-29 20:14:02 +01:00
zadam 976b2aa6f5 got rid of "origParentNoteId" since it's not needed anymore 2020-01-28 22:39:44 +01:00
zadam 88213c1bbd attributes are now updated only if their type and name does not change, in case of relation not even value must change. If they do, the old attribute is deleted and new is created instead 2020-01-28 22:37:06 +01:00
zadam d2e3aedf7f moving notes across parents now deletes the old branch and creates new which makes detecting changes much easier 2020-01-28 22:15:33 +01:00
zadam 368d3b1b97 wip 2020-01-28 21:54:28 +01:00
zadam 9301679707 wip 2020-01-27 22:58:03 +01:00
zadam 865f7e1ee1 fix propagating note reloads 2020-01-27 20:07:33 +01:00
zadam c243d2e85c sync changes wip 2020-01-26 11:41:40 +01:00
zadam 97a35d6fba wip 2020-01-26 10:42:24 +01:00
zadam 3f0974d3d2 smaller fixes 2020-01-25 18:29:32 +01:00
zadam 48a7c0235f fixed iconClass and cssClass 2020-01-25 14:48:53 +01:00
zadam ac7d5f2e81 fixes, separation of notefull from noteshort 2020-01-25 14:37:12 +01:00
zadam 516e6c35da fixes 2020-01-25 13:46:55 +01:00
zadam 7cad386a56 frontend attribute cache refactoring WIP 2020-01-25 13:27:23 +01:00
zadam 60c908cd63 frontend attribute cache refactoring WIP 2020-01-25 11:52:45 +01:00
zadam 52a907651e reduce unnecessary tab activation events 2020-01-25 10:25:06 +01:00
zadam 3254b551d8 merged tree utils into tree service 2020-01-25 09:56:08 +01:00
zadam 7a62d1636b fixes 2020-01-24 22:30:17 +01:00
zadam 7d9b720ea8 fix note switching in current tab 2020-01-24 21:15:40 +01:00
zadam ba500a3a80 fixes 2020-01-24 20:15:53 +01:00
zadam 606d5afcab refactoring of note detail API 2020-01-24 17:54:47 +01:00
zadam 4b66765cc1 refactoring 2020-01-24 15:44:24 +01:00
zadam 8651e47118 small fixes 2020-01-22 22:29:55 +01:00
zadam 34bc02965f book and search fixes 2020-01-22 22:05:28 +01:00