15 Commits
Author SHA1 Message Date
AyrisAIandClaude Sonnet 5 1b8cfeda95 feat: harden admin security, add AI trip planner, map view, and SEO/notification improvements
Security:
- requireAdmin() session check added to every admin-only server action
  (previously relied only on middleware path matching, which Next.js
  Server Actions don't reliably respect)
- Real Prisma + bcrypt admin auth, replacing hardcoded credentials; split
  into an Edge-safe auth.config.ts (used by proxy.ts) and the full
  Prisma-backed auth.ts (route handler, server actions, server components)
- Removed hardcoded fallback secret on the Instagram sync cron endpoint
- Honeypot field + per-IP rate limiting on contact/business-submission
  forms and the analytics events endpoint

Features:
- AI trip planner (/plan-olustur, /plan/[id]) backed by DeepSeek, grounded
  to only recommend isLocalApproved listings, with a deterministic
  link-injection fallback for anything the model doesn't format as markdown
- Interactive Leaflet/OpenStreetMap view on category listing pages
- Telegram notifications for new contact messages and business submissions

SEO:
- Brand-consistent favicon/apple-icon/PWA icons and default Open Graph/
  Twitter share images, generated via next/og (replacing default Next.js
  placeholders)
- BreadcrumbList structured data on category and listing detail pages
- Fixed two remaining raw <img> tags to use next/image

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-24 00:01:06 +03:00
AyrisAI da2029452d Fix Openinary upload ENAMETOOLONG and undefined slug issues, update api endpoint and auth header 2026-07-17 13:36:07 +03:00
AyrisAI 26a6d7fb29 chore: fix analytics domain and formatting in layout 2026-07-15 15:53:55 +03:00
AyrisAI f37a682349 feat: add Google Analytics GA4 (G-LB86GJKBG0) 2026-07-13 15:25:50 +03:00
AyrisAI ea30980782 feat: add VPS panel analytics script 2026-07-13 15:23:51 +03:00
AyrisAI 1d98409385 feat: widget partner system with JS embed, isHidden toggle, category/neighborhood filters 2026-07-13 15:00:46 +03:00
AyrisAI b44acc2678 b 2026-07-13 14:42:07 +03:00
AyrisAI f37d2b4c39 fix: resolve ts errors for build and cleanup widget partners action 2026-07-13 14:25:28 +03:00
AyrisAI 53cbee0841 chore: clean up scratch files and apply remaining updates 2026-07-13 14:17:57 +03:00
AyrisAI 9866413511 fix: resolve prisma v6 warning and next 15 form action typings 2026-07-13 14:10:44 +03:00
AyrisAI 5b44c78396 feat: implement dynamic categories, admin category CRUD, fix routing and cleanup 2026-07-13 13:51:48 +03:00
AyrisAI 2f2dafcfb9 refactor: Move Navbar and Footer to global RootLayout, deduplicating page imports 2026-07-12 20:54:22 +03:00
AyrisAI f696d359b0 feat: Implement Phase 2 features including blog, collections, saved listings, manifest, and api cron sync 2026-07-12 20:49:41 +03:00
AyrisAI 862544b5a1 feat: add dynamic sitemap and robots crawler config 2026-07-12 20:23:47 +03:00
AyrisAI cbc59222c2 first commit 2026-07-12 20:18:55 +03:00