Commit graph

278 commits

Author SHA1 Message Date
zadam b4c6d9f800 using now session cookies to store protectedSessionId 2019-03-13 21:53:09 +01:00
zadam 1c41d459f0 renamed dates in code as well 2019-03-12 20:58:31 +01:00
zadam ecbaffa5f3 return focus back to note detail after quitting add link dialog 2019-03-07 20:45:32 +01:00
zadam 8b3e721028 added "explodeArchives" option to the import dialog 2019-02-25 22:38:48 +01:00
zadam 7e2a2baa5d drag & drop now uses import code 2019-02-25 22:28:15 +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 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 2a2319d434 created note info dialog, closes #408 2019-02-14 20:56:33 +01:00
zadam dad47d115f fixes for SQL console schema view 2019-02-13 23:27:00 +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 5baa251944 more changes to import reporting through WS 2019-02-10 16:59:50 +01:00
zadam cde68abec9 progress of tar import through WS 2019-02-10 16:36:25 +01:00
zadam 51175e3676 import/export refactorign 2019-02-10 15:33:56 +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 c487a95bc7 note content refactoring, WIP 2019-02-06 21:29:23 +01:00
zadam 707df18b93 added type and mime classes on body as well #383 2019-01-28 21:42:37 +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 b39f6ef7ad bug fixes for custom handlers 2019-01-27 15:47:40 +01:00
azivner 2797c942ab changes to options dialog to allow configuring font size, closes #326 2019-01-13 22:03:06 +01:00
azivner 0b251530fa open recent notes autocomplete by focus so it is then closed with blur, fixes #272 2019-01-10 21:04:06 +01:00
azivner 9de29584a4 added data directory to options -> about 2019-01-02 20:08:41 +01:00
azivner 0a35abf68f refresh note detail view after attribute save (from full dialog, not promoted notes), closes #261 2018-12-30 15:21:53 +01:00
azivner 3f8e8f8561 fix saving branch prefix, fixes #260 2018-12-29 10:35:44 +01:00
azivner d4db265fd9 non-modal protected session password form is now done separately as a kind of detail component. Also reworked branch prefix dialog input 2018-12-27 20:04:59 +01:00
azivner ba7c8e77e5 add support for number precision in promoted attributes, closes #245 2018-11-30 17:36:41 +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 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 30249a353e renamed "mirror" relation to "inverse" relation 2018-11-19 12:07:33 +01:00
azivner 8e16cc2326 fix prompt mutability (autocomplete on answer input field) 2018-11-18 23:31:31 +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 5b9a1ef0e9 import/export logic refactored into separate files per format, closes #237 2018-11-16 12:12:04 +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 19a07c699c added BS dialog for confirm 2018-11-14 19:03:55 +01:00
azivner a334f08782 refactorings in relation map related to noteId handling and storage 2018-11-14 14:52:05 +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 144e814b02 added relation name autocomplete to relation map connection creation 2018-11-13 10:42:55 +01:00
azivner 8dc32e581e refactored attribute autocompletes into separate service 2018-11-13 10:25:59 +01:00
azivner 21d3b0c9d8 implemented mirror relations 2018-11-12 23:34:22 +01:00
azivner e7cea59ba7 fixes for relation map rendering 2018-11-12 21:18:22 +01:00
azivner 2523f81f3b bootstrap backed replacements for JS prompt and alert 2018-11-12 20:17:48 +01:00
azivner c5113eb292 fix options dialog which used jquery tabs 2018-11-09 12:13:51 +01:00
azivner 6416e3e9fb refactored attributes out of note detail, fixes #213 2018-11-08 20:01:25 +01:00
azivner 3ba761fe28 refactored import markdown dialog into separate file, fixes #206 2018-11-08 19:42:57 +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 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 24a1838b13 bootstrap 4 upgrade 2018-11-05 21:12:03 +01:00
azivner 3af27845b5 report missing sync configuration when clicking on Test sync 2018-09-11 10:09:55 +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 1ece9b71ec fix inserting current timestamp into editor 2018-08-29 20:22:57 +02:00
azivner 7ae2a24770 use relations to pick note to render, fixes #141 2018-08-28 20:55:21 +02:00
azivner d31a136442 mini refactoring 2018-08-28 14:26:11 +02:00
azivner f5b89432a6 frontend script API documentation 2018-08-23 12:55:45 +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 1938c317c3 fix relation definition in dialog 2018-08-20 10:04:26 +02:00
azivner a5e56ea839 display a message if there's no recent change 2018-08-18 15:21:44 +02:00
azivner 44f85224e7 added new label type URL with open button, fixes #156 2018-08-18 15:00:52 +02:00
azivner 406d74c4d7 initial focus on attribute type instead of name 2018-08-18 14:49:25 +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 dbe0eb3f3a fix attribute name autocomplete, no tooltip preview on path selection 2018-08-15 18:22:02 +02:00
azivner 510704a074 help buttons and existing custom HTML attribute refactoring to data-* 2018-08-15 10:14:14 +02:00
azivner 936d8449f6 fix & unify "show recent notes" buttons 2018-08-14 17:36:39 +02:00
azivner f071d3f651 fix validation issue + attribute not triggering change event on delete 2018-08-13 09:39:07 +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 21551d7b77 implemented date promoted attribute 2018-08-06 15:58:59 +02:00
azivner 49989695ff fix relations in attributes 2018-08-06 11:30:37 +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 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 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 37ab7b4641 #98, sync to server now works as well + a lot of related changes 2018-07-24 20:35:03 +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 b2c9a0da21 fix note sources, fixes #123 2018-07-04 20:37:23 +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 b255cf190c fixes for zoom factor setting 2018-06-09 10:34:51 -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 bdb5e2f13f no results also for "add link" 2018-06-07 23:08:41 -04:00
azivner b243632483 usability improvements to autocomplete ("no results" etc.), needs refactoring 2018-06-07 20:18:46 -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 03bf33630e unify audit fields, fixes #102 2018-05-26 12:38:25 -04:00
azivner 1a737f7d19 expose add link on UI, fixes #95 2018-05-26 10:04:40 -04:00
azivner 85eb50ed0f autocomplete with prefixes 2018-04-19 20:59:44 -04:00
azivner 7b9b4fbb0c backend autocomplete WIP 2018-04-18 00:26:42 -04:00
azivner cdad18551a upgrade CKEditor to 1.0 beta.2, fixes #93 2018-04-12 20:03:23 -04:00
azivner 6bb3cfa9a3 note revisions for code is now properly formatted, fixes #97 2018-04-08 12:13:52 -04:00
azivner 2cdcb3af12 camel casing and fixes 2018-04-04 23:04:31 -04:00
azivner abfc64af95 script to generate large documents, closes #55 2018-04-03 22:15:28 -04:00
azivner c6c76ba360 option names now follow camelCase 2018-04-02 21:47: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 acc82f39c4 smaller refactorings continued 2018-04-01 11:42:12 -04:00
azivner c9d73c6115 renamed outstanding attribute references to labels 2018-04-01 09:59:44 -04:00
azivner 9edee9340b converted settings, note revisions, password change and recent changes routes 2018-03-30 13:56:46 -04:00
azivner b10b0048f3 split out library loader 2018-03-27 22:42:46 -04:00
azivner 788ac43ad1 further refactorings, got rid of init.js 2018-03-26 22:29:14 -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 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 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 fddd1c278f moved services into the service directory 2018-03-25 13:02:39 -04:00
azivner a699210a29 using ES6 modules for whole frontend SPA app 2018-03-25 11:09:17 -04:00