Commit Graph

3732 Commits

Author SHA1 Message Date
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
charlie
f009596a54 Merge branch 'feat/db' into feat/capacitor-new 2025-05-27 11:26:07 +08:00
Tienson Qin
05597552da chore: update clj-fractional-indexing 2025-05-27 04:54:58 +08:00
Tienson Qin
973ec2b240 chore: bump logseq/clj-fractional-indexing 2025-05-27 01:16:10 +08:00
Gabriel Horner
40254673a5 fix: existing user class failing import when
also specific in :build/property-classes
2025-05-26 10:29:51 -04:00
Tienson Qin
0b9b327630 Merge branch 'feat/db' into feat/capacitor-new 2025-05-24 06:19:27 +08:00
Gabriel Horner
3fe790d4d7 enhance(dev): scripts can read or write db graphs as full path files
This allows for easier use of debugging graphs as they are exported by
users as a file. Also DRYed up duplicated helper
2025-05-23 13:59:02 -04:00
Gabriel Horner
08b534d391 fix: outdated extends property validation
Was still validating as if it handled multiple page types
when it only applies to classes now
2025-05-22 14:20:56 -04:00
charlie
42eaabed4e Merge branch 'feat/db' into feat/capacitor-new 2025-05-22 19:59:24 +08:00
Tienson Qin
404c316d4c Merge branch 'feat/db' into refactor/page-parent 2025-05-22 19:15:47 +08:00
Tienson Qin
65f5b9cd64 enhance(ux): tag properties using select 2025-05-22 19:03:24 +08:00
charlie
540844f7f0 Merge branch 'feat/db' into feat/capacitor-new 2025-05-22 17:58:38 +08:00
rcmerci
75a053f918 fix: nbb cannot use glogi 2025-05-22 15:39:17 +08:00
rcmerci
ec7d488d49 fix: add glogi deps 2025-05-22 15:36:36 +08:00
rcmerci
5e60ce853d test(e2e): dump console logs when test failed 2025-05-22 15:33:33 +08:00
Tienson Qin
021a84bcf2 fix: don't run id-ref->title-ref for file graphs 2025-05-22 14:54:34 +08:00
charlie
ede7c8f01e Merge branch 'feat/db' into feat/capacitor-new 2025-05-22 14:00:53 +08:00
Gabriel Horner
dad56a3e91 fix: block count in validation
:block/parent can be used by pages now
2025-05-21 18:13:44 -04:00
Gabriel Horner
471889729e fix: graphs with existing Library page are imported
incorrectly and merged with new built-in page when :property-classes
option is used
2025-05-21 14:31:12 -04:00
Gabriel Horner
1310a9ec70 fix: remove unused override in exporter fn
The correct attribute is already passed into
replace-namespace-with-parent. Didn't observe any test where this
override was needed
2025-05-21 12:57:19 -04:00
Gabriel Horner
a350aa4cc3 fix: remove unused :node-class? option on fn
Only classes will use this fn so it's no longer needed. The option was
also missing on a couple fns which could've lead to buggy behavior
2025-05-21 10:05:20 -04:00
Gabriel Horner
0c0fb978d3 Merge branch 'feat/db' into refactor/page-parent 2025-05-21 08:45:24 -04:00
Tienson Qin
17496cfbb1 fix: don't create block for invalid number property value 2025-05-21 20:28:18 +08:00
rcmerci
533ca23610 fix: schema of :logseq.property/empty-placeholder 2025-05-21 15:27:06 +08:00
charlie
5dbf46199c Merge branch 'feat/db' into feat/capacitor-new 2025-05-21 10:52:54 +08:00
Tienson Qin
c18af313b8 enhance: put selected choices on top and ensure stable order 2025-05-21 03:01:31 +08:00
Gabriel Horner
df9833040c Merge branch 'feat/db' into refactor/page-parent 2025-05-20 13:35:14 -04:00
Tienson Qin
d2b2eb3b48 fix: wrong backlinks number in all pages 2025-05-21 01:08:26 +08:00
rcmerci
120e6af065 chore: simplify some->> arg 2025-05-21 00:44:19 +08:00
Tienson Qin
fd8a939fc1 fix: recur-replace-uuid-in-block-title when there're ids in title 2025-05-20 23:01:58 +08:00
Gabriel Horner
30f71b5722 fix: new graphs invalid after recent property/empty-placeholder change 2025-05-20 09:06:19 -04:00
charlie
2725a33d18 Merge branch 'feat/db' into feat/capacitor-new 2025-05-20 19:53:42 +08:00
rcmerci
3fb4ae74ad fix: add :block/uuid to :logseq.property/empty-placeholder entity (2) 2025-05-20 16:03:41 +08:00
rcmerci
3c4bd0643a fix: add :block/uuid to :logseq.property/empty-placeholder entity 2025-05-20 15:54:35 +08:00
charlie
6267be45f1 Merge branch 'feat/db' into feat/capacitor-new 2025-05-20 10:50:00 +08:00
Tienson Qin
5746e03a0a chore: downgrade persistent-sorted-set to 0.0.8
CI error https://github.com/logseq/logseq/actions/runs/15124002453/job/42512483343
2025-05-20 06:07:34 +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
6182c2f36a fix: e2e tests 2025-05-20 01:44:44 +08:00
Gabriel Horner
dd94fbda9c fix: lints 2025-05-19 10:06:17 -04:00
Gabriel Horner
929ae21d21 enhance: only run export patch for initial version up to 64.8
One less postwalk for large graphs. Dunno how long this patch will be
in. For https://github.com/logseq/db-test/issues/278
2025-05-19 10:02:51 -04:00
Tienson Qin
b8a831b38c fix: recursively replace ref ids with title for search/prop value 2025-05-19 21:54:10 +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
b473a20874 fix: can't remove hidden property pages 2025-05-19 17:57:38 +08:00
charlie
cc2d4ece15 Merge branch 'feat/db' into feat/capacitor-new 2025-05-19 15:39:28 +08:00
Tienson Qin
7150d014a5 fix: move top namespace pages to Library when importing file graphs 2025-05-18 06:19:28 +08:00
Tienson Qin
8521f1985a Merge branch 'feat/db' into refactor/page-parent 2025-05-18 05:38:19 +08:00
Tienson Qin
c79a12e51d fix: move nodes in Library 2025-05-18 05:27:02 +08:00
Tienson Qin
334b5be62e fix: search namespace pages 2025-05-18 03:19:46 +08:00