Commit Graph

493 Commits

Author SHA1 Message Date
Gabriel Horner
2e8d7c6303 fix: bump nbb-logseq to include datascript fix 2026-03-12 10:21:54 -04:00
Tienson Qin
2fb2c56725 set large graph title size 2026-03-12 18:29:45 +08:00
Tienson Qin
7d3d3922d1 enhance: generate large graphs with random text 2026-03-12 18:01:12 +08:00
Tienson Qin
b1ceaa1216 enhance: able to generate large graphs with >1M blocks 2026-03-12 10:42:07 +08:00
Gabriel Horner
f0f5911ca7 enhance: export-edn is idempotent for 3 more keys
For keys with non-ordered collections, use sets to consistently produce
idempotent values. Users can still author with vectors for these keys.
This affects :build/tags, :build/property-classes and
:build/class-extends.  Also remove any hacks around making their values
consistent across import->export cycles
2026-02-24 14:26:02 -05:00
Gabriel Horner
f28e001b5a enhance: ensure export EDN is idempotent across import and export
An EDN export should consistently produce the same EDN when imported
into a new graph and re-exported. This adds initial fn, cli option and
test to ensure this. There are some known TODOs. diff-graphs script was
removed as it was being used as a subset of the workflow provided by the
--roundtrip option
2026-02-18 15:23:41 -05:00
Tienson Qin
143a548f04 fix: more lint error 2026-01-26 20:00:31 +08:00
Tienson Qin
729ca7fcbf Merge branch 'master' into feat/worker-sync 2026-01-26 18:52:12 +08:00
Tienson Qin
0cf01ba780 fix: parent cycle 2026-01-26 17:36:34 +08:00
Gabriel Horner
f57d8a0625 chore: rm unused file-sync bb tasks 2026-01-22 13:19:58 -05:00
Gabriel Horner
ed805f039f chore: cleanup bb tasks after file graph removal
Remove needless 'db-' prefix for several dev tasks. Remove linter for
file and db graph separation. It served us well :)
2026-01-22 13:19:58 -05:00
Gabriel Horner
208b4bc205 fix: remove whiteboards and tldraw from rest of codebase
Also remove some old excalidraw refs that should've been removed awhile
back
2026-01-22 13:19:58 -05:00
Gabriel Horner
4bb7430682 fix: rm the last file-based namespaces in db dep
Also remove the following related file schema
attributes and their dependent code:
:block/marker, :block/priority, :block/scheduled,
:block/deadline,:block/repeated?, :block/pre-block?,
:block/properties-order, :block/properties-text-values, :block/macros,
:block/invalid-properties
2026-01-22 13:19:58 -05:00
Gabriel Horner
ab137a962a fix: remove file graph imports
Remove mention of removed JSON import in descriptions. Also mv frontend.util.fs
to where they are used instead of keeping an outdated file ns
2026-01-22 13:19:58 -05:00
Gabriel Horner
6312f8236a fix: remove file graph :block/file and dependent code
Also remove all file graph references in publishing and
add back publishing.db tests with db graph.
Also remove file graph behavior for cmd-k and files
2026-01-22 13:19:57 -05:00
Gabriel Horner
c89d415e93 chore: remove unused tutorial files 2026-01-22 13:19:57 -05:00
Gabriel Horner
37d9ebda1f chore: remove file-specific graph-parser code
Also removed file graph code for markdown export as a prereq
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
20cbb626a0 fix: frontend and graph-parser tests and lints
Removed file specific test
2026-01-22 13:19:57 -05:00
rcmerci
0864b485f4 refactor(db-sync): rename worker-sync to db-sync 2026-01-10 17:52:33 +08:00
rcmerci
c2738c9dc9 enhance(worker-sync): foreground dev task 2026-01-09 22:19:27 +08:00
Gabriel Horner
ca14110a86 fix: nbb scripts failing to start
Caused by new dep that isn't configured for use with nbb.
Can add back when it's actually nbb compatible and has a nbb.edn
2025-12-30 14:23:23 -05:00
Tienson Qin
704312b407 Add publish dep 2025-12-27 04:44:05 +08:00
Tienson Qin
c084a6b9d0 fix dicts 2025-12-26 12:54:44 +08:00
Tienson Qin
ec7a325bcb more cleanup 2025-12-26 12:35:13 +08:00
Tienson Qin
b3813ade7c remove file sync, tldraw, excalidraw and zotero 2025-12-25 15:13:13 +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
Gabriel Horner
84db92bc19 fix: translations from #12258 2025-12-17 10:19:19 -05:00
Gabriel Horner
effcce3a64 fix: lockfile not updated for latest nbb-logseq 2025-12-09 11:01:30 -05: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
rcmerci
1aff68e4b2 script: update create-graph-with-clojuredocs, add author property 2025-12-08 00:14:02 +08:00
rcmerci
af22f09748 script: update create-graph-with-clojuredocs 2025-12-07 23:49:43 +08:00
rcmerci
e90191f632 script: add create-graph-with-clojuredocs 2025-12-07 23:10:07 +08:00
Gabriel Horner
8fc56bfaa3 refactor: Update importer to use validate-local-db
Also update validation in DB scripts:
* replace alternative validate-db impl with standard CLI one
* Add validation to import script
* Choose to decouple other DB scripts from validate-db as it may go away
  later
2025-12-04 10:30:56 -05:00
Gabriel Horner
b59164fa24 chore: add deps/cli to separate linter 2025-10-29 15:50:47 -04:00
Gabriel Horner
22c1fa0c18 chore: mv api cli fns to their own ns
Move to keep inline with recent api refactor.
Also more lint config for api
2025-10-22 15:26:51 -04:00
Gabriel Horner
f8b4277e60 fix: db api fn using file graph attributes + fns 2025-10-22 13:52:51 -04:00
Tienson Qin
d8809f0b7e feat: cljs sdk (#12168)
Add clojurescript plugins API
2025-10-21 16:32:12 +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
Paulo Bueno
6b68197e55 fix: Fix install-linux.sh and add uninstall option
- Fix broken installation with --user option
- Fix desktop icon link when in --user mode
- Add uninstall command (only installation, not user's data)
2025-10-07 02:42:01 -07:00
rcmerci
8c968464fb dev: update agents.md, add bb e2e-test cmds 2025-09-26 22:11:13 +08:00
Gabriel Horner
823919e28a fix: wrong log and separate linter 2025-09-25 12:03:20 -04:00
Tienson Qin
20a477c35b refactor: move db graph page operations to outliner dep 2025-09-25 21:35:50 +08:00
Robin Lovelace
0696d51dc8 Add Linux installer script and update README (#12115)
- Add comprehensive install-linux.sh script in scripts/
- Script supports both system-wide and user-specific installation
- Handles desktop integration and sandbox permissions
- Supports version-specific installations
- Update README.md with Linux installer instructions
- Closes #12114
2025-09-22 15:27:56 +08:00
Tienson Qin
1e5ee6f25e Add shortcuts to patch 2025-09-21 12:25:06 +08:00
Tienson Qin
5e16e2e95e update shortcuts to manual 2025-09-20 04:37:56 +08:00
Tienson Qin
f15263edd6 fix: patch 2025-09-20 02:58:53 +08:00
rcmerci
9a55f24ff1 refactor: remove src/rtc_e2e_test
rtc-e2e-test already moved to clj-e2e
2025-09-09 22:37:46 +08:00
Gabriel Horner
f93f889f8a chore: bump to latest nbb w/ datascript update 2025-09-03 10:00:45 -04:00
Gabriel Horner
dac7ad37a6 fix: publishing doesn't load with latest shadow changes 2025-09-01 16:54:06 -04:00