Commit Graph

8 Commits

Author SHA1 Message Date
0d461f1373 fix: youtube embed CSP 2026-03-29 01:27:48 +03:00
d2baf2a813 feat: add optional guest access with role-based permissions
Implement opt-in guest access system allowing unauthenticated users to
view forum content with configurable permissions.

Features Added:
  - Guest access toggle in admin settings for forum-wide control
  - Guest role with configurable category-level permissions
(view/post/reply)
  - Role type system (admin, moderator, default, guest, custom) for
enhanced access control
  - Public page support in routing with automatic redirect to login when
disabled
  - Public settings API endpoint for unauthenticated access to forum
metadata
  - Guest role permissions UI in admin panel with clear capability
restrictions
  - Database migration with automatic role type assignment and guest
role seeding

Security & Permission Improvements:
  - Permission middleware now validates permissions on public pages
instead of skipping checks
  - Admin/moderator roles have full access; guest/default roles
restricted from moderation
  - Guest role cannot be assigned to authenticated users

Breaking Changes:
  - Forum title/subtitle moved from system config to app config
(auto-migrated)
  - Permission middleware behavior changed for PublicPage routes (now
checks permissions)
2025-11-25 02:02:46 +02:00
9029882fdb fix(CSP): set CSP to allow all images to load in the forum 2025-11-24 22:46:27 +02:00
ce6b334dd3 build: clean up asset loaders 2025-11-20 10:14:15 +02:00
2753ecfefb build: improve asset/script loading 2025-11-20 04:37:17 +02:00
14204522b6 feat: bbcode parsing 2025-11-07 02:24:39 +02:00
f4b1c87f05 feat: rename project 2025-11-06 02:03:11 +02:00
9c2ed298e6 Initial commit 2025-11-06 00:33:58 +02:00