Commit Graph

262 Commits (code_formatting)

Author SHA1 Message Date
zadam eaab82551f API migration to remove deprecated calls 2023-02-17 23:23:53 +07:00
zadam 6f7b554cdc preparing 0.59 without ocr/pdf, userguide, note ancillaries 2023-02-17 14:49:45 +07:00
zadam 37ba76fdd8 refactored note attachment into note ancillary 2023-01-28 13:13:46 +07:00
zadam 3c57f08ef7 added checksum to note_attachment 2023-01-24 16:55:48 +07:00
zadam 2e9dbda077 Merge remote-tracking branch 'origin/master' into dev
# Conflicts:
#	package.json
2023-01-24 09:20:15 +07:00
zadam 8a33645360 migrating canvas etc. 2023-01-23 16:57:28 +07:00
zadam 339d8a7378 initial implementation of note attachments 2023-01-22 23:36:05 +07:00
zadam a3149aecf4 fix migration for DBs which did not have _hidden tree created, closes #3536 2023-01-17 23:13:21 +07:00
zadam 2a2cbcd68b fix duplicate unique key in migration, #3526 2023-01-14 22:57:39 +07:00
zadam e7b3c3239b fix migration of bookmarks to also migrate bookmarkFolder #3514 2023-01-13 08:43:18 +07:00
zadam ff1f01be8c erase deleted notes in the migration 2022-12-28 12:58:53 +07:00
zadam 0ddaa8f5c2 migration fixes 2022-12-27 21:17:40 +07:00
zadam c177d2b97b fix migration 2022-12-27 14:52:32 +07:00
zadam 0758c82983 hidden subtree is now built as "predictable" to avoid duplicating it in sync 2022-12-27 14:44:28 +07:00
zadam f08fbf7bca fix migration 2022-12-24 21:25:34 +07:00
zadam b6f7c604c7 fix share migration 2022-12-24 12:54:17 +07:00
zadam c5fb2cccd5 fix bookmark's ID 2022-12-24 12:26:32 +07:00
zadam bff33932d9 fix migration to not rely on branchId 2022-12-24 07:17:22 +07:00
zadam 1a1fb126c1 randomize existing fixed branchIds so it's clear they should not be relied upon 2022-12-23 20:55:37 +07:00
zadam 5c4db266a4 code should not rely on fixed branch IDs since they can change after move 2022-12-23 20:40:58 +07:00
zadam 0441e7396a small fixes 2022-12-23 15:07:48 +07:00
zadam a882ad41c5 small fixes 2022-12-22 21:01:52 +07:00
zadam e05e4bec32 fix old migration to avoid unique constraints problems, closes #3447 2022-12-22 15:11:20 +07:00
zadam 724f99f17c add prefix "_" to "named" IDs 2022-12-21 16:11:00 +07:00
zadam 7c6d67f1ad migration comments 2022-12-19 23:49:41 +07:00
zadam d34a0a9fc0 hidden subtree is not archived anymore 2022-12-16 16:00:49 +07:00
zadam 195c6a4089 backend log improvements 2022-12-15 16:38:05 +07:00
zadam dfb462cf35 introduced new exception classes for structured error reporting 2022-12-09 16:13:22 +07:00
zadam 73eb585398 fixed migrations 2022-12-08 13:45:56 +07:00
zadam 5fc9f5f3f9 improvements 2022-12-06 23:48:44 +07:00
zadam b9632a7814 rename note types to camelCase 2022-12-06 23:01:42 +07:00
zadam d3bf0c1d8e bookmark migration 2022-12-04 20:05:18 +07:00
zadam 6883b71ce7 shortcut improvements 2022-11-25 15:29:57 +07:00
zadam c92b451033 cleanup of hidden notes 2022-11-06 15:18:32 +07:00
zadam 3122d0cc6b move share root to hidden subtree 2022-11-06 14:44:26 +07:00
zadam 06e6fec4ca increment db and sync version due to new note type 2022-10-23 21:16:15 +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 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 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 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 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 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 a1ca538106 excludeFromTreeMap generalized to excludeFromNoteMap 2021-10-03 11:04:56 +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 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 274cf7312c refactored TabContext => NoteContext 2021-05-22 12:26:45 +07:00
zadam 2030c8e995 fallback value for isErased for 0173 migration, #1937 2021-05-14 21:52:14 +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 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 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 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 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 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