Commit graph

380 commits

Author SHA1 Message Date
zadam ef40c66344 renamed currentNote to activeNote to be consistent with frontend API 2019-03-14 20:21:27 +01:00
zadam 1c41d459f0 renamed dates in code as well 2019-03-12 20:58:31 +01:00
zadam dd9b7bbbb5 fix fulltext search 2019-03-11 19:50:13 +01:00
zadam 16790e388b recent changes should show titles of protected notes correctly when in protected session 2019-03-04 20:44:20 +01:00
zadam 8b3e721028 added "explodeArchives" option to the import dialog 2019-02-25 22:38:48 +01:00
zadam 4b1cf05c0e import images 2019-02-25 21:22:57 +01:00
zadam d9429c4f4b import plain text file as text/html 2019-02-24 13:10:47 +01:00
zadam b7bd94b6b0 switchable image shrinking 2019-02-24 12:25:34 +01:00
zadam 51bbc10744 switchable image shrinking 2019-02-24 12:24:28 +01:00
zadam d8ba0ccd7d use formdata to pass text arguments during import instead of request path 2019-02-24 09:56:00 +01:00
zadam 886ea6c68c allow import of multiple files at the same time 2019-02-24 09:34:50 +01:00
zadam 3533160bef fix initial document setup 2019-02-20 23:07:57 +01:00
zadam 16f16cb36a fixed API for Trilium Sender, closes #415 2019-02-19 21:24:35 +01:00
zadam 9f29521ab8 disable caching of note autocomplete for more accurate results 2019-02-17 20:59:52 +01:00
zadam c1ce0c6b22 avoid various HTTP server issues with slashes by putting notePath into the body with POST 2019-02-17 20:49:51 +01:00
zadam a7fce33750 OPML v2 export 2019-02-16 23:58:42 +01:00
zadam 6fd8e73150 UI for export of OPML v2, WIP 2019-02-16 23:33:40 +01:00
zadam 96de2e7008 fixed saved search 2019-02-15 21:21:26 +01:00
zadam 22228de63b sync changes for note content 2019-02-15 00:15:09 +01:00
zadam 14f7a8b7b9 safe import implementation 2019-02-11 23:45:58 +01:00
zadam caa7dd9619 prettier progress count 2019-02-10 22:56:14 +01:00
zadam 8aa7e2d0a0 fixes in opml export and note content loading 2019-02-10 22:45:44 +01:00
zadam 6be8a3f343 added progress also to export 2019-02-10 22:30:55 +01:00
zadam a097cefba7 import error handling 2019-02-10 19:53:57 +01:00
zadam e4c78f3887 added ImportContext 2019-02-10 19:36:03 +01:00
zadam 45ddfef30a new import dialog 2019-02-10 14:33:13 +01:00
zadam 92fcd7b345 sql console added to global menu and now has schema info 2019-02-10 10:38:18 +01:00
zadam 6952b643ae note content refactoring, WIP 2019-02-07 22:16:40 +01:00
zadam c487a95bc7 note content refactoring, WIP 2019-02-06 21:29:23 +01:00
zadam 8884177d9f split out note's content into separate entity, WIP 2019-02-06 20:19:25 +01:00
zadam b0cf82c91b fix 2019-02-03 15:37:01 +01:00
zadam 6a67cdd5af appThemeClass is redundant 2019-02-03 15:35:37 +01:00
zadam bad7b84993 error handling in custom request handler 2019-02-03 11:15:32 +01:00
zadam c08524c977 fix CSS class of user theme 2019-02-03 00:12:57 +01:00
zadam ba1ca506af change in referencing CSS resources to allow easier relative linking 2019-01-27 22:34:41 +01:00
zadam 67630b1a22 options now allow selecting user theme 2019-01-27 21:18:11 +01:00
zadam 2c1580ea65 appCss/appTheme are now loaded as external CSS files instead of inline styles 2019-01-27 17:01:37 +01:00
zadam 840a0b5f64 custom handler refactoring 2019-01-27 16:37:18 +01:00
zadam b39f6ef7ad bug fixes for custom handlers 2019-01-27 15:47:40 +01:00
azivner 54de4d236d custom HTTP handler which triggers associated script notes WIP, #356 2019-01-27 12:28:20 +01:00
azivner 19d8947123 runOnNoteChange fires also on the frontend, closes #340 2019-01-16 22:52:32 +01:00
azivner 2797c942ab changes to options dialog to allow configuring font size, closes #326 2019-01-13 22:03:06 +01:00
azivner f1c3278874 store font size in options #326 2019-01-13 21:27:32 +01:00
azivner 9268f88bc3 frontend scripts now have startNote, currentNote and targetNote as NoteShort entities which e.g. provides easy access to relations/labels 2019-01-13 12:16:05 +01:00
azivner f7f0560a9f simplification of script bundles on backend 2019-01-13 11:56:50 +01:00
azivner 3d8905207e fixed export with non-ASCII characters in note title, fixes #285, #331 2019-01-13 10:22:17 +01:00
azivner 523ccdad6b reload note cache after import, closes #293 2019-01-08 20:19:41 +01:00
azivner 030d12a465 stretch sync login token validity to 5 minutes #277 2019-01-07 23:29:56 +01:00
azivner 0be173a8f7 lower lastSyncedPull if server max sync ID is lower 2019-01-04 18:58:46 +01:00
azivner 0b4a44a403 layout tweaks etc. 2018-12-29 09:13:52 +01:00
azivner 458ed1faff mobile detection 2018-12-28 23:47:06 +01:00
azivner 812f9f6fca initial work on mobile frontend 2018-12-23 22:28:57 +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 a680bb4612 unhoist note when activating note outside of the hoisted note subtree 2018-12-13 23:28:48 +01:00
azivner 6c16cdb011 recent notes and jump to note are filtered by hoisted note 2018-12-12 21:28:38 +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 90a52f57b5 recent notes route accepts slash in the param (problem with nginx etc.) 2018-12-09 14:30:19 +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 76fc49f037 allow import of single HTML file too 2018-11-26 23:47:02 +01:00
azivner b3aa0ba47c entity events are not triggered on imported entities 2018-11-26 22:27:57 +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 30249a353e renamed "mirror" relation to "inverse" relation 2018-11-19 12:07:33 +01:00
azivner 4f23f2515a fix relation saving 2018-11-18 23:36:21 +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 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 fc9495bcdf links are now shown in the relation map as well 2018-11-14 10:11:15 +01:00
azivner 0b85f87cb2 display mirror relations correctly on relation map 2018-11-13 12:50:08 +01:00
azivner 21d3b0c9d8 implemented mirror relations 2018-11-12 23:34:22 +01:00
azivner afcbfcfa03 cleanup obsolete image code 2018-11-08 11:14:13 +01:00
azivner d7afbe4059 saving image 2018-11-08 11:08:16 +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 90dbe637ed autocomplete for add link dialog, #203 2018-11-07 17:16:33 +01:00
azivner 1febf5136c finished jump to autocomplete, now with token highlighting, #203 2018-11-07 09:35:29 +01:00
azivner 2f4ef0a4a2 migrated all remaining dialogs to bootstrap modals, #203 2018-11-06 17:47:40 +01:00
azivner 7bdbea81f1 enex import recognizes images, media references are converted to links 2018-11-05 12:52:50 +01:00
azivner 5e318c6242 basic enex import, closes #194 2018-11-05 00:06:17 +01:00
azivner 607c821cac logging slow autocomplete times 2018-11-04 22:10:52 +01:00
azivner 26b9302267 run unused image cleanup periodically (once every 4 hours) 2018-11-01 16:40:25 +01:00
azivner 639284fd85 changing title directly from relation map 2018-10-30 22:18:20 +01:00
azivner 93d152eae5 using whole note box to drag the box instead of special handle 2018-10-30 11:28:48 +01:00
azivner 2a14ea8d0c fixes for relation handling + visual design restyled into gray colors 2018-10-30 10:36:19 +01:00
azivner 2a129809b3 support for adding new relations from relation map with drag & drop 2018-10-29 22:38:51 +01:00
azivner 41fca4c4f3 fixes, getting rid of resizing for now 2018-10-25 14:01:03 +02:00
azivner 4a5a63d7b4 relation map WIP 2018-10-25 12:06:36 +02:00
azivner b17f442d1f Merge branch 'master' into canvas 2018-10-23 18:11:29 +02:00
azivner 0c007566ad fixes for invalid operations on root note 2018-10-21 22:42:20 +02:00
azivner 6559e6c25b add children to relation map 2018-10-21 10:26:14 +02:00
azivner 3af27845b5 report missing sync configuration when clicking on Test sync 2018-09-11 10:09:55 +02:00
azivner 9b425025c9 fix sync double initialization issue 2018-09-11 10:01:40 +02:00
azivner 15610626f1 fix for import issue 2018-09-10 23:41:11 +02:00
azivner eb84cfbef2 sync login now includes check for sync server initialization and initializes it if necessary
Test sync button strictly not necessary
2018-09-10 20:22:26 +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 bc669c7b81 markdown wiki reference on README 2018-09-03 21:06:24 +02:00
azivner 25f8df1e03 fix import for tars generated outside of trilium 2018-09-03 17:08:34 +02:00
azivner a3feaa13b3 single markdown file import, #166 2018-09-03 13:40:40 +02:00
azivner 4a58357a9a fixes & refactoring to markdown import 2018-09-03 13:17:29 +02:00
azivner c41b809720 markdown import 2018-09-03 12:05:44 +02:00
azivner 9bdd4437f2 export single note as markdown, #166 2018-09-03 09:40:22 +02:00
azivner 467ad79129 implemented markdown export, #166 2018-09-02 23:39:10 +02:00
azivner 792039227f cssClass is correctly filled for new note 2018-09-01 13:18:55 +02:00
azivner a98d80db31 renamed subtree operations in context menu from "branch" to "subtree" 2018-08-31 18:22:53 +02:00
azivner 65d99f3f06 fixed bug which caused incorrect ordering of lazy loaded branches 2018-08-31 17:29:54 +02:00
azivner 174d4e67af fix encrypting new notes 2018-08-27 23:04:52 +02:00
azivner 7f9a8a55ca fix init of synced options in new database 2018-08-17 18:11:03 +02:00
azivner 145efe67c3 better logging and notifications on script errors for easier debugging 2018-08-17 11:31:42 +02:00
azivner 385d97a9b3 recent notes now don't display current note, unification of autocomplete source handling 2018-08-16 21:02:42 +02:00
azivner df9acd0504 relation target noteIds need to be translated into local noteIds 2018-08-15 18:32:06 +02:00
azivner 4513651e12 delete attributes when deleting note 2018-08-15 15:27:22 +02:00
azivner ff5b84db10 search (note) fixes 2018-08-14 22:50:05 +02:00
azivner 6d842a65a2 fix DB vacuum, fixes #154 2018-08-14 18:03:36 +02:00
azivner fec1574447 fixed import with attributes 2018-08-14 14:17:10 +02:00
azivner cd9eef32b0 support for cssClass label on note 2018-08-13 10:59:31 +02:00
azivner c78ddb70cb all events are now synchronous 2018-08-12 20:07:02 +02:00
azivner 27be3b4c90 fixes in tree loading 2018-08-12 12:59:38 +02:00
azivner 9e96272eb3 fixed runOnAttributeChange event 2018-08-10 14:31:57 +02:00
azivner 965dbcbc9a renamed workEntity to originEntity 2018-08-10 13:30:20 +02:00
azivner ac25770c0e added runOnAttributeChange event 2018-08-09 20:08:00 +02:00
azivner 1c0fd243d1 cleanup of labels and relations from backend 2018-08-07 13:33:10 +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 d3e44b37e9 autocomplete for promoted text labels 2018-08-06 22:52:49 +02:00
azivner fcf6141cde support for promoted multi value attributes 2018-08-06 17:24:35 +02:00
azivner 12031d369f displaying and saving number and boolean promoted attributes 2018-08-06 15:23:22 +02:00
azivner b44c523845 basic support for saving promoted attributes 2018-08-06 14:43:42 +02:00
azivner 2aab3ad281 fixes in attribute persistence + WIP on display of promoted attrs 2018-08-06 08:59:26 +02:00
azivner 2089c32839 attribute UI & saving now fully working 2018-08-05 20:08: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 097114c0f2 basic entities for attributes (unification of labels and relations) 2018-08-02 22:48:21 +02:00
azivner 6dc934abbe refactored targetNote to workNote in the ScriptContext which was very confusing with relation's targetNote 2018-08-01 10:12:54 +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 ed1381103a #125, implementation of inheritable relations 2018-07-29 18:39:10 +02:00
azivner 170d317589 #125, basic infrastructure for scripts attached to notes via relations 2018-07-29 16:06:13 +02:00
azivner 9b3f3fde05 #126, relation list in note detail and fixes in saving 2018-07-28 17:59:55 +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 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 02dc7b199b #98, better error reporting for sync setup 2018-07-25 22:54:37 +02:00
azivner a4627f2ddb #98 some sync setup refactorings 2018-07-25 09:46:57 +02:00
azivner c8253caae9 #98 proxy support for sync setup 2018-07-25 08:30:41 +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