Tienson Qin
a7e9d073cd
chore: rename :property/* to :logseq.property/*
2025-01-15 14:59:08 +08:00
Tienson Qin
911d45616a
fix: tests
2025-01-13 16:58:53 +08:00
Tienson Qin
61a895fbd3
fix: tests
2025-01-13 16:31:39 +08:00
Tienson Qin
93a7034249
Remove more cases of :block/schema
2025-01-13 10:00:00 +08:00
Tienson Qin
e318e0d6c1
Merge branch 'feat/db' into refactor/block-schema
2025-01-12 16:48:19 +08:00
rcmerci
3a43a81bc5
enhance(rtc): client-ops generator ignore attrs if possible
2025-01-09 18:07:13 +08:00
rcmerci
73e51a88b2
refactor: split rtc malli-schema into its own ns
2025-01-08 14:31:12 +08:00
Tienson Qin
8a0a05183e
refactor: remove :block/format for db graphs ( #11667 )
2025-01-05 12:10:47 +08:00
rcmerci
b65a2d5c0f
refactor: consistent alias of clojure.string
2025-01-03 16:45:10 +08:00
rcmerci
f7815b487d
fix: nbb test
2024-12-28 16:39:33 +08:00
rcmerci
26e2fad13d
fix: move missionary_util to deps/common, fix some deps issue
2024-12-28 14:22:16 +08:00
Gabriel Horner
dbb84f0327
Merge branch 'feat/db' into refactor/tag-as-type
2024-12-19 15:29:25 -05:00
Gabriel Horner
2767e7bb8a
fix: frontend lint
2024-12-19 12:07:29 -05:00
Tienson Qin
2599b45768
Merge branch 'feat/db' into refactor/tag-as-type
2024-12-19 15:09:02 +08:00
rcmerci
32e4563d17
fix(rtc): update patch-remote-attr-map-by-local-av-coll
2024-12-18 18:27:30 +08:00
rcmerci
96b3073057
test(rtc): fix some :fix-me testcases
2024-12-18 17:05:48 +08:00
Gabriel Horner
9d3b5a42bb
fix: new property validation and test from previous commit
2024-12-17 21:29:11 -05:00
Gabriel Horner
fb2340c1a1
fix: new journals should only have #Journal
...
Redundant and confusing also be adding #Page, which is a parent of #Journal, to all journals. Also
remove unused option create!
2024-12-17 22:04:29 +08:00
Gabriel Horner
d624d5e7db
fix: users cant change tags of built-in classes like Tag
...
Could cause all kinds of bugs. Also moved tags vars to db-class
to have a central ns like we do with properties and l.db.frontend.property
2024-12-17 22:04:29 +08:00
Tienson Qin
3a748c9975
fix: lint
2024-12-17 22:04:28 +08:00
Tienson Qin
f67d47a9db
fix: tests
2024-12-17 22:04:28 +08:00
Tienson Qin
9b6d09bcfe
fix: tests
2024-12-17 22:04:28 +08:00
Tienson Qin
0798f0b7f6
fix: page test
2024-12-17 22:04:28 +08:00
Tienson Qin
02d6bcf0a4
fix: rtc db listener tests
2024-12-17 22:04:28 +08:00
Tienson Qin
3fe71cc023
fix: tests
2024-12-17 22:04:28 +08:00
Tienson Qin
a025b4b096
wip: fix exporter tests
2024-12-17 22:04:28 +08:00
Tienson Qin
86f510ea6c
fix: lint
2024-12-17 22:04:28 +08:00
Tienson Qin
c428b87dce
wip: schema migration
2024-12-17 22:04:27 +08:00
rcmerci
1bd5028906
fix lint and test
2024-12-12 14:06:16 +08:00
Gabriel Horner
bcdd162145
fix: queries with default values
...
and objects that are descendants of a tag with
a default-value property. Fixes
https://test.logseq.com/#/page/67551ea7-bd58-48bb-a0ea-8b976fa94423 .
Also extended sqlite.build to allow closed value properties to
be configured with :build/properties
2024-12-09 12:11:06 -05:00
rcmerci
c9062e0ab6
test(rtc): add testcase for previous commit
2024-12-06 20:22:40 +08:00
rcmerci
137c3dc394
fix(rtc): update remote-ops by unpushed-client-ops
2024-12-06 20:13:25 +08:00
rcmerci
c2c227a54e
fix(rtc): /code not works when rtc-open
...
refactor `listen-db-changes!`.
tx-data from pipeline-replace cannot be sent to rtc-db-listeners in
original impl.
in most cases it's okay, bacause most of these tx-data are about
:block/refs and other attrs rtc doesn't care.
but in some cases, :block/tags updated in pipline-replace tx-data.
2024-12-03 21:40:34 +08:00
Tienson Qin
326a7aa6ea
Merge branch 'feat/db' into feat/property-default-value
2024-11-25 14:39:11 +08:00
Tienson Qin
471d413d80
Rename checkbox-default-value to scalar-default-value
2024-11-25 14:38:22 +08:00
rcmerci
ed62a4c700
fix(rtc): fix ref&card-one attr update
2024-11-25 12:23:55 +08:00
rcmerci
e8fd014b1d
feat(asset-sync): split block-op and asset-op
2024-11-25 12:23:55 +08:00
Gabriel Horner
ce18010b2b
refactor: Decouple simple queries in db graph
...
from original *property rules by giving simple queries
their own rules. This allows simple queries to grow in functionality
and complexity without affecting other features. Also fixed
private-property rule wasn't working because deps weren't configured
2024-11-21 17:56:58 -05:00
Gabriel Horner
8864c3515f
enhance: add tests for default value querying
...
Had to extend sqlite.build with :build/properties-ref-types for
:logseq.property/default-value's internal ref type needs
2024-11-21 16:31:48 -05:00
Tienson Qin
15e3ce9858
fix: graph parser tests
2024-11-19 18:08:17 +08:00
Gabriel Horner
bb133c4eba
fix: test cleanup for 2c23731b5d
...
Remove assertion that is no longer valid and remove
property filtering for a test that is no longer needed
2024-11-15 16:04:10 -05:00
Gabriel Horner
6116b51a46
chore: replace test helper with better supported promesa fn
2024-11-14 12:10:45 -05:00
Gabriel Horner
af55aa951a
enhance: allow child pages to have the same name
...
when they have different parents. Addressing 2nd section in
https://github.com/logseq/db-test/issues/7#issuecomment-2463162620
2024-11-12 16:29:45 -05:00
Gabriel Horner
1a7a2b25ed
chore: add a couple assertions for between queries
...
from #11565 . Also stop logging errors for valid between queries and
deleted unused test code
2024-11-11 16:32:35 -05:00
Gabriel Horner
0d3cf6c535
fix: db graph queries shouldn't run file graph filters
...
Throwing errors on unsupported filters for these makes it seem like we
support it when we don't. Better to be explicit. Also tweak
related tests so that file graph filters only run for file graphs
2024-11-08 14:32:07 -05:00
Tienson Qin
c97a51e85a
fix: unit tests
2024-11-01 21:54:04 +08:00
Tienson Qin
7fcab4ac50
chore: rename page-tags-queries to tags-queries
2024-11-01 17:25:15 +08:00
Tienson Qin
ba3a8b84fb
fix: query dsl tests
2024-11-01 09:47:21 +08:00
Tienson Qin
3132c5c92e
fix: tests
2024-10-14 22:22:25 +08:00
Tienson Qin
972bac527d
fix: test
2024-10-08 20:24:15 +08:00