Commit Graph

154 Commits

Author SHA1 Message Date
Tienson Qin
200569e512 fix: web backup 2026-04-28 18:06:45 +08:00
Tienson Qin
fc7d6672a2 Merge branch 'master' into enhance/i18n 2026-04-20 08:28:43 +08:00
Tienson Qin
87844c6dfb fix: move idbkv to cljs implementation 2026-04-19 12:53:48 +08:00
Mega Yu
59e599ec9f refactor(i18n): refine naming standard and skill, sync review/dev workflow, and align related keys 2026-04-18 16:55:00 +08:00
Mega Yu
e9d3c8da00 enhance i18n 2026-04-08 09:32:18 +08:00
Mega Yu
6153078342 enhance i18n 2026-04-05 17:06:46 +08:00
Tienson Qin
267587a551 enhance(ux): add progress bar when exporting zip 2026-02-01 16:29:28 +08:00
Tienson Qin
8472d03826 remove legacy rtc implementation and tests 2026-01-29 19:42:29 +08:00
Gabriel Horner
6312f8236a fix: remove file graph :block/file and dependent code
Also remove all file graph references in publishing and
add back publishing.db tests with db graph.
Also remove file graph behavior for cmd-k and files
2026-01-22 13:19:57 -05:00
Tienson Qin
27016657fd add debug db tx-log and ws messages tables 2026-01-06 22:47:35 +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
Tienson Qin
cf80caebf6 feat: db auto backup on desktop (#12275)
* feat: db auto backup on desktop
* fix: press delete closes right sidebar

fix https://github.com/logseq/db-test/issues/670

* disable git backup for db graphs since it's confusing

Users can still use external Git for version control.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-25 10:40:59 +08:00
Tienson Qin
afd4210906 fix: auto backup 2025-12-24 22:56:47 +08:00
Tienson Qin
5132eddd95 enhance: enable db backup on desktop 2025-12-24 15:37:05 +08:00
Tienson Qin
a7c5baa095 enhance(mobile): move import to graph tab actions 2025-12-04 00:12:28 +08:00
Tienson Qin
9b0263823f fix: invalidated blocks
related to https://github.com/logseq/db-test/issues/281
2025-06-22 12:33:48 +08:00
Gabriel Horner
5b7fba1bcb fix: catch typo 2025-05-19 08:33:56 -04:00
Tienson Qin
28d42907c9 fix: re-ask permission for backup filehandle when expired
fix https://github.com/logseq/db-test/issues/276
2025-05-19 15:15:23 +08:00
Gabriel Horner
d3b7289b20 refactor: split logseq.db.common.sqlite into 2 namespaces
The majority of this ns is focused on graph initilization and
entity lazy loading so split this out to new ns,
logseq.db.common.initial-data. Originally
initialization was tied to sqlite util fns but it has not made
sense for awhile to think of them as sqlite util fns
2025-04-28 12:55:16 -04:00
Tienson Qin
34b33c1682 fix: debug transit export 2025-04-16 14:01:45 +08:00
Gabriel Horner
06b3bba5fc enhance: add export edn graph as file
Remove command version of export which is a less useful dev tool
than what's possible with cli
2025-03-17 23:28:43 -04:00
Gabriel Horner
0964331b8a chore: move 2 more db namespaces to db.common
b/c they are used by both graph types
2025-02-19 16:29:26 -05:00
Gabriel Horner
b6159b7a18 fix: typo 2025-02-11 15:37:42 -05:00
Gabriel Horner
4ed5897e4e chore: enable export+import edn commands
for any user. Better to get feedback early and iterate.
Easy to reverse this as needed
2025-02-11 15:31:29 -05:00
Tienson Qin
f8029417a1 enhance: backup notice when the graph hasn't been updated
since the last export.
2025-01-03 20:32:50 +08:00
Tienson Qin
665207dc0d feat: import && export graph datoms transit 2024-12-29 15:05:23 +08:00
Tienson Qin
7d084abc5e fix: publishing app fails to load initial and then user data
fixes https://linear.app/logseq/issue/LOG-3257/publishing-app-fails-to-load-initial-and-then-user-data
2024-10-30 15:51:58 +08:00
Tienson Qin
06df10ef42 feat: export both SQLite db and assets 2024-10-09 11:03:16 +08:00
Gabriel Horner
bbd1ac4670 fix: backup back to hourly 2024-09-12 10:23:37 -04:00
Tienson Qin
ed08555f49 fix: backup handle should be unique for each graph 2024-09-12 13:02:45 +08:00
Tienson Qin
5b7cd68b78 enhance: keep the latest 12 hourly backups 2024-09-12 13:02:45 +08:00
Gabriel Horner
28aa62cd97 fix: update backup db name to be consistent
with how we name everywhere else. Helps later when we want to restore
a graph by directory to include assets. Also correct message
2024-09-12 13:02:45 +08:00
Tienson Qin
ad67958d17 enhance: auto backup every hour 2024-09-12 13:02:45 +08:00
Tienson Qin
a779245205 feat: export debug json which exclude sensitive data 2024-08-23 01:01:54 +08:00
Tienson Qin
d847023dc1 Refactor: rename :block/content to :block/title 2024-07-10 22:33:44 +08:00
Tienson Qin
a1f352773b refactor: rename :block/original-name to :block/title 2024-07-10 21:43:03 +08:00
Tienson Qin
b294896f8a fix: reuse page uuids when parsing files
This commit also removes `with-id?` because it's too confusing.

Fixes LOG-3143
2024-06-15 22:52:30 +08:00
Tienson Qin
6725c83f5c fix: export issues 2024-01-22 10:00:26 +08:00
Tienson Qin
6ed39e7871 fix: export zip file 2024-01-22 10:00:26 +08:00
Tienson Qin
e571c571ec wip: export refactor
1. Move fns to worker
2. Don't rely on :block/file, use db blocks to build page content
2024-01-22 10:00:26 +08:00
Tienson Qin
9194a671fd Move outliner core to its own dep 2024-01-03 18:02:48 +08:00
Tienson Qin
6684f28043 feat: import SQLite db to create a new graph 2023-12-11 21:08:05 +08:00
Tienson Qin
a8cbcac7c1 chore: separate import from onboarding 2023-12-11 19:35:43 +08:00
Tienson Qin
4d445b8387 feat: export repo as sqlite db 2023-12-11 19:14:10 +08:00
Gabriel Horner
3f773ed876 fix: update all db graph uses of mldoc to use db config
Left a few uses of gp-mldoc/default-config but only in file graph
specific locations or functionality that wasn't related to db graphs
e.g. handler. plugin. Also removed format/get-default-config as it was unused

Part of LOG-2741
2023-10-27 14:08:55 -04:00
Gabriel Horner
0715b03b8f chore: cleanup file-based.property* namespaces
Split out multi-graph fns from frontend.handler.file-based.property into
frontend.handler.property.file. This cleaned up the last of the namespaces
that didn't follow the convention of file-based.* and db-based.*
namespaces are for file graph and db graph only functionality
respectively. It's important to keep the two graph implementations separate as
it's simpler and easier to maintain them. We had already
introduced needless coupling between batch-set-block-property-aux and
multi-graph fns like remove-properties-when-file-based as
batch-set-block-property-aux is _only_ run in file graphs
2023-10-24 16:49:43 -04:00
Tienson Qin
1d4118c97a fix: whiteboard page rename 2023-10-16 23:33:08 +08:00
Gabriel Horner
96f1e2ab28 fix: tags in page graph
also add fixmes
2023-09-26 18:41:06 -04:00
Tienson Qin
0e8653985d refactor: allow a block to have multiple types
For example, a whiteboard page can be used both as a property and a class.
2023-09-25 10:46:00 +08:00
Gabriel Horner
bcc37eb298 Update publishing to optionally work with db graphs
Also updated commandline script
2023-08-15 16:35:03 -04:00