Commit Graph

499 Commits

Author SHA1 Message Date
Sean Morley
d1aca96596 feat: Update email invitation template for improved styling and clarity 2026-01-12 20:35:44 -05:00
Sean Morley
c2bbfdd408 feat: Add Tailwind CSS and DaisyUI plugin for styling 2026-01-11 20:57:13 -05:00
Sean Morley
c9c0739f21 feat: Add Tailwind CSS and DaisyUI plugin for styling 2026-01-11 20:54:58 -05:00
Sean Morley
997a45581c feat: Integrate django-invitations for user invitation management and update settings 2026-01-11 20:49:36 -05:00
Sean Morley
fda1d039fd fix: Refactor update method to handle is_public cascading for related items 2026-01-11 13:01:00 -05:00
Sean Morley
bc8bc4b487 fix: Update Trivy security scan configuration and add .trivyignore for known false positives 2026-01-11 12:51:02 -05:00
Sean Morley
ceb52efd9f fix: Disable proxy settings in Google Maps API request to prevent connection issues 2026-01-10 20:21:02 -05:00
Sean Morley
58fc806970 fix: Update User-Agent header in Google Maps API requests for improved compatibility 2026-01-10 20:12:14 -05:00
Sean Morley
1a09e694d7 feat: Add User-Agent header to Google Maps API requests and refine error messaging for access forbidden response 2026-01-10 20:05:26 -05:00
Sean Morley
513df78a50 fix: Enhance error messaging for Google Maps access forbidden response 2026-01-10 20:00:07 -05:00
Sean Morley
c5f144e601 feat: Enhance error handling and messaging for Google Maps and OpenStreetMap geocoding functions 2026-01-10 19:22:43 -05:00
Sean Morley
2877a18d27 feat: Implement data restoration functionality with file import
- Added a new action `restoreData` in `+page.server.ts` to handle file uploads for restoring collections.
- Enhanced the UI in `+page.svelte` to include an import button and a modal for import progress.
- Integrated file input handling to trigger form submission upon file selection.
- Removed unused GSAP animations from the login, profile, and signup pages for cleaner code.
2026-01-10 14:01:28 -05:00
Sean Morley
6b8971cbcf fix: improve error messages for Overpass API responses 2026-01-09 16:53:47 -05:00
Sean Morley
49cf7f8f60 feat: enhance periodic sync logging and improve airport mode handling in LocationSearchMap 2026-01-09 14:32:14 -05:00
Sean Morley
12ff50ba1c feat: refactor Dockerfile and supervisord configuration to remove cron and add periodic sync script 2026-01-09 11:59:25 -05:00
Sean Morley
1b1d801151 Refactor itinerary management and UI components
- Updated ItineraryViewSet to handle visit updates and creations more efficiently, preserving visit IDs when moving between days.
- Enhanced ChecklistCard, LodgingCard, TransportationCard, and NoteCard to include a new "Change Day" option in the actions menu.
- Improved user experience in CollectionItineraryPlanner by tracking specific itinerary items being moved and ensuring only the relevant entries are deleted.
- Added new location sharing options in LodgingCard and TransportationCard for Apple Maps, Google Maps, and OpenStreetMap.
- Updated translations in en.json for consistency and clarity.
- Minor UI adjustments for better accessibility and usability across various components.
2026-01-08 20:00:43 -05:00
Sean Morley
2f9a3f20ca feat: add functionality to change day and move items to trip-wide itinerary
- Implemented changeDay function in ChecklistCard, LocationCard, LodgingCard, NoteCard, and TransportationCard components to allow users to change the scheduled day of items.
- Added a button to move items to the global (trip-wide) itinerary in the aforementioned components, with appropriate dispatch events.
- Enhanced CollectionItineraryPlanner to handle moving items to the global itinerary and added UI elements for unscheduled items.
- Updated ItineraryDayPickModal to support the deletion of source visits when moving locations.
- Added new translations for "Change Day" and "Move Trip Wide" in the English locale.
2026-01-06 16:24:56 -05:00
Sean Morley
a46e42c545 feat: enhance itinerary management by removing old items on date change for notes and checklists; normalize date handling in CollectionMap 2026-01-06 12:55:15 -05:00
Sean Morley
e602639877 feat: add CollectionStats component for detailed trip statistics
- Implemented CollectionStats.svelte to display various statistics related to the collection, including distances, activities, and locations visited.
- Enhanced CollectionMap.svelte to filter activities based on date range using new getActivityDate function.
- Updated LocationSearchMap.svelte to handle airport mode for start and end locations.
- Modified types.ts to include is_global property in CollectionItineraryItem for trip-wide items.
- Updated +page.svelte to integrate the new stats view and manage view state accordingly.
2026-01-06 12:06:50 -05:00
Sean Morley
5d59eec261 feat: add collaborator serialization and display in collections
- Implemented `_build_profile_pic_url` and `_serialize_collaborator` functions for user profile picture URLs and serialization.
- Updated `CollectionSerializer` and `UltraSlimCollectionSerializer` to include collaborators in the serialized output.
- Enhanced `CollectionViewSet` to prefetch shared_with users for optimized queries.
- Modified frontend components to display collaborators in collection details, including profile pictures and initials.
- Added new localization strings for collaborators.
- Refactored map and location components to improve usability and functionality.
- Updated app version to reflect new changes.
2026-01-05 16:39:18 -05:00
Sean Morley
24e27ae3b1 Refactor collection page for improved localization and code clarity
- Removed unused imports and consolidated cost category labels to be reactive.
- Updated cost summary function to accept localized labels.
- Enhanced localization for various UI elements, including buttons, headings, and statistics.
- Improved user feedback messages for better clarity and consistency.
- Ensured all relevant text is translatable using the i18n library.
2026-01-05 14:34:00 -05:00
Sean Morley
a72d300209 feat: implement cleanup of out-of-range itinerary items and notify users of potential impacts on itinerary when dates change 2026-01-05 13:05:08 -05:00
Sean Morley
c47ffdfc38 feat: add CollectionItineraryDay model and related functionality for itinerary day metadata management 2026-01-05 12:36:54 -05:00
Sean Morley
398dc06571 feat: add cron job for syncing visited regions and cities, enhance Docker and supervisord configurations 2026-01-05 11:46:19 -05:00
Sean Morley
1651e7dfa7 feat: enhance extractIsoCode function to handle cases without city information and update CollectionMap to bind user data 2026-01-04 16:21:59 -05:00
Sean Morley
db89c4e2b7 feat: update extractIsoCode function to include additional ISO3166 levels for improved region matching 2026-01-04 15:32:29 -05:00
Sean Morley
8cff832621 feat: enhance extractIsoCode function with normalization for locality matching 2026-01-04 13:29:38 -05:00
Sean Morley
d30eb55ea4 feat: enhance ISO code extraction and region matching logic in extractIsoCode function 2026-01-04 13:12:55 -05:00
Sean Morley
2a9a205c97 feat: add price and currency fields to locations, lodging, and transportation components
- Introduced price and price_currency fields in LocationModal, LodgingDetails, LodgingModal, TransportationDetails, and TransportationModal components.
- Implemented MoneyInput and CurrencyDropdown components for handling monetary values and currency selection.
- Updated data structures and types to accommodate new price and currency fields across various models.
- Enhanced cost summary calculations in collections and routes to display total costs by currency.
- Added user preference for default currency in settings, affecting new item forms.
- Updated UI to display price information in relevant components, ensuring consistent formatting and user experience.
2026-01-03 16:22:48 -05:00
Sean Morley
84d176c028 feat: enhance LodgingCard and TransportationCard components with expandable details and improved layout 2026-01-03 14:48:53 -05:00
Sean Morley
210973245f feat: enhance hero image handling in collection view by prioritizing primary image 2026-01-02 17:18:12 -05:00
Sean Morley
fe1ed1d9a6 Refactor calendar components and enhance event detail handling
- Replaced direct calendar implementation with a reusable CalendarComponent in the calendar route.
- Introduced EventDetailsModal for displaying event details, improving modularity and readability.
- Added functionality to fetch event details asynchronously when an event is clicked.
- Implemented ICS calendar download functionality with loading state management.
- Enhanced collections page to support calendar view, integrating event handling and timezone management.
- Improved lodging and transportation pages to display local time for stays and trips, including timezone badges.
- Cleaned up unused code and comments for better maintainability.
2026-01-02 16:39:53 -05:00
Sean Morley
1b64f8db57 feat: add primary image support to Collection model, serializers, and UI components 2026-01-02 13:21:46 -05:00
Sean Morley
00914f5296 feat: add travel duration and GPX distance calculation to Transportation model and UI 2026-01-02 12:55:20 -05:00
Sean Morley
d456a48f29 fix: remove unnecessary cache decorator from globespin function 2026-01-02 11:32:42 -05:00
Sean Morley
736f95213e feat: enhance backup export functionality with itinerary items and export IDs 2026-01-02 11:05:28 -05:00
Sean Morley
52712bfbbf Refactor code structure for improved readability and maintainability 2025-12-28 17:25:59 -05:00
Lars Lehmann
59bec17483 Use address keys only if city is found 2025-12-28 20:29:08 +01:00
Lars Lehmann
f4faa4c336 Reorder town and county checks in geocoding.py
Fix detection if only town exists for a location but county is no city name
2025-12-28 18:57:15 +01:00
Sean Morley
6f923f0181 feat: implement date validation for itinerary items and add day picker modal for scheduling 2025-12-27 16:21:44 -05:00
Sean Morley
65fcd94898 feat: add start_code and end_code fields to Transportation model and update related components 2025-12-27 15:26:50 -05:00
Sean Morley
b660f4f042 feat: implement lodging detail page with server-side loading and image modal functionality
- Added a new server-side load function to fetch lodging details by ID.
- Created a new Svelte component for the lodging detail page, including image carousel and map integration.
- Implemented a modal for displaying images with navigation.
- Enhanced URL handling in the locations page to only read parameters.
2025-12-26 13:21:03 -05:00
Sean Morley
c8cedcd9db feat: enhance lodging management with date validation and update messages 2025-12-26 11:01:25 -05:00
Sean Morley
9919f0c15f Component folder structure changes 2025-12-23 10:22:58 -05:00
Sean Morley
2db1f7de0e feat: add status and days until start fields to collections with filtering options 2025-12-22 21:40:23 -05:00
Sean Morley
09f8cd4a8c feat: add itinerary removal functionality to various cards and update UI components
- Implemented `removeFromItinerary` function in `LodgingCard`, `NoteCard`, and `TransportationCard` to allow users to remove items from their itinerary.
- Replaced the trash icon with a calendar remove icon in `LocationCard`, `LodgingCard`, `NoteCard`, and `TransportationCard` for better visual representation.
- Updated the dropdown menus in `LodgingCard`, `NoteCard`, and `TransportationCard` to include the new remove from itinerary option.
- Enhanced `CollectionItineraryPlanner` to pass itinerary items to the respective cards.
- Removed `PointSelectionModal.svelte` as it is no longer needed.
- Refactored `LocationMedia.svelte` to integrate `ImageManagement` component and clean up unused code related to image handling.
2025-12-22 11:54:34 -05:00
Sean Morley
cda9bc6197 feat: add CollectionRecommendationView component for displaying location recommendations
- Implemented CollectionRecommendationView.svelte to handle location recommendations based on user input and selected categories.
- Added Recommendation and RecommendationResponse types to types.ts for better type safety and structure.
- Updated collections/[id]/+page.svelte to include a new view for recommendations, allowing users to switch between different views seamlessly.
2025-12-20 12:01:52 -05:00
Sean Morley
7ee503cea3 Refactor code structure for improved readability and maintainability 2025-12-20 10:43:00 -05:00
Sean Morley
3ecdbb6462 feat(wikipedia): implement image selection from Wikipedia with enhanced results display 2025-12-19 15:12:40 -05:00
Sean Morley
efff6cbd97 feat(collection): enhance collection sharing logic and improve data handling on invite acceptance 2025-12-19 13:14:11 -05:00