Commit Graph

171 Commits

Author SHA1 Message Date
charlie
4dca58ff00 chore(dev): ignored errors 2025-02-28 10:55:20 +08:00
rcmerci
d567261e61 enhance: make build-db-initial-data idempotent (#11750)
* enhance: make build-db-initial-data idempotent (1)

handle logseq/{config.edn,custom.css,custom.js}

* test: add build-db-initial-data-test
2025-02-20 18:02:37 +08:00
Gabriel Horner
a4aacf022d chore: use medley/dissoc-in instead of copied version
Can rely on medley as it is nbb compatible
2025-02-13 17:50:20 -05:00
Gabriel Horner
05496a0f69 fix: deprecate old srs config options 2025-01-28 11:49:58 -05:00
Gabriel Horner
68896c257f Merge branch 'feat/db' into refactor/block-schema 2025-01-16 17:11:53 -05:00
Gabriel Horner
e61f046be5 fix: publishing failing to load on undefined LSPluginCore
Plugins shouldn't be on for publishing. Moved PUBLISHING to
common-config as it is now relied on by frontend.util. Also removes
needless state/publishing? and its wonky initialization
2025-01-16 11:44:05 -05:00
Tienson Qin
20fad17f5d Merge branch 'feat/db' into refactor/block-schema 2025-01-16 01:01:06 +08:00
Gabriel Horner
2a4f49e541 enhance: importer can import :logseq.task/scheduled
Follow up to #11654. Fixes
https://test.logseq.com/#/page/677d36f0-5d8f-4b82-85ad-486d81a46e7e
2025-01-14 08:43:21 -05:00
Tienson Qin
e318e0d6c1 Merge branch 'feat/db' into refactor/block-schema 2025-01-12 16:48:19 +08:00
rcmerci
1c5761e279 enhance(rtc): ignore entities if possible when init upload/download 2025-01-10 16:04:21 +08:00
rcmerci
9db946c605 enhance: apply defkeywords to built-in classes, add some rtc related keywords 2025-01-09 18:07:13 +08:00
Gabriel Horner
b44d644aba fix: deps tests failing to run due to missing var 2025-01-08 09:16:39 -05:00
Gabriel Horner
90924816f9 fix: common lints 2025-01-08 09:11:22 -05:00
rcmerci
8470da1786 enhance: defkeywords all built-in-properties 2025-01-08 22:00:08 +08:00
rcmerci
7b9ae93982 enhance: add logseq.common.defkeywords 2025-01-08 21:22:22 +08:00
Gabriel Horner
cadb00279c fix: exporter :datetime tests failing locally
caused by e522c73fe2
2025-01-07 17:11:51 -05:00
Tienson Qin
e522c73fe2 fix: Task doesn't repeat with a user :date property 2025-01-07 19:57:56 +08:00
Gabriel Horner
0b87c36d65 chore: remove unused deps from common 2025-01-03 15:19:54 -05:00
Gabriel Horner
3d42cf7522 fix: bump nbb-logseq so that nbb scripts
that have already downloaded feat-db-v16 can use the latest nbb-logseq
2025-01-02 16:09:25 -05:00
Tienson Qin
64734820df Merge branch 'feat/db' into feat/repeated-tasks 2024-12-29 16:05:24 +08:00
rcmerci
c2bb6eb86b fix lint 2024-12-29 12:20:28 +08:00
rcmerci
4ad4019bf5 perf: faster has-tag? 2024-12-28 23:37:57 +08:00
rcmerci
f7815b487d fix: nbb test 2024-12-28 16:39:33 +08:00
rcmerci
26e2fad13d fix: move missionary_util to deps/common, fix some deps issue 2024-12-28 14:22:16 +08:00
Tienson Qin
f888e163af chore: disable deadline tests because CI local time could be changed 2024-12-26 23:10:16 +08:00
Tienson Qin
704ae4d3f8 fix: tests 2024-12-26 23:01:12 +08:00
Tienson Qin
cdd4ccfccf refactor: update deadline to :datetime type 2024-12-26 22:29:30 +08:00
Tienson Qin
e514e02d5f bump nbb-logseq 2024-12-26 15:33:53 +08:00
Tienson Qin
d74a52a8de enhance: add default value support for built-in property definition 2024-12-20 18:02:53 +08:00
Gabriel Horner
b250e262d2 enhance: journal pages and blocks are created on their journal day
Fixes https://github.com/logseq/db-test/issues/77
2024-11-13 14:22:25 -05:00
Gabriel Horner
1a7a2b25ed chore: add a couple assertions for between queries
from #11565. Also stop logging errors for valid between queries and
deleted unused test code
2024-11-11 16:32:35 -05: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
Tienson Qin
61d91bd16d refactor: remove # heading chars from block/title
fixes https://github.com/logseq/db-test/issues/129
2024-10-14 16:53:23 +08:00
Gabriel Horner
d4b7720573 fix: remove last {{query reference seen in db graphs
Also fix return val of previous commit
2024-09-25 14:24:02 -04:00
Gabriel Horner
30a652631d fix: incorrect return values when edn parsing fails for queries
safe-read-string assumed all parsed strings were maps by returning {}
on failure. This could lead to subtle bugs in our new query layer and
other non-map features like hiccup
2024-09-25 11:39:29 -04:00
Tienson Qin
fb2cc14444 fix: don't parse parent from namespace pages 2024-09-25 01:54:42 +08:00
Tienson Qin
263a2bf219 feat: add #Cards and :logseq.property/query
Some enhancements:
1. DSL query is a property value (:default type) for better UX.
2. Cards can be selected on the flashcards dialog.
2024-09-24 18:19:05 +08:00
Gabriel Horner
afe4280c6a refactor: DRY up spread out definition of db's
namespace/parent feature. Following up to #11517, provide vars
so it's clear how a feature is used and coupled throughout the codebase
2024-09-23 14:53:12 -04:00
Tienson Qin
b2e69dd846 fix: lint 2024-09-23 17:26:03 +08:00
Tienson Qin
250d7303d1 fix: disallow renaming normal pages to journals
fixes https://github.com/logseq/db-test/issues/118
2024-09-23 17:14:39 +08:00
Gabriel Horner
9423eda275 fix: imported queries don't have #Query
Fixes LOG-3233. Also fix some test idents not being valid
2024-09-17 12:27:46 -04:00
Gabriel Horner
45f8922d6e fix: tag block with #Query
when user types it or when pasted. Fix following up #11508
2024-09-16 17:39:03 -04:00
Gabriel Horner
c594f3c49a fix: update config ux to deprecate :journal/page-title-format
In #11491 we deprecated this config but didn't update config to let
users know. Also disable re-index warning which doesn't apply to db graphs
2024-09-13 08:51:07 -04:00
Gabriel Horner
de6c6aedd2 chore: bump nbb-logseq for datascript bump in #11483 2024-08-26 11:22:40 -04:00
Gabriel Horner
f2b38b5963 fix: stop shadowing vars in deps and turn on related lint
Follow up to last commit. Added some exceptions for cljs.core
to minimize change for now
2024-08-23 16:58:08 -04:00
Gabriel Horner
fc518f0756 fix: block not collapsing for simple queries 2024-08-09 14:39:50 -04:00
Gabriel Horner
20eac03cea refactor: mv common worker/frontend ns to frontend/common
Move common core.async, date and search utils to frontend/common.
Part of LOG-3171
2024-08-09 11:18:32 -04:00
Gabriel Horner
48df03a1fa fix: finish removing arweave
Follow up to a6e0b0a092
2024-08-08 09:24:02 -04:00
Gabriel Horner
c660096937 fix: common test failing due to code organization
datascript based utils should be in db dep. common is for dependency free
namespaces
2024-08-08 09:24:02 -04:00
Tienson Qin
beaa1709bb fix: image paste not work on production 2024-08-08 13:55:08 +08:00