Commit graph

151 commits

Author SHA1 Message Date
zadam 7c7beb5502 added contentLength to note entity 2019-11-09 09:36:08 +01:00
zadam 712f67e983 uploading new image revisions, WIP 2019-11-08 22:34:30 +01:00
zadam b7b583ff04 use decryptString() 2019-11-02 07:50:23 +01:00
zadam 475fddeec1 fixes 2019-11-01 23:05:33 +01:00
zadam 2af86927b0 added flag for the erased notes 2019-11-01 22:09:51 +01:00
zadam 4e5e3e4675 note revisions changes WIP 2019-11-01 19:21:48 +01:00
zadam cf53cbf1dd moving out note revision content into separate table, refactoring, WIP 2019-10-31 21:58:34 +01:00
zadam 45ee959c11 date notes are now created with template relations 2019-09-07 21:40:18 +02:00
zadam 3bf8546d51 added getOwnedAttribute() without attr inheritance which can speed up bulk operations significantly 2019-09-07 20:43:59 +02:00
zadam faae11f070 template attributes don't need isInheritable flag to take effect 2019-09-07 11:00:15 +02:00
zadam 242bea236f removed link remnants 2019-08-27 21:24:31 +02:00
zadam 3cb421143f Link entity migrated to Attribute, WIP 2019-08-19 20:12:00 +02:00
zadam fd9b79e115 loading of custom widgets 2019-08-17 11:28:36 +02:00
zadam 1990c9399e removed FTS5 completely 2019-04-21 12:03:13 +02:00
zadam 4b934a4a81 fix sync / fulltext issue 2019-04-13 19:34:19 +02:00
zadam ae8f4ffbbe minor sync fix for fulltext 2019-04-11 21:44:35 +02:00
zadam 905eb303bc fix protected note switching 2019-03-28 21:17:40 +01:00
zadam 946dae72d9 implemented consistency check for note fulltext based on hashes 2019-03-27 21:27:29 +01:00
zadam 58f71c7300 some design explanations on special handling of content 2019-03-27 21:16:13 +01:00
zadam 29c60581a6 yet another refactoring of working with note's payload/content 2019-03-26 22:24:04 +01:00
zadam 33f2aaa650 note type context submenu now works end to end 2019-03-17 12:19:23 +01:00
zadam 0d0464549f notes are now created with correct local dates 2019-03-13 22:43:59 +01:00
zadam 1c41d459f0 renamed dates in code as well 2019-03-12 20:58:31 +01:00
zadam d25a1e3ed9 initial work on note fulltext (schema changes, updating...) 2019-03-10 17:02:23 +01:00
zadam c8e01d6cce pretty print JSON into note content 2019-03-05 20:44:50 +01:00
zadam 8414d97ffa improve logging a little bit 2019-02-27 22:15:52 +01:00
zadam 936f85c09e drag & drop multi file upload to note tree 2019-02-23 20:33:27 +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 8aa7e2d0a0 fixes in opml export and note content loading 2019-02-10 22:45:44 +01:00
zadam 4a093000be note content refactoring, WIP 2019-02-08 21:01:26 +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
azivner b115a7cf19 delete note through its entity instead of manually with SQL, closes #303 2019-01-13 00:24:51 +01:00
azivner 0722494d41 fix saving JSON note with invalid JSON (previously in such a case content was not updated), fixes #307 2019-01-09 23:36:17 +01:00
azivner 67019b3d6c added attributes to frontend entity model 2018-12-22 22:16:32 +01:00
azivner ddcb4a0e10 added another mime type for JS 2018-11-30 22:28:30 +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 be206872d1 changed export model to single metadata file per exported .tar 2018-11-25 22:09:52 +01:00
azivner 6749cbed1b added some consistency checks for links and attributes 2018-11-15 13:58:14 +01:00
azivner cfce744338 method name refactoring 2018-11-14 17:26:07 +01:00
azivner 0b85f87cb2 display mirror relations correctly on relation map 2018-11-13 12:50:08 +01:00
azivner d7afbe4059 saving image 2018-11-08 11:08:16 +01:00
azivner d0d2a7fe47 store images in notes, basic structure 2018-11-08 10:11:00 +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 639284fd85 changing title directly from relation map 2018-10-30 22:18:20 +01:00
azivner 9bdd4437f2 export single note as markdown, #166 2018-09-03 09:40:22 +02:00
azivner 792039227f cssClass is correctly filled for new note 2018-09-01 13:18:55 +02:00
azivner 174d4e67af fix encrypting new notes 2018-08-27 23:04:52 +02:00
azivner 26c06c9826 more API docs 2018-08-23 15:33:19 +02:00
azivner d4fbe28517 jsdoc comments on entities 2018-08-22 23:37:06 +02:00
azivner 171877ce08 renamed inheritAttributes to template 2018-08-21 12:52:11 +02:00
azivner 4f1e6ec70f note API additions 2018-08-21 12:50:43 +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 41a6e777ea attributes coming from inheritAttributes are inherited only if the inheritAttributes relation itself is inheritable 2018-08-14 13:02:17 +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 3424406ff1 script API changes for task management #140 2018-08-13 13:53:08 +02:00
azivner cd9eef32b0 support for cssClass label on note 2018-08-13 10:59:31 +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 1c0fd243d1 cleanup of labels and relations from backend 2018-08-07 13:33:10 +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 2d24bf81dd added new label "sorted" which will keep children notes alphabetically sorted, fixes #82 2018-08-01 09:26:02 +02:00
azivner 40a32e6826 render notes can be edited and can contain HTML markup 2018-05-26 19:27:47 -04:00
azivner 0ce5caefe8 refactoring 2018-05-22 22:22:15 -04:00
azivner 49a53f7a45 added hash columns for faster sync check calculation 2018-05-22 00:15:54 -04:00
azivner 4ce5ea9886 autocomplete supports encrypted notes now as well 2018-04-20 00:12:01 -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 b277a250e5 protected notes are not in autocomplete when not in protected session, fixes #46 2018-04-08 12:27:10 -04:00
azivner 120888b53e fix JSON saving bug 2018-04-08 08:31:19 -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 96dab5d51e smaller refactorings continued 2018-04-01 17:38:24 -04:00
azivner c9d73c6115 renamed outstanding attribute references to labels 2018-04-01 09:59:44 -04:00
azivner 12439d8761 refactoring of note deletion 2018-03-31 23:08:22 -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 05676f3459 removed dataKey where it's not necessary anymore (use of CLS instead) 2018-03-31 08:53:52 -04:00
azivner 35998058ce introduced NoteFull entity, fixes 2018-03-25 23:25:17 -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 8e95b080da fixed render notes 2018-03-07 00:17:18 -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 1c6fc9029f new "disable_inclusion" attribute 2018-03-04 22:09:51 -05:00
azivner ddce5c959e fix render 2018-03-04 21:05:14 -05:00
azivner d169f67901 changes in backend script running 2018-03-03 09:11:41 -05:00
azivner f4b57f4c57 Allow attachments to be included in the scripts, closes #66 2018-03-01 22:30:06 -05:00
azivner a555b6319c support for backend jobs and other script API changes 2018-02-24 14:42:52 -05:00
azivner fda4146150 correct handling of inclusion of dependencies 2018-02-18 10:47:02 -05:00
azivner e011b9ae63 deleting attributes, closes #34 2018-02-06 23:09:19 -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