Tienson Qin
dda446262d
fix: doc
2025-06-02 11:13:43 +08:00
Tienson Qin
09eaac248f
fix: lint
2025-06-02 11:13:43 +08:00
Tienson Qin
2059f35ae2
fix: lint
2025-06-02 11:13:43 +08:00
Tienson Qin
0d217490a0
chore: remove focus metadata
2025-06-02 11:13:43 +08:00
Tienson Qin
af70449791
add gc test
2025-06-02 11:13:43 +08:00
Tienson Qin
f28fe9ce94
update db worker
2025-06-02 11:13:43 +08:00
Tienson Qin
dcc2868c77
add sqlite.debug and sqlite.gc ns for testing
2025-06-02 11:13:43 +08:00
Tienson Qin
f2b1dc2c6c
sync change backs to sqlite cli
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
Charlie
84183068fb
enhance(dev): upgrade pdfjs ( #11914 )
...
* enhance(dev): upgrade pdfjs
* chore: upgrade shadow-cljs
2025-06-02 11:13:05 +08:00
Tienson Qin
598d06ae18
fix: set app bundle id
2025-06-01 06:16:09 +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
8a5e38af31
fix: don't add #Task to blocks when modifying status/deadline
...
and scheduled.
Notice that #Task is still added when adding those properties
initially when the block doesn't have other tags that have those properties.
2025-05-31 17:27:34 +08:00
Tienson Qin
b14696f8e2
fix: reference inheritance in page filter
2025-05-30 23:15:23 +08:00
Gabriel Horner
ac975766ad
chore: update doc links and remove feat\/db mentions
2025-05-30 08:41:57 -04:00
Gabriel Horner
f661591f81
chore: Add links to db-test issues
2025-05-29 16:18:32 -04:00
Gabriel Horner
06b43ba5b7
fix(regression): publishing not starting
...
Weird loading issue for publishing with :block/tags. Put in workaround
for now. Also disabled more rtc tasks for publishing
2025-05-29 15:29:26 -04:00
rcmerci
0dc912d93b
chore: remove feat/db related things in ci yml files
2025-05-30 00:35:20 +08:00
rcmerci
86838ef5b2
chore: disable e2e.yml, now using clj-e2e.yml
2025-05-30 00:29:52 +08:00
Tienson Qin
cb24489cfb
Merge pull request #9858 from logseq/feat/db
...
Database version
2025-05-30 00:08:51 +08:00
Gabriel Horner
1ba4f57abf
fix: sorting by :date prop in table
...
Fixes https://github.com/logseq/db-test/issues/287
2025-05-29 09:17:34 -04:00
rcmerci
a47479037f
chore: update clj-rtc-e2e.yml
2025-05-29 14:51:58 +08:00
rcmerci
c95e1aad7f
test(e2e,rtc): add another conflict update case
2025-05-29 14:49:03 +08:00
Gabriel Horner
04190d22a3
fix(regression): query builder for multiple property types including :checkbox
...
Fixes https://github.com/logseq/db-test/issues/288 . Regression caused by
572d6f4390 . Confirmed this bug was
affecting the following non-ref, non-string property types:
:checkbox, :any, :keyword and :raw-number
2025-05-28 14:59:26 -04:00
Gabriel Horner
995f8c4c38
fix: worker lint
...
Make an exception for this require since it's only used in tests. Tried
to mv file-reset to tests but it touches too many tests
2025-05-29 00:39:51 +08:00
Tienson Qin
ce791172ab
fix: lint
2025-05-29 00:39:51 +08:00
Tienson Qin
a2936ba5ef
fix: backup file and notify existing one
2025-05-29 00:39:51 +08:00
Gabriel Horner
f846ec9dae
fix: repo test
...
need to stub worker-state config instead of state config. Also removed
unused async code in test fn
2025-05-29 00:39:51 +08:00
Gabriel Horner
ab014e318b
fix: frontend lint
2025-05-29 00:39:51 +08:00
Gabriel Horner
5d377787ec
fix: regression on fixing dupe block ids
...
fixes graph-parser tests
2025-05-29 00:39:51 +08:00
Tienson Qin
4ed15c7dac
fix: extracted-block-ids should be existing block from another page
...
or extracted blocks from the current file.
2025-05-29 00:39:51 +08:00
Tienson Qin
92639087d4
fix: sync calls for test version
2025-05-29 00:39:51 +08:00
Tienson Qin
2a74fc3d7e
Add test version of alter-file
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
Gabriel Horner
3552c1870c
Revert "ci: update yml"
...
This reverts commit 4696c1f3fd .
Noticed tests aren't running on our own PRs e.g. #11887 .
We'll especially need tests to run on PRs off master
2025-05-28 10:26:05 -04:00
rcmerci
900efe1076
test(e2e,rtc): fix new-block to make it work correctly in rtc env
2025-05-28 17:53:13 +08:00
rcmerci
4f6c0fee28
test(e2e,rtc): update rtc-outliner-conflict-update-test
2025-05-28 16:58:37 +08:00
rcmerci
f02269e3da
test(e2e,rtc): update rtc-outliner-conflict-update-test
2025-05-28 16:30:06 +08:00
rcmerci
c14b7e8d30
test(e2e,rtc): simplify rtc-outliner-test
2025-05-28 15:51:15 +08:00
rcmerci
193e603547
fix: escape more regex meta chars
...
add related testcases
2025-05-28 14:40:35 +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
f9e6370f62
fix: large var in db dep
2025-05-27 12:22:57 -04:00
Gabriel Horner
38e05aa6b8
enhance: new graph from script saves git sha in :kv/value
...
Also for
https://test.logseq.com/#/page/6835e455-69f6-4bbd-9865-b76fa57ce457
2025-05-27 12:16:15 -04: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
rcmerci
a6616571a9
chore(e2e,rtc): remove comment
2025-05-27 20:19:49 +08:00
rcmerci
4696c1f3fd
ci: update yml
2025-05-27 20:17:41 +08:00