Commit Graph

524 Commits

Author SHA1 Message Date
rcmerci
08502ad184 enhance: log error if background-task stopped 2025-12-05 12:20:51 +08:00
rcmerci
c7816057f9 fix(rtc): auto restart err handle 2025-12-05 12:08:33 +08:00
Gabriel Horner
134dc0f2a8 enhance: validate export EDN for most export types
and error explicitly if they can't import. This is much better
for the user so they aren't finding out later that EDN is invalid
on import. Added both to the export menu and to export EDN commands that
aren't graph-wide. Related to
https://github.com/logseq/db-test/issues/549
2025-12-02 13:50:09 -05:00
Tienson Qin
bb0ef4b7e9 fix: show spinner when refreshing remote graphs 2025-12-01 16:07:41 +08:00
Tienson Qin
73d4ee7caa Merge branch 'master' into enhance/ios-native-navigation 2025-11-24 22:36:50 +08:00
rcmerci
219d9ad201 feat(rtc,e2ee): grant-access support e2ee 2025-11-24 11:40:18 +08:00
rcmerci
9c37377b48 enhance(rtc,e2ee): catch decrypt error 2025-11-24 11:40:18 +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
fec4f5165c fix: set heading removes refs
related to https://github.com/logseq/db-test/issues/559
2025-11-07 03:29:11 +08: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
Tienson Qin
eff2703fa3 fix: lint 2025-11-04 22:30:27 +08:00
Tienson Qin
e4e8388588 fix: revert disallowed built-in block updates
1. built-in pages (non-classes) shouldn't be used as tags
2. some protected properties for built-in nodes shouldn't be updated,
e.g. db/ident, block/title, block/name, logseq.property/type
2025-11-04 21:49:26 +08:00
Tienson Qin
75e49b22db Merge branch 'master' into refactor/plugin-api-properties 2025-10-20 18:27:21 +08:00
Gabriel Horner
683b2c54c8 fix: importing from form shouldnt alter hnsw embeddings 2025-10-16 09:43:32 -04:00
Gabriel Horner
865c8c690e refactor: convert import edn file to also use new :op 2025-10-16 09:43:32 -04:00
Gabriel Horner
487cbb2bc9 enhance: finish making import data form undo/redoable
Add current block support and error handling.
Also update most uses of build-import to call d/transact!  once
afterwards. Previously I think we needed separate transacts because of
new properties but that is no longer the case
2025-10-16 09:43:32 -04:00
Gabriel Horner
b649887b15 enhance: add batch-import-edn op to make import-edn undo-able WIP 2025-10-16 09:43:32 -04:00
rcmerci
3d8d200c2c enhance: add :thread-api/get-rtc-graph-uuid 2025-09-25 13:07:54 +08:00
rcmerci
302e7f49b4 enhance(rtc): add logs for rtc-start (2) 2025-09-25 12:54:33 +08:00
rcmerci
900a0d6da4 enhance(rtc): add logs for rtc-start 2025-09-25 12:22:31 +08:00
rcmerci
6cc59819b5 enhance(rtc): err handling improvements (3) 2025-09-23 14:26:01 +08:00
rcmerci
d1b28bc910 enhance(rtc): err handling improvements (2) 2025-09-23 14:13:27 +08:00
Tienson Qin
5cf7fed1e0 fix: don't run <rtc-get-users-info when starting rtc 2025-09-15 18:26:46 +08:00
Tienson Qin
0520166e98 fix: quick add blocks should be separated for different users 2025-09-15 11:46:06 +08:00
rcmerci
78660f9374 enhance: import-debug-transit support db type 2025-09-09 17:14:28 +08:00
rcmerci
b486bde595 refactor: remove usages of navigator.onLine, window.ononline 2025-09-08 21:44:36 +08:00
rcmerci
56f9426740 fix(rtc): fix apply-ops schema 2025-08-26 10:58:59 +08:00
Tienson Qin
77c7412271 fix: references not calculated right
related to https://github.com/logseq/db-test/issues/436#issuecomment-3217902953
2025-08-25 12:49:56 +08:00
rcmerci
c668ba2166 chore(rtc): update log 2025-08-21 00:28:02 +08:00
Tienson Qin
38e049e1c5 fix: stale embedding check (#12049)
* fix: slow stale embedding check

* fix: mark all blocks for embedding when full embedding

Also, store hnsw index for each batch so that embedding can continue
when aborted by switching graph or closing the app.

* remove embedding/re-embedding-graph-data!

* enhance: mod+c mod+s to rebuild both keyword and semantic search
2025-08-13 13:47:52 +08:00
Tienson Qin
0032c4949b fix: slow switch to large graph with local embedding enabled 2025-08-12 12:52:16 +08:00
Tienson Qin
d84d3f9652 enhance(ux): set/unset #Page to convert between page and block (#11970)
* enhance(ux): add/remove #Page to toggle page/block

* enhance(ux): "p t" to set tags for selected blocks

Updated "p a" to toggle displaying all properties including hidden ones.

* feat: cmd+k move blocks

* fix: block could be converted to page and create invalid nodes

Pages with block namespace parents is nonsensical and pages in
property values led to multiple validation errors. Also guard
against class and property pages as namespace parents

* fix: warn on failed cut+paste or indent/outdent of page blocks. Better to warn than silent failure which leaves user confused on
what happened. 

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2025-08-05 17:45:57 +08:00
Tienson Qin
110f5b18e5 Merge branch 'master' into feat/hnswlib+transformer-js 2025-07-28 12:29:32 +08:00
Tienson Qin
910c8f448f Use missionary clock for auto embedding 2025-07-21 16:13:17 +08:00
Tienson Qin
f296c1e67d fix: auto embedding stops when switching graph 2025-07-19 15:32:16 +08:00
Tienson Qin
de80615c5f enhance: index embedding for updated blocks every 30s 2025-07-19 14:36:11 +08:00
Tienson Qin
4b0cb79d0d fix: vector search 2025-07-16 04:33:05 +08:00
rcmerci
dbb20dea4b enhance(rtc): try to restart rtc if stop reason is ws-timeout 2025-07-12 23:09:00 +08:00
Gabriel Horner
3c93fd2637 fix: frontend lint
Also fix desktop download instructions
2025-07-11 09:20:20 -04:00
Tienson Qin
2866d3baad fix: ensure all graphs are latest in those cases
1. upload a local graph
2. download a local graph
3. a remote graph has been deleted from another client
2025-07-11 20:49:02 +08:00
Tienson Qin
2d50ca5ce2 Merge branch 'master' into feat/hnswlib+transformer-js 2025-07-11 18:15:33 +08:00
charlie
08b824934c Merge branch 'master' into feat/capacitor-new 2025-06-25 14:06:52 +08:00
Gabriel Horner
e4ffd13340 fix: tags can have duplicate names
Tags should not have duplicate names regardless of their
extends or if they're built-in or not.
Fixes https://github.com/logseq/db-test/issues/338 and fixes
https://github.com/logseq/db-test/issues/349
2025-06-24 08:35:49 -04:00
Tienson Qin
3c52bced5c Merge branch 'master' into feat/capacitor-new 2025-06-22 21:39:37 +08:00
Gabriel Horner
e489cc283c fix: built-in pages could be turned into tags
Fixes https://github.com/logseq/db-test/issues/333.
Also added guards at handler level in case they are used elsewhere.
Made sure to couple them to outliner-validate as centralizing validation
is important if we want to have a consistent, bug-free approach
to updating entities
2025-06-20 12:53:23 -04:00
Tienson Qin
8611ecd4dc style tweaks 2025-06-18 08:49:05 +08:00
Tienson Qin
2b3e712762 fix: delete untitled pages 2025-06-16 15:23:41 +08:00
Tienson Qin
ed42ae17b2 enhance: able to delete pages from Library 2025-06-16 15:05:13 +08:00
Tienson Qin
92ec65d61d Merge branch 'master' into refactor/page-parent 2025-06-15 08:27:33 +08:00
Tienson Qin
c74abbb7a3 Merge branch 'master' into feat/capacitor-new 2025-06-06 10:28:24 +08:00