Commit Graph

23815 Commits

Author SHA1 Message Date
Mega Yu
6cb3c2cbca fix: update electron scripts to use node for execution 2026-04-30 15:30:41 +08:00
Mega Yu
45909d73ac Merge remote-tracking branch 'origin/master' into refactor/vite-migration 2026-04-30 11:28:01 +08:00
Mega Yu
ddb11c0ffb test: update month arithmetic test to handle end-of-month date clipping 2026-04-30 11:25:18 +08:00
Mega Yu
37896bec58 add docstrings 2026-04-30 11:25:06 +08:00
Mega Yu
ea631c3a54 fix(vite): rewrite shadow externals namespace imports to correct default/named forms 2026-04-29 21:50:42 +08:00
Tienson Qin
69c4d36a61 fix: :block/name shouldn't be updated for custom date formatter
fixes https://github.com/logseq/db-test/issues/830
2026-04-29 16:44:22 +08:00
Tienson Qin
62eac11fe3 fix: search doesn't returns matched pages 2026-04-29 13:10:05 +08:00
Gabriel Horner
6945771612 fix(regression): export-edn fails on deprecated property
that wasn't migrated when removed in 333f3e10b1
Fixes https://github.com/logseq/db-test/issues/831
2026-04-28 10:54:35 -04:00
Mega Yu
60694745b1 fix(build): prevent plugin sdk process shim from blocking editing 2026-04-28 22:53:11 +08:00
Mega Yu
97a30f61d3 feat: enhance IIFE require shim with global access expression 2026-04-28 22:53:11 +08:00
Gabriel Horner
ae79ec6c60 fix: incorrect and unused ns lint config 2026-04-28 09:28:24 -04:00
Gabriel Horner
cecabbf157 fix: capitalize paid feature consistently like we do with Sync 2026-04-28 09:03:30 -04:00
Tienson Qin
99d2e30066 fix(sync): ignore oversized tldraw payload on snapshot upload 2026-04-28 19:50:45 +08:00
Tienson Qin
ffbcaeacb1 fix: add mldoc dependency for publish tests 2026-04-28 19:36:14 +08:00
Tienson Qin
293309801f fix(sync): cap snapshot upload payload to 1MB 2026-04-28 19:14:21 +08:00
Tienson Qin
bba25ea579 fix: set batch upload kvs to 500 instead of 2000 2026-04-28 18:29:43 +08:00
Tienson Qin
200569e512 fix: web backup 2026-04-28 18:06:45 +08:00
Tienson Qin
70ac6e54ff test(publish): add comprehensive suite and permission coverage 2026-04-28 17:05:33 +08:00
charlie
4b7c84e7cb chore: build libs core 2026-04-28 16:53:47 +08:00
megayu
ccd31e2c75 Merge branch 'master' into refactor/vite-migration 2026-04-28 16:46:02 +08:00
Tienson Qin
b953a5c92c fix(publish): hide hidden properties in page render 2026-04-28 16:44:27 +08:00
Mega Yu
b5bcea3eb5 fix test 2026-04-28 16:40:55 +08:00
Tienson Qin
3a63f09bef fix(publish): keep legacy short/page URL compatibility 2026-04-28 16:40:01 +08:00
Tienson Qin
c2c5dbee0c fix(publish): match app status icon styles and alignment
fixes https://github.com/logseq/db-test/issues/819
2026-04-28 16:26:32 +08:00
Tienson Qin
e44bd79526 fix(publish): hide protected pages from ref and user listings 2026-04-28 15:56:32 +08:00
Tienson Qin
0a077d1144 fix(publish): remove public /pages listing endpoint 2026-04-28 15:55:03 +08:00
Mega Yu
a00fb39413 Merge branch 'master' into refactor/vite-migration 2026-04-28 15:53:22 +08:00
Mega Yu
ca4d0c5dc6 refactor(build): migrate ui and plugin sdk builds to vite 2026-04-28 15:52:20 +08:00
Tienson Qin
0b6ec5916c fix(publish): hide protected page content from tag listings 2026-04-28 15:51:26 +08:00
TechnoHouse
80344840c4 feat: configurable publish server URL (#12520)
* feat: configurable publish server URL

Mirror the Custom Sync Server URL pattern (#12459) for the single-page
publish service. Settings -> Advanced -> Publish server URL opens a
dialog that writes the URL to localStorage; frontend.config/publish-api-base
reads it on each call so URL changes take effect without a restart.

Unlike sync, publish does not need a push-config-to-worker step because
the handler is purely HTTP request-response with no long-lived connection.

* fix(i18n): resolve en.edn merge after master sync

---------

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2026-04-28 15:44:55 +08:00
charlie
5907b09824 fix(i18n): update interpolate function reference in plugin 2026-04-28 15:35:00 +08:00
Charlie
cfa90139b4 enhance(plugins): custom block renderer (#12533)
* enhance(plugins): add block properties and block renderers with conditional rendering

* chore(libs): bump version

* enhance(docs): update Experiments API guide with detailed usage examples and best practices

* enhance(ui): implement plugin renderer effects and enhance action bar visibility

* enhance(plugin): improve router refresh mechanism for dynamic plugin routes

* chore(libs): rename development notes and add SKILL.md for plugin SDK

* enhance(plugin): enhance PluginLogger with structured log entries and UI for viewing logs

* fix: lint

* Update src/main/frontend/components/block.cljs

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

* Update src/main/frontend/handler/plugin.cljs

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

* Update src/main/frontend/handler/plugin.cljs

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

* Update libs/src/modules/LSPlugin.Experiments.ts

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

* Update src/main/frontend/handler/plugin.cljs

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

* enhance(plugin): add rich text interpolation to i18n translation

* fix: lint

* fix: lint

* fix: remove unnecessary newlines and clean up code formatting

* fix: lint

* fix(libs): incorrect entry path for js mode

* enhance(docs): add custom theme plugin guide and update SKILL.md

* enhance(plugin): add 'open logs' option in multiple languages

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-28 15:17:55 +08:00
Mega Yu
8bf4624a34 feat(build): replace gulp static pipeline with vite 2026-04-28 14:14:41 +08:00
Tienson Qin
1bcd855542 fix: flashcards dialog closed immediately after finishing one card 2026-04-28 13:29:22 +08:00
Tienson Qin
3cfe5eca98 chore: remove log 2026-04-28 12:59:11 +08:00
TechnoHouse
d3b8c5bff7 fix(publish): acquire DO stubs in sync let to avoid RpcPromise clone (#12521)
* fix(publish): acquire DO stubs in sync let to avoid RpcPromise clone

Under the new cloudflare:workers DurableObject RPC runtime, stubs
returned from (.get do-ns do-id) are thenable. Binding them in a
(p/let) causes promesa to await the stub, triggering a structured
clone that fails with DataCloneError on RpcPromise. Pulling stub
acquisition into a surrounding sync (let) avoids the await entirely.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* Update deps/publish/src/logseq/publish/routes.cljs

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

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-28 12:54:40 +08:00
Tienson Qin
0d5986eb90 fix(flashcards): load collapsed children when revealing answers
fixes https://github.com/logseq/db-test/issues/828
2026-04-28 12:50:13 +08:00
Tienson Qin
cea40a2cd6 fix(outliner): remap pasted property value uuids 2026-04-28 12:19:47 +08:00
Tienson Qin
540e410320 fix: paste 2026-04-28 11:57:44 +08:00
rcmerci
9e3a592cff fix: toggle spell-check not working
fix https://github.com/logseq/db-test/issues/823
2026-04-27 23:31:38 +08:00
Mega Yu
3784a81801 refactor: migrate worker bundling to vite 2026-04-27 20:00:37 +08:00
Mega Yu
7a827b2d2e feat(build): externalize browser builds to vite bridge 2026-04-27 09:14:45 +08:00
Tienson Qin
13967973d9 Update roadmap link 2026-04-25 02:00:51 +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
94ea551ec4 perf(db): optimize recursive uuid title replacement (#12536)
* perf(db): optimize recursive uuid title replacement

* fix: lint

* fix: don't lower-case for search indexed blocks

* fix: typo
2026-04-24 21:09:47 +08:00
megayu
7fa6a1d99c feat(i18n): improve command search with bilingual and pinyin matching (#12535)
* feat(i18n): enhance bilingual search functionality with multi-field scoring

Co-authored-by: Copilot <copilot@github.com>

* feat(i18n): add pinyin-initial matching for zh-CN command search

Co-authored-by: Copilot <copilot@github.com>

* feat(cmdk): invalidate commands cache on initialization

Co-authored-by: Copilot <copilot@github.com>

* feat(i18n): add parameterized translation function to i18n_functions

---------

Co-authored-by: Copilot <copilot@github.com>
2026-04-24 18:45:04 +08:00
Tienson Qin
d54484dff2 fix(test): silence expected errors and task fail arity 2026-04-23 19:54:00 +08:00
Tienson Qin
f37025a364 fix(sync): remap apply-template internal value refs on redo 2026-04-23 19:10:11 +08:00
Tienson Qin
3b1b320977 fix(sync): preserve apply-template block uuids on redo 2026-04-23 18:58:23 +08:00
Tienson Qin
8353f574ae fix(sync): reject stale numeric history ops and surface worker ex-data 2026-04-23 18:58:23 +08:00