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

68 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
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
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
06787bccf6 feat: enhance Immich integration with local copy option and validation for image handling 2025-06-01 19:55:12 -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
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
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
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
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
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
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
68924d7ecc feat: Refactor hotel terminology to lodging and update related components 2025-02-08 16:10:01 -05:00
Sean Morley
d1f50dfa17 feat: Add hotel management functionality with serializer and UI integration 2025-02-05 19:38:04 -05:00
Sean Morley
df60184f23 feat: Implement Hotel model with CRUD operations and integrate into views and serializers 2025-02-03 12:28:42 -05:00
Sean Morley
7d71c84fd2 feat: Remove email field from user details response and enhance frontend user display 2025-02-01 15:10:25 -05:00
Sean Morley
0eb4bc706a feat: enhance adventure handling with user ID support in serializers and attachment view; refactor saveEdit function and clean up Avatar component 2025-01-22 08:36:02 -05:00
Sean Morley
94c3e3d363 feat: implement attachment management with upload, delete, and permission checks; update serializers and models 2025-01-19 22:22:03 -05:00
Sean Morley
e0fa62c1ea feat: add GSAP animations to signup, login, and dashboard pages; include Attachment serializer in backend 2025-01-19 00:05:08 -05:00
Sean Morley
57e367d112 refactor: update AdventureSerializer to handle visits data more gracefully and remove visits from request body in AdventureCard 2025-01-03 09:53:23 -05:00
Sean Morley
c6fa603a93 feat: add primary image functionality to AdventureImage model and update related components 2025-01-02 23:25:58 -05:00
Sean Morley
7c68dc839a Add geographic coordinates to Transportation model and update related components 2024-12-19 18:46:52 -05:00
Sean Morley
adf45ff557 Fix general category handling 2024-11-26 17:39:10 -05:00
Sean Morley
ce0b82acb7 Fix custom default category 2024-11-26 15:10:17 -05:00
Sean Morley
8e5a20ec62 Refactor adventure category handling: update type definitions, enhance category management in UI components, and implement user-specific category deletion logic in the backend 2024-11-23 13:42:41 -05:00
Sean Morley
736ede2417 Enhance adventure management: add error handling for category fetch, implement unique email constraint in user model, and update adventure save logic to ensure category assignment 2024-11-22 17:03:02 -05:00
Sean Morley
86d213bb8b Refactor user ID handling to use UUIDs; update related components and serializers for consistency 2024-11-17 16:34:46 -05:00
Sean Morley
4a7f720773 Initial framework for custom categories 2024-11-14 09:37:35 -05:00
Sean Morley
b32c780266 Fix issues determined from testing series 2024-11-07 19:48:44 -05:00
Sean Morley
727daf0cfd is visited 2024-10-31 09:51:04 -04:00
Sean Morley
ae70c96ddc Trigger workflows 2024-10-26 09:47:46 -04:00
Sean Morley
1e61032692 Add link field to collection and fix the visited counter in collection page 2024-10-07 23:16:27 -04:00
Sean Morley
7d9bc16588 fixed 2024-10-07 19:51:45 -04:00
Sean Morley
8a1acb5d04 fix 2024-10-07 19:43:25 -04:00
Sean Morley
81998d5e84 Fix 2024-10-07 19:39:18 -04:00
Sean Morley
fd9ddc1872
Merge branch 'main' into development 2024-10-07 19:27:36 -04:00
Sean Morley
6cb31aa125 New AdventureModal Accordian 2024-09-30 18:03:10 -04:00
Sean Morley
7c5b448c64 Revert "Add new model fields and remove old ones"
This reverts commit eab312e94e.
2024-09-22 10:26:55 -04:00
Sean Morley
eab312e94e Add new model fields and remove old ones 2024-09-22 00:07:45 -04:00
Sean Morley
c83ef1e904 Add trnasportations, checklists, and notes 2024-09-03 10:24:11 -04:00
Sean Morley
0664d9434c More sharing feartures and permissions 2024-09-02 10:29:51 -04:00
Sean Morley
dd8999a45f Transportation changes 2024-08-19 16:32:08 -04:00
Sean Morley
03e0530e90 Add support for end date to adventure 2024-08-18 12:30:12 -04:00
Sean Morley
d1a49b7dd9 Fixed image generation in serializer 2024-08-18 08:43:49 -04:00
Sean Morley
03927a2394 upload 2024-08-16 20:31:39 -04:00
Sean Morley
5621e90665 new image features 2024-08-15 19:36:42 -04:00
Sean Morley
ffe9d6fe97 Fix adventure cards and serializers 2024-08-13 11:09:49 -04:00