Commit Graph

29 Commits

Author SHA1 Message Date
irrlicht c904e3e2db Implement user account deletion flow
POST /user/delete (auth required) verifies the password via pass1 and
transactionally removes the user's sessions, votes, entries and the user
row, then clears the session cookie. Associated media files are removed
best effort after commit. This was only a stub in the Flask original.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-01 10:19:29 +02:00
irrlicht cb237c248e Rewrite backend in Go with JSON API and JS frontend
Reimplements the Flask app as a Go HTTP API (chi + modernc sqlite) with a
minimal vanilla-JS frontend in web/. Endpoints mirror the original Flask
routes but return JSON instead of HTML.

- auth: login/logout/register/sessioninfo/headerbar with crypto/rand tokens
- entry: paginated feed (single JOIN), create with image scaling
- user: profile, userinfo; delete still a stub
- requireAuth middleware passes uid via context
- notes/api.md documents the API and schema

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-01 10:17:02 +02:00
irrlicht c2a8199a84 Moved user creation to user_controller.new() 2025-12-23 01:15:15 +01:00
irrlicht 6f6d05fe31 Added Semicolon to URL-Regex, so Youtube-Links with List-Index are properly shown 2025-12-22 23:53:35 +01:00
irrlicht 3d9eae89de Removed old stuff 2025-12-22 23:33:39 +01:00
irrlicht 782e608db4 Revert "Removed old stuff"
This reverts commit 45e66ca7e6.
2025-12-20 05:27:10 +01:00
irrlicht 45e66ca7e6 Removed old stuff 2025-12-20 03:50:00 +01:00
irrlicht a3afb0726f ? 2025-12-20 03:46:45 +01:00
irrlicht 8c2429732e Margin of .content 2025-12-20 03:46:25 +01:00
irrlicht a180fa6a74 Added fetchone Option to database.fetch 2025-12-20 03:45:42 +01:00
irrlicht 37c3c8dac8 Added content filter for max len and URLs 2025-12-17 22:14:30 +01:00
irrlicht 01e6e92c78 Impressum 2025-12-17 04:34:31 +01:00
irrlicht 08008b5c70 Beitragsordnung 2025-12-17 04:26:55 +01:00
irrlicht 9815ddac83 Remove ID from posts 2025-12-17 03:26:34 +01:00
irrlicht cbcbcf5dda Added Content Notice 2025-12-17 02:57:17 +01:00
irrlicht 7eb4c82a4a Background design, fonts loaded locally, normalize CSS CDN 2025-12-16 02:32:25 +01:00
irrlicht 64776ea8d0 Not sure what I've done. I'm done. Please let me free 2025-12-16 01:45:51 +01:00
irrlicht cfebe0a535 Redesigned headerbar 2025-12-15 17:07:42 +01:00
irrlicht 35ba9e08ed Removed debug page no output 2025-12-15 16:16:36 +01:00
irrlicht 4c8f66db98 Added infinite scroll 2025-12-15 16:12:46 +01:00
irrlicht 1453a52097 Removed debug-sleep of 3 seconds lol 2025-12-15 15:44:20 +01:00
irrlicht 3b75ea33b9 Global loading indicator 2025-12-15 15:42:03 +01:00
irrlicht fef5119a03 Login redirect only on success and new auth success message 2025-12-15 15:29:16 +01:00
irrlicht 36dbc849ca Global Loading screen and page title of Index 2025-12-15 15:15:37 +01:00
irrlicht 3c3e972a09 Fix: Create User form didn't reload 2025-12-15 14:47:56 +01:00
irrlicht 28340bf0b8 Form Styling updated 2025-12-15 14:41:23 +01:00
irrlicht dc3ce5ca88 Refactored, redesigned Authmethods 2025-12-15 14:28:12 +01:00
irrlicht 2dcc389f4b Datenverlust-Counter hinzugefügt 2025-12-13 12:54:43 +01:00
irrlicht 59dd267659 initial 1312 funktioniert ein bisschen 2025-12-13 12:21:44 +01:00