threadr.lostcave.ddnss.de/models
Joca 9138dfe650
Remove CSRF, add password change, admin user management
Stripped all CSRF token generation, injection, and validation since it
breaks behind Apache reverse proxy. Removed handlers/csrf.go, stripped
CSRFToken from PageData, removed validateCSRFToken from all POST handlers,
and cleaned up hidden inputs and JS CSRF references.

Added self-service password change at /password/ with current-password
verification and bcrypt update. New Password link in navbar.

Extended admin panel with user management: lists all users with join dates
and allows admins to delete other users (self-deletion blocked). Added
GetAllUsers() and DeleteUser() to models.
2026-05-13 18:01:03 -03:00
..
board.go All: Migrate boards from global to board specific 2025-08-22 00:07:13 -03:00
board_permission.go Initial Commit 2025-06-15 02:37:02 +02:00
chat.go Chat: Add Markdown support 2025-09-05 22:09:17 -03:00
file.go Harden profile image uploads. 2026-03-06 14:58:53 -03:00
like.go modify the classic board page heavily 2026-02-26 21:33:34 -03:00
news.go Create admin user, admin can edit news blotter 2025-06-15 02:41:36 +02:00
notification.go Initial Commit 2025-06-15 02:37:02 +02:00
post.go Implemented features for creating and deleting boards and threads, removed thread types, enhanced CSS for boards and comments 2025-06-15 02:44:03 +02:00
reaction.go Initial Commit 2025-06-15 02:37:02 +02:00
repost.go Initial Commit 2025-06-15 02:37:02 +02:00
site_settings.go Add admin-controlled signup toggle and hide signup links. 2026-04-19 14:03:24 -03:00
thread.go Board: Fix mismatch between schema and query 2025-08-21 23:42:03 -03:00
user.go Remove CSRF, add password change, admin user management 2026-05-13 18:01:03 -03:00
user_preferences.go Preferences: Remove markdown preview preference after feature removal 2026-01-15 23:34:21 -03:00