threadr.lostcave.ddnss.de/handlers
Joca 309e516480
Preferences: Add user preferences system with database table and settings page
- Add user_preferences table to store per-user settings (auto_save_drafts, markdown_preview_default)
- Create UserPreferences model with GetUserPreferences, CreateDefaultPreferences, and UpdateUserPreferences functions
- Add PreferencesHandler for GET/POST requests to display and save user preferences
- Create preferences.html template with checkbox for draft auto-save and radio buttons for markdown preview default
- Add "Preferences" link to navbar for logged-in users
- Register /preferences/ route with login requirement

This establishes the foundation for advanced features like draft auto-save and markdown preview toggle, allowing users to customize their experience.
2026-01-15 23:21:03 -03:00
..
about.go config: rename files to better hint at what they’re used for 2025-06-15 02:47:16 +02:00
accept_cookie.go Initial Commit 2025-06-15 02:37:02 +02:00
app.go All: Enhance session management and security features 2025-12-21 21:26:02 -03:00
board.go All: Migrate boards from global to board specific 2025-08-22 00:07:13 -03:00
boards.go All: Migrate boards from global to board specific 2025-08-22 00:07:13 -03:00
chat.go Chat: Add real-time connection status, typing indicators, smart scrolling, and message delivery status 2026-01-15 23:00:31 -03:00
file.go feat: Add file-based avatar system 2025-06-21 16:21:21 -03:00
home.go Fix cookie banner 2025-06-15 02:41:19 +02:00
like.go Initial Commit 2025-06-15 02:37:02 +02:00
login.go All: Enhance session management and security features 2025-12-21 21:26:02 -03:00
logout.go Initial Commit 2025-06-15 02:37:02 +02:00
news.go Create admin user, admin can edit news blotter 2025-06-15 02:41:36 +02:00
preferences.go Preferences: Add user preferences system with database table and settings page 2026-01-15 23:21:03 -03:00
profile.go Initial Commit 2025-06-15 02:37:02 +02:00
profile_edit.go feat: Add file-based avatar system 2025-06-21 16:21:21 -03:00
signup.go Handlers: Add password confirmation validation to signup 2026-01-15 22:39:58 -03:00
thread.go UI: Add navigation improvements with breadcrumbs, back buttons, scroll-to-top, and keyboard shortcuts 2026-01-15 22:49:54 -03:00
userhome.go Initial Commit 2025-06-15 02:37:02 +02:00