Commit Graph

402 Commits (code_formatting)

Author SHA1 Message Date
zadam 3122d0cc6b move share root to hidden subtree 2022-11-06 14:44:26 +07:00
zadam 7d732eb73b fix deleting note from task manager, closes #3239 2022-10-26 19:14:49 +07:00
zadam 06e6fec4ca increment db and sync version due to new note type 2022-10-23 21:16:15 +07:00
zadam 9f744153e3 fix TODO script example 2022-09-22 00:00:32 +07:00
zadam 6c39b6f548 fix "excludeFromNoteMap" on journal instead of "excludeFromTreeMap" 2022-09-15 00:04:26 +07:00
zadam 28f620d51d update demo document, closes #3061 2022-08-14 15:05:10 +07:00
zadam edff1be16d added 197 NOOP migration to make sure the old versions don't attempt to process protected notes with 16 byte IV 2022-08-01 22:28:02 +07:00
zadam 6b3077df0e fixed git graph demo to work with latest mermaid 2022-06-19 21:19:58 +07:00
zadam 046db503d3 added excalidraw to the demo document 2022-06-19 14:27:25 +07:00
zadam 08e12e7349 no need to create template relation if there is already one owned 2022-06-19 14:06:00 +07:00
zadam 433003cf38 fix migration 2022-06-05 22:50:02 +07:00
zadam 773cefe21d refactorings of search actions to bulk actions 2022-06-05 22:46:37 +07:00
zadam bbbad67764 remove recent notes from entity changes migration, #2842 2022-05-10 23:42:28 +07:00
zadam f9c01851ef fix missing closing div tag in word count demo widget, closes #2829 2022-05-01 22:47:26 +07:00
zadam 4933b901f6 Merge remote-tracking branch 'origin/stable' 2022-01-14 21:53:00 +07:00
zadam c102089731 migration workaround for corrupted index in entity_changes table, closes #2534 2022-01-14 19:44:23 +07:00
zadam d4325db207 revised demo document 2022-01-13 20:02:07 +07:00
zadam 48d93cb3da added custom resource handler to the demo document 2022-01-12 21:24:59 +07:00
zadam 2248d98cc7 using 201 for created entities in etapi 2022-01-12 21:14:12 +07:00
zadam 28df5d4aa2 etapi improvements and more tests 2022-01-12 19:32:23 +07:00
zadam 42e85aefdc sync fixes 2022-01-10 21:24:07 +07:00
zadam 91dec23d5e ETAPI auth, spec improvements etc. 2022-01-10 17:09:20 +07:00
zadam 2d2641dbd7 sync fixes 2022-01-09 21:25:15 +07:00
zadam 96f4230bc1 Merge branch 'master' into next50
# Conflicts:
#	src/public/app/widgets/containers/root_container.js
#	src/services/app_info.js
2022-01-09 20:18:30 +07:00
zadam 1995b54770 fix migration to preserve IDs in entity_changes 2022-01-09 20:17:27 +07:00
zadam 7159b13c9d add memberId to entity_changes to avoid having to resend all changes second time 2022-01-09 20:16:39 +07:00
zadam 9df521109b fix migration to handle duplicates in entity_changes, #2534 2022-01-08 22:43:34 +07:00
zadam 75b65c396e fix migration to handle duplicates in entity_changes, #2534 2022-01-08 22:31:52 +07:00
zadam 9ee1c9f3da ETAPI delete/patch, refactoring 2022-01-07 19:33:59 +07:00
zadam e6f3cc7988 fix migration from 0.47, closes #2514 2022-01-05 20:21:24 +07:00
zadam f92016f9ec set password from web trilium 2021-12-29 23:37:12 +07:00
zadam bc9903191e fix migration script 2021-12-22 13:14:50 +07:00
zadam e7faebfac3 sharing WIP 2021-12-21 16:12:59 +07:00
zadam 42b5437c87 fix setup new document, closes #2368 2021-11-21 13:44:52 +07:00
zadam e36bc42519 added changeId into entity_changes to have cross-sync change ID 2021-11-18 22:33:08 +07:00
zadam 15ac81627c DB cleanup migration 2021-11-18 21:52:56 +07:00
zadam ba676587df fix importing notePosition of directories 2021-10-08 22:31:35 +07:00
zadam a08690b123 CKEditor 30 content styles 2021-10-08 18:17:17 +07:00
zadam 79f54b4e97 inactive tab background tweaks 2021-10-08 18:09:24 +07:00
zadam fa40a5f496 fixed demo document + added bookmarks 2021-10-08 15:48:15 +07:00
zadam a1ca538106 excludeFromTreeMap generalized to excludeFromNoteMap 2021-10-03 11:04:56 +07:00
zadam 831de3ffed fix mermaid diagram size 2021-09-30 13:48:01 +07:00
zadam 291b434d70 added mermaid samples to demo document 2021-09-30 13:17:37 +07:00
zadam 0264e847ef fixes 2021-09-28 10:58:34 +07:00
zadam c5917bfc78 fix "steel blue" demo theme 2021-09-28 10:02:25 +07:00
zadam 113bebed3b switching themes via loading only specific CSS 2021-09-26 15:24:37 +07:00
zadam 2fcb0c05c0 added grey icon for the dark mode 2021-09-25 21:58:15 +07:00
zadam a2baa9bdb3 excludeFromTreeMap in demo document 2021-09-23 22:54:37 +07:00
zadam fd00f6bd97 removed older migrations since they don't work anyway (after becca refactoring) 2021-09-23 22:09:11 +07:00
zadam b041d081db added migration to add excludeFromTreeMap for journal subtrees 2021-09-23 22:08:23 +07:00
zadam b381331029 refactoring of date notes route 2021-07-24 11:28:47 +07:00
zadam 6a1287a3de fixes in the demo document 2021-07-23 14:53:31 +07:00
zadam 0351d7eff1 keyboard shortcuts for ribbon tabs 2021-06-27 12:53:05 +07:00
zadam 9e1c9782ff use MontserratLight also for setup 2021-06-26 23:20:12 +07:00
zadam b2148f4a18 updated demo document with adjusted steel blue theme 2021-06-26 23:10:03 +07:00
zadam 2bfd7b844c refactoring of pane => split, "pane" keeps its old meaning (left-pane, center-pane, right-pane) 2021-06-03 22:23:11 +07:00
zadam 7ed816f1b2 dark theme tweaks 2021-06-02 21:39:18 +07:00
zadam 1302765478 added sidebar toggle button 2021-05-22 21:35:25 +07:00
zadam 274cf7312c refactored TabContext => NoteContext 2021-05-22 12:26:45 +07:00
zadam 9645a07f2f Merge remote-tracking branch 'origin/stable' into next
# Conflicts:
#	package-lock.json
#	package.json
2021-05-15 22:45:11 +07:00
zadam 2030c8e995 fallback value for isErased for 0173 migration, #1937 2021-05-14 21:52:14 +07:00
zadam e257634ccf becca conversion WIP 2021-05-02 22:47:57 +07:00
zadam 8d8d654fe8 becca entities enriched with functionality from repository entities 2021-04-25 20:00:42 +07:00
zadam 926e9e12c0 Merge remote-tracking branch 'origin/stable'
# Conflicts:
#	package-lock.json
#	package.json
2021-04-05 11:44:42 +07:00
zadam 41cce4dcb9 improved task manager with allowed year range, #1823 2021-04-04 23:57:55 +07:00
zadam cd3f8a41af removed (112) migrations originating before first public release (0.20 in Sept 2018) 2021-03-14 20:37:35 +07:00
zadam 5542c9dc57 fixed saved note migration - need to be migrated as last, #1647 2021-02-16 21:40:17 +07:00
zadam 5e6d2c8336 db migration fix 2021-02-12 23:52:16 +07:00
zadam d45a59aa4e sync fixes 2021-02-12 23:30:11 +07:00
zadam 9f19cf8046 don't sync recent_notes 2021-02-12 22:39:38 +07:00
zadam 3d7beefad0 sync fixes 2021-02-11 22:50:32 +07:00
zadam 8850de51f5 sync fixes 2021-02-10 22:56:23 +07:00
zadam 3a94b04ef4 quick search impl finished 2021-02-01 23:51:04 +07:00
zadam 6068bd7c44 added note properties widget 2021-01-31 12:15:36 +07:00
zadam eb1a6b78ff updated schema 2021-01-30 22:17:29 +07:00
zadam 60d000b9cb VACUUM for migration 2021-01-30 22:12:38 +07:00
zadam 61ddd8afc6 small fixes to migration scripts 2021-01-30 22:00:09 +07:00
zadam cdc2721ac1 DB migration fixes 2020-12-16 20:58:43 +07:00
zadam 4a15127e58 removal of isErased from old entities 2020-12-16 15:05:36 +07:00
zadam 1b0bb22273 drop isDeleted index 2020-12-15 15:30:46 +07:00
zadam c949dcb449 fixes and optimizations 2020-12-14 22:12:26 +07:00
zadam 8b99f065d5 fixes of recent entity changes 2020-12-14 14:17:51 +07:00
zadam 248fa780e8 erasing rows of deleted entities 2020-12-14 13:47:33 +07:00
zadam 20c7c657da moving isErased into entity_changes 2020-12-14 13:15:32 +07:00
zadam 5098dda376 load initial tree from note cache 2020-12-11 22:06:12 +07:00
zadam 8f1b2fa226 move entity hash to entity_changes table 2020-12-10 22:53:52 +07:00
zadam 7f3ef2cb8b move entity hash to entity_changes table WIP 2020-12-07 23:04:17 +07:00
zadam a68c61b2f0 improvements to saved search 2020-11-30 23:20:12 +07:00
zadam 52b8162d01 WIP per-tab hoisting 2020-11-23 22:52:48 +07:00
zadam 4eb9ca7b46 fix demo document word count widget with contain: none 2020-10-10 21:08:28 +07:00
zadam 91a2bb9b26 fixed demo document - restored more up to date version + largest notes stats 2020-10-06 22:25:28 +07:00
zadam 32d609e796 fix largest notes script, #1291 2020-10-06 20:58:14 +07:00
zadam 71894c34aa fix migration so that only really changed notes are updated, #1254 2020-10-03 20:51:14 +07:00
zadam 8f68b4f298 make migration more robust, fixes #1271 2020-09-26 23:25:35 +07:00
zadam 5f6dd18489 added migration to fix notePosition to always step in 10 increments 2020-09-23 23:08:58 +07:00
zadam 2f720df9d2 migration to convert H1 to H2, #1240 2020-09-16 20:51:57 +07:00
zadam 69e36d2677 refactoring for archived notes handling in note cache 2020-09-07 00:05:01 +07:00
zadam 81207f3d27 updated demo document with scripts adjusted to syncified DB access 2020-08-29 23:33:15 +07:00
zadam 4cd1a0ee7d fix note cache for out of order synced entities 2020-08-27 22:37:57 +07:00
zadam b7b13c1d8b make migration more robust for cases where attribute definitions don't contain valid values, closes #1207 2020-08-27 12:44:49 +07:00
zadam 7335844ae3 updated DB schmea 2020-08-18 22:37:23 +07:00
zadam 53b39e2e82 many changes related to #1192:
- use CSS contain wherever possible to reduce subtrees of forced reflows
- reduced dependency between note and note_contents updates which will reduce number of updates to components
- optimization of "many rows" querying
2020-08-16 22:57:48 +07:00
zadam c2789bf355 use relative paths for fonts in steel blue in demo document, closes #1187 2020-08-14 21:04:18 +07:00
zadam e663d7da1b updated schema for entity_changes table 2020-08-09 22:44:53 +07:00
zadam 864271d5ef refactored "sync" table to "entity_changes" 2020-08-02 23:27:48 +07:00
zadam 5ca3e9a0bc fixed db migrations after merge from stable 2020-08-02 20:44:46 +07:00
zadam f4a4e746bf Merge remote-tracking branch 'origin/stable'
# Conflicts:
#	libraries/ckeditor/ckeditor.js.map
#	package.json
#	src/routes/api/login.js
#	src/routes/api/sync.js
#	src/routes/index.js
#	src/services/app_info.js
#	src/services/sync.js
2020-08-02 20:41:22 +07:00
zadam 3582013a33 import of initial demo document sets sync.isSynced incorrectly to always 0, #1163 2020-07-31 00:07:38 +07:00
zadam df69b1d8dd attr detail handles label/relation definition updates 2020-07-18 23:45:28 +07:00
zadam 18749092ff sql_init/migration fixes 2020-07-02 22:57:17 +07:00
zadam 3e189d5c10 fixes 2020-07-01 23:50:33 +07:00
zadam 5e18e7dc67 html sanitize imported notes, #1137 2020-06-30 23:37:06 +07:00
zadam 22302e8200 attrs WIP 2020-06-21 23:41:51 +07:00
zadam 6ba2e5cf73 add word count widget to the demo document (plus cleanup of external links) 2020-06-14 16:29:29 +07:00
zadam 44d641617e fix relation map in demo document 2020-04-08 22:09:32 +07:00
zadam c063f75f48 fix ZIP import of notes with included note 2020-04-06 22:46:11 +07:00
zadam f8bd6183bf fix default document 2020-03-29 18:53:32 +07:00
zadam c4bc53da59 updates to the demo document 2020-03-26 22:22:18 +07:00
zadam c4e5b35187 changed demo.tar to demo.zip 2020-03-26 17:05:17 +07:00
zadam f5e27278ab fix migration script to preserve sync IDs 2020-03-15 11:19:30 +07:00
zadam da53c1eaa8 updated schema.sql 2020-03-09 21:23:11 +07:00
zadam 73bf2dcb02 added isSynced to sync table to allow forward compatibility with 0.41 2020-03-09 20:56:43 +07:00
zadam 1690248e24 migration script to fix contentLength = -1 in new notes 2020-01-19 09:08:33 +07:00
zadam 1cd2711097 Merge branch 'stable' 2020-01-05 20:02:19 +07:00
zadam f377a84fa1 hide/show button z-index tweak 2020-01-04 09:21:42 +07:00
zadam c1d0a1e07b undelete note WIP 2020-01-03 10:48:36 +07:00
zadam f3a29b55ba remove @child🧒sorted label from calendar root in demo document since currently @sorted is added automatically in the code, closes #799 2020-01-01 20:58:59 +07:00
zadam 9c4a976342 added some statistic scripts to demo document 2019-12-28 21:52:35 +07:00
zadam 73c8d145fa tar export fixes + added code block example to the demo document 2019-12-25 11:56:55 +07:00
zadam a37b9cfc7b steel blue tweaks in demo document 2019-12-21 15:48:36 +07:00
zadam 76f5736255 update demo document 2019-12-10 23:08:50 +07:00
zadam 7ef2e7769f added index to source_ids 2019-12-01 14:39:24 +07:00
zadam d57caee0d3 drop unnecessary indexes 2019-12-01 12:38:07 +07:00
zadam 420be6d8c6 fix demo document relation map and shortcuts before db initialization 2019-11-24 22:42:54 +07:00
zadam 540f9f933a update demo.tar with correct system links 2019-11-24 14:10:11 +07:00
zadam ff3f0ee0a0 Merge branch 'stable' 2019-11-23 23:07:07 +07:00
zadam e4bec265c1 system links (internal, image, relation map) should follow camelCase convention used for other attributes 2019-11-23 20:54:49 +07:00
zadam c8ba07a4ae fix migration script in case of not fully consistent database (missing note_contents for note). closes #717 2019-11-23 11:13:57 +07:00
zadam c5e040c4a4 updated demo document with icon classes 2019-11-16 09:57:19 +07:00
zadam c49c69f824 fix migration script 2019-11-12 21:32:35 +07:00
zadam 7bd1d8feb4 fix setting isErased after note migration 2019-11-11 23:37:46 +07:00
zadam 4ba7e74b58 fix note revision's isErased initial value after migration 2019-11-11 23:26:46 +07:00
zadam 4cda661c1b add move to dialog 2019-11-11 22:57:51 +07:00
zadam 9b24ae0600 erasing note revisions 2019-11-09 15:21:14 +07:00
zadam 7c7beb5502 added contentLength to note entity 2019-11-09 09:36:08 +07:00
zadam 894c888d87 including ckeditor mentions plugin for easy linking 2019-11-06 22:58:32 +07:00
zadam 2af86927b0 added flag for the erased notes 2019-11-01 22:09:51 +07:00
zadam 2e58e32112 note revision sync and other fixes 2019-11-01 20:00:56 +07:00
zadam 4e5e3e4675 note revisions changes WIP 2019-11-01 19:21:48 +07:00
zadam cf53cbf1dd moving out note revision content into separate table, refactoring, WIP 2019-10-31 21:58:34 +07:00