Commit Graph

731 Commits

Author SHA1 Message Date
Gabriel Horner
2e8d7c6303 fix: bump nbb-logseq to include datascript fix 2026-03-12 10:21:54 -04:00
Tienson Qin
83a716f907 chore: bump datascript 2026-03-11 14:49:12 +08:00
Tienson Qin
b0ba993e0c fix: can't cut-paste blocks to empty target 2026-02-27 14:46:43 +08:00
Tienson Qin
ed240ac01e fix: today journal created-at/updated-at keep updating 2026-02-13 05:04:08 +08:00
Tienson Qin
f95600e595 fix: emoji reaction sync 2026-02-11 15:29:25 +08:00
Tienson Qin
ad2328d234 fix: lint 2026-02-01 21:55:15 +08:00
Tienson Qin
05be455371 feat: reactions 2026-02-01 21:45:31 +08:00
Tienson Qin
8116067f85 fix: can't paste block with children to empty target 2026-01-29 16:01:15 +08:00
Tienson Qin
432da2aa04 fix: e2e extra tests 2026-01-28 09:44:14 +08:00
Tienson Qin
b3403c3404 fix: asset e2e test 2026-01-27 19:51:12 +08:00
Tienson Qin
23322e266b fix: stable :db/id <> :block/uuid 2026-01-27 19:07:19 +08:00
Tienson Qin
d6392538be fix: rtc extra offline e2e tests 2026-01-27 17:05:57 +08:00
Tienson Qin
729ca7fcbf Merge branch 'master' into feat/worker-sync 2026-01-26 18:52:12 +08:00
Tienson Qin
59e1cd9af9 enhance(ux): able to remove graph access or leave a graph 2026-01-26 15:54:25 +08:00
Gabriel Horner
208b4bc205 fix: remove whiteboards and tldraw from rest of codebase
Also remove some old excalidraw refs that should've been removed awhile
back
2026-01-22 13:19:58 -05:00
Gabriel Horner
173898240e fix: remove most file graph uses in deps
except for graph-parser and publish deps

- Removed most mentions of 'repo' in deps, which cleaned up a lot related
  to export cli and worker
- Removed db-based-graph? checks in deps except for unknown use
  in entity-plus?
- Removing db-based-graph? checks resulted in deleting unused file graph
  code paths e.g. get-pid
- Removed file graph handling in cli list command
- Remove file-based-graph? checks from deps
2026-01-22 13:19:58 -05:00
Gabriel Horner
37af8f690e fix: remove remaining uses of file graph specific attributes
Removed all file graph uses of :block/namespace, :block/file, :block/type and
:block/properties except for graph-parser which still uses them for db
importer.
Removed all uses of :block/format except for graph-parser and
src/main/frontend
2026-01-22 13:19:58 -05:00
Gabriel Horner
4bb7430682 fix: rm the last file-based namespaces in db dep
Also remove the following related file schema
attributes and their dependent code:
:block/marker, :block/priority, :block/scheduled,
:block/deadline,:block/repeated?, :block/pre-block?,
:block/properties-order, :block/properties-text-values, :block/macros,
:block/invalid-properties
2026-01-22 13:19:58 -05:00
Gabriel Horner
1d15e1f85d fix: rm file graph config from user config
Also remove unused helpers for file config keys and file graph code in
mobile.intent.  These removals also result in removing
frontend.common.file.util as it's no longer used
2026-01-22 13:19:57 -05:00
Gabriel Horner
37d9ebda1f chore: remove file-specific graph-parser code
Also removed file graph code for markdown export as a prereq
2026-01-22 13:19:57 -05:00
Gabriel Horner
273eef800b fix: remove needless db-graph? checks in outliner 2026-01-22 13:19:57 -05:00
Gabriel Horner
3e0d57bc32 chore: prefix deps workflows with 'deps-'
to organize workflow files better
2026-01-21 14:16:38 -05:00
Tienson Qin
e5521da233 enhance: able to edit property value of :string type
able to set plural form for tags
2026-01-22 00:52:47 +08:00
Tienson Qin
ceec5d10c6 fix: remote tx data 2026-01-21 04:10:19 +08:00
Tienson Qin
75a326a83e fix: never delete today page itself because it'll be auto-generated 2026-01-20 18:24:54 +08:00
Tienson Qin
52b690b6a5 fix: normalize reversed tx-data 2026-01-19 21:11:50 +08:00
Tienson Qin
ee1089f671 Add sync offline tests 2026-01-13 20:58:04 +08:00
Tienson Qin
a9a9905b05 feat: tag-scoped property choices (#12295)
* feat: tag-scoped property choices

* Able to hide global choices per tag

* add e2e tests
2026-01-04 13:42:27 +08:00
Tienson Qin
8fd006babb enhance: api createTag supports :tagProperties 2026-01-03 13:43:20 +08:00
Tienson Qin
10846fdaa3 fix: asset wrong order 2026-01-01 20:35:44 +08:00
Tienson Qin
8fc093c1c9 fix: can't set number 9 as property value
because it's empty-placeholder
2026-01-01 19:59:57 +08:00
Tienson Qin
bcc478b5f7 refactor: separate og and db version (#12276)
separate og and new version apps

remove file sync, tldraw, excalidraw and zotero
2025-12-29 15:39:32 +08:00
Charlie
fbe6b998b6 enhance(plugins): apis related improvements (#12266) 2025-12-25 13:25:12 +08:00
Tienson Qin
82a1932e9b fix: copy and pasting blocks with dates does not work correctly
related to https://github.com/logseq/db-test/issues/645
2025-12-24 20:31:25 +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
8541b7c79f perf: linked refs without filters 2025-12-17 18:13:04 +08:00
Tienson Qin
bc6ab38679 fix: delete page result in invalid data
When children blocks have references of their parent page
2025-12-16 23:52:42 +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
Gabriel Horner
4f5f68d0ab fix(cli): import-edn of in-app graph hangs
for unexpected transact error. Encountered this while repro-ing
https://github.com/logseq/db-test/issues/549. Also fixes UI not
displaying any notification
2025-11-25 16:24:29 -05:00
Tienson Qin
e311e1b85c fix: don't create child tags when saving inline 2025-11-21 00:33:34 +08:00
charlie
8c3e4f25c7 fix(property): improve cardinality handling for property types 2025-11-18 20:14:37 +08:00
Tienson Qin
0a54e807bb enhance(api): plugin class with ident like plugin.class.id/class-name (#12200)
* enhance(api): plugin class with ident like `plugin.class.id/class-name`
* enhance(apis): remove support for namespace separator in create tag
* enhance(apis): get tag with ident or uuid
* fix(lint): remove unused vars
* fix(apis): sanitize user property name
* enhance(apis): get tag ex info
* chore: bump libs version
---------
Co-authored-by: charlie <xyhp915@qq.com>
2025-11-14 10:48:08 +08:00
Tienson Qin
2140029c60 fix: can't paste asset
fixes https://github.com/logseq/db-test/issues/575
2025-11-10 08:32:05 +08:00
Tienson Qin
820b2f075d fix: a property should never be converted to a class 2025-11-09 21:57:44 +08:00
Tienson Qin
fb9e735934 fix: paste query block should create new block
related to https://github.com/logseq/db-test/issues/572
2025-11-09 20:00:17 +08:00
Tienson Qin
7619e3ab92 fix: disallowed tags
related to https://github.com/logseq/db-test/issues/572
2025-11-09 19:35:18 +08:00
Tienson Qin
c5adaddcec fix: Cmd+V does not insert images into the property value
related to https://github.com/logseq/db-test/issues/569
2025-11-09 09:41:45 +08:00
Tienson Qin
3bc65300be enhance: don't reset :block/refs when editing a block
Instead, compute the diff between the old and new refs, transacting
the deltas.
2025-11-07 03:44:40 +08:00
Tienson Qin
70cf508ec0 fix(api): adding tag property using api produces empty tag
fixes https://github.com/logseq/db-test/issues/390
2025-11-06 11:14:47 +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