1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-24 15:29:36 +02:00
Commit graph

448 commits

Author SHA1 Message Date
Sean Morley
0838a41156 feat: add unique constraint for immich_id per user in AdventureImage model and enhance Immich integration image retrieval 2025-06-01 22:50:26 -04:00
Sean Morley
06787bccf6 feat: enhance Immich integration with local copy option and validation for image handling 2025-06-01 19:55:12 -04:00
Sean Morley
f95afdc35c fix: update location blocks for protected media in nginx configuration 2025-06-01 12:47:08 -04:00
Sean Morley
c159e176b3 refactor: improve formatting and organization in nginx configuration 2025-05-31 21:54:45 -04:00
Sean Morley
b50447b1a2 refactor: clean up comments and improve readability in nginx configuration 2025-05-31 21:36:23 -04:00
Sean Morley
48df9ee56d
Update backend/server/main/settings.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-31 21:08:33 -04:00
Sean Morley
64bfda6bf0
Update backend/nginx.conf
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-31 21:08:20 -04:00
Sean Morley
8f1c60a440
Update backend/server/users/backends.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-31 21:08:09 -04:00
Sean Morley
806efd71bf feat: secure CSRF cookie based on frontend URL protocol 2025-05-31 17:30:33 -04:00
Sean Morley
724aec1f3a feat: update get_num_visits method to improve user visit count retrieval 2025-05-31 15:46:15 -04:00
Sean Morley
514ee85767 feat: add distance calculation to Transportation model and update TransportationCard to display distance in km and miles 2025-05-30 12:33:30 -04:00
Sean Morley
53d370297e feat: enhance adventure save method to support skipping geocode threading 2025-05-29 21:04:07 -04:00
Sean Morley
4e8024051c feat: implement background geocoding for adventure locations on save 2025-05-29 18:17:15 -04:00
Sean Morley
9d69935f22
Update backend/nginx.conf
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-29 18:02:05 -04:00
Sean Morley
8be723b9ad Refactor authentication backends to enhance NoPasswordAuthBackend functionality; integrate Allauth for email login and improve password handling logic. 2025-05-28 12:21:43 -04:00
Sean Morley
a7128756bd Reorder authentication backends to prioritize NoPasswordAuthBackend while retaining Allauth and ModelBackend 2025-05-28 11:54:21 -04:00
Sean Morley
6be4acb196 Add authentication backends for Allauth and Django's ModelBackend 2025-05-28 11:06:21 -04:00
Sean Morley
1551fba9ab Refactor migration to set end_date only if start_date is present; improve data integrity during migration process. 2025-05-27 12:43:29 -04:00
Sean Morley
56b8b55b84 Refactor deleteCollection function to use DELETE method for API call; update endpoint to match new API structure. 2025-05-27 12:39:38 -04:00
Sean Morley
57aa2c9916 Enhance download-countries command with temporary SQLite database for efficient data processing; add batch size argument for improved performance and memory management. 2025-05-27 10:12:33 -04:00
Sean Morley
37866660d3 Adjust batch size in download-countries command for improved processing efficiency; update installer banner for better visual alignment. 2025-05-27 09:59:15 -04:00
Sean Morley
bcd1f02131 Enhance download-countries command with batch processing feedback; improve logging for countries, regions, and cities processing. 2025-05-26 20:43:11 -04:00
Sean Morley
f2246921d4 Refactor download-countries command for improved memory efficiency and batch processing; enhance data import logic for countries, regions, and cities. 2025-05-26 20:39:24 -04:00
Sean Morley
575669aedf Refactor batch processing in download-countries command for clarity and safety; enhance service wait function in installer script by removing unnecessary whitespace. 2025-05-26 18:06:06 -04:00
Sean Morley
9eaaadc0f2 Enhance entrypoint script with a helper function for environment variable retrieval; improve PostgreSQL connection logic. Update installer script to add spacing for readability in service wait function. 2025-05-26 17:36:22 -04:00
Sean Morley
3f6aa67b3f Refactor database configuration to use a helper function for environment variables, improving compatibility with legacy setups. 2025-05-26 17:18:30 -04:00
Sean Morley
40f54529a4 Refactor environment variable names in .env.example and settings.py for consistency; add install script for streamlined setup 2025-05-26 16:55:00 -04:00
Sean Morley
f355ba48e2 Fix condition for Google Maps integration check in IntegrationView 2025-05-25 22:25:36 -04:00
Sean Morley
e56335d30f Refactor geocoding and integration handling: remove debug print, streamline reverse geocoding logic, and enhance integration response structure 2025-05-25 22:13:18 -04:00
Sean Morley
c123231bab Optimize country data import process: increase batch size, implement memory management, and streamline record creation and updates 2025-05-24 19:05:16 -04:00
Sean Morley
1997f164b8 Handle exceptions in search method with a generic error message 2025-05-24 18:08:58 -04:00
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