Commit Graph

231 Commits

Author SHA1 Message Date
Gabriel Horner
c77ccc8827 fix: remove org mode everywhere except graph-parser 2026-01-22 13:19:58 -05:00
Gabriel Horner
05ffa3eeb6 chore: remove fns made unused by OG removal
Found unused ones in deps/common, from unused frontend.db aliases
and from fns that only existed for their corresponding tests
2026-01-22 13:19:58 -05:00
Gabriel Horner
1d15e1f85d fix: rm file graph config from user config
Also remove unused helpers for file config keys and file graph code in
mobile.intent.  These removals also result in removing
frontend.common.file.util as it's no longer used
2026-01-22 13:19:57 -05:00
Gabriel Horner
96a9f95622 fix: remove file graph code from query-dsl
Allows removing unused file-rules and common.marker. Also remove
any incorrect or unused references to file graph markers like NOW
2026-01-22 13:19:57 -05:00
Gabriel Horner
3e0d57bc32 chore: prefix deps workflows with 'deps-'
to organize workflow files better
2026-01-21 14:16:38 -05:00
Tienson Qin
ec0cc4549b fix: lint 2026-01-22 00:52:47 +08:00
Tienson Qin
cbece9e29f fix: lint 2026-01-22 00:52:47 +08:00
Tienson Qin
6d51d33f15 cljs port of pluralize.js 2026-01-22 00:52:47 +08:00
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
Tienson Qin
73d4ee7caa Merge branch 'master' into enhance/ios-native-navigation 2025-11-24 22:36:50 +08:00
charlie
49407d561a refactor(assets): rename local-asset? to local-relative-asset? and update references 2025-11-21 18:02:06 +08:00
Tienson Qin
3244b6d599 chore: remove fn remove-nils 2025-10-15 17:26:29 +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
rcmerci
9ac33d60c3 refactor: update review.md, update date_time.cljs 2025-08-28 17:58:09 +08:00
Gabriel Horner
13d7709b34 chore: dry up usage of same fn across 3 namespaces 2025-08-26 11:27:34 -04: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
rcmerci
92ed692151 enhance: remove usages of macro get-all-defined-kw->config 2025-08-26 21:15:23 +08:00
Gabriel Horner
887d91d2ac enhance: start CLI dep and implement list command
Also move common db graph list to shared ns and move common prefix
constants to common-config
2025-08-11 17:05:39 -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
Tienson Qin
1fe46682e4 Merge branch 'master' into feat/hnswlib+transformer-js 2025-08-01 00:14:28 +08:00
Tienson Qin
8c402676a9 fix: page references with same name in one block (#12017)
* fix: page references with the same name in one block

* fix: empty :block/name for Library pages

* fix: invalid call to uuid-string?

trace suddenly showing up in multiple CLI calls

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2025-08-01 00:09:31 +08:00
Tienson Qin
2d50ca5ce2 Merge branch 'master' into feat/hnswlib+transformer-js 2025-07-11 18:15:33 +08:00
Tienson Qin
e259be0c51 feat: quick add (#11986)
* feat: quick add

* enhance(ux): auto open block for editing for quick add

* enhance(ux): show notification after quick add

* add migration for quick add page
2025-07-07 16:18:53 +08:00
Tienson Qin
53e0d1a4ca enhance: put library page name to config to make it easier to rename 2025-06-18 08:25:47 +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
ec22e71df5 fix: bump nbb-logseq to include datascript and nbb fixes 2025-06-06 11:45:25 -04:00
Tienson Qin
b68d08861c fix: multiple default views created for linked references 2025-06-02 11:19:43 +08:00
Tienson Qin
d7f0c248ff fix: bring back :ref/default-open-blocks-level 2025-06-02 11:19:10 +08:00
rcmerci
193e603547 fix: escape more regex meta chars
add related testcases
2025-05-28 14:40:35 +08:00
Gabriel Horner
0c0fb978d3 Merge branch 'feat/db' into refactor/page-parent 2025-05-21 08:45:24 -04:00
Tienson Qin
c18af313b8 enhance: put selected choices on top and ensure stable order 2025-05-21 03:01:31 +08:00
Tienson Qin
334b5be62e fix: search namespace pages 2025-05-18 03:19:46 +08:00
Tienson Qin
42778d36ae Merge branch 'feat/db' into refactor/page-parent 2025-05-16 23:27:20 +08: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
dda13d61b9 enhance: improved config.edn for new db graphs
New db config.edn don't include any of the file graph keys or comments.
Previously all comments were confusingly left lying around.
Also moved conversion of imported config.edn so that CLI can use it.
Also temporarily moved one dep to
https://github.com/nextjournal/nbb-test-runner/pull/2 until the PR is
merged
2025-05-15 12:14:46 -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
charlie
c0d135cc7d fix(tests): path join 2025-05-14 14:47:18 +08:00
Tienson Qin
972a5be0a4 chore: fs cares only memory and electron files 2025-05-14 13:06:54 +08:00
Tienson Qin
dc67bd4244 chore: remove repeat calls of safe-decode-uri-component 2025-05-14 12:48:55 +08:00
charlie
de99bb21b3 fix(electron): incorrect path join for Windows 2025-05-14 11:52:14 +08:00
Tienson Qin
5e1a968530 Merge branch 'master' into feat/db 2025-05-13 18:22:20 +08:00
Tienson Qin
c49ab05cd5 fix: url pathname needs to be decoded too 2025-05-09 01:56:15 +08:00
Tienson Qin
07781dabe8 enhance: log invalid url 2025-05-08 21:59:53 +08:00
charlie
7b86f9c8fe fix(electron): image assets broken for Windows #11846 2025-05-08 21:38:58 +08:00
Gabriel Horner
7319e1541c enhance: deprecate :journal/file-name-format for db graphs
Confirmed all uses of it are file only and fixed a case where db graph
could've accidentally used it (by having org-mode configured)
2025-05-06 14:44:58 -04:00