Gabriel Horner
dc0e224982
fix: most node tests failing to run
...
Upgrade better-sqlite3 to match node bump
2025-05-13 10:42:41 -04:00
Tienson Qin
5e1a968530
Merge branch 'master' into feat/db
2025-05-13 18:22:20 +08:00
Gabriel Horner
9b1a565dd0
Chore: Remove slides ( #11854 )
...
* chore: remove slide feature and reveal mentions
Will remove reveal js dep in later commit
* chore: remove built-in property that was only for slides
2025-05-12 13:32:24 -04:00
Gabriel Horner
281ce7e0e0
refactor: remove :name from built-in-properties
...
Remove it from built-in-properites as very few properties used
it and no new properties will use. :name is only used for file graph
property ids for looking up ids via get-pid or for the db graph import
2025-05-12 12:50:51 -04:00
Gabriel Horner
b985020d1f
refactor: mv file graph model fns to their own ns
...
All these fns are only used by file graphs. Most only act on file only
attributes e.g. :block/file, :block/pre-block? and :block/namespace
2025-05-09 02:51:54 +08:00
Gabriel Horner
4f65a00c68
refactor: rename :logseq.task properties to :logseq.property
...
These are the only built-in properties that don't start with
:logseq.property
2025-05-06 12:29:09 +08:00
Gabriel Horner
6a635ecb49
refactor: mv common ns out of db ns
...
Also move common and file fns out of db ns. Cleanup allows
for better separation linting
2025-04-28 10:37:13 -04:00
Gabriel Horner
e0cb4e786f
chore: bump nbb-logseq with datascript changes
2025-04-24 10:38:04 -04:00
Gabriel Horner
4ad4944b4e
fix: for file graphs, tags with blank space in the namespace parent
...
creates entities with nil :block/title to be created. This
created unexpected bugs in the UI e.g. all pages and
caused duplicate content to appear.
Example from test graph: 'tags:: [[Some / Namespace ]]'
Fixes
https://test.logseq.com/#/page/68017fb5-7b9c-448a-9f64-6bb8d8669396
2025-04-18 12:29:06 -04:00
Gabriel Horner
04a93f6613
chore: mv db or file graph specific ldb fns to
...
db or file graph namespaces. Follow up to
https://github.com/logseq/logseq/pull/11774#discussion_r2035354875 to
help avoid bugs that are hard to spot b/c of no organization
2025-04-15 22:45:16 -04:00
Tienson Qin
a9e38f0e0d
Merge branch 'feat/db' into perf/app-start
2025-04-14 17:48:32 +08:00
rcmerci
c591598d22
enhance: move adding created-by logic to pipeline-hook
2025-04-11 21:49:03 +08:00
Gabriel Horner
cd5385a0c3
chore: mv graph view ns to frontend ns
...
Graph view is fairly tied to the frontend, has styling concerns in the
ns and doesn't have use cases outside the app. frontend.common is
the parent ns for frontend code to reuse across UI threads.
Didn't move db-view because there are use cases for generating view
entities outside the app and there's no styling related code in it
2025-04-11 09:30:14 -04:00
Tienson Qin
f5342c3192
Merge branch 'feat/db' into perf/app-start
2025-04-11 09:19:13 +08:00
rcmerci
ff40821994
feat(rtc): add property :logseq.property/created-by-ref
2025-04-10 19:22:16 +08:00
Tienson Qin
4169f20a28
Merge branch 'feat/db' into perf/app-start
2025-04-07 20:06:45 +08:00
Gabriel Horner
f4c5e6b0bb
Add time assertion on largest test import to prevent regression
2025-04-04 08:34:31 -04:00
Gabriel Horner
26cbd74cd1
enhance(perf): speed up db graph importer for larger graphs
...
Use atom cache based on tx instead of full db lookup to create
all-existing-page-uuids
2025-04-04 08:34:31 -04:00
Gabriel Horner
a3dfa00ccf
chore: Add optional verbose test runner for graph-parser dep
2025-04-02 12:12:31 -04:00
Tienson Qin
1aca680ae4
Merge branch 'feat/db' into perf/app-start
2025-03-31 21:53:37 +08:00
Tienson Qin
4c54427640
move graph view data handler to deps/db
2025-03-31 19:38:02 +08:00
Gabriel Horner
fecb42f49d
fix(dev): deps scripts not handling relative and absolute paths for graphs
...
transact and create didn't handle relative paths. All scripts except
import didn't handle absolute paths
2025-03-17 11:09:44 -04:00
Gabriel Horner
99c89ec3be
chore: bump nbb-logseq to include tc/to-date
2025-03-10 15:32:29 -04:00
Tienson Qin
22743b4952
Merge branch 'feat/db' into feat/text-template
2025-03-08 07:03:02 +08:00
Gabriel Horner
7917afaa45
chore: update nbb scripts to be repl friendly
...
With https://github.com/babashka/nbb/issues/95 done, this allows
all nbb script namespaces to required or used from a repl
2025-03-07 11:49:28 -05:00
Tienson Qin
1aeef85e4a
feat: /template command
2025-03-02 15:23:13 +08:00
Gabriel Horner
0fc8af5686
refactor: remove db-graph behavior from file-graph gp-extract
...
Makes importer easier to maintain as there's less confusion with unused
checks in gp-extract
2025-02-27 11:20:24 -05:00
Tienson Qin
d11bdc44d9
fix: File graphs repeatedly add collapsed properties
2025-02-24 17:20:44 +08:00
Gabriel Horner
05037c456e
Merge branch 'feat/db' into enhance/reference-view
2025-02-21 15:33:40 -05:00
Tienson Qin
2346df237c
fix(regression): Query tables look smushed together
...
fixes LOG-3220
2025-02-20 22:05:10 +08:00
Tienson Qin
20d483fa30
Merge branch 'feat/db' into enhance/reference-view
2025-02-20 17:39:46 +08:00
Gabriel Horner
73cff9db44
chore: mv file-specific vars in db dep
...
to their own file-based.* namespaces. logseq.db.frontend
can now be linted
2025-02-19 16:29:26 -05:00
Gabriel Horner
18db6b1937
chore: mv db namespaces common to both graphs to logseq.db.common
2025-02-19 16:29:26 -05:00
Gabriel Horner
753abd2732
fix: importer failing when property-pages/* config present
...
Fixes https://github.com/logseq/db-test/issues/220 . Also removed
unused :extract-refs-from-property-value-fn
2025-02-19 10:03:53 -05:00
Gabriel Horner
f597f7c9c0
chore: mv handler.common.file to file-based
...
now that this ns is only used by file graph namespaces.
This is important as it then makes explicit that another 500+ lines
in the graph-parser are file-graph specific. Also added docs to most
graph-parser namespaces to make explicit which are file-graph specific
and not
2025-02-17 14:02:49 -05:00
Gabriel Horner
a4aacf022d
chore: use medley/dissoc-in instead of copied version
...
Can rely on medley as it is nbb compatible
2025-02-13 17:50:20 -05:00
Gabriel Horner
8550b48f17
enhance(dev): add test helper for ent properties
...
Was using them across namespaces and they were needlessly different
2025-01-28 16:00:38 -05:00
Gabriel Horner
ef93609df0
enhance(dev): build EDN supports logseq idents for :build/tags
...
Also cleanup more more tests that have been simplified by recent test
helper improvement
2025-01-27 17:03:26 -05:00
Gabriel Horner
63184bc3cc
fix: lint and test broken by previous commit
2025-01-27 16:28:51 -05:00
Gabriel Horner
57b4376425
enhance(dev): test helper returns entity
...
instead of harder to inspect and use d/q results
2025-01-27 15:48:12 -05:00
Gabriel Horner
9b223be0a8
enhance(dev): add util for logseq class idents
2025-01-27 14:28:44 -05:00
Tienson Qin
926d05c185
feat: table columns pinning ( #11693 )
...
* Add property :logseq.property.table/pinned-columns
* feat: table column pinning
* enhance: hide :id column by default
---------
Co-authored-by: charlie <xyhp915@qq.com >
2025-01-24 11:17:09 +08:00
Gabriel Horner
6c58af2605
enhance(dev): importing cli debug option prints all tx
...
related to a failing path. Helpfully provides more context
and also doesn't misleadingly print tx when it's not related to an
import failure with another path
2025-01-23 16:15:53 -05:00
Gabriel Horner
88d74cb71f
fix: importing namespaced tags with spaces
...
Fixes https://github.com/logseq/db-test/issues/210 . Also fix invalid
EDN class db-ident related to this
2025-01-23 14:21:26 -05:00
Gabriel Horner
9ca0ca1523
chore: cleanup schema mapping spread across the app
...
Now that schema is no longer a persisted concept there is no need
to spread built-in-properties keyword mappings across the app.
Doing so makes built-in-properties more rigid as it would be
needlessly coupled to the frontend, exporter and migrations.
With this cleanup it'll be easy to deprecate :schema from
built-in-properties when we need to
2025-01-21 12:57:51 -05:00
Gabriel Horner
878f0f869b
fix: logseq.property/value isn't a schema property
...
Was mistakenly put in because it started with 'property' previously.
Also cleaned up get-property-schema since it overlaps with
schema-properties and removed an unnecessary use of get-property-schema
2025-01-21 09:53:34 -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
961f6ec241
fix: tests and incorrect schema property detection after rename
2025-01-16 16:41:55 -05:00
Tienson Qin
20fad17f5d
Merge branch 'feat/db' into refactor/block-schema
2025-01-16 01:01:06 +08:00