Gabriel Horner
bb1f20048c
fix(regression): changing property cardinality dropped :db/valueType
2025-01-20 17:00:37 -05:00
Gabriel Horner
bcd1d33940
fix(regression): can't edit property name from config
2025-01-20 15:53:50 -05:00
Gabriel Horner
53ed226d53
fix: bootstrapping of properties
...
Some bootstrapped properties weren't in indexes. Didn't need
all schema properties to be bootstrapped, just the first 2.
Also fixed built-in? having the wrong title
2025-01-18 00:50:08 -05:00
Gabriel Horner
0181a332ab
Merge branch 'feat/db' into refactor/block-schema
2025-01-17 15:50:50 -05:00
Gabriel Horner
3a62177082
chore: rename public property to publishing-public?
...
Since #11673 will provide a lower level public? property,
made sense to rename to avoid confusion between public and public?.
Also start deprecating :name config in built-in-properties as it
is barely used and is somewhat confusing
2025-01-17 15:29:20 -05:00
Gabriel Horner
fdfcc4fb1a
fix: public publishing pages missing tags, properties
...
and property values that are nodes
2025-01-17 12:41:29 -05:00
Tienson Qin
7cda45eea9
fix: migration
2025-01-17 17:42:56 +08:00
Gabriel Horner
5c52cac2d4
fix: init properties after merge
2025-01-16 17:12:29 -05:00
Gabriel Horner
68896c257f
Merge branch 'feat/db' into refactor/block-schema
2025-01-16 17:11:53 -05:00
Gabriel Horner
961f6ec241
fix: tests and incorrect schema property detection after rename
2025-01-16 16:41:55 -05:00
Gabriel Horner
e61f046be5
fix: publishing failing to load on undefined LSPluginCore
...
Plugins shouldn't be on for publishing. Moved PUBLISHING to
common-config as it is now relied on by frontend.util. Also removes
needless state/publishing? and its wonky initialization
2025-01-16 11:44:05 -05:00
Gabriel Horner
769e68a3c6
enhance(dev): add :dispatch-key to validate-db! errors
...
so it's available to tests and to app
2025-01-15 18:04:47 -05:00
Gabriel Horner
a2609f4d9d
enhance: Allow built-in properties to use most properties
...
without hardcoded configuration. For example
:logseq.property/description can be added to any built-in property that is below
it in built-in-properties. Added descriptions to scheduled and deadline
since it's not obvious from their ux how they differ
2025-01-15 16:24:46 -05:00
Tienson Qin
50bf71a673
fix: tests
2025-01-16 01:33:43 +08:00
Tienson Qin
c26b3507b0
chore: remove bak
2025-01-16 01:21:23 +08:00
Tienson Qin
59054c4eee
fix: tests
2025-01-16 01:03:20 +08:00
Tienson Qin
20fad17f5d
Merge branch 'feat/db' into refactor/block-schema
2025-01-16 01:01:06 +08:00
Tienson Qin
c1ae8f6793
fix: duplicated key
2025-01-16 00:55:53 +08:00
Tienson Qin
bd96226443
fix: lint
2025-01-15 19:51:28 +08:00
Tienson Qin
1d9fbc8a3d
perf: reduce :block/properties calls on db graphs
...
`:block.temp/property-keys` was added to get all the properties
for given entity.
2025-01-15 19:35:09 +08:00
Tienson Qin
a7e9d073cd
chore: rename :property/* to :logseq.property/*
2025-01-15 14:59:08 +08:00
Gabriel Horner
04aa88b43e
fix: importer fails when misconfigure journal ref is a property value
...
Fixes failure Ramses graph is seeing. Also fix typo in test graph
causing blank journal ref
2025-01-14 11:58:37 -05:00
Gabriel Horner
2a4f49e541
enhance: importer can import :logseq.task/scheduled
...
Follow up to #11654 . Fixes
https://test.logseq.com/#/page/677d36f0-5d8f-4b82-85ad-486d81a46e7e
2025-01-14 08:43:21 -05:00
Tienson Qin
f28c698909
fix: tests
2025-01-14 16:03:35 +08:00
Tienson Qin
f05cb555fe
Merge branch 'feat/db' into refactor/block-schema
2025-01-14 15:43:39 +08:00
Tienson Qin
d7590fddc7
fix: schema validation for hidden pages
2025-01-14 15:34:05 +08:00
Tienson Qin
868f066e07
enhance: use :property/hide? for hidden pages instead of public?
2025-01-14 15:30:05 +08:00
rcmerci
3e025dd311
enhance: add created-by prop to blocks
2025-01-14 14:57:33 +08:00
Tienson Qin
2e12918d5c
Merge branch 'feat/db' into refactor/block-schema
2025-01-14 14:17:24 +08:00
Tienson Qin
9d7e164932
add migration
2025-01-14 14:16:54 +08:00
Gabriel Horner
c87da72b95
enhance: allow a tag to be converted back to a page
...
People do sometimes accidentally tag a page like in
https://github.com/logseq/db-test/issues/201 and should have a way to
undo it
2025-01-13 17:43:21 -05:00
Gabriel Horner
63eaacdbe1
enhance(dev): import cli and tests print original error's ex-data
2025-01-13 13:27:39 -05:00
Gabriel Horner
1ab621069d
enhance: importer displays one notification about ignored files
...
rather than one notification per file. Also ignore pdf highlight pages
as user graphs shouldn't fail hard on features that aren't imported yet.
This allowed the user graph in
https://github.com/logseq/db-test/issues/191 to import without errors
2025-01-13 11:44:02 -05:00
Tienson Qin
6f44b6630e
fix: outliner tests
2025-01-13 16:48:57 +08:00
Tienson Qin
d8984a0719
fix: graph-parser tests
2025-01-13 16:29:41 +08:00
Tienson Qin
2c04eb76d7
fix: db tests
2025-01-13 16:20:45 +08:00
Tienson Qin
509456f67c
fix: query dsl
2025-01-13 11:32:59 +08:00
Tienson Qin
369ef99392
fix: outliner tests
2025-01-13 11:05:44 +08:00
Tienson Qin
b9b38ceace
fix: db graph test
2025-01-13 10:23:59 +08:00
Tienson Qin
1535816625
Rename position to ui-position
2025-01-13 10:06:48 +08:00
Tienson Qin
93a7034249
Remove more cases of :block/schema
2025-01-13 10:00:00 +08:00
Tienson Qin
639ca09f2e
Remove more usage of :block/schema
2025-01-12 17:15:14 +08:00
Tienson Qin
e318e0d6c1
Merge branch 'feat/db' into refactor/block-schema
2025-01-12 16:48:19 +08:00
rcmerci
f485eeef3d
enhance: add prop :logseq.property/created-by
2025-01-12 16:12:08 +08:00
Gabriel Horner
0cffd64d44
fix: importer failing hard on page ref when
...
page name has same name as a task. Importer failed because of invalid
refs coming from gp-block/with-page-refs-and-tags which were caused
by get-first-page-by-title returning blocks. In 4f368d5c79 ,
get-first-page-by-title started returning blocks instead of only pages
so this was undone. Fixes part of logseq/db-test#191
2025-01-10 16:41:25 -05:00
Gabriel Horner
2782eea315
enhance(dev): CLI import prints last tx
...
since most import failures are due to a failing tx
2025-01-10 15:22:37 -05:00
Gabriel Horner
25d1243edd
chore: update docstrings in kv-entity
...
Also update other :import-type to be keywords like other values
2025-01-10 12:41:54 -05:00
Gabriel Horner
18f2bd65c5
fix: validator incorrectly identifying hidden blocks
...
A page block that a user writes that starts with '$$$' isn't a hidden
block
2025-01-10 10:08:06 -05:00
Gabriel Horner
b113967c9c
enhance(dev): cli validation includes dispatch key
...
use dispatch-key to immediately find invalid schema
2025-01-10 10:06:43 -05:00
rcmerci
1c5761e279
enhance(rtc): ignore entities if possible when init upload/download
2025-01-10 16:04:21 +08:00