cms.c2sgmbh/src
Martin Porwoll 913897c87c feat: add comprehensive video feature with collections, hooks, and tests
Video Feature Implementation:
- Add Videos and VideoCategories collections with multi-tenant support
- Extend VideoBlock with library/upload/embed sources and playback options
- Add featuredVideo group to Posts collection with processed embed URLs

Hooks & Validation:
- Add processFeaturedVideo hook for URL parsing and privacy mode embedding
- Add createSlugValidationHook for tenant-scoped slug uniqueness
- Add video-utils library (parseVideoUrl, generateEmbedUrl, formatDuration)

Testing:
- Add 84 unit tests for video-utils (URL parsing, duration, embed generation)
- Add 14 integration tests for Videos collection CRUD and slug validation

Database:
- Migration for videos, video_categories tables with locales
- Migration for Posts featuredVideo processed fields
- Update payload internal tables for new collections

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-16 10:48:33 +00:00
..
app feat: implement data retention system 2025-12-15 23:17:31 +00:00
blocks feat: add comprehensive video feature with collections, hooks, and tests 2025-12-16 10:48:33 +00:00
collections feat: add comprehensive video feature with collections, hooks, and tests 2025-12-16 10:48:33 +00:00
components/admin feat: BullMQ queue system for email and PDF processing 2025-12-09 22:59:17 +00:00
globals feat: add content blocks and global settings 2025-12-01 08:19:15 +00:00
hooks feat: add comprehensive video feature with collections, hooks, and tests 2025-12-16 10:48:33 +00:00
jobs chore: add jobs, backups, and migration history 2025-12-01 08:24:26 +00:00
lib feat: add comprehensive video feature with collections, hooks, and tests 2025-12-16 10:48:33 +00:00
migrations feat: add comprehensive video feature with collections, hooks, and tests 2025-12-16 10:48:33 +00:00
migrations_backup chore: add jobs, backups, and migration history 2025-12-01 08:24:26 +00:00
instrumentation.ts feat: add i18n, SEO, and frontend infrastructure 2025-12-01 08:19:35 +00:00
middleware.ts feat: add Products and ProductCategories collections with CI/CD pipeline 2025-12-12 21:36:26 +00:00
payload-generated-schema.ts feat: add priority collections and advanced content blocks 2025-12-14 00:58:30 +00:00
payload-types.ts feat: add comprehensive video feature with collections, hooks, and tests 2025-12-16 10:48:33 +00:00
payload.config.ts feat: add comprehensive video feature with collections, hooks, and tests 2025-12-16 10:48:33 +00:00