Commit graph

304 commits

Author SHA1 Message Date
azivner eeb62a6cf2 fix keyboard shortcut setup on mobile 2018-12-24 18:39:31 +01:00
azivner 35cf8026b0 activating note opens dialog with its detail 2018-12-24 12:49:27 +01:00
azivner e0028ab6f1 mobile frontend WIP, removing extra dependencies 2018-12-24 10:10:36 +01:00
azivner 812f9f6fca initial work on mobile frontend 2018-12-23 22:28:57 +01:00
azivner f7a670ec24 responsive login page 2018-12-23 11:06:11 +01:00
azivner d0d24f0f4a unify ejs indentation to 4 spaces 2018-12-23 10:57:40 +01:00
azivner 35cc9da626 note about system proxy in the settings 2018-12-17 22:58:53 +01:00
azivner a1469854e8 Allow Trilium to work from non-root document paths, closes #253 2018-12-09 13:37:28 +01:00
Julien Nicoulaud cb00d42546
fix #248: crossorigin attribute is needed when including with type="module"
For more info, see:
 * https://html.spec.whatwg.org/multipage/urls-and-fetching.html#cors-settings-attributes
 * https://jakearchibald.com/2017/es-modules-in-browsers
2018-12-01 23:33:23 +01:00
azivner ba7c8e77e5 add support for number precision in promoted attributes, closes #245 2018-11-30 17:36:41 +01:00
azivner 62dbd4062a on/off button for entering/leaving protected session has been changed to literal buttons 2018-11-25 14:12:33 +01:00
azivner 196e8b4380 extra icons 2018-11-25 14:05:54 +01:00
azivner 551e1255ff export WIP + some unrelated changes 2018-11-25 10:26:45 +01:00
azivner e09b61d1ac single file export working, tar WIP 2018-11-24 20:58:38 +01:00
azivner ee23bcc783 unified export dialog, WIP 2018-11-24 14:44:56 +01:00
azivner d82898421e less obtrusive saved indicator, fixes #122 2018-11-22 20:25:49 +01:00
azivner 3a06493459 partial workaround for the broken in page search (next & previous don't work, but at least highlighting works) 2018-11-21 23:39:19 +01:00
azivner 6cb7d0098e changed layout a little bit to fix broken children overview in the electron/chrome 2018-11-20 22:49:10 +01:00
azivner 5bf5d1cac4 attribute dialog doesn't allow to (attempt to) save relation without target note 2018-11-19 21:58:52 +01:00
azivner 77a89d85c8 fix "copy image to clipboard" button 2018-11-19 12:12:58 +01:00
azivner 30249a353e renamed "mirror" relation to "inverse" relation 2018-11-19 12:07:33 +01:00
azivner fef4705e2f center button changed to "reset pan & zoom" 2018-11-19 11:14:55 +01:00
azivner 568c2c997f possibility to export single code note as markdown. UI fix of disabled buttons 2018-11-19 09:54:33 +01:00
azivner 8e16cc2326 fix prompt mutability (autocomplete on answer input field) 2018-11-18 23:31:31 +01:00
azivner 3fee263355 fixed "paths" styling for BS4 and fix for special case of root note 2018-11-16 22:04:51 +01:00
azivner 6b65592d7a attachment preview, closes #210 2018-11-16 18:40:58 +01:00
azivner 94565e3ec0 now using .tar export to initialize DB instead of direct DB dumps 2018-11-16 14:36:50 +01:00
azivner 5b9a1ef0e9 import/export logic refactored into separate files per format, closes #237 2018-11-16 12:12:04 +01:00
azivner 39b3c91abf image notes can't be updated + minor visual tweaks 2018-11-15 14:33:02 +01:00
azivner 346b8c21dd uploaded attachments with image mime are saved as image notes, closes #211 2018-11-15 12:13:32 +01:00
azivner 8ee8639faa allow also deleting note when removing note from note relation 2018-11-14 23:30:28 +01:00
azivner 19a07c699c added BS dialog for confirm 2018-11-14 19:03:55 +01:00
azivner b8feb4cce3 fix attribute sorting, closes #225 2018-11-14 17:54:28 +01:00
azivner 83c6f86d26 re-center button, WIP 2018-11-13 22:05:32 +01:00
azivner a065a610c1 absolute positioning of relation map buttons to maximize screen estate 2018-11-13 19:00:01 +01:00
azivner 21d3b0c9d8 implemented mirror relations 2018-11-12 23:34:22 +01:00
azivner 2523f81f3b bootstrap backed replacements for JS prompt and alert 2018-11-12 20:17:48 +01:00
azivner c6e1ad5f15 drag all selected notes instead of just one 2018-11-12 15:10:49 +01:00
azivner 02fd8f8133 working (but messy) pan & zoom without scrollbar and new note on click 2018-11-11 23:21:43 +01:00
azivner 3750919169 fixed context menus in relation map 2018-11-09 22:18:51 +01:00
azivner 4f34fb802b minor icon changes 2018-11-09 20:45:28 +01:00
azivner d978c64e1a refactoring of tree context menu into reusable component 2018-11-09 17:11:45 +01:00
azivner 71f333154d unprotecting note after protecting it sometimes didn't work
fix protected note background
2018-11-09 14:36:27 +01:00
azivner c5113eb292 fix options dialog which used jquery tabs 2018-11-09 12:13:51 +01:00
azivner 232f135843 using jam font icon pack instead of feather, fixes #204 2018-11-09 11:57:52 +01:00
azivner bfc09187e3 disabled note-level actions based on note type, fixes #218 2018-11-08 23:59:25 +01:00
azivner 7b3c0243f3 enter protected password is not modal now, closes #217 2018-11-08 23:48:49 +01:00
azivner 8d7a2546e1 help buttons on the dialog titlebar wherever possible, closes #205 2018-11-08 21:36:35 +01:00
azivner 273a9b14d9 added copy image to the image detail 2018-11-08 18:35:23 +01:00
azivner afcbfcfa03 cleanup obsolete image code 2018-11-08 11:14:13 +01:00
azivner 21e952a7f0 note image detail 2018-11-08 10:30:35 +01:00
azivner d0d2a7fe47 store images in notes, basic structure 2018-11-08 10:11:00 +01:00
azivner 5f427e37fe export dialog to choose export format, closes #207 2018-11-07 22:58:33 +01:00
azivner 13f9007bd6 attributes dialog converted to algolia autocomplete, closes #203 2018-11-07 20:32:11 +01:00
azivner 90dbe637ed autocomplete for add link dialog, #203 2018-11-07 17:16:33 +01:00
azivner a0f362457e refactoring of autocomplete handling, #203 2018-11-07 09:51:14 +01:00
azivner 1febf5136c finished jump to autocomplete, now with token highlighting, #203 2018-11-07 09:35:29 +01:00
azivner 3c23d7085e porting autocomplete to algolia, WIP, #203 2018-11-07 00:23:50 +01:00
azivner 57e9850ca6 migrated tooltips to bootstrap, #203 2018-11-06 19:35:42 +01:00
azivner 2f4ef0a4a2 migrated all remaining dialogs to bootstrap modals, #203 2018-11-06 17:47:40 +01:00
azivner 6fb99ae89e changed ejs indentation to 2 spaces instead of 4 (or mix) 2018-11-06 15:53:23 +01:00
azivner 69d2bd8b58 replacement of jquery ui dialog for bootstrap modal for jump to note dialog, #203 2018-11-06 15:25:07 +01:00
azivner e62cca886c fix login & setup page 2018-11-06 14:54:22 +01:00
azivner 2f887f1ea7 split dialog templates into separate files 2018-11-06 14:16:38 +01:00
azivner 0348bbe4f1 context menu cleanup 2018-11-06 12:50:48 +01:00
azivner 24dfe0fa98 replace note tree context menu with bootstrap dropdown, #203 2018-11-06 12:46:29 +01:00
azivner 24a1838b13 bootstrap 4 upgrade 2018-11-05 21:12:03 +01:00
azivner ab26216cbe fixes for "add child note" button 2018-10-31 18:21:58 +01:00
azivner 4858f0bec6 button for creating subnote in relation map and other unrelated changed, WIP 2018-10-31 12:29:01 +01:00
azivner 31abec5d1c zoom icons 2018-10-30 20:22:05 +01:00
azivner 2a8de2653e added libraries for relation map 2018-10-18 11:46:07 +02:00
azivner e487dc1df7 basic infrastructure for "relation map" note type 2018-10-18 11:25:33 +02:00
azivner e4381d10e8 merged "Sync local document" into "Test sync" 2018-09-10 20:05:10 +02:00
azivner c95e409b5e left pane sizing taking effect 2018-09-06 11:54:04 +02:00
azivner ff086569f2 saving options for left pane sizing 2018-09-06 11:17:30 +02:00
azivner bdc2fa1019 small refactoring of template and CSS 2018-09-06 09:33:38 +02:00
azivner 9bdd4437f2 export single note as markdown, #166 2018-09-03 09:40:22 +02:00
azivner 708874a02c #166 inline markdown import 2018-09-02 23:02:01 +02:00
azivner d3300df3d7 typo, fixes #164 2018-09-02 08:01:16 +02:00
azivner 0442a44aab font slightly larger in setup + tiny visual tweaks 2018-08-30 22:28:57 +02:00
azivner ee54dc3463 fix note placement from "create top level note" 2018-08-29 18:31:29 +02:00
azivner dbca7bfb43 dump script + updated SQL dumps 2018-08-28 23:36:28 +02:00
azivner 7ae2a24770 use relations to pick note to render, fixes #141 2018-08-28 20:55:21 +02:00
azivner 3ad7db39dd export branch => export subtree 2018-08-28 15:59:37 +02:00
azivner 09b610701d removed not unique warning from attributes dialog as it's more common to have multi value 2018-08-21 13:51:35 +02:00
azivner 406d74c4d7 initial focus on attribute type instead of name 2018-08-18 14:49:25 +02:00
azivner 7f9a8a55ca fix init of synced options in new database 2018-08-17 18:11:03 +02:00
azivner 02c0f9a6cd shrinkable note title so the design crumbles with smaller width 2018-08-16 23:16:17 +02:00
azivner 510704a074 help buttons and existing custom HTML attribute refactoring to data-* 2018-08-15 10:14:14 +02:00
azivner acbd18e8fc links to documentation for attributes, links and search + fix for opening external links 2018-08-14 23:07:50 +02:00
azivner 16535f6a73 small changes to attribute dialog 2018-08-14 21:02:42 +02:00
azivner 936d8449f6 fix & unify "show recent notes" buttons 2018-08-14 17:36:39 +02:00
azivner f7587de452 fixes to multivalued input tabindex 2018-08-14 13:50:04 +02:00
azivner 297b536ebc promoted attributes have tabindex following the title and before note content 2018-08-13 09:07:21 +02:00
azivner 5b15424498 archived label now respects isInheritable flag, fixes #145 2018-08-08 16:14:35 +02:00
azivner 3491235533 cleanup of labels & relations frontend code 2018-08-07 12:48:11 +02:00
azivner 5f36856571 * refactoring of repository layer to represent booleans as true/false instead of 1/0
* show list of inherited attributes, fixes #136
* properly work with inheritance
2018-08-07 11:38:00 +02:00
azivner 90e9297ec5 promoted relation attributes now work correctly, refactoring of note autocomplete code 2018-08-06 22:29:03 +02:00
azivner b44c523845 basic support for saving promoted attributes 2018-08-06 14:43:42 +02:00
azivner a55d3530e9 attribute list on the bottom if there are no promoted attributes 2018-08-06 09:41:01 +02:00
azivner 2aab3ad281 fixes in attribute persistence + WIP on display of promoted attrs 2018-08-06 08:59:26 +02:00
azivner 194ce4f10f fixed UI for relation definition 2018-08-05 20:48:56 +02:00
azivner 2089c32839 attribute UI & saving now fully working 2018-08-05 20:08:56 +02:00
azivner f437be7af0 attribute definition work in progress 2018-08-03 22:56:49 +02:00
azivner 61987e46f7 work in progress on attributes UI - unification of labels and relations now mostly works 2018-08-03 13:06:56 +02:00
azivner 509093b755 added "type" to attribute dialog, name autocomplete servers according to the choice 2018-08-03 11:11:57 +02:00
azivner 2eb1a9705f it's now possible to mark relation as inheritable (previously this was hardcoded for specific relation names) 2018-07-29 20:33:42 +02:00
azivner 170d317589 #125, basic infrastructure for scripts attached to notes via relations 2018-07-29 16:06:13 +02:00
azivner ededc063df fix relation autocomplete 2018-07-29 12:34:40 +02:00
azivner 9b3f3fde05 #126, relation list in note detail and fixes in saving 2018-07-28 17:59:55 +02:00
azivner 6a50afd952 #126, "show recent notes" now work in relations dialog 2018-07-28 17:02:48 +02:00
azivner 697eee2706 #126, autocomplete + can save relations 2018-07-27 11:28:24 +02:00
azivner 8a95afd756 #126, added skeleton of note relations, copied from similar concept of labels 2018-07-27 10:52:48 +02:00
azivner 4d6eda8fe6 #129, added input icon to trigger recent notes for easy discovery and mouse control 2018-07-27 09:22:25 +02:00
azivner e4f459fa2b #129, removed recent notes dialog as its not necessary anymore 2018-07-26 17:35:32 +02:00
azivner 2a08aef885 #129, recent notes are now visible in the jump to dialog 2018-07-26 16:05:09 +02:00
azivner 7564bf388c removed dangerous and unnecessary option to completely remove soft-deleted items 2018-07-26 09:21:52 +02:00
azivner d39cdbfada better instructions for desktop => server instance sync setup, plus some sync fixes 2018-07-25 10:57:36 +02:00
azivner c8253caae9 #98 proxy support for sync setup 2018-07-25 08:30:41 +02:00
azivner b6935abcc9 #98, sync button now shows total number of outstanding syncs instead of just pushes 2018-07-24 21:43:15 +02:00
azivner 37ab7b4641 #98, sync to server now works as well + a lot of related changes 2018-07-24 20:35:03 +02:00
azivner 013714cb5c #98, new option "initialized" which indicates if setup has been finished 2018-07-24 08:12:36 +02:00
azivner 1fe7c62f5a #98, sync setup now doesn't copy the whole DB file, but sets up minimal database and starts off sync 2018-07-23 21:15:32 +02:00
azivner a06618d851 #98, test sync impl 2018-07-23 10:29:17 +02:00
azivner e7460ca3a9 #98, sync is now configured in the options 2018-07-22 22:21:16 +02:00
azivner a201661ce5 #98, fixes in the wizard 2018-07-22 14:49:59 +02:00
azivner 6235a3c886 beginning of #98, new multistep wizard, db creation after user enters username and password 2018-07-21 08:55:24 +02:00
azivner 41908050bb ctrl+u now doesn't trigger show source since it's occupied by underline 2018-07-08 21:45:05 +02:00
azivner d67246699a Introduced separate sync version (previously DB version was used to check sync compatibility), closes #120 2018-06-10 15:55:29 -04:00
azivner 14c704d6db db upgrades are now handled transparently in the background without bothering the user, closes #119 2018-06-10 15:49:22 -04:00
azivner 74202d67bb got rid of "Trilium Notes" branding - not necessary and takes valuable space 2018-06-10 10:57:45 -04:00
azivner 26066f39b1 chaged "focused mode" - now title is displayed as well and together with content takes whole window 2018-06-10 10:53:39 -04:00
azivner b255cf190c fixes for zoom factor setting 2018-06-09 10:34:51 -04:00
azivner 9f0ff6ae7a note actions dropdown sizing 2018-06-09 09:44:40 -04:00
azivner 654c116c58 use backgrounds for icon buttons so that dark and black themes look better 2018-06-09 09:28:50 -04:00
azivner 89a5cab98f added too options new tab appearance with possibility to change theme (white, black, dark) and zoom factor 2018-06-08 23:18:53 -04:00
azivner c39d0be8cd refactoring of icon button styles 2018-06-08 22:17:00 -04:00
azivner e75b4cd848 execute on script note is icon, closes #116 2018-06-08 21:59:40 -04:00
azivner 8211bed449 renamed icons according to their size, fixes #113 2018-06-07 23:02:21 -04:00
azivner b243632483 usability improvements to autocomplete ("no results" etc.), needs refactoring 2018-06-07 20:18:46 -04:00
azivner e4d2513451 close search button 2018-06-07 19:50:16 -04:00
azivner c8c533844e icons for render & toggle edit since text titles caused unwanted horizontal scrolling in smaller window sizes 2018-06-06 23:37:57 -04:00
azivner aee60c444f added "show results in full text" 2018-06-05 23:28:10 -04:00
azivner bd913a63a8 search note fixes 2018-06-04 23:21:45 -04:00
azivner 5a1938c078 better sizing of search pane 2018-06-04 20:22:41 -04:00
azivner 76c0e5b2b8 new UI for search, closes #108 (still needs cleanup) 2018-06-03 20:42:25 -04:00
azivner 083cccea28 better protected/unprotected note indicator, fixes #110 2018-06-02 11:47:16 -04:00
azivner 80d2457b23 moved parent list next to note title 2018-05-31 23:21:47 -04:00
azivner 5dde2752d2 add switch to manually enter/leave protected session, fixes #107 2018-05-31 20:00:39 -04:00
azivner a30734f1bc Add history backwards/forwards buttons, fixes #94 2018-05-26 22:54:06 -04:00