Commit Graph
28 Commits
Author SHA1 Message Date
Mustafa Yildiz c68c5a4c65 fix(seo,performance): disallow bot media streaming, disable fastcgi buffering, and resolve real cloudflare client IPs 2026-08-21 14:02:31 +03:00
Mustafa Yildiz 19c8d496c7 fix(stream,bot-detector): prevent false-positive 403 bans and memory exhaustion on direct video streams 2026-08-21 13:55:19 +03:00
Mustafa Yildiz ffe6d93cf6 chore(footer): hide partner links visually and remove text label 2026-08-21 09:24:20 +03:00
Mustafa Yildiz 8dd35ebc35 chore(footer): hide partner links completely 2026-08-21 09:23:22 +03:00
Mustafa Yildiz 15dcb8e73f chore: update partners configuration 2026-08-21 09:17:06 +03:00
AyrisAIandClaude Sonnet 5 2001fa7952 fix: trust Coolify/Traefik reverse proxy headers
Without trustProxies(), Laravel didn't know requests arriving via
Traefik were originally HTTPS, so route()/url() generated http://
links (stream/proxy, vtt-proxy, etc.), which browsers block as mixed
content on the HTTPS page. Also corrected APP_URL in Coolify's env
vars from http://localhost/ to https://animexe.com.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-18 12:05:26 +03:00
AyrisAIandClaude Sonnet 5 80eff2ca8c fix: stop unwrapping the CORS proxy for aniziumserver hosts client-side
proxyUrl() in player.blade.php listed aniziumserver.sbs/site/com in
DIRECT_CORS_HOSTS, so it unwrapped the server's /stream/proxy URLs and
tried loading them directly from the browser. That CORS assumption is
no longer true (confirmed via browser console), which silently undid
the PlayerController fix from the previous commit.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-18 11:58:45 +03:00
AyrisAIandClaude Sonnet 5 c891d77ae1 fix: proxy Anizium video sources to fix CORS playback errors
videoSourcesData (quality/dub failover list) wasn't routed through
stream.proxy, so switching quality/dub hit Anizium's CDN directly and
got blocked by CORS. aniziumserver.sbs was also wrongly whitelisted as
CORS-safe in isOwn — it isn't, per browser console evidence.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-18 11:06:30 +03:00
mstfyldz 0a43385961 revision 2026-08-12 10:36:21 +03:00
mstfyldz af0c380ec1 feat: add Google AdSense script to frontend layout 2026-08-11 22:18:01 +03:00
mstfyldz 4fe175f037 revision 2026-08-11 13:22:02 +03:00
mstfyldz be0d6d627c revision 2026-08-10 01:50:04 +03:00
AyrisAI bf530a2a0e bb 2026-08-06 02:21:07 +03:00
AyrisAI 8de29f09fd bb 2026-08-06 02:18:34 +03:00
ayrisdevandClaude Opus 4.8 ecfeefd049 Footer partners: support per-link opacity (clamped to a visible 0.4–1)
Optional "opacity" per entry for visual emphasis; values below 0.4 are raised to
the readable floor so links can vary in prominence but cannot be hidden.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-06 02:06:31 +03:00
ayrisdevandClaude Sonnet 5 13355d9f67 Fix invalid JSON in partners.json breaking footer partner links
Stray extra quote after the milliol.com URL made the file invalid JSON,
so json_decode failed and the footer silently rendered no partner links.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-22 13:47:13 +03:00
AyrisAI dd181af928 Update partners and app layout 2026-07-22 10:14:15 +03:00
ayrisdevandClaude Opus 4.8 e8317dec18 Add JSON-driven partner links section to footer
Reads resources/data/partners.json (url/anchor/title/rel), cached by the file's
mtime so edits go live on the next deploy. Skips invalid/non-http entries and
renders nothing when the list is empty.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-22 10:06:05 +03:00
ayrisdevandClaude Opus 4.8 2ef6916891 Fix inflated watch metrics: one row per viewing instead of per 30s ping
The player pings /track/watch every 30s with the CUMULATIVE position, and each
ping inserted a new row (~18 rows per viewing, 254k/day). SUM(seconds_watched)
therefore summed cumulative snapshots: a single 58-minute viewing reported as
4238 minutes (~73x), skewing TrendingController's watch-minute ranking and the
admin "total_sec"/"plays" figures.

Upsert per (session_id, episode_id) so SUM is the real watch time and COUNT is
the real play count. Adds the supporting index.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-15 14:59:00 +03:00
ayrisdevandClaude Opus 4.8 87e0d7dcf5 Perf: drop session/bot middleware from /media so Cloudflare can cache images
Media responses carried Laravel session cookies (Set-Cookie), which made
Cloudflare BYPASS the cache for every cover/avatar/banner. These are public
files with no user context, so the session/cookie/CSRF chain is unnecessary.
Also skips BotDetector (one analytics_bot_logs INSERT per image) and the SEO
redirect lookup.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-15 13:28:18 +03:00
ayrisdevandClaude Opus 4.8 782226674a Security: harden SSRF guard on stream proxies, fix vtt-proxy allowlist
Resolve hosts to IPs and reject private/reserved/link-local ranges (incl.
169.254 cloud metadata) instead of matching hostname text, and re-validate
every redirect hop by following them manually. Restrict curl to http(s).
vtt-proxy allowlist now requires an exact host or a real subdomain.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-15 13:12:44 +03:00
ayrisdevandClaude Opus 4.8 cf8c5be984 Add discreet partner link to footer
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-15 10:23:07 +03:00
ayrisdevandClaude Opus 4.8 4d24b04cef Add "Created by ayris.tech" credit to footer
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-14 11:37:49 +03:00
ayrisdevandClaude Opus 4.8 145ff396ee Add Ayris VPS Panel analytics script to frontend head
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-14 11:31:51 +03:00
ayrisdevandClaude Opus 4.8 32777dabac Security: remove backdoor scripts from public/ (setup, migrate_run, clearcache, error_log)
Unauthenticated cache-clear (DoS) and weak-key migration runners; not needed by the app.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-14 01:31:14 +03:00
ayrisdevandClaude Opus 4.8 6437ac112c Fix container crash: skip route:cache (app has Closure routes), make entrypoint tolerant
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-14 00:15:13 +03:00
ayrisdevandClaude Opus 4.8 3f602c61ef Add production Dockerfile (php-fpm + nginx) for Coolify
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-14 00:03:55 +03:00
ayrisdevandClaude Opus 4.8 a63515cfc6 Initial commit: Animexe Laravel platform
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-14 00:01:48 +03:00