Commit Graph

288 Commits

Author SHA1 Message Date
Tienson Qin
83a3a7cdf9 use R2 for both graph upload/download 2026-01-21 22:43:09 +08:00
Tienson Qin
36c5afeece enhance(ux): editing user avatar presence 2026-01-21 19:29:34 +08:00
Tienson Qin
d181b1bfa9 online user presense 2026-01-21 15:55:10 +08:00
rcmerci
410d4a27f2 dev(db-sync): add db-sync debug icon in header 2026-01-11 22:26:52 +08:00
rcmerci
0864b485f4 refactor(db-sync): rename worker-sync to db-sync 2026-01-10 17:52:33 +08:00
Tienson Qin
6606162080 fix: property db attrs need to be at the beginning of tx-data 2026-01-10 16:00:07 +08:00
Tienson Qin
3fbd1c842e fix: set local tx when downloading graph 2026-01-10 10:57:34 +08:00
Tienson Qin
274e7b63ef fix: both upload and download graph
tested for 4k movies
2026-01-08 22:19:48 +08:00
Tienson Qin
fc4351c716 fix: import 2026-01-08 18:10:03 +08:00
Tienson Qin
e89fdb92b6 download use sqlite rows 2026-01-08 17:37:28 +08:00
Tienson Qin
dcff007590 fix: prefer server graph id 2026-01-08 17:10:27 +08:00
Tienson Qin
36488b5a2d upload graph 2026-01-08 14:39:47 +08:00
Tienson Qin
4670a67bdc able to download remote graph 2026-01-07 23:57:35 +08:00
Tienson Qin
93269f83fc initial sync graph 2026-01-07 23:57:35 +08:00
Tienson Qin
3090074fff handle 3 cases 2026-01-07 23:57:35 +08:00
Tienson Qin
f1d15f5c64 integrate worker sync 2026-01-07 23:57:35 +08:00
rcmerci
1a33a365fa dev(rtc): refactor debug-log
- integrate `debug-log-db` into GC process
- update schema with `repo` column and `DATETIME`
- export `reset_debug_log_db`
2026-01-06 22:52:52 +08:00
Tienson Qin
27016657fd add debug db tx-log and ws messages tables 2026-01-06 22:47:35 +08:00
Tienson Qin
2897410690 tweak words for invalid db 2026-01-06 08:33:05 +08:00
Tienson Qin
664743b286 fix: logseq.Editor.renamePage HTTP API hangs indefinitely
related to https://github.com/logseq/db-test/issues/701
2026-01-03 21:00:16 +08:00
Tienson Qin
08ab09a447 fix: property issues 2025-12-28 17:01:57 +08:00
Tienson Qin
7d719623a1 refactor: prefer conn than repo for outliner core and rtc update 2025-12-26 00:05:43 +08:00
Tienson Qin
f419fbea8b cleanup 2025-12-25 19:11:58 +08:00
Tienson Qin
9f927137a3 remove file based handlers 2025-12-25 17:21:28 +08:00
Tienson Qin
32cbac5a52 remove file based page handler 2025-12-25 16:23:23 +08:00
Tienson Qin
aea9f09fd1 Simple query performance enhancements (#12262)
* perf: separate scalar from ref property query

* fix: query bindings

* perf: separate default value query from others

* fix: import properties first and then other datoms
2025-12-19 19:37:51 +08:00
Gabriel Horner
584dd3e362 chore: remove rest of fix-broken-graph
Removed in 30068f882e for
https://github.com/logseq/db-test/issues/655
2025-12-16 11:02:12 -05:00
Tienson Qin
05f21dd8ba fix: capture error support extra data 2025-12-08 00:10:10 +08:00
rcmerci
894e157eb2 chore: remove unused require 2025-11-24 11:40:18 +08:00
rcmerci
d472efc039 enhance(rtc,e2ee): remove unused deprecated code 2025-11-24 11:40:18 +08:00
rcmerci
b2f314556a feat(rtc): generate salt and encrypt-key when create-db-graph 2025-11-24 11:40:18 +08:00
Tienson Qin
c4c4634bee fix: remove entity db/id from tx-data 2025-11-21 00:33:34 +08:00
Gabriel Horner
5489e7572f enhance(cli): export-edn prints unexpected errors
especially when an invalid export-type is given
2025-11-18 09:51:20 -05:00
Tienson Qin
a4ec889a5d fix: some built-in tags shouldn't be recognized as inline tags
related to https://github.com/logseq/db-test/issues/555
2025-11-05 04:23:50 +08:00
Gabriel Horner
15a5f29b4b Merge pull request #12111 from logseq/feat/mcp-server
Feat: Add MCP server
2025-10-29 15:59:32 -04:00
Tienson Qin
263c499e57 fix: ensure UI db is full when importing file graph
The long-term goal is to move all writes to the db worker.
2025-10-30 00:20:51 +08:00
Tienson Qin
0422d75f68 Merge branch 'master' into feat/mcp-server 2025-10-27 09:06:14 +08:00
Tienson Qin
26ee49f620 fix: invalid errors for sentry 2025-10-25 00:02:22 +08:00
Tienson Qin
bbc415c1be collect invalid db errors to sentry 2025-10-24 23:26:52 +08:00
Gabriel Horner
20ed5bccfb Merge branch 'master' into feat/mcp-server 2025-10-22 12:20:54 -04:00
Gabriel Horner
0f7532e3c3 enhance: list* tools default to minimal info
Provide expand option to provide additional detail
2025-10-16 16:53:16 -04:00
Gabriel Horner
0122425e68 fix: upsert-nodes build in db-worker and transacts w/ new op
Ensure full db is available for building import edn.
Transacting w/ new op allows llm changes to be undone
2025-10-16 13:37:29 -04:00
Gabriel Horner
bfcc3590ac fix: getPage should also return data about page
This was causing write tools to fail as llm's usually reach for
getPage over listPages to get a page id. Moved remove-hidden-properties
since it's also used by mcp api responses
2025-10-16 10:44:32 -04:00
Gabriel Horner
917df54d74 fix: read tools should always get correct data
via db-worker thread. Also fix getPageData returning
some temp and untranslated attributes
2025-10-16 10:44:32 -04:00
Tienson Qin
999618a406 refactor: compute pipeline tx-data before d/transact! 2025-10-15 15:31:42 +08:00
Tienson Qin
b538fe2571 enhance: run db validate before writes 2025-10-13 22:57:21 +08:00
Tienson Qin
7ed7fb4f31 enhance: prefer ldb/transact! than d/transact! 2025-10-13 19:03:11 +08:00
Tienson Qin
335c3f06e8 fix: don't throw error for :notification errors 2025-10-11 16:35:56 +08:00
Tienson Qin
dbd15f7ed4 enhance: pre-validate when setting block property values 2025-10-10 16:20:53 +08:00
Tienson Qin
d4f7bf22d9 Merge branch 'master' into refactor/plugin-api-properties 2025-10-09 12:28:54 +08:00