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

429 commits

Author SHA1 Message Date
Sean Morley
4e96e529f4
fix(adventure): enhance collection ownership validation in AdventureSerializer (#723) 2025-07-09 23:03:48 -04:00
Sean Morley
aed76a5689 fix(integration): update image entry retrieval to handle multiple collections and improve access control logic 2025-06-17 15:49:27 -04:00
Sean Morley
2fb1548f9f fix(recommendations): update Google Places API integration to new endpoint and response structure 2025-06-16 17:35:38 -04:00
Sean Morley
be8ac67161 fix(geocoding): update search_google function to use new Places API and improve response handling 2025-06-16 17:31:17 -04:00
Sean Morley
930c98a607 fix(geocoding): improve error handling and response validation in search_google function 2025-06-16 11:47:36 -04:00
Sean Morley
ced1f94473 fix(adventure_view): restrict queryset to user-owned adventures only 2025-06-15 17:40:43 -04:00
Sean Morley
b5931c6c23 refactor(worldtravel): remove insert_id fields from city, country, and region models; update related migration
feat(search): enhance search results display with total results count and improved layout
fix(profile): update achievement levels based on adventure count; remove unused quick actions
refactor(shared): delete unused shared collections route and related components
feat(worldtravel): improve interactive map functionality and layout in world travel detail view
2025-06-14 14:05:30 -04:00
Sean Morley
a99553ba0d refactor: remove archived collections page and related components; enhance world travel pages with improved UI and filtering options 2025-06-13 21:41:10 -04:00
Sean Morley
14eb4ca802 feat(collections): enhance collections page with sorting, filtering, and pagination features
- Updated the collections loading logic to include sorting and pagination parameters from the URL.
- Refactored the collections page to manage owned, shared, and archived collections with a tabbed interface.
- Added sorting functionality to allow users to sort collections by different attributes.
- Implemented a sidebar for filtering and sorting options.
- Improved the UI for better user experience, including a floating action button for creating new collections.
- Added a not found page for collections that do not exist, enhancing error handling.
2025-06-13 12:11:42 -04:00
Sean Morley
3f9a6767bd feat: Enhance Adventure and Collection Management
- Added support for multiple collections in AdventureSerializer, allowing adventures to be linked to multiple collections.
- Implemented validation to ensure collections belong to the current user during adventure creation and updates.
- Introduced a signal to update adventure publicity based on the public status of linked collections.
- Updated file permission checks to consider multiple collections when determining access rights.
- Modified AdventureImageViewSet and AttachmentViewSet to check access against collections instead of a single collection.
- Enhanced AdventureViewSet to support filtering and sorting adventures based on collections.
- Updated frontend components to manage collections more effectively, including linking and unlinking adventures from collections.
- Adjusted API endpoints and data structures to accommodate the new collections feature.
- Improved user experience with appropriate notifications for collection actions.
2025-06-12 15:54:01 -04:00
Sean Morley
55f501d939 fix: handle user_id correctly in ChecklistItem creation and updates to avoid constraint issues 2025-06-08 13:15:43 -04:00
Sean Morley
5d0132a2a8 fix: pin setuptools version and update docker-compose to use images 2025-06-06 09:44:01 -04:00
Sean Morley
39c664ab1a fix: update Dockerfiles with metadata labels and improve build process 2025-06-05 23:29:39 -04:00
Sean Morley
36a2e59d52 fix: add logging import to integrations views 2025-06-05 15:12:40 -04:00
Sean Morley
af5be0bc8f
Potential fix for code scanning alert no. 21: Information exposure through an exception
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-06-05 15:10:41 -04:00
Sean Morley
ebee6f52e8 fix: update request data handling in AdventureImageViewSet and improve error handling in RecommendationsViewSet 2025-06-05 14:53:08 -04:00
Sean Morley
9d817a5ce9 feat: add Immich server connection validation and error handling in integration settings 2025-06-05 14:28:37 -04:00
Sean Morley
d0c1ecd394 feat: enhance ImmichIntegrationView to support date range filtering and improve error handling for invalid date formats 2025-06-03 19:12:38 -04:00
Sean Morley
50a80a8116 fix: improve error handling for Immich image fetching and processing 2025-06-03 18:11:29 -04:00
Sean Morley
442a7724a0 feat: enhance Immich integration to support image downloading for shared users and improve access control for adventure images 2025-06-03 17:59:29 -04:00
Sean Morley
b336a24401 feat: enhance AdventureImageSerializer to support Immich integration and improve image URL handling 2025-06-03 17:16:28 -04:00
Sean Morley
45e195a84e feat: update Immich integration to use dynamic image URLs and enhance image retrieval logic 2025-06-02 21:25:07 -04:00
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
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
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
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
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