Commit Graph

26 Commits

Author SHA1 Message Date
pacnpal
d1031f8dcb Update migration files for Django 5.1.4; remove obsolete merge migrations and adjust history tracking context in templates 2025-02-10 00:11:29 -05:00
pacnpal
2db29fa866 Add merge migrations for parks, companies, and moderation apps; update EmailConfiguration, Review, Photo, TopList, and TopListItem models to use pghistory for historical tracking 2025-02-09 16:00:10 -05:00
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
6e95f3cda5 ok 2024-11-14 04:15:24 +00:00
pacnpal
64d735870b the ghost of the sea 2024-11-14 02:48:41 +00:00
pacnpal
34c8b60c14 Fix map initialization and park area selection in moderation submission edit view 2024-11-14 01:56:56 +00: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
779189246a 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:37:36 +00:00
pacnpal
3d606ee3c5 Improve moderation dashboard UI and HTMX integration:
- Create partial templates for dashboard, edit submissions, and photo submissions
- Update views to properly handle HTMX requests
- Fix duplicate UI issues when navigating
- Improve overall UI design and transitions
2024-11-13 17:04:42 +00:00
pacnpal
4163dfa6cf Fix duplicate UI in moderation dashboard by separating HTMX partial templates and full page templates 2024-11-13 16:34:31 +00:00
pacnpal
f1257f4891 Added support for Django's built-in superuser to access moderation features. Modified context processor and views to check both role-based and is_superuser permissions. 2024-11-13 16:13:54 +00:00
pacnpal
e3f985e9ee Improve code readability in moderation models using walrus operator 2024-11-13 15:51:54 +00:00
pacnpal
4bf3500e7b Improve type hints and code organization in moderation views 2024-11-13 15:47:19 +00:00
pacnpal
5055f578fd Fixed mod models 2024-11-13 14:53:31 +00:00
pacnpal
166874a7ad Reorganize moderation dashboard structure:
- Move from /moderation/admin to /moderation to avoid conflicts
- Improve template organization with partials
- Add HTMX-powered navigation and filtering
- Add smooth transitions and loading states
- Improve photo submission handling
- Add review notes functionality
- Add confirmation dialogs
2024-11-13 14:50:34 +00:00
pacnpal
2279e19cfd Enhance moderation dashboard UI and UX:
- Add HTMX-powered filtering with instant updates
- Add smooth transitions and loading states
- Improve visual hierarchy and styling
- Add review notes functionality
- Add confirmation dialogs for actions
- Make navigation sticky
- Add hover effects and visual feedback
- Improve dark mode support
2024-11-13 14:38:38 +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
9de9311670 weird header stuff 2024-11-03 22:03:56 +00:00
pacnpal
27f3326e22 okay fine 2024-11-03 17:47:26 +00:00
pacnpal
80a9d61ca2 here we go 2024-10-31 22:32:01 +00:00
pacnpal
298e2a80cb lol 2024-10-29 23:11:55 -04:00
pacnpal
708986e4c4 good stuff 2024-10-29 21:29:16 -04:00