1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-23 06:49:37 +02:00
Commit graph

417 commits

Author SHA1 Message Date
Sean Morley
ce9faa28f8 Refactor recommendations feature: add RecommendationsViewSet, update routing, and remove OverpassViewSet 2025-05-24 18:00:05 -04:00
Sean Morley
68ba3c4b4d Add Google Maps API integration for geocoding and reverse geocoding functionality 2025-05-24 14:59:58 -04:00
Sean Morley
042d034594 Implement reverse geocoding search functionality and update type definitions 2025-05-24 14:12:06 -04:00
Sean Morley
ec2b285d50 Remove logging for error handling in reverse_geocode function 2025-05-23 23:17:47 -04:00
Sean Morley
7fddca6fb0
Potential fix for code scanning alert no. 16: Information exposure through an exception
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-05-23 23:13:31 -04:00
Sean Morley
d3d74f9f35 Add localization support for adventure and settings pages; enhance UI elements
- Updated Chinese translations in zh.json for various UI components including coordinates, sun times, and authentication settings.
- Refactored adventure page to utilize localization for visit counts, descriptions, and other text elements.
- Improved settings page by integrating localization for profile, security, email management, and integration sections.
- Enhanced visual consistency by updating card backgrounds and adding localized text for buttons and labels.
2025-05-23 17:22:28 -04:00
Sean Morley
e856a57498 Refactor code structure for improved readability and maintainability 2025-05-23 12:15:44 -04:00
Sean Morley
2ccb8f5e0b Enhance geocoding functionality with host resolution and improved error handling; update AdventureModal for loading state management; refine LocationDropdown toast display logic; adjust world travel page for better documentation link visibility. 2025-05-23 10:46:37 -04:00
Sean Morley
3d9f4545a1
Merge branch 'development' into bool-case-sensitivity 2025-05-22 21:22:27 -04:00
Sean Morley
a1062e72cf Enhance Adventure model and serializers with visited status logic and toast notifications for marking visits 2025-05-22 21:13:31 -04:00
Sean Morley
84cd136401 Add bulk geocoding command and trigger geocoding action in admin 2025-05-22 20:29:05 -04:00
Sean Morley
ac32f9ac5b Add country field to AdventureSerializer with country code retrieval 2025-05-22 20:13:36 -04:00
Sean Morley
d52e302e9b Add geocoding functionality and enhance Adventure model with location fields 2025-05-22 20:05:13 -04:00
Sean Morley
14e71626f6 Enhance Nginx configuration for protected media files with PDF handling 2025-05-22 16:26:50 -04:00
Sean Morley
f96b6f5f65
Merge pull request #556 from janausis/oicd_login_fix
Frontend OICD Login Fix
2025-05-22 11:07:43 -04:00
Sean Morley
bd9f3fc494
Update backend/server/adventures/views/adventure_view.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-19 11:28:04 -04:00
Sean Morley
d87d0e807f Fixes [BUG] Cannot change a adventure from Private to Public #617 2025-05-19 11:21:40 -04:00
Sean Morley
f15d7bfd1e Remove debug print statements from DisableCSRFForMobileLoginSignup middleware 2025-05-12 10:42:50 -04:00
Sean Morley
7c3c139e61 Add DisableCSRFForMobileLoginSignup middleware to handle CSRF checks for mobile login/signup requests 2025-05-12 10:42:26 -04:00
Sean Morley
330fabb3e0 Fix validation in Lodging model to check check-in and check-out dates; update LodgingCard to conditionally display timezone 2025-05-10 13:17:01 -04:00
Sean Morley
1323d91e32 Add timezone support for visits, transportation, and lodging
- Introduced TIMEZONES constant in models.py to store valid timezone options.
- Updated Visit, Transportation, and Lodging models to include timezone fields.
- Modified serializers to include timezone fields in VisitSerializer, TransportationSerializer, and LodgingSerializer.
- Enhanced DateRangeCollapse component to handle timezone selection and formatting.
- Implemented timezone formatting functions in LodgingCard and TransportationCard components.
- Updated LodgingModal and TransportationModal to bind timezone data.
- Added VALID_TIMEZONES to dateUtils for consistent timezone management across the application.
2025-05-10 11:59:56 -04:00
Lars Kiesow
5136122ed9
Make boolean settings case insensitive
Having to use the Python syntax when it comes to case sensitivity for
booleans in environment variables can be unexpected and doesn't really
provide any benefit.

This patch makes all boolean settings case-insensitive. This means that,
for example, both `True` and `true` evaluate to `True` in Python.

This fixes #559
2025-04-26 23:27:25 +02:00
Lars Kiesow
23426012af Fix Python Syntax Error
Commit 937c3c6a68 introduced a Python
syntax error, breaking the server. This fixes the issue by restoring the
probably accidental removal of one line of code.
2025-04-11 20:18:14 +02:00
Jannis Martensen
2b031f51ac fixed oicd not working on frontend login page 2025-04-11 12:35:05 +02:00
Sean Morley
937c3c6a68
Update backend/server/adventures/views/collection_view.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-07 19:17:26 -04:00
Lars Lehmann
847193a0ae
fix: Reenable IPv6 for Backend 2025-04-06 22:55:13 +02:00
Sean Morley
04c3402e14 fix: Remove duplicate file extension validation for md and pdf formats 2025-03-23 16:40:55 -04:00
Sean Morley
b4c5e22662 fix: Correct file extension validation for gpx, md, and pdf formats 2025-03-23 16:40:08 -04:00
Sean Morley
7d5750049b Merge branch 'development' of github.com:seanmorley15/AdventureLog into development 2025-03-22 12:25:55 -04:00
Sean Morley
16a7772003 feat: Add additional adventure type and endpoint for sunrise/sunset information 2025-03-22 12:25:53 -04:00
Sean Morley
731b7e9db1
chore(docker): Fix supervisor logging to stdout 2025-03-22 10:21:26 -04:00
ClumsyAdmin
ca4ef79837 fix supervisor logging 2025-03-21 20:51:58 -04:00
Sean Morley
13d3b24ec2 chore: Reduce Gunicorn worker count from 4 to 2 for optimized resource usage 2025-03-21 20:27:46 -04:00
ClumsyAdmin
113d41ca30 Merge branch 'main' of github.com:ClumsyAdmin/AdventureLog 2025-03-21 20:25:40 -04:00
ClumsyAdmin
b71109fd09 potential fix: set Supervisor priorities to ensure Gunicorn starts before nginx to prevent 502 errors 2025-03-21 20:25:25 -04:00
Sean Morley
44ede92b92
Merge branch 'development' into main 2025-03-21 17:34:03 -04:00
Sean Morley
fe25f8e2c8 feat: Add start_date to collection ordering and enhance localization for itinerary features 2025-03-21 17:31:33 -04:00
ClumsyAdmin
4ccfa6e42c refactor docker startup to use supervisord 2025-03-21 12:02:23 -04:00
Sean Morley
1042a3edcc refactor: Remove debug print statement from NoPasswordAuthBackend authentication method 2025-03-20 22:08:22 -04:00
Sean Morley
9fd2a142cb feat: Update Visit model to use DateTimeField for start and end dates, and enhance AdventureModal with datetime-local inputs 2025-03-18 14:04:31 -04:00
Sean Morley
585f050a30 feat: Add disable_password field to CustomUserDetailsSerializer and update PublicUserListView 2025-03-17 14:38:10 -04:00
Sean Morley
b82e4b6f0d feat: Add country name to Region serializer and update RegionCard component 2025-03-17 14:23:10 -04:00
Sean Morley
4e543fad55 feat: Enhance City and Lodging components with region and country names, and improve password disable functionality 2025-03-17 10:38:41 -04:00
Sean Morley
a38828eb45 feat: Implement disable password authentication for users with social accounts 2025-03-16 21:49:00 -04:00
Sean Morley
7fbcf170d0 feat: Add file type validation and sanitize markdown input in adventure components 2025-03-15 12:29:12 -04:00
Sean Morley
4759ff71a1 fix: Update URL path for user stats counts and remove email from response 2025-02-28 14:50:32 -05:00
Sean Morley
b1068d27b0 refactor: Update API endpoint paths from "_allauth" to "auth" for consistency 2025-02-23 17:04:20 -05:00
Sean Morley
b61083f7df refactor: Remove initial and key achievement migrations for cleanup 2025-02-22 17:06:40 -05:00
Sean Morley
ea36b104b6 feat: Add Transportation and Lodging models to AdventureViewSet; update Avatar and TransportationModal components for improved user experience 2025-02-22 10:37:22 -05:00
Sean Morley
1c15e85986 feat: Enhance session cookie domain handling for IP addresses and single-label hostnames 2025-02-20 10:21:48 -05:00