feat(homepage): show latest Landwelle vor Ort stories in sidebar
Landwelle Gitea CI / Go tests and vet (push) Successful in 1m33s
Landwelle Gitea source ZIP / source-zip (push) Failing after 11m45s
Landwelle Gitea CI / JavaScript and deployment-script checks (push) Failing after 14m47s
Landwelle Gitea CI / Linux x64 production build (push) Failing after 14m53s

Replace the static excursions promo with eight published editorial links, category and date; share ordered query with existing story cards. Add template and PostgreSQL regression tests.
This commit is contained in:
Landwelle Server committed 2026-12-04 15:47:23 +01:00
1 parent b9449dea31
commit 8f65528f6a
14 files changed
+165 -24

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ touch "$TMP/test.env"
# Apply all historical and current migrations without moving repository files.
go run ./cmd/migrate --env-file "$TMP/test.env" --dir migrations --keep-files --lock-file "$TMP/migration.lock"
go test -count=1 -p 1 ./internal/database ./internal/jobqueue
go test -count=1 ./cmd/portal -run TestEditorialSchedulePostgres
go test -count=1 ./cmd/portal -run 'TestEditorialSchedulePostgres|TestHomepageRecentStoriesPostgres'
# Optional authenticated HTTP smoke test against the same disposable database.
if [[ "${LANDWELLE_HTTP_SMOKE:-0}" == 1 ]]; then
"$PGBIN/psql" -X -v ON_ERROR_STOP=1 -c 'UPDATE landwelle.feed_sources SET enabled=false' >/dev/null