Commit graph

999 commits

Author SHA1 Message Date
azivner e0028ab6f1 mobile frontend WIP, removing extra dependencies 2018-12-24 10:10:36 +01:00
azivner a32645cdeb fix scrolling to the top of detail after switching note 2018-12-24 09:47:00 +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 042f9b7f2d fix positioning of protected session password dialog 2018-12-22 23:54:06 +01:00
azivner 67019b3d6c added attributes to frontend entity model 2018-12-22 22:16:32 +01:00
azivner 1db6e59077 tooltip related changes for scripting support 2018-12-22 20:57:09 +01:00
azivner 5e4770875e upgrade to bootstrap 4.2.1 2018-12-22 10:33:50 +01:00
azivner e9a77f3f16 image sync fixes and 4.0.0 electron 2018-12-22 09:54:09 +01:00
azivner cbec85f295 release 0.26.1 2018-12-20 19:54:09 +01:00
azivner 14bd5d301d fix broken image sync 2018-12-20 19:51:03 +01:00
azivner 321d0e8d64 explicit error handler for connection errors 2018-12-19 21:29:35 +01:00
azivner 84e1512031 added robots.txt to public root 2018-12-19 20:56:10 +01:00
azivner b036852b2d release 0.26.0-beta 2018-12-18 22:49:48 +01:00
azivner af8f5b11b8 better error handling in request 2018-12-18 20:39:56 +01:00
azivner 8ca943f87b fix hoistedNoteId option init 2018-12-18 20:34:24 +01:00
azivner 35cc9da626 note about system proxy in the settings 2018-12-17 22:58:53 +01:00
azivner 44cc86a1a5 added support for explicit proxy 2018-12-17 22:54:54 +01:00
azivner 7c3bbfd45e using http service for sync setup as well, removed request(-promise) dependency 2018-12-17 22:12:26 +01:00
azivner a1f939e3a0 refactoring of network code into separate service 2018-12-17 21:34:02 +01:00
azivner 4ca7886090 uniform requests through electron's net and node http/https to support different proxy setups 2018-12-16 23:30:53 +01:00
azivner b942163748 sync with electron net API (for system proxy support) - working, but WIP 2018-12-16 21:19:12 +01:00
azivner 5b6d15acb3 note path might not always include root explicitly 2018-12-16 10:41:47 +01:00
azivner 841420360e quick unhoist link/button 2018-12-15 20:29:08 +01:00
azivner a680bb4612 unhoist note when activating note outside of the hoisted note subtree 2018-12-13 23:28:48 +01:00
azivner f763e13996 fix searching without hoisting 2018-12-13 21:43:13 +01:00
azivner e73e1262ae Merge branch 'stable' into hoist 2018-12-13 21:18:44 +01:00
azivner b774d56cf7 note titles in jump to note start from hoisted note instead of root 2018-12-13 21:18:35 +01:00
azivner bae55f2e8b release 0.25.2 2018-12-12 21:30:06 +01:00
azivner 6c16cdb011 recent notes and jump to note are filtered by hoisted note 2018-12-12 21:28:38 +01:00
azivner 86fcbb0354 keyboard shortcut for hoisting, hoisted note is always expanded and has arrow icon 2018-12-12 20:54:58 +01:00
azivner 17d030e800 continuing work on hoisting notes 2018-12-12 20:39:56 +01:00
azivner 6fbf28b30d hoisting notes WIP 2018-12-11 21:53:56 +01:00
azivner 8171b68b18 electron 4.0 beta 9, context menu padding 2018-12-11 19:50:31 +01:00
azivner d30e3a4052 bind standard shortcuts on both command and ctrl modifiers, #254 2018-12-10 20:44:50 +01:00
azivner 87aab7ac5b fix attributes leaking into imported notes, #241 2018-12-10 20:29:49 +01:00
azivner a0933c7f10 release 0.25.1-beta 2018-12-09 21:22:33 +01:00
azivner 492adc2909 fix broken drag & drop, closes 252 2018-12-09 21:18:53 +01:00
azivner 90a52f57b5 recent notes route accepts slash in the param (problem with nginx etc.) 2018-12-09 14:30:19 +01:00
azivner a1469854e8 Allow Trilium to work from non-root document paths, closes #253 2018-12-09 13:37:28 +01:00
azivner 270d63b265 deactivated cut to note functionality in ckeditor build 2018-12-08 10:54:10 +01:00
azivner 1d004be91d ckeditor upgrade to 11.2.0 2018-12-08 09:48:36 +01:00
azivner b8a74c727e copy paste, undo, redo, select all shortcuts supported on mac build 2018-12-02 14:04:53 +01:00
azivner cfa926602a release 0.25.0-beta 2018-12-02 00:30:07 +01:00
zadam 350cb52c07
Merge pull request #249 from nicoulaj/master
fix #248: crossorigin attribute is needed when including with type="module"
2018-12-02 00:27:59 +01:00
azivner af195beb7e initial mac support + some other build changes 2018-12-02 00:26:45 +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 ee0b0c3dfe minor export fixes 2018-11-30 22:43:03 +01:00
azivner ddcb4a0e10 added another mime type for JS 2018-11-30 22:28:30 +01:00
azivner 8cbb29ee25 default location for data dir is now .local for linux and Roaming for windows 2018-11-30 19:56:20 +01:00
azivner ba7c8e77e5 add support for number precision in promoted attributes, closes #245 2018-11-30 17:36:41 +01:00
azivner 4577b03fc9 promoted attributes now use saved indicator (little check) instead of notification 2018-11-30 17:18:19 +01:00
azivner 72d83aa85e fix note cache - note entity after initialization doesn't contain ciphertext so decryption is not necessary 2018-11-30 15:51:55 +01:00
azivner 8ee80cb5f1 using dashes instead of underscores in header names to avoid the fact that nginx by default drops all headers with underscore in the header name 2018-11-30 15:49:35 +01:00
azivner 7775376b33 disable "cut to note" feature because of issues with CKEditor 2018-11-30 11:37:33 +01:00
azivner 9f64e994dc fix minor UI issue causing children overview not being decrypted right after entering protected session 2018-11-30 10:33:40 +01:00
azivner ee1e4fc710 added "update pojo" stage in entity saving to avoid encrypting data on protected note directly on the entity 2018-11-30 10:20:03 +01:00
azivner 6c51696d1a also don't show "No results" for attr autocomplete 2018-11-27 19:43:34 +01:00
azivner 27787c8f37 attribute name and value autocompletes should not have autoselect since it's OK to enter value not in the autocomplete 2018-11-27 19:40:19 +01:00
azivner a616739805 release 0.24.5 2018-11-27 15:34:15 +01:00
azivner bea28de6a0 tab on autocomplete doesn't select first item, closes #243 2018-11-27 13:13:06 +01:00
azivner 4e198ca2f0 storing trilium version into export metadata 2018-11-27 10:31:55 +01:00
azivner 76fc49f037 allow import of single HTML file too 2018-11-26 23:47:02 +01:00
azivner 139c99440f export stores note position and some other fixes 2018-11-26 23:39:43 +01:00
azivner 137b9dfa0b fix storing attributes and relinking noteIds 2018-11-26 23:19:19 +01:00
azivner 5f0fdd15eb fix adding sync entities during import 2018-11-26 22:37:59 +01:00
azivner 61e1427b83 fix matching of "b" in the note autcomplete highlighter 2018-11-26 22:35:19 +01:00
azivner b3aa0ba47c entity events are not triggered on imported entities 2018-11-26 22:27:57 +01:00
azivner 56e2b44c25 fix import 2018-11-26 22:22:16 +01:00
azivner 4d5a17583f happy path tar import now works 2018-11-26 20:30:43 +01:00
azivner 71eda5aa3d import tar archive WIP 2018-11-26 14:47:46 +01:00
azivner 0711ea8dc8 filter out links and relations which are outside of the export 2018-11-25 22:38:09 +01:00
azivner be206872d1 changed export model to single metadata file per exported .tar 2018-11-25 22:09:52 +01:00
azivner fcf3fe8dcd tar export can now solve naming conflict 2018-11-25 15:17:28 +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 3e351bd8d3 better positioning of nonmodal protected session dialog 2018-11-22 21:24:47 +01:00
azivner 0d3bc22d73 fix z-index of notification 2018-11-22 21:19:12 +01:00
azivner d82898421e less obtrusive saved indicator, fixes #122 2018-11-22 20:25:49 +01:00
azivner 1db2f0c2c5 improved notifications, now with animations, in center and show up properly in the dialogs 2018-11-22 16:08:02 +01:00
azivner 6cd8a2203e create app icon only for electron build 2018-11-22 00:24:33 +01:00
azivner 08e062ab34 release 0.24.4-beta 2018-11-21 23:47:09 +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 8159564885 fix .desktop + allow to turn this feature off 2018-11-21 11:19:33 +01:00
azivner 8ce3c1a480 generate local .desktop file so it shows among apps in linux desktop environments 2018-11-21 11:01:03 +01:00
azivner dbc93f4a79 mitigations for tooltip flickering 2018-11-20 23:50:19 +01:00
azivner 92ffe321aa smaller context menu 2018-11-20 22:55:07 +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 bdcb4361b2 simplification of note autocomplete result ordering by depth #240 2018-11-20 22:22:26 +01:00
azivner 15366d37d7 ordering results in autocomplete based on depth, closes #240 2018-11-20 21:22:20 +01:00
azivner acd001501b release 0.24.3-beta 2018-11-20 13:01:41 +01:00
azivner 0019865807 disabling broken in page search 2018-11-20 12:54:03 +01:00
azivner 137ffcc4e3 enable line wrap for code editor 2018-11-20 10:49:03 +01:00
azivner 585398ad5c fix bug when saving non-text notes 2018-11-19 23:11:36 +01:00
azivner 50401954d1 disable cache for attribute name autocomplete 2018-11-19 22:17:08 +01:00
azivner 32a9df8489 fixes (and refactoring) for "empty attribute name" check 2018-11-19 22:06:51 +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 9c834229b9 release 0.24.2-beta 2018-11-19 17:17:08 +01:00
azivner f20ab45576 fix absolute image paths to relative paths as part of parsing links 2018-11-19 15:00:49 +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 eb9bae9010 updated relation map in demo document 2018-11-19 11:47:40 +01:00
azivner 0c7ae527c5 allow dragging only one note at a time 2018-11-19 11:19:56 +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 d6b5cd6ead support saving files and images in markdown tar export 2018-11-19 09:46:24 +01:00
azivner 00ce379962 excludeFromExport support also in OPML 2018-11-19 09:34:05 +01:00
azivner b1ed022771 release 0.24.1-beta 2018-11-19 00:06:44 +01:00
azivner ad6cb6ba34 mirror relation has to target source note 2018-11-19 00:06:04 +01:00
azivner 2e76de5f34 minor relation map fixes 2018-11-18 23:57:39 +01:00
azivner 4f23f2515a fix relation saving 2018-11-18 23:36:21 +01:00
azivner 8e16cc2326 fix prompt mutability (autocomplete on answer input field) 2018-11-18 23:31:31 +01:00
azivner 49bca04ebb fix doubling of notes after some actions 2018-11-18 23:01:48 +01:00
azivner 05e9669eaf fixed relation map sizing issue 2018-11-18 22:49:53 +01:00
azivner 62a250a7fc fixes for tooltip handling 2018-11-18 20:57:52 +01:00
azivner 8299524682 fixed cleanup of deleted notes for protected notes 2018-11-18 11:34:40 +01:00
azivner 7691a59977 imported notes can reference root 2018-11-18 11:19:50 +01:00
azivner 3db2f6784d fix DB migration and consistency issues 2018-11-18 10:20:06 +01:00
azivner 48684d0509 fixed app termination after unsuccessful migration for electron 2018-11-18 09:05:50 +01:00
azivner 1ee8d9fd93 sql console executes selected text if there's a selection instead of the whole content 2018-11-18 08:29:56 +01:00
azivner 228a77cb89 release 0.24.0-beta 2018-11-16 23:30:52 +01:00
azivner 6a36e1ca86 we're now saving links also for notes included in relation maps which helps with translation of noteIds during import from native tar 2018-11-16 23:27:57 +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 e0f9a7fc6a added links to the import/export + fixing internal links inside note content 2018-11-16 11:42:06 +01:00
azivner efc5cf4091 Doubleclick on the image will take you to that image note, closes #236 2018-11-15 14:51:09 +01:00
azivner 39b3c91abf image notes can't be updated + minor visual tweaks 2018-11-15 14:33:02 +01:00
azivner 6749cbed1b added some consistency checks for links and attributes 2018-11-15 13:58:14 +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 fa264d1cbe fix CSS filter issue in firefox, closes #233 2018-11-14 20:58:19 +01:00
azivner 8a3f508825 "go to selected note" button now has also note tooltip 2018-11-14 19:33:48 +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 cfce744338 method name refactoring 2018-11-14 17:26:07 +01:00
azivner 211001fb2f #232 implement recenter even though it probably doesn't work totally correctly 2018-11-14 15:11:39 +01:00
azivner a334f08782 refactorings in relation map related to noteId handling and storage 2018-11-14 14:52:05 +01:00
azivner 040bb13800 disable shield background in distraction free mode, fixes #226 2018-11-14 13:42:50 +01:00
azivner 6652ddc20a fix relation map display in distraction free mode 2018-11-14 13:37:45 +01:00
azivner e44c7c9947 hide "go to selected note" button in jump because it doesn't make sense there 2018-11-14 11:28:52 +01:00
azivner 24a0856d22 open external link button moved inside input 2018-11-14 11:24:40 +01:00
azivner 74acb08f7b "open" note put into note autocomplete input, also fixes #222 2018-11-14 11:17:20 +01:00
azivner 7be85acf11 mitigation of tooltip flicker by making tooltip smaller 2018-11-14 10:36:14 +01:00
azivner fc9495bcdf links are now shown in the relation map as well 2018-11-14 10:11:15 +01:00