Commit Graph

38 Commits (acf8c07da52cf8d46bbc5b10a0e14b2e8cfc7bfd)

Author SHA1 Message Date
Tienson Qin 767827e415 fix: writes don't saved to md files 2024-01-09 19:08:12 +08:00
Tienson Qin 38ba0dfa7c Move entity plus to db dep 2024-01-08 15:35:09 +08:00
Tienson Qin fa2892cef6 use ldb/transact! instead of d/transact! 2024-01-05 06:42:10 +08:00
Tienson Qin 9194a671fd Move outliner core to its own dep 2024-01-03 18:02:48 +08:00
Tienson Qin 292ba1b0b6 Remove state dependency for outliner.core 2024-01-03 15:42:58 +08:00
Tienson Qin e579f668eb wip: remove dependency on frontend.db for outliner core 2024-01-02 23:23:49 +08:00
Tienson Qin 48b5593008 wip: outliner refactor 2024-01-02 18:07:17 +08:00
Tienson Qin eb679bd941 wip: file worker 2023-12-28 17:32:43 +08:00
Tienson Qin dda11a33a7 Move outliner tree to the outliner dep 2023-12-27 02:53:00 +08:00
Tienson Qin 5b13fe6df4 perf: reduce disk writes 2023-12-27 00:06:39 +08:00
Tienson Qin 90ed070104 bump datascript 2023-12-22 18:04:33 +08:00
Gabriel Horner d4f438f228 bump nbb-logseq for latest datascript 2023-12-21 13:00:44 -05:00
Tienson Qin d39f2b6a36 fix: release bug 2023-12-21 20:44:49 +08:00
Tienson Qin 8f7c496ab4 chore: bump datascript 2023-12-21 19:01:38 +08:00
Gabriel Horner 52f7afa18f bump nbb-logseq to latest datascript with another storage delete fix
part of LOG-2974
2023-12-19 13:42:13 -05:00
Tienson Qin dd2f1014eb Bump datascript
This version reuses addresses to reduce writes and make GC easier
2023-12-19 21:15:57 +08:00
Gabriel Horner de3d82baba bump to latest nbb-logseq with datascript.storage delete fix 2023-12-18 11:10:59 -05:00
Tienson Qin 222b2f84bc fix: remove unused addr+data from sqlite 2023-12-18 20:56:28 +08:00
Gabriel Horner ffa6aaae29 fix: remove unused db.sqlite related fns
- remove sqlite-db/close! as its not used and didn't make sense to be
  used in other electron ns
- remove sqlite-db/connections atom as its not needed
- remove read-graph as its not necessary
- rename cli.persist-graph as its primary purpose has changed
- update effected scripts
2023-12-13 12:06:24 -05:00
Gabriel Horner 79a9c59dd5 fix: lint and minor cleanup from datascript-storage PR
- remove unused electron state
- remove comment with nonexistent fns
- rename fn which didn't read well
2023-12-13 09:53:16 -05:00
rcmerci 7bca037e71 fix: update <transact-data caller, remove unused build-upsert-blocks 2023-12-13 11:18:00 +08:00
Gabriel Horner 0f4cdbbadf bump outdated nbb-logseq and fix lint 2023-12-11 15:55:38 -05:00
Gabriel Horner fb3e8e8d8a fix: update ds sqlite persistance to match latest frontend
also removed unused util fns
2023-12-11 13:52:26 -05:00
Gabriel Horner e0901b9d04 bump nbb-logseq to first version
that works for forked datascript. Deps tests pass locally
without needing to rely on local builds
2023-12-11 13:52:15 -05:00
Tienson Qin 86b70e3b33 update datascript 2023-11-28 15:10:43 +08:00
Tienson Qin 716c496590 Update datascript 2023-11-28 14:57:06 +08:00
Tienson Qin 232c1cb4c2 wip: debug 2023-11-26 15:58:26 +08:00
Tienson Qin 40bffa32b0 Use forked datascript 2023-11-25 09:12:59 +08:00
Gabriel Horner f64f1461a3 enhance: make bb dev:db-transact usable for any task
closes LOG-2647. This task was used to update multiple graphs
that were now invalid with the removal of :block/type "object"
2023-11-16 16:40:35 -05:00
Gabriel Horner 3ccf80fcba add docs for new linter
also fix outliner lint
2023-11-02 09:32:51 -04:00
Gabriel Horner 2ce35667c5 First pass at a general transact script for db graphs
Moved persist-graph ns into outliner dep so it can be used
by scripts
2023-10-27 17:40:12 -04:00
Gabriel Horner edaf9b286a chore: move frontend db namespaces to a dedicated parent ns
Moved these namespaces to logseq.db.frontend.* to make their purpose
explicit and make the namespaces easier to maintain
2023-10-16 17:24:51 -04:00
Tienson Qin 5162598665 fix: use db/new-block-id to keep the order for :block/uuid 2023-09-12 13:30:50 +08:00
Gabriel Horner 5f66ca027e enhance: Use path-refs calculation in CLI namespaces
Also moved path-refs truncation into outliner so that it applies consistently
across environments
2023-09-08 11:57:35 -04:00
Gabriel Horner 5b99078d6a fix typos 2023-09-08 09:08:53 -04:00
Gabriel Horner 4b15a727a9 Add readme, lint and CI for outliner dep
Also got outliner lints passing
2023-09-06 17:03:04 -04:00
Gabriel Horner a93fe4d81b Move recalculate-block-path-refs to outliner dep
Moved dependent query fns also into the outliner dep. Removed
get-block-children-ids from model as there was only one use of it after
the refactor. Also setup testing for outliner and moved in a test for it
2023-09-06 16:20:29 -04:00
Gabriel Horner b3efb93335 Move initial namespaces to start outliner dep 2023-09-01 17:23:34 -04:00