Commit Graph

3 Commits

Author SHA1 Message Date
Whykioh c668629268 Add webhook to auto-deploy watchgether-web
watchgether-web has no PHP runtime of its own (static files served by
a plain nginx container), so it reuses this repo's PHP/nginx to receive
its Gitea webhook and git-pull the separate watchgether-web checkout.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-12 20:36:13 +02:00
Whykioh 4c61b7f276 Fix crash bugs and secure webhook/TMDB key
- Add missing MovieController::remove/markWatched (routes called undefined methods)
- Fix linkPartner(): commit() was unreachable after an early return, so partner
  linking was never actually persisted in the DB
- Add missing removeMovie/markWatched functions in app.js
- webhook.php now verifies a GitHub HMAC signature before running git reset --hard
- Move TMDB API key server-side via a new TmdbController proxy (tmdb-search/tmdb-details)
  instead of exposing it in client-side JS

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-12 16:54:40 +02:00
Whykioh 81b1b3b835 Add User system 2026-07-11 09:13:29 +02:00