Commit graph

1247 commits

Author SHA1 Message Date
azivner 6fbf28b30d hoisting notes WIP 2018-12-11 21:53:56 +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 cfa926602a release 0.25.0-beta 2018-12-02 00:30:07 +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 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 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 a616739805 release 0.24.5 2018-11-27 15:34:15 +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 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 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 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 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 585398ad5c fix bug when saving non-text notes 2018-11-19 23:11:36 +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 30249a353e renamed "mirror" relation to "inverse" relation 2018-11-19 12:07:33 +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 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 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 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 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 fc9495bcdf links are now shown in the relation map as well 2018-11-14 10:11:15 +01:00
azivner abbade96af added hidePromotedAttributes label, fixes #221 2018-11-13 22:14:41 +01:00
azivner 21d3b0c9d8 implemented mirror relations 2018-11-12 23:34:22 +01:00
azivner 525f167127 Merge branch 'stable' 2018-11-11 19:26:40 +01:00
azivner 8be328cb3b now that content is nullable, cleanup sets it to null instead of empty string 2018-11-09 09:04:55 +01:00
azivner 991d5d3be3 save and remove both hyper and image links 2018-11-08 20:17:56 +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 a8e13eac3a fix postponed deletion job - need to have cls 2018-11-06 14:23:49 +01:00
azivner 24a1838b13 bootstrap 4 upgrade 2018-11-05 21:12:03 +01:00
azivner 7bdbea81f1 enex import recognizes images, media references are converted to links 2018-11-05 12:52:50 +01:00
azivner b8eaff055a create notebook's "root note" for ENEX import 2018-11-05 09:23:04 +01:00
azivner 5e318c6242 basic enex import, closes #194 2018-11-05 00:06:17 +01:00
azivner de14e808c7 logging of slow queries (currently >= 200ms) 2018-11-01 11:18:54 +01:00
azivner 80178b52c0 cleanup of note (& revisions) content is now postponed and done 48 hours after deleting it. This makes it possible to correct user mistake without having to use a real backup 2018-11-01 10:23:21 +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 639284fd85 changing title directly from relation map 2018-10-30 22:18:20 +01:00
azivner 67d47c389a Merge remote-tracking branch 'origin/master' into canvas 2018-10-29 19:10:28 +01:00
azivner a8774353fd release 0.23.1 2018-10-25 18:13:37 +02:00
azivner 18f2419bd6 allow creating anonymized database from command line as well, fixes #200 2018-10-25 18:03:28 +02:00
azivner b17f442d1f Merge branch 'master' into canvas 2018-10-23 18:11:29 +02:00
azivner 9f0860edab Merge branch 'stable' 2018-10-21 22:48:58 +02:00
azivner 0c007566ad fixes for invalid operations on root note 2018-10-21 22:42:20 +02:00
azivner bfa2b5fa62 add a check for root parent 2018-10-21 21:37:34 +02:00
azivner e487dc1df7 basic infrastructure for "relation map" note type 2018-10-18 11:25:33 +02:00
azivner 209551a205 using new scrypt api from node 10 as a replacement of third party library 2018-10-14 11:48:29 +02:00
azivner 269f56bdca release 0.23.0 2018-10-09 21:08:11 +02:00
azivner be94766f76 trigger events after note attributes are created 2018-10-08 11:09:45 +02:00
azivner 62de7f28eb consistently use root/ prefix for note paths 2018-10-06 21:32:07 +02:00
azivner 257cced182 release 0.22.1 2018-09-11 10:15:15 +02:00
azivner 9b425025c9 fix sync double initialization issue 2018-09-11 10:01:40 +02:00
azivner e8797a137f fix getting sync setup 2018-09-11 09:35:29 +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 b4a566df9e electron 2.0.9 and other small library updates 2018-09-10 19:09:05 +02:00
azivner 4f3aa9cd79 release 0.22.0 2018-09-09 10:08:45 +02:00
azivner 892a254e5a put missing options also to sqlInit 2018-09-06 23:21:14 +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 46f37f7426 using @mlink/scrypt for node 10 compatibility 2018-09-05 15:14:20 +02:00
azivner 185fb4b787 release 0.21.0 2018-09-03 20:18:28 +02:00
azivner 763f885cc7 commonjs modules should have "this" available 2018-09-03 17:31:52 +02:00
azivner 9bdd4437f2 export single note as markdown, #166 2018-09-03 09:40:22 +02:00
azivner 1079ba1707 release 0.20.2 2018-09-01 14:08:37 +02:00
azivner 792039227f cssClass is correctly filled for new note 2018-09-01 13:18:55 +02:00
azivner c55bc471db fix note move to different parent in note cache 2018-08-31 19:55:56 +02:00
azivner a98d80db31 renamed subtree operations in context menu from "branch" to "subtree" 2018-08-31 18:22:53 +02:00
azivner cfa4cc4931 fix undefined Sync section in the config file 2018-08-30 23:28:38 +02:00
azivner ce9805c5bc protection against deleting root note 2018-08-30 22:38:34 +02:00
azivner 3dd89ee9da release 0.20.1 2018-08-29 22:29:36 +02:00
azivner b65a6c97a1 added missing attributes dump 2018-08-28 23:39:12 +02:00
azivner 3bb021fba1 entity deleltion should not trigger ENTITY_CHANGED event, it should be separate event 2018-08-28 23:17:56 +02:00
azivner de4ace5ada overriding sync settings from config file, fixes #160 2018-08-28 21:13:40 +02:00
azivner 7ae2a24770 use relations to pick note to render, fixes #141 2018-08-28 20:55:21 +02:00
azivner 9cfa2ab1ba fix note cache record for newly created/updated protected notes 2018-08-28 19:22:46 +02:00
azivner 174d4e67af fix encrypting new notes 2018-08-27 23:04:52 +02:00
azivner 4721ddc6b3 exceptions on decryption 2018-08-27 21:58:02 +02:00
azivner 2d1bc46c04 release 0.20.0 2018-08-27 18:59:54 +02:00
azivner 26c06c9826 more API docs 2018-08-23 15:33:19 +02:00
azivner f5b89432a6 frontend script API documentation 2018-08-23 12:55:45 +02:00
azivner 0e7372adbf backend script API documentation 2018-08-23 10:10:04 +02:00
azivner 17348a9cfe fix some issues 2018-08-22 14:40:49 +02:00
azivner 71e687ad8e child: prefix now copies attributes on new note creation 2018-08-21 13:49:45 +02:00
azivner 171877ce08 renamed inheritAttributes to template 2018-08-21 12:52:11 +02:00
azivner 99d81059d0 better common JS compatibility 2018-08-19 22:28:32 +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 513748836e note autocomplete and full text search should be able to find notes by noteId 2018-08-17 10:06:52 +02:00
azivner 208771216e fix in passing originEntity from frontend to backend, some refactorings 2018-08-16 23:00:04 +02:00
azivner 0f106fb96f more relation events, events are now not triggered on sync changes 2018-08-15 22:06:49 +02:00
azivner df9acd0504 relation target noteIds need to be translated into local noteIds 2018-08-15 18:32:06 +02:00
azivner dbe0eb3f3a fix attribute name autocomplete, no tooltip preview on path selection 2018-08-15 18:22:02 +02:00
azivner 4513651e12 delete attributes when deleting note 2018-08-15 15:27:22 +02:00
azivner b897c6de13 fix note revision saving 2018-08-15 08:44:54 +02:00
azivner ff5b84db10 search (note) fixes 2018-08-14 22:50:05 +02:00
azivner f43f0e10a1 release 0.19.1 2018-08-14 18:06:31 +02:00
azivner 462bc0edd5 attribute sync fix 2018-08-14 17:32:15 +02:00
azivner 7c9ac488e8 release 0.19.0 2018-08-14 14:19:37 +02:00
azivner 8fb0de900b createNote API now accepts attributes instead of just labels 2018-08-14 12:54:58 +02:00
azivner 2a53bb03ae fix autocomplete casing issue with first level notes 2018-08-13 21:01:14 +02:00
azivner ddbd4f73c8 attributes can be inherited through special relation "inheritAttributes" 2018-08-13 17:05:16 +02:00
azivner 3424406ff1 script API changes for task management #140 2018-08-13 13:53:08 +02:00
azivner ce5c385c15 fix search by attributes was finding also deleted attributes 2018-08-13 11:06:17 +02:00
azivner cd9eef32b0 support for cssClass label on note 2018-08-13 10:59:31 +02:00
azivner 12d82e3b33 listener exception doesn't stop execution 2018-08-13 09:49:39 +02:00
azivner c78ddb70cb all events are now synchronous 2018-08-12 20:07:02 +02:00
azivner 9fb0599c45 entities are now changed only if entity hash changed which will limit number of events emitted 2018-08-12 20:04:48 +02:00
azivner 13f524fb39 ENTITY_CHANGED event is emitted synchronously 2018-08-12 13:03:59 +02:00
azivner 27be3b4c90 fixes in tree loading 2018-08-12 12:59:38 +02:00
azivner 0f42c396f3 image upload fixes + some API changes 2018-08-11 19:45:55 +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 7ac109e7f7 fix label => attributes omissions 2018-08-09 20:55:16 +02:00
azivner ac25770c0e added runOnAttributeChange event 2018-08-09 20:08:00 +02:00
azivner 5b15424498 archived label now respects isInheritable flag, fixes #145 2018-08-08 16:14:35 +02:00
azivner f1240c26bf more cleanup of labels and relations from backend, dropping tables from db 2018-08-07 13:44:51 +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 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 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 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 2d24bf81dd added new label "sorted" which will keep children notes alphabetically sorted, fixes #82 2018-08-01 09:26:02 +02:00
azivner 9452fc236b electron build uses random free port, fixes #142 2018-07-31 19:50:18 +02:00
azivner 01c7e58d47 check if sync is configured every minute, not just at app startup, fixes #138 2018-07-30 16:45:34 +02:00
azivner d3d49923b1 changed backup to simple scheme with one daily, one weekly and one monthly backup, fixes #15 2018-07-30 16:40:50 +02:00
azivner 3d185a5178 release 0.18.0 2018-07-30 08:18:25 +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 ededc063df fix relation autocomplete 2018-07-29 12:34:40 +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 7e4d70259f soft-deleting note will delete its content and all the revisions content, fixes #132 2018-07-26 09:08:51 +02:00
azivner 02dc7b199b #98, better error reporting for sync setup 2018-07-25 22:54:37 +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 50bb4a47ee fix sync bug 2018-07-25 10:12:34 +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 0ece9bd1be sync isExpanded when it's a new branch 2018-07-24 22:03:36 +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 073300bbcd #98, working sync setup from server to desktop instance + refactoring of DB initialization 2018-07-22 19:56:20 +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 3972c27e7a release 0.17.0 2018-07-09 21:22:12 +02:00
azivner 7a9542b4fc release 0.16.0 2018-06-16 13:34:39 -04:00
azivner 3d2ef6be01 remove optionId, closes #117 2018-06-13 19:10:28 -04: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 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 378e8f35e5 release 0.15.0 2018-06-07 23:09:21 -04:00
azivner 385144451b renamed hideInAutocomplete label to archived 2018-06-07 19:26:28 -04:00
azivner 0e69f0c079 fix recent notes issues 2018-06-06 22:38:36 -04:00
azivner e7a504c66b fixes and optimizations for search 2018-06-05 22:47:47 -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 015cd68756 renaming/refactoring of search services 2018-06-04 19:48:02 -04:00
azivner 76c0e5b2b8 new UI for search, closes #108 (still needs cleanup) 2018-06-03 20:42:25 -04:00
azivner 0f8f707acd persisting zoom setting in electron, fixes #112 2018-06-02 13:02:20 -04:00
azivner 31b76b23ce release 0.14.1 2018-06-02 09:39:37 -04:00
azivner af529f82e5 fixed false sync error reporting 2018-06-02 09:39:04 -04:00
azivner fc6669d254 initialization and schema fixes, closes #111 2018-06-01 22:26:37 -04:00
azivner c07785be67 release 0.14.0 2018-05-31 23:23:44 -04:00
azivner bd66b8a1c8 fix issue with limitation of number of SQLite parameters (999) which caused problems when loading tree which was too expanded 2018-05-30 20:28:10 -04:00
azivner f47ae12019 OPML export support (issue #78), import missing for now 2018-05-27 12:26:34 -04:00
azivner cab54a458f unifying surrogate keys for event log and options, fixes #103 2018-05-26 23:25:09 -04:00
azivner 40a32e6826 render notes can be edited and can contain HTML markup 2018-05-26 19:27:47 -04:00
azivner 03bf33630e unify audit fields, fixes #102 2018-05-26 12:38:25 -04:00
azivner 933cce1b94 fix hideInAutocomplete bug 2018-05-26 10:50:13 -04:00
azivner 4a6ff573f8 fixed autocomplete issues with capitalization 2018-05-26 10:24:33 -04:00
azivner 1a737f7d19 expose add link on UI, fixes #95 2018-05-26 10:04:40 -04:00
azivner cb69914f09 release 0.13.0-beta 2018-05-22 23:51:43 -04:00
azivner a372cbb2df fix #105 2018-05-22 23:51:13 -04:00
azivner 94dabb81f6 fix sync of unsyncable options 2018-05-22 19:29:18 -04:00
azivner cd45bcfd03 converted option operations to repository 2018-05-22 00:22:43 -04:00
azivner 49a53f7a45 added hash columns for faster sync check calculation 2018-05-22 00:15:54 -04:00
azivner 9fa6c0918c add index for note's type + some fixes 2018-05-21 20:12:46 -04:00
azivner b507abb4f7 electron upgrade to 2.0.0 2018-05-08 16:39:01 -04:00
azivner 4ce5ea9886 autocomplete supports encrypted notes now as well 2018-04-20 00:12:01 -04:00
azivner 85eb50ed0f autocomplete with prefixes 2018-04-19 20:59:44 -04:00
azivner 5ffd621e9d autocomplete respects hideInAutocomplete label 2018-04-19 00:13:55 -04:00
azivner bbf04209f0 autocomplete cache gets updated with note update 2018-04-18 23:11:30 -04:00
azivner 834bfa39c7 limit number of results to 200, other tweaks 2018-04-18 20:56:23 -04:00
azivner 52b445f70b Merge branch 'stable' 2018-04-18 20:22:16 -04:00
azivner 7b9b4fbb0c backend autocomplete WIP 2018-04-18 00:26:42 -04:00
azivner 1687ed7e0b load only expanded tree with the rest being lazy loaded, WIP 2018-04-16 16:26:47 -04:00
azivner c8b9c7d936 release 0.12.0 2018-04-14 08:28:50 -04:00
azivner d57057ba28 fix note ordering sync 2018-04-14 08:23:06 -04:00
azivner 592c51d1a5 fix note reordering sync again 2018-04-12 18:31:29 -04:00
azivner 6a57b8a7e7 fix ordering sync 2018-04-12 18:13:48 -04:00
azivner 5b43f321e2 release 0.11.1 2018-04-11 00:10:33 -04:00
azivner a4eafb934f non null note title and content in the DB schema, allow saving non-valid JSON notes, children overview style changes 2018-04-11 00:10:11 -04:00
azivner 7b59a665dd hideChildrenOverview label which can disable children overview for specific notes 2018-04-10 23:15:41 -04:00
azivner b0c6d52461 can't rollback transaction multiple times 2018-04-10 20:28:02 -04:00
azivner 2dc16dd29f release 0.11.0-beta 2018-04-09 22:38:37 -04:00
azivner 1f96a6beab export & import work correctly with clones 2018-04-08 13:14:30 -04:00
azivner 9720868f5a added type and mime to note revisions 2018-04-08 11:57:14 -04:00
azivner 8d8ee2a87a small sync refactorings 2018-04-08 10:09:33 -04:00
azivner 120888b53e fix JSON saving bug 2018-04-08 08:31:19 -04:00
azivner 982796255d sync content check refactoring 2018-04-07 22:59:47 -04:00
azivner 36b15f474d sync cleanup 2018-04-07 22:32:46 -04:00
azivner 13f71f8967 bulk push sync 2018-04-07 22:25:28 -04:00
azivner 64336ffbee implemented bulk sync pull for increased performance 2018-04-07 21:53:42 -04:00
azivner b09463d1b2 async logging of info messages 2018-04-07 21:30:01 -04:00
azivner d19f044961 fix bug 2018-04-07 13:14:01 -04:00
azivner e378d9f645 label service refactoring + rename of doInTransaction to transactional 2018-04-07 13:03:16 -04:00
azivner e827ddffb9 electron fixes 2018-04-05 23:17:19 -04:00
azivner fb54678fef getNoteWithLabel fix 2018-04-04 23:43:54 -04:00
azivner 2cdcb3af12 camel casing and fixes 2018-04-04 23:04:31 -04:00
azivner cf7a336ac2 camel case for reddit labels and run values 2018-04-04 22:29:11 -04:00
azivner abfc64af95 script to generate large documents, closes #55 2018-04-03 22:15:28 -04:00
azivner 42dd8d4754 smaller refactorings 2018-04-02 22:53:01 -04:00
azivner a4e64350e9 fixed schema, initial setup 2018-04-02 22:33:54 -04:00
azivner 6f567e3e10 camelCase builtin labels 2018-04-02 21:56:55 -04:00
azivner c6c76ba360 option names now follow camelCase 2018-04-02 21:47:46 -04:00
azivner 429d3f518e moved instanceName to index.ejs 2018-04-02 21:34:28 -04:00
azivner 26e4ad9bf9 separated DB initialization methods into sql_init 2018-04-02 21:25:20 -04:00
azivner 6ab0cea4e3 split out dateUtils on the backend 2018-04-02 20:46:46 -04:00
azivner 277368ab43 simplified new entity ID allocation 2018-04-02 20:30:00 -04:00
azivner e2921a648d refactored backend to use new naming convention for modules 2018-04-01 21:27:46 -04:00
azivner c765dbc5cf continuing in API review 2018-04-01 20:50:58 -04:00
azivner 96dab5d51e smaller refactorings continued 2018-04-01 17:38:24 -04:00
azivner 15d951b04e smaller refactorings continued 2018-04-01 12:45:35 -04:00
azivner 8ba830c04b smaller refactorings continued 2018-04-01 12:03:21 -04:00
azivner acc82f39c4 smaller refactorings continued 2018-04-01 11:42:12 -04:00
azivner fad0ec757b smaller refactorings (mostly entitization) 2018-04-01 11:05:09 -04:00
azivner c9d73c6115 renamed outstanding attribute references to labels 2018-04-01 09:59:44 -04:00
azivner ab2f28ceef added missing sync check hashes 2018-03-31 23:19:54 -04:00
azivner 87e415992c removed support for old option schema of opt_name and opt_value 2018-03-31 23:11:43 -04:00
azivner 12439d8761 refactoring of note deletion 2018-03-31 23:08:22 -04:00
azivner 4f200c73dc refactoring of note creation 2018-03-31 22:23:40 -04:00
azivner 5f7e74e15c refactoring of note update 2018-03-31 22:15:06 -04:00
azivner e8a5d0ae16 converted note revision protection to repository/entities 2018-03-31 10:51:37 -04:00
azivner 088fb00ca9 repository is now stateless 2018-03-31 09:07:58 -04:00
azivner 05676f3459 removed dataKey where it's not necessary anymore (use of CLS instead) 2018-03-31 08:53:52 -04:00
azivner 5d203b2278 removed sourceId where it's not necessary (stored in CLS instead) 2018-03-30 19:41:54 -04:00
azivner cfe0ae1eda converted file, script, search and sender routes 2018-03-30 17:29:13 -04:00
azivner 9edee9340b converted settings, note revisions, password change and recent changes routes 2018-03-30 13:56:46 -04:00
azivner 8550ed72f2 converted cloning and label routes 2018-03-30 13:20:36 -04:00
azivner efffc29649 initial work on new router model 2018-03-30 12:57:22 -04:00
azivner 0ec909fd7a added basic CLS support with re-entrant transactions 2018-03-28 23:41:22 -04:00
azivner 47eb1e3e02 refactored all mentions of "history" to "revision" 2018-03-25 20:52:38 -04:00
azivner 95bb2cf0bb renaming attributes to labels, fixes #79 2018-03-24 22:02:26 -04:00
azivner 4c472ce78b renaming note_tree to branch 2018-03-24 21:39:15 -04:00
azivner f8649feea4 saved search can now be created from the search dialog 2018-03-23 23:08:29 -04:00
azivner 0fd5102a26 added consistency check for search note not containing children 2018-03-13 19:18:52 -04:00
azivner ce754cbd91 saving saved search, #73 2018-03-11 10:49:22 -04:00
azivner f6c7f6a0f2 added require() method for commonJS compliancy 2018-03-10 11:53:51 -05:00
azivner 9ba6e6d0f5 disable inclusion should work only on non-root notes 2018-03-08 23:35:08 -05:00
azivner b6277049f3 added support for app_css attribute, which allows custom styling 2018-03-07 23:24:23 -05:00
azivner 8e95b080da fixed render notes 2018-03-07 00:17:18 -05:00
azivner 766a567a32 changes in access to startNote and currentNote 2018-03-06 23:04:35 -05:00
azivner d26170762b inclusion of scripts based on script environment 2018-03-05 23:09:36 -05:00
azivner b3209a9bbf split javascript mime type into frontend and backend 2018-03-05 22:08:45 -05:00
azivner 61c2456cf6 startNote/currentNote is now accessible on frontend as well 2018-03-04 23:28:26 -05:00
azivner 1c6fc9029f new "disable_inclusion" attribute 2018-03-04 22:09:51 -05:00
azivner 07bf075894 cleaned up unused jobs implementation 2018-03-04 21:33:06 -05:00
azivner ddce5c959e fix render 2018-03-04 21:05:14 -05:00
azivner 3b9d1df05c fixed frontend script execution 2018-03-04 14:21:11 -05:00
azivner d239ef2956 refactoring of getModules function 2018-03-04 12:06:35 -05:00
azivner 7a865a9081 common JS module system prototype 2018-03-04 10:32:53 -05:00
azivner 8c7d159012 fix export/import for multi-valued attributes 2018-03-03 09:30:18 -05:00
azivner d169f67901 changes in backend script running 2018-03-03 09:11:41 -05:00
azivner 982b723647 basic scheduling of backend scripts using attributes 2018-03-02 20:56:58 -05:00
azivner 66064f7a94 Script API changes, finished porting reddit plugin, reddit importer tar file 2018-02-26 20:47:34 -05:00
azivner 1501fa8dbf import notes from tar archive, closes #63 2018-02-26 00:07:43 -05:00
azivner 60bba46d80 export subtree to tar file 2018-02-25 10:55:21 -05:00
azivner 12c06ae97e manual transaction handling for jobs 2018-02-24 22:44:45 -05:00
azivner f0bea9cf71 API changes necessary to port reddit plugin, closes #58 2018-02-24 21:23:04 -05:00
azivner a555b6319c support for backend jobs and other script API changes 2018-02-24 14:42:52 -05:00
azivner 3b4509d833 support encryption for files, closes #60 2018-02-23 22:58:24 -05:00
azivner 131af9ab12 fix attachment sync 2018-02-18 22:55:36 -05:00
azivner 78e8c15786 attachment upload and download now works for browser 2018-02-18 21:28:24 -05:00
azivner ddc885066e support passing functions to the backend as parameters 2018-02-18 09:53:36 -05:00
azivner 1d0220b03d add weight causes updating old chart instead of creating new chart, closes #53 2018-02-17 10:45:00 -05:00
azivner 3033f7cc08 attribute value is now non-null, fixes #52 2018-02-16 19:07:59 -05:00
azivner abdad1c3ae log error messages with ERROR: prefix (there's wasn't anyt other distinction before) 2018-02-15 22:30:05 -05:00
azivner dfd9927310 added createAttribute method to script API 2018-02-13 22:46:45 -05:00
azivner 2e8eeda5ab new attribute "hide_in_autocomplete", fixes #16 2018-02-13 22:30:33 -05:00
azivner 0e9473119e global keyboard shortcuts for quick creating sub-notes under day note 2018-02-12 23:53:00 -05:00
azivner 9910aebf45 fix schema.sql 2018-02-11 22:06:12 -05:00
azivner 7b77e40514 added support for trilium-sender 2018-02-11 00:18:59 -05:00
azivner 660908c54b fix sorting notes 2018-02-10 13:55:06 -05:00
azivner e970564036 create months and days with associated english names, closes #37 2018-02-10 13:53:35 -05:00
azivner c76e4faf5d added attributes sorting 2018-02-10 08:37:14 -05:00
azivner e011b9ae63 deleting attributes, closes #34 2018-02-06 23:09:19 -05:00
azivner 7c74c77a2c allow duplicated attribute per note (in effect attributes can be multi-valued). Closes #33 2018-02-06 21:18:09 -05:00
azivner a3b31fab54 autocomplete for attribute names, issue #31 2018-02-04 19:27:27 -05:00
azivner 5bffba4e2f add API to add plugin buttons, fixes 2018-02-03 10:37:57 -05:00
azivner 3f7b54425d sync fixes 2018-01-30 23:23:19 -05:00
azivner 8249a81c77 various script fixes, including for electron 2018-01-30 22:44:46 -05:00
azivner 72bd2507fe script bugfixes 2018-01-30 21:25:47 -05:00
azivner 5217339209 update to entity creates sync event 2018-01-30 20:12:19 -05:00
azivner 35c7b54176 support for updating entities etc. 2018-01-29 23:35:36 -05:00
azivner 6fa6891496 created repository object to access entities 2018-01-29 23:17:44 -05:00
azivner 9a091408e3 script related changes 2018-01-29 20:57:55 -05:00
azivner 587f3d833e basic entity support with lazy loaded relations 2018-01-29 18:34:59 -05:00
azivner b44412bc32 renaming of sql methods to fit getRows/getEntities model 2018-01-29 17:41:59 -05:00
azivner 9b53a17168 first experiments with note entity 2018-01-28 23:16:50 -05:00
azivner 52ad7f64b4 moved all sources to src directory 2018-01-28 22:18:15 -05:00