Commit Graph

23800 Commits

Author SHA1 Message Date
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
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
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
Tienson Qin
621b79ce9d fix(outliner): resolve stale numeric ids in semantic ops 2026-04-23 18:58:23 +08:00
Mega Yu
7c7f523cdb update i18n 2026-04-23 18:03:11 +08:00
Tienson Qin
7fc2716e24 fix: align page-title block control across platforms 2026-04-23 17:23:51 +08:00
Tienson Qin
fa01a05f41 fix(regression): page title control disappear and not center aligned 2026-04-23 17:09:52 +08:00
Tienson Qin
3414177805 fix: validate client tx and ensures monotonically increasing 2026-04-23 15:52:03 +08:00
Tienson Qin
e379629247 fix: bump java version 2026-04-23 02:28:55 +08:00
Tienson Qin
12e8cc3d36 fix(db): clear tx-tail after batch-transact store 2026-04-23 02:28:55 +08:00
Gabriel Horner
96367595aa fix(regression): bidirectional properties setup
cdc1bc1d32 made it such that two classes
had to enable bidirectional properties when only one class should be
needed. Using the example from #12296, the bug was requiring the user
to enable bidirectional on #Person and #Book when #Book is all that
should be needed
2026-04-22 13:24:29 -04:00
Tienson Qin
017aa9db43 fix(editor): keep journal title non-editable with visible caret 2026-04-22 19:13:13 +08:00
Tienson Qin
da78094cb8 fix(electron): warn on x64 release on Apple Silicon 2026-04-22 18:41:49 +08:00
Gabriel Horner
591bfa9d22 fix: :view-context not working on page properties
Journals and normal pages seeing :tag and :property :view-context
properties. Leads to nonsensical and confusing use of properties
2026-04-21 12:42:18 -04:00
Gabriel Horner
e39dc395e6 fix: incorrect confirmation when deleting today's journal 2026-04-21 12:25:59 -04:00
Tienson Qin
238c85dbd2 fix(test): initialize random-mixed-ops tracker after tree seed 2026-04-21 21:45:30 +08:00
eliovir
1da2104f1e Update fr.edn (#11077)
Typography
2026-04-21 17:26:30 +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