feature/content-features
3
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
9c17458fec |
fix: keep value-list fields to the values of their lists
QQQ offers a fixed list (a possible-value source of an enum) in a form but accepts any value in a write: through the API a project could be saved with a status that is not on the list. Found by a live check in a host application. - CmsValueListCheck: a pre-insert and pre-update customizer on every table with a value-list field; a record with another value gets an error and is not written, and an update is checked only for the fields it names. - Changelog: check constraints on the same columns (as kof22 has for media_type and blog_post_version; the project status check is new), and kof22's checks on media_type.max_file_size_mb and the focal point of a project's image. They are part of the not yet released 1.0.0-constraints-<feature> changesets. - Reference DDL regenerated. Tests: 37, Checkstyle 0, guardrails and coverage checks pass. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> |
||
|
|
e952950d6a |
feat: add the MEDIA, BLOG, PROJECTS and PHOTOS features as tables with admin screens
Eighteen content tables from the kof22 website's models, as standard QQQ tables in the qbit's own style: media and media types; blogs, blog types, authors, blog tags, blog posts with their tags, media and related versions; project categories, projects and project updates; album folders, photo albums, photos, photo tags and their links. - Entities under media/model, blog/model, projects/model and photos/model, with six value-list enums registered in CmsTables.VALUE_LISTS and produced as possible-value sources named with the table prefix. - CmsTableDefinition gains imagePreview, filePreview and help; the table builder turns them into QQQ file-preview adornments and field help. - Four more areas (Media, Blogs, Projects, Photos), each with its own home. - Changelog: 1.0.0-create-<table> for each table, constraints per feature, two changesets for the links between two features, generic media and blog type seeds, and a run-once guard against name collisions. Every content changeset is gated on the features it needs, so a feature can be installed by a later run and a feature whose needs are missing installs nothing. - A feature that is off produces nothing; a lookup, a child list or a foreign key that links two features exists only when both are on. - Reference DDL regenerated from the changelog on PostgreSQL 17 (the eleven CORE tables come out unchanged). Not in this change: file upload, storage and renditions (a media record points at a file by its address), the publishing processes, the content stream and the Site API. Tests: 37 (6 new in CmsContentFeaturesTest), Checkstyle 0, guardrails and coverage checks pass. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> |
||
|
|
3fb67aac99 |
feat(cms): implement the CMS CORE feature on QQQ 4.1
QRun-IO/ci-policy: ci / fork-guard (pull_request) Skipped
Shared Java Maven CI / secrets (push) Successful in 33s
QRun-IO/ci-policy: native / fork-deny (pull_request) Skipped
QRun-IO/ci-policy: native / dotnet-0 (pull_request) Skipped
QRun-IO/ci-policy: ci / Scoped workflow [workflow f1d46718955078331817c6206b822a94bc7d769f] (pull_request) Successful in 12s
QRun-IO/ci-policy: ci / head-profile (pull_request) Skipped
QRun-IO/ci-policy: ci / repository-policy (pull_request) Skipped
QRun-IO/ci-policy: native / native-result (pull_request) Successful in 9s
QRun-IO/ci-policy: ci / application-template-0 (pull_request) Skipped
QRun-IO/ci-policy: ci / gradle-1 (pull_request) Skipped
QRun-IO/ci-policy: ci / java-core-2-head (pull_request) Skipped
QRun-IO/ci-policy: ci / java-docker-3 (pull_request) Skipped
QRun-IO/ci-policy: ci / java-docker-3-head (pull_request) Skipped
QRun-IO/ci-policy: ci / java-docker-4 (pull_request) Skipped
QRun-IO/ci-policy: ci / java-frontend-browser-5 (pull_request) Skipped
QRun-IO/ci-policy: ci / java-maven-6-head (pull_request) Skipped
QRun-IO/ci-policy: ci / java-maven-7 (pull_request) Skipped
QRun-IO/ci-policy: ci / java-maven-7-head (pull_request) Skipped
QRun-IO/ci-policy: ci / node-8 (pull_request) Skipped
QRun-IO/ci-policy: ci / node-9 (pull_request) Skipped
QRun-IO/ci-policy: ci / node-10 (pull_request) Skipped
QRun-IO/ci-policy: ci / node-playwright-11 (pull_request) Skipped
QRun-IO/ci-policy: ci / repository-policy-12 (pull_request) Skipped
QRun-IO/ci-policy: ci / source-config-13 (pull_request) Skipped
QRun-IO/ci-policy: ci / source-config-14 (pull_request) Skipped
QRun-IO/ci-policy: ci / android-0 (pull_request) Skipped
QRun-IO/ci-policy: ci / original-business (pull_request) Skipped
QRun-IO/ci-policy: ci / original-mcp (pull_request) Skipped
QRun-IO/ci-policy: ci / original-voyage (pull_request) Skipped
QRun-IO/ci-policy: ci / original-cli (pull_request) Skipped
QRun-IO/ci-policy: ci / not-enrolled (pull_request) Skipped
QRun-IO/ci-policy: ci / shared-pipeline (pull_request) Skipped
QRun-IO/ci-policy: Shared Java Maven CI / secrets (pull_request) Successful in 30s
Shared Java Maven CI / verify (push) Successful in 1m31s
Shared Java Maven CI / gate (push) Successful in 20s
qrun-release / release (push) Successful in 56m59s
qrun-release / postpublish (push) Skipped
QRun-IO/ci-policy: Shared Java Maven CI / verify (pull_request) Successful in 1m33s
QRun-IO/ci-policy: Shared Java Maven CI / gate (pull_request) Successful in 26s
QRun-IO/ci-policy: ci / java-maven-6 (pull_request) Successful in 58m32s
QRun-IO/ci-policy: ci / ci-result (pull_request) Successful in 10s
Release candidate / release-rc (pull_request) Skipped
Implement the CORE feature area as standard QQQ tables: site, domain, redirect, redirect type, page, page type, page section, page section type, snippet, menu and menu item. Add the CMS app with Sites, Pages and Navigation homes, CmsFeature flags with dependency validation, per-table permissions with CmsRole bundles and openReads, a startup schema check (FAIL_FAST, DEGRADED, SKIP), a prefix-parameterized Liquibase changelog and the Postgres DDL. Add unit tests, Postgres-backed Testcontainers install and runtime-identity tests, and a local demo server used to produce the docs screenshots. Build against the published QQQ 4.1 BOM (4.1.0-RC.21), add the test-scope Postgres, Javalin, frontend-next and Testcontainers dependencies, and enforce checkstyle at validate. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> |