Add an optional `$limit` parameter to `CommentPresenter::markdownBody()`
that truncates the comment body before rendering Markdown. The comment
partial now passes a default limit of 250 characters, preventing long
comments from dominating the layout. Unit tests cover rendering with and
without a limit.
Add a redesigned hero section to the public playlist page displaying
community-generated totals for playlists and episodes, plus new string
translations (English, German, French). Eager-load user, limited episode
previews, and first gallery image to reduce N+1 queries. Cache aggregate
statistics for 10 minutes to improve performance on high-traffic pages.
Replace the server-rendered episode upload form with a Livewire component,
introducing an interactive admin experience that validates the new episode's
stream path against all configured mirrors before saving. The controller-based
`store` method and its route are removed, and episode creation now flows
through the `AdminEpisodeForm` component with frontend upload handling and
dynamic quality checks.
Key changes:
- Add `AdminEpisodeForm` Livewire component with file uploads, tag handling,
and debounced stream/base-url validation.
- Extend `CdnPathValidator::validateStream` to accept an episode number so the
manifest path can point to the specific episode being added.
- Remove the `store` method from `EpisodeController` and its POST route.
- Delete the legacy `createEpisode` method from `EpisodeService`.
- Replace the Blade upload modal with the Livewire view, including progress
indicators and validation badges.
- Add feature tests for the Livewire component and update unit tests for the
CDN validator's episode-specific manifest check.
Replace the server-rendered release upload form with a Livewire component,
introducing an interactive admin release form that supports dynamic episode
management, real‑time CDN path validation, and direct download file checks.
Key changes:
- New `AdminReleaseForm` Livewire component with dynamic episode fields,
Tagify integration, and upload handling via Livewire's file uploads.
- Added `CdnPathValidator` service to verify download and stream paths across
all configured mirrors, caching results and capturing file sizes.
- Extended `EpisodeService` and `GalleryService` to support array‑based data
and temporary uploaded files from Livewire.
- Persist validated download sizes and store the validation timestamp on the
`downloads` table via a new migration; also add a unique constraint on
`hentais.slug` to prevent duplicates.
- Remove the old POST `/admin/release/upload` route and controller logic,
along with the legacy `upload.js` script.
- Add comprehensive feature and unit tests covering the new component and the
CDN validation service.
Prevent Discord release notifications from being sent in non-production
environments, avoiding accidental notifications during development and
testing. Added unit tests to verify the behavior.