186 Commits

Author SHA1 Message Date
rcmerci
562a68e0e4 enhance(rtc): move rtc api schema to logseq/logseq-schema repo 2026-01-08 22:06:58 +08:00
Tienson Qin
d4d8b1a7e6 fix: add shadow-cljs.edn for publish worker 2025-12-28 14:28:44 +08:00
Tienson Qin
e9c2269e34 linked refs 2025-12-28 13:20:09 +08:00
Tienson Qin
58cda5538f cljs worker 2025-12-27 17:00:38 +08:00
Tienson Qin
704312b407 Add publish dep 2025-12-27 04:44:05 +08:00
Tienson Qin
1ae9e2c496 fix: extends tags query and support eid|title|db-ident
Previously `tags` doesn't return blocks that have children tag(s).

Also, `tags` support both db/ident and block/title to make it easy
to use:
(tags ?b #{144})
(tags ?b #{"Task"})
(tags ?b #{:logseq.class/Task})
2025-12-24 14:37:57 +08:00
Tienson Qin
f594e2034f fix(rtc): batch store and validate db (#12249)
* fix(rtc): batch store and validate db

* fix: logseq.db/transact! shouldn't distinct tx-data

since move-op include 2 steps:
1. insert-block
2. update-attrs

This results in db invalid after step 1.

* refactor: add transact-with-temp-conn!

* bump nbb-logseq and add tests for ldb/transact* fns

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: rcmerci <rcmerci@gmail.com>
2025-12-09 20:47:37 +08:00
Tienson Qin
a5ac90a0f3 revert xform 2025-11-12 06:39:52 +08:00
rcmerci
fb271b1d49 perf: faster 'Pages'
On Chrome, Mac M4Max
40000 pages graph, sorted by updated-at, from 1000+ms -> 200-300ms
2025-11-12 02:48:42 +08:00
rcmerci
6ffa6ab5d6 enhance: upgrade com.lambdaisland/glogi, add timestamp to log 2025-10-31 18:04:37 +08:00
Tienson Qin
67f285be1e Merge branch 'master' into refactor/plugin-api-properties 2025-10-15 21:14:39 +08:00
rcmerci
26879cd66a fix(rtc): db worker block when recv invalid ws messages 2025-10-13 23:56:16 +08:00
Tienson Qin
b538fe2571 enhance: run db validate before writes 2025-10-13 22:57:21 +08:00
rcmerci
2f2037eb44 enhance: update cljc-fsrs deps 2025-09-27 01:51:05 +08:00
rcmerci
ced0707099 enhance: update cljc-fsrs deps 2025-09-26 01:20:13 +08:00
rcmerci
9a55f24ff1 refactor: remove src/rtc_e2e_test
rtc-e2e-test already moved to clj-e2e
2025-09-09 22:37:46 +08:00
Tienson Qin
2aee658547 perf: add weak references to reduce memory usage (#12082)
* chore: bump datascript
2025-09-02 19:25:52 +08:00
rcmerci
ceb1603a11 update logseq/datascript 2025-08-28 22:46:26 +08:00
Gabriel Horner
241c1c104e refactor: have one fn to fetch ~/logseq/graphs dir
Also add deps.edn to cli dep which is needed for reuse with frontend
2025-08-11 17:05:39 -04:00
Tienson Qin
5d7f56361a downgrade shadow-cljs 2025-07-23 14:36:38 +08:00
Tienson Qin
31004ee371 wip: webpack release build 2025-07-23 12:40:25 +08:00
Tienson Qin
c264599d6b fix: valid datoms are skipped from tail address 2025-06-06 05:48:48 +08:00
Charlie
84183068fb enhance(dev): upgrade pdfjs (#11914)
* enhance(dev): upgrade pdfjs

* chore: upgrade shadow-cljs
2025-06-02 11:13:05 +08:00
Tienson Qin
5746e03a0a chore: downgrade persistent-sorted-set to 0.0.8
CI error https://github.com/logseq/logseq/actions/runs/15124002453/job/42512483343
2025-05-20 06:07:34 +08:00
Tienson Qin
789834a9af fix: db missing addresses
This commit uses sql to ensure deleting addresses are not referenced
in any row.
2025-05-20 05:57:12 +08:00
Gabriel Horner
1d8869a4a3 chore: bump borkdude.rewrite-edn to latest
and use consistent alias
2025-05-14 15:55:50 -04:00
Tienson Qin
18c0762f6e chore: bump datascript 2025-04-22 16:29:27 +08:00
Tienson Qin
be66b5e6c0 chore: bump datascript 2025-04-22 09:56:45 +08:00
Tienson Qin
7d436cf5eb chore: bump datascript 2025-04-20 18:03:23 +08:00
rcmerci
fd40bbeec5 enhance: c.m/backoff add :reset-flow option
We can use worker-flows/online-event-flow
to trigger a retry immediately upon receiving an 'online' event,
instead of waiting for the next retry delay.
2025-04-16 22:00:13 +08:00
rcmerci
b2b726f2b4 dev: update cider-nrepl, fix set-system-env 2025-04-15 22:45:28 +08:00
Tienson Qin
70e2012e29 bump React to 18 2025-04-07 19:51:14 +08:00
rcmerci
7e9edacf91 dev: parse-long redefine warning when compile test 2025-01-10 15:11:35 +08:00
rcmerci
3ea357d7c2 feat(asset-sync): add progress when upload&download 2024-11-27 12:54:41 +08:00
Gabriel Horner
0036a5d9de fix: invalid throws and remove unused values
Caught by updating to latest kondo
2024-10-31 14:12:09 -04:00
Gabriel Horner
a0d4e43d18 enhance: add /Advanced Query for db graphs
Related to
https://linear.app/logseq/issue/LOG-3246/improve-advanced-query-editor.
Had to upgrade promesa to get p/doseq
2024-09-26 10:55:50 -04:00
rcmerci
ac752c8ba3 refactor(srs): update frontend.extensions.fsrs 2024-09-24 18:18:41 +08:00
rcmerci
ccf70a5cef refactor(srs): use cljc-fsrs in db-version 2024-09-24 18:18:41 +08:00
Tienson Qin
e76a47ab67 chore: bump cider-nrepl 2024-09-18 18:14:07 +08:00
rcmerci
f5cc44bcf9 test(rtc): update basic-edits-test 2024-08-30 20:52:25 +08:00
rcmerci
70b827dcae test(rtc): start to add e2e tests 2024-08-30 20:52:25 +08:00
Tienson Qin
fa493f72dc chore: bump datascript 2024-08-22 21:39:54 +08:00
Tienson Qin
674dbfb890 fix: don't delete rows from kvs if they're still used by other rows 2024-08-22 21:28:44 +08:00
Tienson Qin
50eb74927b chore: bump datascript 2024-07-25 22:28:21 +08:00
Tienson Qin
b6bdc4b1d5 chore: update datascript version 2024-06-27 00:35:37 +08:00
Tienson Qin
039804d87a chore: bump upstream datascript 2024-06-27 00:26:31 +08:00
Tienson Qin
8d959a7c8b chore: bump datascript 2024-05-21 20:51:22 +08:00
Tienson Qin
db8d0c53df fix: datascript upsert db/ident 2024-05-21 19:29:21 +08:00
Tienson Qin
89edb3af9a fix: can't remove Many values 2024-05-02 18:03:17 +08:00
Tienson Qin
95eb0e7f4a Merge branch 'feat/db' into refactor/db-properties-schema 2024-04-29 15:55:23 +08:00