Commit graph

781 commits

Author SHA1 Message Date
azivner 936d8449f6 fix & unify "show recent notes" buttons 2018-08-14 17:36:39 +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 fec1574447 fixed import with attributes 2018-08-14 14:17:10 +02:00
azivner f7587de452 fixes to multivalued input tabindex 2018-08-14 13:50:04 +02:00
azivner 41a6e777ea attributes coming from inheritAttributes are inherited only if the inheritAttributes relation itself is inheritable 2018-08-14 13:02:17 +02:00
azivner 8fb0de900b createNote API now accepts attributes instead of just labels 2018-08-14 12:54:58 +02:00
azivner a40bf71fd4 connection lost error is now logged only to the console, it was too annoying while being mostly harmless 2018-08-14 11:42:29 +02:00
azivner 2a53bb03ae fix autocomplete casing issue with first level notes 2018-08-13 21:01:14 +02:00
azivner a684879b91 primitive attribute caching inside note entity, fixes #149 2018-08-13 17:16:06 +02:00
azivner ddbd4f73c8 attributes can be inherited through special relation "inheritAttributes" 2018-08-13 17:05:16 +02:00
azivner b0ed790edf fix multivalue issue of not appearing when no attribute has been saved yet 2018-08-13 15:58:37 +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 f071d3f651 fix validation issue + attribute not triggering change event on delete 2018-08-13 09:39:07 +02:00
azivner 297b536ebc promoted attributes have tabindex following the title and before note content 2018-08-13 09:07:21 +02:00
azivner 7cca2d9247 realoding tree doesn't steal focus (important for promoted attribute changes with attached scripts) 2018-08-13 08:42:37 +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 af4ea66742 fix shift-up selection, fixes #146 2018-08-11 20:02:48 +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 d3e44b37e9 autocomplete for promoted text labels 2018-08-06 22:52:49 +02:00
azivner 90e9297ec5 promoted relation attributes now work correctly, refactoring of note autocomplete code 2018-08-06 22:29:03 +02:00
azivner c568ef2f8a nice icons for add / remove attribute 2018-08-06 17:53:13 +02:00
azivner fcf6141cde support for promoted multi value attributes 2018-08-06 17:24:35 +02:00
azivner 21551d7b77 implemented date promoted attribute 2018-08-06 15:58:59 +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 49989695ff fix relations in attributes 2018-08-06 11:30:37 +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 96dc56098d ckeditor upgrade to 11.0.1 with blocktoolbar 2018-08-03 22:56:23 +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 365c37604b code note in tooltip needs to be wrapped in <pre> to keep formatting, fixes #137 2018-07-30 16:55:20 +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 2ff7a890bc script which shows list of edited files for a date, fixes #125 2018-07-29 20:51:28 +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 29086d8dfe fixed bug with select not firing on recent notes 2018-07-28 18:17:35 +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 f578e001b0 #129, add link autocomplete now displays recent notes as well 2018-07-26 16:24:08 +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 7e4d70259f soft-deleting note will delete its content and all the revisions content, fixes #132 2018-07-26 09:08:51 +02:00
azivner 5b98c1c0f3 fix context menu JS error on root note 2018-07-26 08:58:20 +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 599c3c04af correct sourceMappingURL which gets rid of error message, fixes #114 2018-07-08 23:23:49 +02:00
azivner f1412b631d hide log polluting error message 2018-07-08 23:13:56 +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 f07033423c ckeditor upgraded to 10.1.0 plus new plugins (table, strikethrough, underline) 2018-07-08 21:21:52 +02:00
azivner b2c9a0da21 fix note sources, fixes #123 2018-07-04 20:37:23 +02:00
azivner 7a9542b4fc release 0.16.0 2018-06-16 13:34:39 -04:00
azivner 3a95c9e1bc all dialogs are now non-modal because of high cpu usage 2018-06-16 13:31:56 -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 c1b245c8b1 fix unnecessary change events, closes #118 2018-06-10 11:51:13 -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 bc77b143b0 darker outlines so inverted dark themes are more visible 2018-06-09 09:48:18 -04:00
azivner 9f0ff6ae7a note actions dropdown sizing 2018-06-09 09:44:40 -04:00
azivner 736704c7d6 fix show paths 2018-06-09 09:32:13 -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 378e8f35e5 release 0.15.0 2018-06-07 23:09:21 -04:00
azivner bdb5e2f13f no results also for "add link" 2018-06-07 23:08:41 -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 385144451b renamed hideInAutocomplete label to archived 2018-06-07 19:26:28 -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 0e69f0c079 fix recent notes issues 2018-06-06 22:38:36 -04:00
azivner aee60c444f added "show results in full text" 2018-06-05 23:28:10 -04:00
azivner e7a504c66b fixes and optimizations for search 2018-06-05 22:47:47 -04:00
azivner 45d9c7164c search refactorings 2018-06-05 19:12:52 -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 083cccea28 better protected/unprotected note indicator, fixes #110 2018-06-02 11:47:16 -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 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 8bf4633cd0 fixes 2018-05-30 23:18:56 -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 be51e533fc OPML import support (issue #78) 2018-05-29 20:32:13 -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 a30734f1bc Add history backwards/forwards buttons, fixes #94 2018-05-26 22:54:06 -04:00
azivner 7ad9f7b129 fixed layouting issues 2018-05-26 19:58:08 -04:00
azivner 40a32e6826 render notes can be edited and can contain HTML markup 2018-05-26 19:27:47 -04:00
azivner ab0486aaf1 expose root node, fixes #101 2018-05-26 16:16:34 -04:00
azivner 874593a167 fix code editor growing 2018-05-26 15:28:36 -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 0ce5caefe8 refactoring 2018-05-22 22:22:15 -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 e8d089e37e ckeditor 10.0.0 2018-05-21 19:35:49 -04:00
azivner a931ce25fa attempt to fix the hoek security warning with package upgrade 2018-05-21 16:08:34 -04:00
azivner b507abb4f7 electron upgrade to 2.0.0 2018-05-08 16:39:01 -04:00
azivner 66e7c6de62 fix ordering 2018-04-21 12:23:35 -04:00
azivner 4ce5ea9886 autocomplete supports encrypted notes now as well 2018-04-20 00:12:01 -04:00
azivner 8c54b62f07 fix protect branch 2018-04-19 22:18:19 -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 df93cb09da fix hide-toggle 2018-04-18 23:13:37 -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 5af0ba1fcb layout fixes 2018-04-17 20:04:27 -04:00
azivner 85a9748291 fix for clones & optimizations 2018-04-16 23:34:56 -04:00
azivner b4005a7ffe optimizations to the lazy loading - expanding tree now takes only one request 2018-04-16 23:13:33 -04:00
azivner 82de1c88d4 basic lazy loading of tree now works, still WIP 2018-04-16 20:40:18 -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 66cee8daa4 restructuring CSS grid/flex which fixes jumpy scrolling in tree 2018-04-13 19:58:33 -04:00
azivner afd7df0942 fix collapse tree button 2018-04-13 19:22:12 -04:00
azivner bd6ae33d32 fancytree upgrade to 2.28.1 2018-04-12 20:42:12 -04:00
azivner 70660a0d68 Merge branch 'stable' 2018-04-12 20:04:01 -04:00
azivner cdad18551a upgrade CKEditor to 1.0 beta.2, fixes #93 2018-04-12 20:03:23 -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 7a94e21c54 tabindex 2 for text and code editor so that tabbing from title leads to editor focus 2018-04-11 22:44:33 -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 3d15450ffc children overview styling 2018-04-10 21:08:00 -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 f4079604c9 basic implementation of children overview, closes #80 2018-04-08 22:38:52 -04:00
azivner 1f96a6beab export & import work correctly with clones 2018-04-08 13:14:30 -04:00
azivner b277a250e5 protected notes are not in autocomplete when not in protected session, fixes #46 2018-04-08 12:27:10 -04:00
azivner 5b0e1a644d codemirror now doesn't hijack alt-left/right, fixes #86 2018-04-08 12:17:42 -04:00
azivner 6bb3cfa9a3 note revisions for code is now properly formatted, fixes #97 2018-04-08 12:13:52 -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 542e82ee5d upgraded uncompressed jquery 2018-04-08 09:40:28 -04:00
azivner 0104b19502 naming standards 2018-04-08 09:25:35 -04:00
azivner 120888b53e fix JSON saving bug 2018-04-08 08:31:19 -04:00
azivner d2e2caed62 refactoring of note saving code & API 2018-04-08 08:21:49 -04:00
azivner 6128bb4ff3 fix showMessage, showError 2018-04-08 07:48:47 -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 08af4a0465 fix code mirror loading 2018-04-07 15:56:46 -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 39dc0f71b4 fix execute note 2018-04-06 19:41:48 -04:00
azivner 0cef5c6b8c added showMessage/showError to script api as they are being used 2018-04-06 19:08:42 -04:00
azivner 9b5a44cef4 fix bugs 2018-04-06 18:49:37 -04:00
azivner 29769ed91d fix force note sync 2018-04-06 18:46:29 -04:00
azivner fdd8458336 fix sync branch route 2018-04-05 23:45:39 -04:00
azivner a0bec22e96 fix non-200 logging 2018-04-05 23:35:49 -04:00
azivner 5aeb5cd214 jquery upgrade to 3.3.1 2018-04-05 23:18:15 -04:00
azivner e827ddffb9 electron fixes 2018-04-05 23:17:19 -04:00
azivner 98f80998b9 fix electron build 2018-04-05 19:29:27 -04:00
azivner 84faf32b98 updated scripts 2018-04-04 23:55:19 -04:00
azivner 6ed6e27602 startup script running fix 2018-04-04 23:51:47 -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 a066c6fe2b changes in API format 2018-04-01 20:33:10 -04:00
azivner 311952d4dd renamed settings to options for consistency 2018-04-01 17:41:28 -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 795d50f02e converted of web (non-api) routes, basic conversion completed 2018-03-30 19:31:22 -04:00
azivner cfe0ae1eda converted file, script, search and sender routes 2018-03-30 17:29:13 -04:00
azivner aa57a64c61 converted image and maintainance routes 2018-03-30 17:07:41 -04:00
azivner e36a81e189 converted export/import notes 2018-03-30 15:34:07 -04:00
azivner 88c07a9e48 converted sync route 2018-03-30 14:27:41 -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 b10b0048f3 split out library loader 2018-03-27 22:42:46 -04:00
azivner 9bb188b519 fix unnecessary popups about leaving the page 2018-03-27 22:27:46 -04:00
azivner 7464835058 renamed "attachment" to "file" for consistency 2018-03-27 22:11:06 -04:00
azivner 913b6bb6f6 abstracted note detail components 2018-03-27 21:46:38 -04:00
azivner 000cf99546 split out render and search from note detail service 2018-03-27 21:36:01 -04:00
azivner c918267750 separated attachments out of note detail 2018-03-27 00:27:38 -04:00
azivner 68921ee59b separated text and code handling out of note detail service 2018-03-27 00:22:02 -04:00
azivner 7e856283ee some refactorings of note detail service 2018-03-26 23:48:45 -04:00
azivner 9c1b8da573 split out keybindings out of tree service 2018-03-26 23:25:54 -04:00
azivner cb39b9cca8 split out tree_builder 2018-03-26 23:18:50 -04:00
azivner 788ac43ad1 further refactorings, got rid of init.js 2018-03-26 22:29:14 -04:00
azivner 57d19f3302 refactored moving note in the tree 2018-03-26 22:11:45 -04:00
azivner 68bba623b6 split up autocomplete related functionality 2018-03-26 21:50:47 -04:00
azivner 35998058ce introduced NoteFull entity, fixes 2018-03-25 23:25:17 -04:00
azivner cdf94181d2 got rid of instanceName in tree service 2018-03-25 22:56:23 -04:00
azivner 91ee90d827 cleanup in tree service 2018-03-25 22:37:02 -04:00
azivner d3316cd09c reduced dependencies of utils 2018-03-25 21:29:35 -04:00
azivner ac1b06967f decoupled protected session holder from presentation stuff and similar things 2018-03-25 21:16:57 -04:00
azivner 47eb1e3e02 refactored all mentions of "history" to "revision" 2018-03-25 20:52:38 -04:00
azivner a69d8737ce fixed image upload and eslint 2018-03-25 20:18:08 -04:00
azivner 341f47f0f2 moved dialog entrypoints into bootstrap, fixes 2018-03-25 19:49:33 -04:00
azivner 19c605a9a8 labels have now alt-l shortcut to correspond with the renaming 2018-03-25 15:47:31 -04:00
azivner 54e4f54678 all access to notes and branches is now async so we can lazy load it in the future 2018-03-25 14:49:20 -04:00
azivner 297a2cd9da renamed service variables to conform to new naming scheme 2018-03-25 13:41:29 -04:00
azivner d746d707b5 unblocking infinite cycle 2018-03-25 13:13:26 -04:00
azivner 299252b650 making WS connection asynchronous to not block module registration 2018-03-25 13:08:58 -04:00
azivner fddd1c278f moved services into the service directory 2018-03-25 13:02:39 -04:00
azivner f52d7e3c28 split tree_cache and entities from note_tree 2018-03-25 12:29:00 -04:00
azivner a699210a29 using ES6 modules for whole frontend SPA app 2018-03-25 11:09:17 -04:00
azivner b3c32a39e9 fix for moving the notes 2018-03-25 10:06:14 -04:00
azivner df27533b66 fixes after refactorings 2018-03-25 00:20:55 -04:00
azivner b96a1274c5 all JS functions are now inside old-school JS modules, preparation for ES6 modularization 2018-03-24 23:58:58 -04:00
azivner 001a5107dd ScriptApi separated from ScriptContext, preparation for modularisation 2018-03-24 23:45:36 -04:00
azivner c8e456cdb1 refactoring utils into module 2018-03-24 23:37:55 -04:00
azivner 0f6b00e1c8 fixes after refactoring, base functionality works again 2018-03-24 23:00:12 -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 511fb89af0 WIP refactoring of data structures in note tree 2018-03-24 20:41:27 -04:00
azivner 7e524c0cd1 removed some warnings in idea 2018-03-24 12:52:58 -04:00