Commit Graph

11 Commits

Author SHA1 Message Date
6174bed49a feat(admin): split role permissions for each section 2026-03-25 17:02:40 +02:00
f13be9786b fix: add api list limits 2026-03-16 22:51:06 +02:00
59c5f91fb0 fix: exclude own user from autocomplete 2025-12-11 08:51:45 +02:00
80c85a2cab feat: user mentions 2025-12-11 02:29:09 +02:00
3e1e0d2ada refactor: user stats -> forum users 2025-11-29 23:08:24 +02: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
522a49685f feat: remove forum_users table 2025-11-10 15:06:57 +02:00
3f99ec854b feat: user profile page 2025-11-10 14:40:12 +02:00
30edbc8330 feat: current user endpoint, routing fixes 2025-11-07 19:12:31 +02:00
14204522b6 feat: bbcode parsing 2025-11-07 02:24:39 +02:00
b9ae4ce1e3 feat: initial db structure, mappers & apis 2025-11-06 02:03:55 +02:00