Commit Graph

19072 Commits

Author SHA1 Message Date
Gabriel Horner
27a8ec636b fix: publishing failing to load
Was calling enable-sqlite-wal-mode on nil client-ops-db
2025-01-16 11:56:21 -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
charlie
cd4d675bf3 fix(e2e-tests): api related tests 2025-01-16 15:00:09 +08: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
charlie
ab6abef14d fix(apis): sanitize property key from the plugin id 2025-01-15 22:15:50 +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
charlie
029a3e07cb enhance(apis): property prefix for the block property key 2025-01-15 15:30:18 +08:00
Tienson Qin
a7e9d073cd chore: rename :property/* to :logseq.property/* 2025-01-15 14:59:08 +08:00
rcmerci
d14c4393f9 chore: update comment 2025-01-15 12:22:04 +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
charlie
03592a26b6 chore: typo 2025-01-14 17:51:53 +08:00
charlie
9224df59cc enhance(apis): add remove property & types 2025-01-14 17:51:15 +08: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
charlie
ac3b643a11 chore(dev): react key warnings 2025-01-14 15:13:08 +08:00
charlie
0b7c9b4a26 chore(dev): patch console error for React 2025-01-14 15:02:50 +08:00
Tienson Qin
7f17532e04 fix: react key warning 2025-01-14 15:01:26 +08:00
rcmerci
22fcaa2452 chore: update docstring 2025-01-14 14:59:43 +08:00
rcmerci
3e025dd311 enhance: add created-by prop to blocks 2025-01-14 14:57:33 +08:00
Tienson Qin
c4e8fa1e72 fix: react key warning 2025-01-14 14:36:29 +08:00
Tienson Qin
0ac4b777d5 fix: react key warning 2025-01-14 14:35:33 +08:00
Tienson Qin
2b55e0da05 chore: disable schema fix 2025-01-14 14:18:43 +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
rcmerci
685e82502b chore: remove prn 2025-01-14 13:01:50 +08:00
charlie
8d778aa1e9 enhance(api): upsert/get property entity with caller key from the plugin api call 2025-01-14 10:34:07 +08:00
charlie
b3d6744298 enhance(ui): broken line for the datetime label 2025-01-14 08:51:58 +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
86807f5420 fix: frontend lint 2025-01-13 11:47:28 -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
charlie
c90ab6c090 fix(e2e): properties related apis 2025-01-13 17:14:30 +08:00
Tienson Qin
911d45616a fix: tests 2025-01-13 16:58:53 +08:00
Tienson Qin
6f44b6630e fix: outliner tests 2025-01-13 16:48:57 +08:00
Tienson Qin
c6f7f08707 fix: delete existing db for db-graph-test 2025-01-13 16:44:02 +08:00
Tienson Qin
61a895fbd3 fix: tests 2025-01-13 16:31:39 +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
charlie
ba9b84c206 fix(e2e): plugin apis related tests 2025-01-13 12:07:47 +08:00
Tienson Qin
509456f67c fix: query dsl 2025-01-13 11:32:59 +08:00