Commit Graph

110 Commits

Author SHA1 Message Date
dependabot[bot]
7af1ac228a [DEPENDABOT] Update: Bump pyjwt from 2.9.0 to 2.10.1
Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 2.9.0 to 2.10.1.
- [Release notes](https://github.com/jpadilla/pyjwt/releases)
- [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/jpadilla/pyjwt/compare/2.9.0...2.10.1)

---
updated-dependencies:
- dependency-name: pyjwt
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-10 11:44:58 +00:00
pacnpal
40c58b8704 Update dependabot.yml 2024-12-10 06:43:27 -05:00
pacnpal
e47085f1f5 Update dependabot.yml 2024-12-10 06:21:23 -05:00
pacnpal
e4dddb3593 Remove . from version control 2024-12-06 13:39:54 -05:00
pacnpal
7f5fa65fd0 Remove __pycache__ from version control 2024-12-06 13:39:23 -05:00
pacnpal
2b87e14925 gitignore 2024-12-06 13:36:12 -05:00
pacnpal
0ab6c1afa8 fix homepage counts 2024-12-06 13:30:45 -05:00
pacnpal
1e7f7c277c 1 2024-12-05 23:31:15 -05:00
pacnpal
a6b553fcc2 git 2024-12-05 20:27:29 -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
cb749773e7 Fix moderation submission template:
- Fix unclosed if tags and template structure
- Fix ride category selection and stats display
- Fix location map display and remove duplicates
- Fix grid layout and closing tags
2024-11-14 02:31:28 +00:00
pacnpal
2e525f289f Fix moderation submission display:
- Fix location map display in view mode
- Remove duplicate location map
- Fix grid layout and closing tags
- Show location map before other fields
2024-11-14 02:24:01 +00:00
pacnpal
35857dd147 Fix moderation submission display:
- Add location map template for view mode
- Add coaster fields template for stats
- Fix location and stats display in both view and edit modes
2024-11-14 02:16:04 +00:00
pacnpal
2614ce44e3 Fix moderation submission edit view:
- Add coaster stats fields template
- Fix ride category selection and stats display
- Fix location widget and map initialization
2024-11-14 02:10:14 +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
d669fd5fbb Fix ride category, status, and park area selection in moderation submission edit view 2024-11-14 01:32:37 +00:00
pacnpal
8a17c455ba Fix ride category selection and stats field display in moderation submission edit view 2024-11-14 01:24:27 +00:00
pacnpal
f367d15662 Make sign in and registration screens scrollable
- Remove fixed height constraints from main pages
- Add responsive padding
- Add max-height and overflow handling to modals
- Make modal headers sticky
- Improve overall scrolling behavior
2024-11-14 01:02:54 +00:00
pacnpal
e5cac3c990 [Documentation] Create context documentation system
- Created comprehensive documentation structure
- Added productContext.md for product understanding
- Added activeContext.md for current development status
- Added systemPatterns.md for architecture patterns
- Added developmentWorkflow.md for process standards
- Added operationalContext.md for runtime details
- Added projectBoundaries.md for technical constraints
- Added techContext.md for technology stack
- Documented all major aspects of the system
- Established foundation for maintaining context
2024-11-13 23:40:36 +00:00
pacnpal
8e1938bf3e Add enhanced toast notifications for moderation actions
- Add color-coded toast notifications for different actions
- Use appropriate icons for each action type
- Improve toast positioning and z-index
- Add smooth transitions for better UX
- Remove duplicate toast implementation
2024-11-13 22:02:59 +00:00
pacnpal
12309ebeed code commit 2024-11-13 21:59:49 +00:00
pacnpal
b05176e975 Fix moderation dashboard CSS formatting
- Update category and status select fields with consistent styling
- Add proper dark mode support for form elements
- Improve form field spacing and alignment
- Standardize input field styling across the dashboard
2024-11-13 21:31:02 +00:00
pacnpal
392329f8f5 Update loading indicator styling for dark mode compatibility 2024-11-13 18:59:04 +00:00
pacnpal
3839548289 Move loading indicator to center of empty state div in submission list 2024-11-13 18:57:48 +00:00
pacnpal
bd68a2f16d Update active tab indicator colors in light mode to use blue instead of grey 2024-11-13 18:55:14 +00:00
pacnpal
2a3e6b9544 Update dark mode styling for submission list to match site theme 2024-11-13 18:53:03 +00:00
pacnpal
980603b0ff Update dark mode styling for moderation dashboard to match site theme 2024-11-13 18:51:15 +00:00
pacnpal
fed190a101 Add Moderation Dashboard title to the top of the dashboard view 2024-11-13 18:48:18 +00:00
pacnpal
330e9aef79 Add refresh button to moderation dashboard that maintains current filters when refreshing content 2024-11-13 18:46:32 +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
17aa90e252 Add CSRF token handling to HTMX requests:
- Configure HTMX to include CSRF token in request headers
- Add global HTMX configuration in dashboard.html
- Fix CSRF token missing error in moderation actions
2024-11-13 17:16:43 +00:00
pacnpal
7096ce15f9 Fix duplicate menus in moderation dashboard:
- Move navigation to separate moderation_nav.html partial
- Include navigation only once in dashboard.html base template
- Remove duplicate navigation from child templates
2024-11-13 17:09:22 +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
78ee6eaeff ignore tailwind 2024-11-13 16:45:09 +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
9194d70dc4 Bypass Turnstile validation when DEBUG is True 2024-11-13 16:10:25 +00:00
pacnpal
ace2a09c16 Disable Cloudflare Turnstile on login/signup pages when DEBUG is True 2024-11-13 15:56:42 +00:00
pacnpal
e3f985e9ee Improve code readability in moderation models using walrus operator 2024-11-13 15:51:54 +00:00
pacnpal
ebfcd299a1 Improve code readability with boolean expressions and better control flow 2024-11-13 15:50:38 +00:00
pacnpal
4bf3500e7b Improve type hints and code organization in moderation views 2024-11-13 15:47:19 +00:00
pacnpal
5ceaea56b4 add tailwind to gitignore as generated on the fly 2024-11-13 15:42:57 +00:00
pacnpal
2740cfb8a1 Add password confirmation, validation, and email notification for password changes 2024-11-13 15:17:07 +00:00
pacnpal
32c84f7649 Set max width of settings container to 800px for better readability and focus 2024-11-13 15:05:56 +00:00
pacnpal
2e061629f0 Updated moderation link in navbar to point to dashboard instead of edit submissions - Improves navigation flow for moderators, admins, and superusers 2024-11-13 15:03:04 +00:00
pacnpal
3c207134db Verified admin and superuser access to moderation dashboard - Access control already properly implemented through ModeratorRequiredMixin with ADMIN and SUPERUSER roles included in permission checks 2024-11-13 14:57:49 +00:00
pacnpal
2780fdb9e2 Fix stats cards styling on home page - Add consistent flex layout for perfect centering - Fix HTML structure in parks card - Standardize hover effects and shadows across all cards 2024-11-13 14:55:11 +00:00
pacnpal
5055f578fd Fixed mod models 2024-11-13 14:53:31 +00:00