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
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
f5e27278ab
fix migration script to preserve sync IDs
2020-03-15 11:19:30 +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
c1d0a1e07b
undelete note WIP
2020-01-03 10:48:36 +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
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
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
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
zadam
b16c2d19b6
duplicate (single) note
2019-10-19 12:36:16 +07:00
zadam
157bd3816d
add hideTabRowForOneTab if missing, fixes #660
2019-10-18 21:04:20 +07:00
zadam
c1e8a4b384
spell check support + small options tabs reorganization
2019-10-06 21:35:26 +07:00
zadam
d3f2b71803
calendar widget setup
2019-09-08 13:08:01 +07:00
zadam
b069436039
added "edited notes on date" widget
2019-09-07 10:11:59 +07:00
zadam
5d80df398b
removed event log
2019-09-02 20:30:28 +07:00
zadam
c8a5c71ec2
tweaks to similar notes + missing options init
2019-09-01 11:37:43 +07:00
zadam
7c60080772
basic implementation of "similar notes" widget
2019-09-01 08:58:13 +07:00
zadam
c8f59ea547
options UI for selecting support code note MIME types
2019-08-29 21:08:53 +07:00
zadam
f9abea83f3
refactoring of access to options in frontend
2019-08-22 23:31:02 +07:00
zadam
8ab2c924c4
widget ordering WIP
2019-08-22 20:58:43 +07:00
zadam
4b9415a619
widget config WIP
2019-08-21 23:16:13 +07:00
zadam
b818f020a7
option to configure if sidebar should be enabled in new tab
2019-08-19 23:29:42 +07:00
zadam
9888850c22
resizing sidebar in options
2019-08-19 23:02:19 +07:00
zadam
3cb421143f
Link entity migrated to Attribute, WIP
2019-08-19 20:12:00 +07:00
zadam
29828f8e8f
fix recent notes (db & sync version increase)
2019-05-21 21:47:28 +07:00
zadam
dd1fc23fe8
work on hash & history
2019-05-14 22:29:47 +07:00
zadam
fab8b77794
configurable hiding of tab row for one tab
2019-05-12 21:45:30 +07:00
zadam
be68391c37
store "openTabs" session
2019-05-10 21:43:40 +07:00
zadam
1990c9399e
removed FTS5 completely
2019-04-21 12:03:13 +07:00
zadam
7e374e795b
fill sync rows to fix sync issues
2019-04-13 10:30:16 +07:00
zadam
67553cb40e
fix ordering of note migrations
2019-03-30 22:20:18 +07:00
zadam
7cafbda7cd
migration for inconsistent isProtected status across notes and note_contents
2019-03-30 22:12:18 +07:00
zadam
9a5a085103
Merge branch 'stable'
...
# Conflicts:
# package-lock.json
# src/public/javascripts/services/server.js
# src/services/app_info.js
# src/services/notes.js
2019-03-30 22:11:03 +07:00
zadam
c240fb9896
migration for inconsistent isProtected status across notes and note_contents
2019-03-30 20:09:38 +07:00
zadam
29c60581a6
yet another refactoring of working with note's payload/content
2019-03-26 22:24:04 +07:00
zadam
0d0464549f
notes are now created with correct local dates
2019-03-13 22:43:59 +07:00
zadam
f65fefe7b1
migration utc dates
2019-03-11 22:58:44 +07:00
zadam
d25a1e3ed9
initial work on note fulltext (schema changes, updating...)
2019-03-10 17:02:23 +07:00
zadam
64974d75d5
added sync fill for note_contents
2019-03-02 19:59:32 +07:00
zadam
f140b77e7c
fix migration script
2019-02-15 21:10:00 +07:00
zadam
22228de63b
sync changes for note content
2019-02-15 00:15:09 +07:00
zadam
4a093000be
note content refactoring, WIP
2019-02-08 21:01:26 +07:00
zadam
c487a95bc7
note content refactoring, WIP
2019-02-06 21:29:23 +07:00
zadam
8884177d9f
split out note's content into separate entity, WIP
2019-02-06 20:19:25 +07:00
azivner
0ff250fe15
font sizes were not created for new documents - fix plus migration for existing ones
2019-01-22 20:34:45 +07:00
azivner
f1c3278874
store font size in options #326
2019-01-13 21:27:32 +07:00
azivner
cc27f16088
store iv directly in the respective columns
2019-01-11 23:04:51 +07:00
azivner
6fbf28b30d
hoisting notes WIP
2018-12-11 21:53:56 +07:00
azivner
551e1255ff
export WIP + some unrelated changes
2018-11-25 10:26:45 +07:00
azivner
30249a353e
renamed "mirror" relation to "inverse" relation
2018-11-19 12:07:33 +07:00
azivner
3db2f6784d
fix DB migration and consistency issues
2018-11-18 10:20:06 +07:00
azivner
46c7901e1f
fix migration script
2018-11-15 22:24:30 +07:00
azivner
39b3c91abf
image notes can't be updated + minor visual tweaks
2018-11-15 14:33:02 +07:00
azivner
d7afbe4059
saving image
2018-11-08 11:08:16 +07:00
azivner
d0d2a7fe47
store images in notes, basic structure
2018-11-08 10:11:00 +07:00
azivner
0c007566ad
fixes for invalid operations on root note
2018-10-21 22:42:20 +07:00
azivner
c76329e671
increased default min pane width to 350px
2018-09-06 12:02:42 +07:00
azivner
ff086569f2
saving options for left pane sizing
2018-09-06 11:17:30 +07:00
azivner
71e687ad8e
child: prefix now copies attributes on new note creation
2018-08-21 13:49:45 +07:00
azivner
35ef3c8470
fix migration
2018-08-14 16:09:30 +07:00
azivner
f1240c26bf
more cleanup of labels and relations from backend, dropping tables from db
2018-08-07 13:44:51 +07:00
azivner
61987e46f7
work in progress on attributes UI - unification of labels and relations now mostly works
2018-08-03 13:06:56 +07:00
azivner
097114c0f2
basic entities for attributes (unification of labels and relations)
2018-08-02 22:48:21 +07: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 +07: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 +07:00
azivner
8a95afd756
#126 , added skeleton of note relations, copied from similar concept of labels
2018-07-27 10:52:48 +07:00
azivner
7e4d70259f
soft-deleting note will delete its content and all the revisions content, fixes #132
2018-07-26 09:08:51 +07:00
azivner
37ab7b4641
#98 , sync to server now works as well + a lot of related changes
2018-07-24 20:35:03 +07:00
azivner
013714cb5c
#98 , new option "initialized" which indicates if setup has been finished
2018-07-24 08:12:36 +07: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 +07:00
azivner
e7460ca3a9
#98 , sync is now configured in the options
2018-07-22 22:21:16 +07:00
azivner
3d2ef6be01
remove optionId, closes #117
2018-06-13 19:10:28 +07: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 +07:00
azivner
385144451b
renamed hideInAutocomplete label to archived
2018-06-07 19:26:28 +07:00
azivner
0f8f707acd
persisting zoom setting in electron, fixes #112
2018-06-02 13:02:20 +07:00
azivner
cab54a458f
unifying surrogate keys for event log and options, fixes #103
2018-05-26 23:25:09 +07:00
azivner
40a32e6826
render notes can be edited and can contain HTML markup
2018-05-26 19:27:47 +07:00
azivner
03bf33630e
unify audit fields, fixes #102
2018-05-26 12:38:25 +07:00
azivner
49a53f7a45
added hash columns for faster sync check calculation
2018-05-22 00:15:54 +07:00
azivner
9fa6c0918c
add index for note's type + some fixes
2018-05-21 20:12:46 +07:00
azivner
1687ed7e0b
load only expanded tree with the rest being lazy loaded, WIP
2018-04-16 16:26:47 +07: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 +07:00
azivner
9720868f5a
added type and mime to note revisions
2018-04-08 11:57:14 +07:00
azivner
2cdcb3af12
camel casing and fixes
2018-04-04 23:04:31 +07:00
azivner
cf7a336ac2
camel case for reddit labels and run values
2018-04-04 22:29:11 +07:00
azivner
6f567e3e10
camelCase builtin labels
2018-04-02 21:56:55 +07:00
azivner
c6c76ba360
option names now follow camelCase
2018-04-02 21:47:46 +07:00
azivner
47eb1e3e02
refactored all mentions of "history" to "revision"
2018-03-25 20:52:38 +07:00