Commit Graph

134 Commits

Author SHA1 Message Date
Tienson Qin
bcc478b5f7 refactor: separate og and db version (#12276)
separate og and new version apps

remove file sync, tldraw, excalidraw and zotero
2025-12-29 15:39:32 +08:00
Tienson Qin
1ae9e2c496 fix: extends tags query and support eid|title|db-ident
Previously `tags` doesn't return blocks that have children tag(s).

Also, `tags` support both db/ident and block/title to make it easy
to use:
(tags ?b #{144})
(tags ?b #{"Task"})
(tags ?b #{:logseq.class/Task})
2025-12-24 14:37:57 +08:00
Tienson Qin
f594e2034f fix(rtc): batch store and validate db (#12249)
* fix(rtc): batch store and validate db

* fix: logseq.db/transact! shouldn't distinct tx-data

since move-op include 2 steps:
1. insert-block
2. update-attrs

This results in db invalid after step 1.

* refactor: add transact-with-temp-conn!

* bump nbb-logseq and add tests for ldb/transact* fns

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: rcmerci <rcmerci@gmail.com>
2025-12-09 20:47:37 +08:00
Gabriel Horner
27d5a369fd fix: bump to latest nbb-logseq to fix most logseq.db dependent ns 2025-10-13 21:34:00 -04:00
Gabriel Horner
f93f889f8a chore: bump to latest nbb w/ datascript update 2025-09-03 10:00:45 -04:00
Tienson Qin
abe03fdaca refactor: use webpack only for workers 2025-09-01 10:27:34 +08:00
Gabriel Horner
6a84e56984 enhance: working spike for export md command
export namespaces aren't reused yet. Fixed bug w/ get-block-and-children
not invoking correctly in nbb. Bumped all deps to use latest nbb-logseq
2025-08-26 11:27:34 -04:00
Gabriel Horner
707f49bc4f fix: nbb-logseq bundling and quirky datascript requires (#12032)
* fix: nbb-logseq bundling and quirky datascript requires

* fix: bump nbb-logseq for node version incompatibility
2025-08-06 13:16:50 -04:00
Gabriel Horner
182a51a85e fix: publishing app in prod mode
Also fix watch-publishing-frontend which had stopped working awhile back
with shadow-cljs update
2025-08-01 17:56:39 -04:00
Tienson Qin
2d50ca5ce2 Merge branch 'master' into feat/hnswlib+transformer-js 2025-07-11 18:15:33 +08:00
Tienson Qin
92ec65d61d Merge branch 'master' into refactor/page-parent 2025-06-15 08:27:33 +08:00
Gabriel Horner
658a25b1b5 chore: bump nbb-test-runner
Bump to upstream version now that
https://github.com/nextjournal/nbb-test-runner/pull/3 is merged
2025-06-10 08:47:52 -04:00
Gabriel Horner
56e8a298b1 enhance: defer more scripts for publishing
Noticed when comparing with public/index.html
2025-06-06 13:46:56 -04:00
Gabriel Horner
ec22e71df5 fix: bump nbb-logseq to include datascript and nbb fixes 2025-06-06 11:45:25 -04:00
Gabriel Horner
693e6c78fe enhance: pdf viewer opens in publishing
Clicking on pdf opens it in viewer instead of crashing.
Addresses #4048
2025-06-05 17:21:54 -04:00
Gabriel Horner
6cddee4f5a chore: bump nbb test runner to latest feature
now that PR is merged
2025-05-16 08:48:44 -04:00
Gabriel Horner
6f7e2a94c3 enhance: bump nbb-logseq to include rewrite-clj 2025-05-14 15:50:37 -04:00
Gabriel Horner
62e5b7e306 chore: bump nbb-logseq to get rid of
node deprecation warnings with node 22 and get a year's worth of nbb
updates and fixes
2025-05-14 13:30:52 -04:00
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
Gabriel Horner
691b8866ef refactor: mv another common ns out of db dir
Allows for more improved separate linting
2025-04-28 11:27:49 -04: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
Tienson Qin
38e4b0d9b2 Merge branch 'feat/db' into feat/hnswlib+transformer-js 2025-03-16 11:52:32 +08:00
Tienson Qin
b87c43e697 Merge branch 'feat/db' into perf/app-start 2025-03-13 04:35:52 +08:00
Tienson Qin
68426d54eb get rid of shared module 2025-03-11 15:30:24 +08:00
Gabriel Horner
99c89ec3be chore: bump nbb-logseq to include tc/to-date 2025-03-10 15:32:29 -04:00
Tienson Qin
5d2ab65d7c Merge branch 'feat/db' into feat/blocks-action-bar 2025-03-08 13:55:33 +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
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
Gabriel Horner
3d42cf7522 fix: bump nbb-logseq so that nbb scripts
that have already downloaded feat-db-v16 can use the latest nbb-logseq
2025-01-02 16:09:25 -05:00
Tienson Qin
64734820df Merge branch 'feat/db' into feat/repeated-tasks 2024-12-29 16:05:24 +08:00
rcmerci
d36f1c35f2 perf: cache d/entity result for immutable entities 2024-12-27 19:46:07 +08:00
Tienson Qin
e514e02d5f bump nbb-logseq 2024-12-26 15:33:53 +08:00
Gabriel Horner
eeb9d53ef0 fix(regression): publishing using removed rules 2024-11-08 10:48:13 -05:00
Gabriel Horner
1dd3aacb5f fix: assets of published db graphs 2024-10-31 16:50:46 -04:00
Gabriel Horner
0036a5d9de fix: invalid throws and remove unused values
Caught by updating to latest kondo
2024-10-31 14:12:09 -04:00
Gabriel Horner
92cc1ce38c fix: publishing build failing b/c there are no source maps
See
https://github.com/logseq/publish-spa/actions/runs/11614252492/job/32341972020.
Decided to build and include source maps on release as it won't affect
initial load and improves debuggability
2024-10-31 12:08:09 -04:00
Gabriel Horner
2cab93b354 fix: loading private published db graphs
Initial All Pages view failed to load as did most public pages.
private db graph was also leaking datoms it shouldn't
2024-10-30 15:49:05 -04:00
Gabriel Horner
e157e818cb chore: mv publishing.cljs to deps/publishing
allows for faster publishing dev as publishing-backend workflow
works against latest deps/publishing instead of cached version in .nbb
2024-10-30 12:37:02 -04:00
Tienson Qin
7d084abc5e fix: publishing app fails to load initial and then user data
fixes https://linear.app/logseq/issue/LOG-3257/publishing-app-fails-to-load-initial-and-then-user-data
2024-10-30 15:51:58 +08:00
Gabriel Horner
4214885b7c chore: mv remaining pdf properties to be in logseq.property.pdf 2024-10-16 11:10:15 -04:00
Tienson Qin
d06eb5f8d4 fix: pdf area annotation 2024-10-08 18:51:17 +08:00
Tienson Qin
998fc66132 Merge branch 'feat/db' into refactor/assets 2024-10-08 11:54:31 +08:00
Konstantinos
e09db5de59 Enhance (dev): Tabler icons (#11468)
* handle tabler-icons resources

* test removing tabler-icons-react

* Revert "test removing tabler-icons-react"

This reverts commit ea2553628d.

* replace @tabler/icons-react with tablerIcons on dist file

* fix: incorrect global react variable for the tabler react library

---------

Co-authored-by: charlie <xyhp915@qq.com>
2024-09-30 11:33:01 +08:00
Gabriel Horner
de6c6aedd2 chore: bump nbb-logseq for datascript bump in #11483 2024-08-26 11:22:40 -04:00
Gabriel Horner
f2b38b5963 fix: stop shadowing vars in deps and turn on related lint
Follow up to last commit. Added some exceptions for cljs.core
to minimize change for now
2024-08-23 16:58:08 -04:00
Tienson Qin
b9f9fa0ca6 wip: Demo switch to use db graph 2024-08-10 13:42:37 +08:00
Gabriel Horner
c660096937 fix: common test failing due to code organization
datascript based utils should be in db dep. common is for dependency free
namespaces
2024-08-08 09:24:02 -04:00
Tienson Qin
390b44985c chore: bump mldoc to 1.5.9 2024-08-03 15:19:51 +08:00