Commit Graph

11 Commits

Author SHA1 Message Date
pacnpal
64d9943d86 Refactor model imports and update admin classes to use pghistory for historical tracking; replace HistoricalModel with TrackedModel in relevant models 2025-02-09 11:20:40 -05:00
pacnpal
52cb51cb14 Add history tracking functionality using django-pghistory; implement views, templates, and middleware for event serialization and context management 2025-02-09 09:52:19 -05:00
pacnpal
f31591ecc5 Add auto-approval for moderator submissions and update submission handling 2025-02-05 18:47:23 -05:00
pacnpal
12309ebeed code commit 2024-11-13 21:59:49 +00:00
pacnpal
a2ca7b6f6f Improve moderation dashboard UI and functionality
- Add status tabs (Pending, Approved, Rejected, Escalated)
- Implement HTMX for smooth tab switching and status changes
- Add proper permissions for escalated submissions
- Change Status filter to Submission Type (Text/Photo)
- Move navigation into dashboard content
- Fix tab menu visibility and transitions
- Add contextual loading indicator
- Update styling to match dark theme
- Ensure consistent styling across components
2024-11-13 18:38:03 +00:00
pacnpal
e3f985e9ee Improve code readability in moderation models using walrus operator 2024-11-13 15:51:54 +00:00
pacnpal
5055f578fd Fixed mod models 2024-11-13 14:53:31 +00:00
pacnpal
968b0b4c81 fixed a bunch of things, hopefully didn't break things 2024-11-05 21:51:02 +00:00
pacnpal
1c32eb26a2 series of tests added with built-in django test support 2024-11-05 18:40:39 +00:00
pacnpal
80a9d61ca2 here we go 2024-10-31 22:32:01 +00:00
pacnpal
708986e4c4 good stuff 2024-10-29 21:29:16 -04:00