pacnpal
7ecf43f1a4
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
bc68eaf4d9
Add auto-approval for moderator submissions and update submission handling
2025-02-05 18:47:23 -05:00
pacnpal
dfe6194039
ok
2024-11-14 04:15:24 +00:00
pacnpal
e63677e8c0
the ghost of the sea
2024-11-14 02:48:41 +00:00
pacnpal
fd97ed31cb
Fix map initialization and park area selection in moderation submission edit view
2024-11-14 01:56:56 +00:00
pacnpal
8265348a83
code commit
2024-11-13 21:59:49 +00:00
pacnpal
1acfe9d29e
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
6a9154ce69
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
177117f4d6
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
f011d58c6d
Fix duplicate UI in moderation dashboard by separating HTMX partial templates and full page templates
2024-11-13 16:34:31 +00:00
pacnpal
983c101ed1
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
537ea0fc07
Improve code readability in moderation models using walrus operator
2024-11-13 15:51:54 +00:00
pacnpal
1c03e4acb8
Improve type hints and code organization in moderation views
2024-11-13 15:47:19 +00:00
pacnpal
7f4de7c2ec
Fixed mod models
2024-11-13 14:53:31 +00:00
pacnpal
08e97f21b7
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
9ee380c3ea
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
eb5d2acab5
fixed a bunch of things, hopefully didn't break things
2024-11-05 21:51:02 +00:00
pacnpal
2e8a725933
series of tests added with built-in django test support
2024-11-05 18:40:39 +00:00
pacnpal
07526dcba8
weird header stuff
2024-11-03 22:03:56 +00:00
pacnpal
27eb239e97
okay fine
2024-11-03 17:47:26 +00:00
pacnpal
3cbda93094
here we go
2024-10-31 22:32:01 +00:00
pacnpal
c58968a24a
lol
2024-10-29 23:11:55 -04:00
pacnpal
6880f36b99
good stuff
2024-10-29 21:29:16 -04:00