Tienson Qin
47ccc9e901
fix: some properties may not have index
2025-06-17 09:47:14 +08:00
Gabriel Horner
b48dfce552
fix: migrated properties not migrating :logseq.property/type or
...
most of the property-only properties that a user could have set
2025-06-17 06:29:01 +08:00
Tienson Qin
db18543383
Add migration test
2025-06-17 06:29:01 +08:00
Tienson Qin
096c474654
fix: add migration to separate properties from classes
2025-06-17 06:29:01 +08:00
Tienson Qin
88216d2992
fix: able to convert an existing page to a property ( #11940 )
...
* enhance: use page as property
* fix: ensures block/uuid doesn't change after converting to property
2025-06-14 13:17:33 +08:00
Tienson Qin
3b26b3fbbd
chore: remove old db migrations and fns to fix invalid data
2025-06-14 12:54:32 +08:00
Tienson Qin
3605a82483
Add repeat task get-next-time tests
2025-06-12 02:50:00 +08:00
Tienson Qin
956330f9f7
fix: ensure future time when reschedule a task
2025-06-12 00:04:47 +08:00
Tienson Qin
6b39fdaafe
feat: reset both scheduled and deadline for repeat tasks when done
2025-06-10 01:07:16 +08:00
Tienson Qin
83a281c781
fix: wrong interval for repeat tasks
2025-06-10 01:00:27 +08:00
Tienson Qin
e7480b6f2d
fix: set next repeat time based on the time user has picked
...
instead of now.
Also, forward the time even if the current time is a `future` one.
2025-06-09 23:41:46 +08:00
Tienson Qin
2acf40a568
fix: set recur frequency default to 1 if it's empty
2025-06-09 23:19:56 +08:00
Tienson Qin
b1ee3f5a5a
fix: applying a template to the Journal tag removes it
...
This commit also add #Template when assigning template applied to.
Related to https://github.com/logseq/db-test/issues/312 .
2025-06-09 21:10:51 +08:00
Tienson Qin
dc8f2f4984
fix: redirect to alias
2025-06-08 16:52:06 +08:00
Tienson Qin
61cc4382c4
fix: alias auto-complete
2025-06-08 14:42:19 +08:00
Gabriel Horner
f6d8595645
fix: view edn export fails for group by
...
Fixes https://github.com/logseq/db-test/issues/300
2025-06-05 10:07:31 -04:00
Tienson Qin
4f72220b78
enhance: collect :graph-git-sha when missing addresses
2025-06-04 23:35:31 +08:00
Gabriel Horner
ba168f0770
fix: error if user uses an outdated frontend
...
that isn't compatible with the db graph's current version
Fixes
https://test.logseq.com/#/page/6837281e-46c4-415c-a8d3-191ceeaff97a
2025-06-03 20:45:54 +08:00
Tienson Qin
8eee397b45
fix: rtc creates duplicated first blocks for new journal pages ( #11913 )
...
* fix: rtc creates duplicated first blocks for new journal pages
The root cause is that those blocks from different clients have
different ids. Instead of using persistent block id, this fix avoids
generating the first block until users really start editing it.
* fix: add button not displayed when the last block is not empty
* fix: e2e tests
* enhance: remove dummy block
* fix: open-last-block
2025-06-02 14:19:19 +08:00
Tienson Qin
ad190a0f3a
full-gc run when from user command
...
Also, update gc to run every 3 days
2025-06-02 11:13:43 +08:00
Tienson Qin
06d7ed9b40
enhance: address suggestions from gabriel and zhiyuan
2025-06-02 11:13:43 +08:00
Tienson Qin
f28fe9ce94
update db worker
2025-06-02 11:13:43 +08:00
Tienson Qin
08bbe5c82d
enhance: add a command to gc current graph
2025-06-02 11:13:43 +08:00
Tienson Qin
4d540f57c4
gc main db weekly and rtc db every time when opening it
2025-06-02 11:13:43 +08:00
Tienson Qin
cfce99d401
fix: gc unused addresses
...
GC rule:
Remove all non referenced addrs except some internal addrs from the
kvs table.
5 internal addrs:
1. db root (addr: 1)
2. tail (addr: 0)
3. eavt set addr
4. avet set addr
5. aevt set addr
Those set addrs are stored in the db's metadata.
2025-06-02 11:13:43 +08:00
Tienson Qin
d78bd64467
fix: alias references are not displayed in linked references
...
fix https://github.com/logseq/db-test/issues/292
2025-05-31 18:26:25 +08:00
Tienson Qin
a2936ba5ef
fix: backup file and notify existing one
2025-05-29 00:39:51 +08:00
Gabriel Horner
ab014e318b
fix: frontend lint
2025-05-29 00:39:51 +08:00
Tienson Qin
33b6433dc9
wip: move file parse to worker
2025-05-29 00:39:51 +08:00
Tienson Qin
6051be610f
enhance: disable deleting addrs until ref-counted delete
2025-05-29 00:22:46 +08:00
rcmerci
495357479b
enhance: store metadata in localstorage
2025-05-28 00:44:09 +08:00
rcmerci
35212f9ca0
fix: js/navigator.userAgentData maybe nil
2025-05-28 00:44:09 +08:00
Gabriel Horner
e7583b8b8c
enhance: save git sha of new graph in kv/value
...
Will be useful for pinpointing if certain graphs are impacted by bugs.
graph-initial-schema-version is helpful but can stay the same for
awhile.
Closes
https://test.logseq.com/#/page/6835e455-69f6-4bbd-9865-b76fa57ce457
2025-05-27 12:14:20 -04:00
Gabriel Horner
a169256314
enhance: make it easier for users to fix broken graph
...
Tell users what to run and remove dev flag. Thought of while working
with https://github.com/logseq/db-test/issues/286
2025-05-26 17:17:57 -04:00
rcmerci
5d1f568bed
fix(rtc): update block-attrs when block not exist
2025-05-25 23:02:34 +08:00
rcmerci
eaa0ea5ca3
fix: missing block/updated-at in history-blocks
2025-05-25 16:09:46 +08:00
rcmerci
fa3ec6556e
enhance(rtc): ensure local-t and remote-t are monotonically increasing,
...
and remote-t >= local-t
2025-05-22 17:44:39 +08:00
Tienson Qin
ed32cfb4c9
fix(regression): slow editing in file graph
...
The root cause is that logseq tries to save the file each time when
there's a transaction.
2025-05-22 14:54:34 +08:00
Gabriel Horner
f4d3dca19c
fix: db-idents like :logseq.kv/graph-initial-schema-version
...
being ovewritten by migration and validation. Looks like this
was introduced in 985365a274
Fixes
https://test.logseq.com/#/page/682e2616-cd2d-48ba-8f90-a1ace81dc87e
2025-05-21 16:07:06 -04:00
rcmerci
3fb4ae74ad
fix: add :block/uuid to :logseq.property/empty-placeholder entity (2)
2025-05-20 16:03:41 +08:00
Tienson Qin
789834a9af
fix: db missing addresses
...
This commit uses sql to ensure deleting addresses are not referenced
in any row.
2025-05-20 05:57:12 +08:00
Tienson Qin
9ceefde5b7
fix: show deep reference title instead of id when searching blocks
2025-05-19 21:54:10 +08:00
Tienson Qin
87d2a56b63
fix: remove blocks of hidden pages from search
2025-05-19 16:21:11 +08:00
Tienson Qin
9b5d55d005
fix: send current db schema-version to sentry when missing addrs
2025-05-18 16:45:45 +08:00
Tienson Qin
6602b814ae
feat: add command fix broken graph
2025-05-18 16:37:30 +08:00
Tienson Qin
f5efa2d638
fix: remove invalid blocks that have no dispatch key
2025-05-15 22:36:00 +08:00
Tienson Qin
42fb68ff6e
fix: invalidate blocks with table filters but not title
2025-05-15 21:51:00 +08:00
Tienson Qin
b5bf3ff27a
chore: remove new-sqlite-client-ops-storage
2025-05-15 20:41:51 +08:00
Tienson Qin
f0a00acf75
enhance: fail fast when there're missing addresses
2025-05-15 18:40:39 +08:00
Tienson Qin
12c6928ba0
fix: can't switch to another graph if failed to open current one
2025-05-15 17:59:22 +08:00