summaryrefslogtreecommitdiff
path: root/app/Http/Controllers/CinemaController.php
AgeCommit message (Collapse)AuthorFilesLines
2026-06-27feat: add sort buttons to cinema listingDeveloper1-3/+11
Order options: Hacker News Mentions (default), Rating, Number of Votes, Accolades, Release Date. Active sort is highlighted in primary color.
2026-06-27feat: order cinema movies by Hacker News reference countDeveloper1-3/+13
Movies are now ranked by how many times their IMDb page is referenced in HN comments (links table, host=www.imdb.com, field=1, matched via param column). Uses a correlated subquery for COUNT(*) from links.
2026-06-27feat: add /genres page listing all genres with movie countsDeveloper1-0/+65
- Add CinemaController::genres() and ::genre($name) methods - /genres shows all genres with movie counts (like /popular/topics) - /genres/{genre} shows movies filtered by that genre with pagination - Genre badges on cinema_show page now link to /genres/{genre} - Add Genres link to navbar next to Cinema
2026-06-27feat: exclude movies without a Wikipedia article from cinema listingsDeveloper1-0/+4
Only show movies where wiki_article IS NOT NULL in the main listing and search results.
2026-06-27fix: use separate count query in cinema search (SimplePaginator has no total())Developer1-2/+10
2026-06-27feat: add cinema module for browsing movies from hncrawler DBDeveloper1-0/+114
- Add 'cinema' database connection (hncrawler DB) to config/database.php - Create CinemaController with cinema(), show(), search() methods - Add /cinema, /cinema/movie/{imdb_id}, /cinema/search routes - Create cinema.blade.php (grid listing with posters, ratings, pagination) - Create cinema-show.blade.php (detail page with cast, genres, synopsis) - Add Cinema link to navbar - Update page title logic for cinema routes