Commit Graph

15343 Commits (eb9f422a6bfc520c6d21ec85fcdc554268e9243a)

Author SHA1 Message Date
rcmerci ebcb6912ba enhance(undo): split undo-ops by ::boundary op 2024-04-07 17:53:19 +08:00
Tienson Qin dab2a6e563 fix: disable namespace for db based graphs 2024-04-07 17:29:21 +08:00
Tienson Qin 0b49d09fb1 fix: db schema validate 2024-04-07 17:26:58 +08:00
rcmerci 02cdd211fe fix: don't need to add spec def 2024-04-07 16:37:50 +08:00
Tienson Qin c815fa9823 fix: schema error for :class/schema.properties 2024-04-07 16:31:00 +08:00
Tienson Qin 75d35f9202 enhance: display exact invalid entity map for schema invalidations 2024-04-07 16:12:53 +08:00
rcmerci ef834cdaf7 feat: add defkeyword to define keyword
- add docstring for common used keywords
- support jump to definition in editors
- register malli-schema for keywords if provided
2024-04-07 15:40:30 +08:00
Tienson Qin 7f0a5973bf fix: edit journal name 2024-04-07 15:08:35 +08:00
Tienson Qin 914a015c37 fix: document title 2024-04-07 14:56:39 +08:00
Tienson Qin f52993ec6d fix: tests and lint warnings 2024-04-07 14:27:05 +08:00
Tienson Qin 6eb6e60b55 Bring back namespaces/page merge/nested pages 2024-04-07 13:48:55 +08:00
rcmerci 2b27969b05 dev: add bb dev:lint-and-test 2024-04-07 00:02:40 +08:00
rcmerci d3a679485d refactor: collect all worker db-listeners by 'defmethod listen-db-changes' 2024-04-06 23:46:20 +08:00
rcmerci 42b4b6d6a9 feat(rtc,undo): don't generate undo info when apply remote rtc ops 2024-04-06 18:42:31 +08:00
rcmerci e61d6a8eaf feat(undo): init new undo/redo 2024-04-06 17:33:58 +08:00
rcmerci 49e18825b8 fix(undo): make some attrs optional in undo-op schema 2024-04-06 15:43:00 +08:00
Tienson Qin b9195e40e5 Merge branch 'refactor/db-properties-schema' into refactor/db-remove-block-name-unique 2024-04-06 07:59:06 +08:00
Gabriel Horner 009e5b6d62 enhance: consistently create sanitized property ident
for new properties. Also made build-new-property easier to
use by making property name optional
2024-04-05 16:55:40 -04:00
Gabriel Horner 3793cf6d81 fix: 2 fns that don't work in nbb b/c of :block/properties 2024-04-05 15:16:26 -04:00
Gabriel Horner 514b5b5d56 fix: numbered list in db graphs 2024-04-05 15:00:17 -04:00
Gabriel Horner e7bd84850d chore: clean up repeated uses of db attribute properties 2024-04-05 14:04:33 -04:00
Gabriel Horner 38849bf706 chore: cleanup different definitions of property
Also fixed some outdated docstrings
2024-04-05 13:27:39 -04:00
Gabriel Horner 6045969179 fix: db tests and rename empty-placeholder to
be consistent with other ident namespaces
2024-04-05 09:36:05 -04:00
Tienson Qin 0bc8d1c3b1 Merge branch 'refactor/db-properties-schema' into refactor/db-remove-block-name-unique 2024-04-05 15:16:13 +08:00
Tienson Qin ac31842cec Revert "Remove :block/macros"
This reverts commit 21d550de12.
2024-04-05 15:12:56 +08:00
Tienson Qin b6368238dc fix: async get block 2024-04-05 14:20:38 +08:00
Tienson Qin caa0763cee fix: restore to empty string after deleting the last block value 2024-04-05 14:10:21 +08:00
Tienson Qin 86a9d1ee1a fix: tags select 2024-04-05 14:01:24 +08:00
Tienson Qin ea98a1623e Merge branch 'refactor/db-properties-schema' into refactor/db-remove-block-name-unique 2024-04-05 09:56:39 +08:00
Tienson Qin 04b00322a3 fix: add class property 2024-04-05 09:47:23 +08:00
Gabriel Horner 14a3e5287b enhance: ident validation
block properties and class idents now have specific validation.
Also cleaned up overlapping ident definitions and updated incorrect
docstrings
2024-04-04 21:39:10 -04:00
Gabriel Horner 608d627544 fix: add back properties validation
and fix closed validation. Also temporarily comment out properties graph parts
that are still invalid
2024-04-04 21:09:28 -04:00
Tienson Qin 18a9c4af55 fix: unsafe cardinality from many to one 2024-04-05 07:59:49 +08:00
Tienson Qin b096b4673c fix: use :entity type instead of :uuid for ref type values 2024-04-04 16:58:24 -04:00
Gabriel Horner 7c1f52d2a4 chore: add format to build-new-page
every use of it was adding it manually
2024-04-04 09:25:20 -04:00
Gabriel Horner 3e504f5ab9 dev: add more tests for page-property rule 2024-04-04 09:22:39 -04:00
Tienson Qin eea1858040 fix: can't add alias 2024-04-04 18:16:23 +08:00
Tienson Qin 035fbb46c9 fix: use :entity type instead of :uuid for ref type values 2024-04-04 18:07:26 +08:00
Tienson Qin 8054150eef fix: unit tests 2024-04-04 15:57:49 +08:00
Tienson Qin fe2a426761 fix: rename page tests 2024-04-04 15:57:49 +08:00
Tienson Qin bf539751a8 disable rtc merge tests for now 2024-04-04 15:57:49 +08:00
Tienson Qin 6167abe160 fix: extract page from whiteboard edn 2024-04-04 15:57:49 +08:00
Tienson Qin e7717e92d9 fix: recent pages test 2024-04-04 15:57:49 +08:00
Tienson Qin 97030c571e fix: db model tests 2024-04-04 15:57:49 +08:00
Tienson Qin 5a3bbcddac fix: lint warnings 2024-04-04 15:57:49 +08:00
Tienson Qin 08f492b849 fix: use pu/get-pid for both file && db graphs 2024-04-04 15:57:49 +08:00
Tienson Qin 1b32378884 more places to use db eid instead of page name 2024-04-04 15:57:49 +08:00
Tienson Qin ed72c7d00a fix: whiteboard page properties 2024-04-04 15:57:49 +08:00
Tienson Qin a78c20eeed fix: whiteboard links 2024-04-04 15:57:48 +08:00
Tienson Qin c018f1517d perfer to use get-page instead of get-first-page-by-name 2024-04-04 15:57:48 +08:00