Commit Graph

448 Commits

Author SHA1 Message Date
Tienson Qin
00964157b1 dev: run lint-and-test in parallel
run cljs tests in parallel too
2026-05-12 23:36:42 +08:00
Charlie
3c2359a79e enhance(plugins): libs improvements (#12588)
* enhance(libs): add Commands proxy and unified command APIs

* enhance(plugin): improve unregistering of simple and palette commands

* enhance(plugin): add unregister functionality for plugin commands

* chore(libs): add logseq.Commands API guide and implementation

* enhance(libs): introduce LSPluginNet for HTTP client functionality

* fix(ipc): ensure proper handling of IPC messages and improve plugin call structure

* enhance(libs): add HTTP methods (GET, HEAD, POST, PUT, PATCH, DELETE) and error handling

* enhance(api): support additional identifier types for opening blocks in sidebar

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-07 15:21:48 +08:00
rcmerci
6d91d8ccae Merge remote-tracking branch 'origin/master' into feat/cliable 2026-04-28 22:59:59 +08:00
rcmerci
eca0ab1a36 Merge remote-tracking branch 'origin/master' into feat/cliable 2026-04-28 18:17:17 +08:00
Tienson Qin
70ac6e54ff test(publish): add comprehensive suite and permission coverage 2026-04-28 17:05:33 +08:00
megayu
79c25837cb Migrate from yarn to pnpm (#12529)
* migrate yarn to pnpm

* chore: update pnpm version to 10.33.0 across all package.json files

* chore: update .npmrc and package.json for improved dependency management

* chore: unify Clojure, Node, and Java version in workflow files

* fix: enable shamefully-hoist for now and add electron, keytar to onlyBuiltDependencies

* feat: add cider/piggieback dependency and update nREPL middleware configuration to silence warnings

* ensure pnpm setup prior to node setup

* fix: update logseq/bb-tasks git SHA

* feat: add pnpm configuration for onlyBuiltDependencies in package.json

* feat: add onlyBuiltDependencies configuration for better-sqlite3 in pnpm settings

* chore: update pnpm lockfile

* fix: resolve merge conflicts

* fix: remove invisible characters from markdown headers

* fix: update .npmrc comments for clarity on lockfile usage

* Revert "feat: add cider/piggieback dependency and update nREPL middleware configuration to silence warnings"

This reverts commit 70a111936f.

* fix: remove invisible characters from various README files and add .editorconfig

* fix: clarify lockfile resolution process in SKILL.md

---------

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2026-04-24 23:40:25 +08:00
Tienson Qin
e048996880 Merge branch 'master' into feat/cliable 2026-04-22 21:07:00 +08:00
megayu
6df9d43c26 update logseq-i18n-lint (#12527)
* chore: update logseq-i18n-lint binaries to 5cb43a2cc559

* chore: update PR creation to use default branch and repo owner variables

* feat(i18n): add check for missing translations in validation process

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-21 11:11:37 +08:00
Mega Yu
3332972fd9 Merge 'master' into enhance/i18n 2026-04-20 13:24:40 +08:00
charlie
b6e12a263d chore(libs): build cljs sdk with the latest sdk 2026-04-20 12:54:35 +08:00
rcmerci
4b13d67a88 Merge remote-tracking branch 'origin/master' into feat/cliable 2026-04-18 10:25:32 +08:00
Mega Yu
007e80d74d enhance(lang): update translation summary to include untranslated count 2026-04-17 11:11:30 +08:00
Mega Yu
81b42a8249 enhance(i18n): add translation summary stats and sorting functions 2026-04-16 16:03:42 +08:00
Mega Yu
b9f08881db feat(util): add utility functions for display width and table rendering 2026-04-16 11:08:00 +08:00
Mega Yu
bf197f9861 feat(lang): add functions for identifying identical translations to English 2026-04-16 11:06:44 +08:00
Mega Yu
e6fbf5a828 add bb lang:format-dicts 2026-04-15 21:27:53 +08:00
Mega Yu
5d244dd93b fix(lang): format percentage output for language translation counts 2026-04-15 20:01:45 +08:00
Mega Yu
0ceda82d33 refactor(lang-lint): leverage logseq-i18n-lint for superior accuracy and performance 2026-04-15 16:00:39 +08:00
Mega Yu
5eda6a8ab6 Merge master into enhance/i18n 2026-04-14 16:42:19 +08:00
Tienson Qin
292db15345 add script to create clojure irc graph 2026-04-14 00:19:29 +08:00
Mega Yu
69b7a0e893 improve i18n 2026-04-13 14:39:53 +08:00
Mega Yu
3ac92e7485 improve i18n 2026-04-10 14:39:29 +08:00
Tienson Qin
c80a3cdb98 fix: catch deps clj-kondo warnings in lint-test-deps 2026-04-10 02:37:28 +08:00
Tienson Qin
0392444cdf add bb dev:lint-test-deps to run lint and tests for deps 2026-04-10 00:21:14 +08:00
Mega Yu
65180f911c remove unnecessary i18n key 2026-04-09 19:40:24 +08:00
Mega Yu
de1a7a9c6e enhance i18n 2026-04-09 16:22:42 +08:00
Mega Yu
7f0b36e057 enhance i18n 2026-04-09 10:11:14 +08:00
Mega Yu
e9d3c8da00 enhance i18n 2026-04-08 09:32:18 +08:00
rcmerci
40d546a5f7 Merge remote-tracking branch 'origin/master' into feat/cliable 2026-04-04 21:33:53 +08:00
Mega Yu
d7470632f3 feat(lang-lint): add linting for hardcoded strings and refactor translation validations 2026-04-03 11:47:01 +08:00
Tienson Qin
333f3e10b1 remove vector embeddings 2026-04-02 18:51:29 +08:00
rcmerci
75be7be8df Merge remote-tracking branch 'origin/master' into feat/cliable 2026-03-13 16:32:49 +08:00
megayu
adbaf10abc chore: tech stack upgrade (#12448)
* fix(lint): make worker/frontend separation lint work on Windows

* chore: update cljs:electron-watch script to include test flag

* chore: remove dead root dependencies

* chore(deps): converge better-sqlite3 to 12.6.2 across deps packages

* chore(deps): converge fs-extra to ^11.3.0 across package roots

* fix(test): correct parameters for create-if-not-exists function

* chore(deps): converge cljs-bean to 1.9.0 across deps roots

* fix(tests): escape regex in cljs:run-test script

* chore: pin root packageManager to yarn 1.22.22

* chore(build): replace del with fs.rmSync in gulp clean

* chore(build): replace npm-run-all with npm-run-all2

* chore(security): upgrade dompurify and unify sanitizer path

* chore(observability): upgrade web sentry to 8.x

* chore: remove unused react-draggable dependencies

* chore(ci): fix windows release artifact collection

* fix(build): create static dir before gulp clean scans it

* fix: update nbb-logseq dependency to version feat-db-v33

* fix(test): move start-time initialization after clone repo

* fix(deps): update nbb dependencies and adjust test script paths to compatible with windows path delimiter

* chore(deps): remove dead meander dependency

---------

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2026-03-13 13:20:49 +08: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
rcmerci
66278e7687 fix: bb process/shell throws 'Operations not permitted(sysctl fail)' in agent sandbox 2026-03-12 15:10:55 +08:00
Gabriel Horner
7b2ef7fce2 milestone 1+2 2026-03-12 15:10:55 +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