Commit Graph

23993 Commits

Author SHA1 Message Date
rcmerci
76f6faa8c1 fix: web app can't sync after merge master 2026-04-21 00:35:14 +08:00
Gabriel Horner
32a567973a fix(cli): sync error doesn't show hint
Running `logseq sync remote-graphs` didn't show :missing-auth hint
2026-04-20 12:05:22 -04:00
rcmerci
4000bbfbb3 fix(cli): fail fast on invalid inputs and remove legacy fallbacks 2026-04-20 19:58:20 +08:00
Tienson Qin
b2cc4ea829 fix(sync): handle snapshot reset and tx epoch rollback
Fix snapshot-stream reset coercion so first non-empty chunk actually applies reset during full uploads.

Broadcast changed(t-now) after finished snapshot upload so connected peers learn the new snapshot epoch immediately.

Handle remote tx rollback on clients (hello/changed with remote-tx < local-tx) by rebasing local tx/checksum cursor and requesting pull from the new baseline.

Harden ws broadcast in non-WS test contexts and add regression tests for reset-on-first-chunk and finished-upload changed broadcast.

Verified with: cli-e2e sync-multi-batch-operations (passes).
2026-04-20 17:45:57 +08:00
Tienson Qin
85c5a412a4 revert changes from 1bdba92 related to sync 2026-04-20 15:19:33 +08:00
Tienson Qin
16153bf2ca Merge branch 'master' into feat/cliable 2026-04-20 14:46:34 +08:00
rcmerci
8e9d190774 update agents.md 2026-04-20 13:13:06 +08:00
rcmerci
1bdba923eb fix sync test 2026-04-20 10:56:44 +08:00
rcmerci
b9e71b6d7f update cli agents.md 2026-04-19 18:00:25 +08:00
rcmerci
21efd3439a enhance(cli-e2e): update e2ee-password option for cli-e2e-sync 2026-04-19 17:38:55 +08:00
Tienson Qin
87844c6dfb fix: move idbkv to cljs implementation 2026-04-19 12:53:48 +08:00
rcmerci
e392976fe4 fix lint 2026-04-19 12:49:49 +08:00
rcmerci
8e7e2e9b95 Merge remote-tracking branch 'origin/feat/cliable' into feat/cliable 2026-04-19 12:06:00 +08:00
rcmerci
db79b0faff fix(cli): other updates after merge master 2026-04-19 12:01:17 +08:00
charlie
68db72d69d chore(libs): bump version 2026-04-18 18:58:10 +08:00
charlie
e00b3b5b58 chore: downgrade electron to 39.8.8 2026-04-18 18:40:54 +08:00
Gabriel Horner
0e52b51de1 fix(cli): update cli skill
Update outdated commands and remove references section which has a
misleading command and a nonexistent file
2026-04-18 00:52:51 -04:00
rcmerci
4b13d67a88 Merge remote-tracking branch 'origin/master' into feat/cliable 2026-04-18 10:25:32 +08:00
Gabriel Horner
6c9b6ed6cc enhance(cli): completion for 3-level commands
Handles `logseq graph backup[TAB]` and `logseq graph backup remove[TAB]`
2026-04-17 16:54:21 -04:00
Gabriel Horner
e27d38beb8 fix(cli): graph backup create fails to create graph 2026-04-17 16:24:36 -04:00
Gabriel Horner
5f8c79ff8b enhance(cli): upserted :block/title supports integer/id block refs
Supporting integers allows us to fix
https://test.logseq.com/#/page/69de6e3e-6c60-476c-9347-9f377e7b2fb9 and
rely on standard error reporting when multiple pages with the same name
are found
2026-04-17 13:01:07 -04:00
Gabriel Horner
4a5f66d874 fix(cli): random property value selection with --update-properties
and same names. It is ok to error with this option as
users can choose an integer to look up e.g. --update-properties='{"node" 191}'
Fixes
https://test.logseq.com/#/page/69de70a0-d455-4d40-8247-878a5cf89e57
2026-04-17 12:58:47 -04:00
rcmerci
194118b298 enhance(cli): atomic behavior for upsert commands 2026-04-17 20:07:57 +08:00
megayu
76285de44b refactor: toolchain upgrade (#12517)
* chore(deps): upgrade Clojure version to 1.12.4 across multiple dependency files

* chore: bump shadow-cljs to 3.3.6

* chore: bump org.clojure/clojurescript to 1.12.134

* chore(deps): upgrade Clojure version to 1.12.4 in workflow files

* chore(deps): upgrade Java version to 21 in workflow files

* chore(deps): upgrade Node.js version to 24 in workflow files

* chore(deps): upgrade Node.js version to 24 in Dockerfile

* feat(updater): migrate electron-forge to electron-builder

* fix wrong android app version

* fix workflow

* feat(dependency-upgrade): add max-update-interval option for dependency audits

* chore(deps): upgrade electron-builder and electron-updater

* fix: update manual verification instructions for Electron shim cache

* chore: update shadow-cljs version to 3.4.4 across all dependencies

* chore: upgrade electron version to 41.2.1

* chore: update metosin/malli dependency to latest

* chore: upgrade cider-nrepl version to 0.59.0 in dependencies

* chore: upgrade clj-kondo version to 2026.04.15 and fix warning

* chore: move Electron windows build configuration from yml to ci

* chore: update Electron signing configuration to extend from base config

* fix: replace icon file for NSIS compatibility

* chore: resolve metosin/malli version conflicts

* chore: upgrade jdk to 21 in e2e workflow

---------

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2026-04-17 19:40:01 +08:00
Tienson Qin
f53767dfc6 chore: remove both transit-read and transit-write
use write-transit-str and read-transit-str instead
2026-04-17 16:58:18 +08:00
Tienson Qin
12509f58db fix: plugins e2e tests 2026-04-17 15:57:53 +08:00
rcmerci
c24432b5ac enhance(cli): breadcrumb in show (2) 2026-04-17 15:49:51 +08:00
Gabriel Horner
eb1d921d5d enhance: add block context menu option to open an asset file
Addresses 2nd issue in https://github.com/logseq/db-test/issues/792
of not being able to download an asset that doesn't have a special
block view
2026-04-16 15:57:39 -04:00
Tienson Qin
9804728afa fix: failed to convert page to tag
fixes https://github.com/logseq/db-test/issues/805
2026-04-17 01:48:04 +08:00
Gabriel Horner
ea3a732095 fix: Can't copy image in desktop
Addresses one of the issues in
https://github.com/logseq/db-test/issues/792
2026-04-16 13:41:26 -04:00
Tienson Qin
8606a8b5f0 fix: it's unsafe to invoke d/store in nested batch tx
Switched to use our own `conn-from-db` that doesn't call `d/store`.
2026-04-17 01:36:30 +08:00
rcmerci
1f2eac1adc enhance(cli): breadcrumb in show 2026-04-16 21:51:01 +08:00
Tienson Qin
6c05b9d66e chore: bump cider-nrepl 2026-04-16 16:32:50 +08:00
charlie
78aded53ea enhance(ux): add retry mechanism for clicking add button after page creation 2026-04-16 15:31:13 +08:00
hoellen
8a2159e907 fix: use scheme instead of hardcoded http 2026-04-16 15:21:51 +08:00
hoellen
3b13f5f19f fix: snapshot upload stuck when graph has large blocks 2026-04-16 15:20:17 +08:00
charlie
08f197ded9 enhance(plugin): add normalization function for user keys and enhance sidebar renderer integration 2026-04-16 13:02:01 +08:00
Gabriel Horner
996a278b45 fix: batch page delete always returns failed message
This happened because successful deletes didn't return their result
and threw errors
2026-04-15 17:18:10 -04:00
Gabriel Horner
eadad9df45 enhance: improve wording on recycle related ux
- Update confirmations so that tag and property are clearly explained as
  permanently deleted
- Deleted page/delete-confirmation non-en translations since the text
  has changed
2026-04-15 17:18:10 -04:00
Tienson Qin
7edeae6971 enhance(search): speed up indexing and show progress 2026-04-16 03:43:43 +08:00
Tienson Qin
843f871dc6 add log to debug search 2026-04-16 03:09:14 +08:00
Tienson Qin
989e70284d fix: number eids shouldn't be used for ops 2026-04-16 03:00:33 +08:00
Tienson Qin
7aca776183 chore: show debug checksums on dev or test environments 2026-04-15 22:47:13 +08:00
SHI SHUJUN
1a162ae3f0 fix: installation script handling of icons and user-level installations. (#12510) 2026-04-15 22:28:36 +08:00
Tienson Qin
9d3a725054 style tweaks 2026-04-15 22:09:49 +08:00
Gabriel Horner
18b5ecd356 fix(cli): some list commands showing unused options
asset, task and node were showing 2 options that don't apply
to them
2026-04-15 09:01:22 -04:00
Gabriel Horner
8290108557 fix: drag n drop asset doesn't work in electron
Last console error was
"Error: No protocol method ICounted.-count defined for type object: [object ArrayBuffer]"
2026-04-15 08:34:57 -04:00
Tienson Qin
86c44dc3a8 enhance(frontend): batch db-worker get-block fetch safely 2026-04-15 18:26:29 +08:00
Tienson Qin
8058ece6c4 fix(page): gate deferred root reveal by children completion 2026-04-15 17:49:50 +08:00
Tienson Qin
58fdd8aea1 add doc for batch-transact! and batch-transact-with-temp-conn! 2026-04-15 17:49:50 +08:00