1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-02 19:55:18 +02:00
Commit graph

1691 commits

Author SHA1 Message Date
Sean Morley
c7ff8f4bc7 feat: update Strava integration settings and add Wanderer logo; enhance user experience with active section management 2025-08-02 11:41:51 -04:00
Sean Morley
1891a8b497 feat: enhance Strava integration with user-specific settings and management options; update localization strings 2025-08-02 09:56:02 -04:00
Sean Morley
9bcada21dd feat: add Strava integration with OAuth flow and activity management
- Implemented IntegrationView for listing integrations including Immich, Google Maps, and Strava.
- Created StravaIntegrationView for handling OAuth authorization and token exchange.
- Added functionality to refresh Strava access tokens when needed.
- Implemented endpoints to fetch user activities from Strava and extract essential information.
- Added Strava logo asset and integrated it into the frontend settings page.
- Updated settings page to display Strava integration status.
- Enhanced location management to include trails with create, edit, and delete functionalities.
- Updated types and localization files to support new features.
2025-08-01 20:24:33 -04:00
Sean Morley
f5110ed640 feat: update CollectionSerializer to include 'shared_with' as a read-only field; update app version; add new background images and localization strings for invites 2025-07-31 20:41:51 -04:00
Sean Morley
377cabf6f9
Merge branch 'development' into generic-images-attachments 2025-07-30 22:35:25 -04:00
Sean Morley
5e8c485220 Collection invite system 2025-07-30 22:34:07 -04:00
Sean Morley
7f5b969dbf feat: update button styles and add back and close functionality in location components 2025-07-30 08:06:04 -04:00
Sean Morley
707c99651f feat: add LocationQuickStart and LocationVisits components for enhanced location selection and visit management
- Implemented LocationQuickStart.svelte for searching and selecting locations on a map with reverse geocoding.
- Created LocationVisits.svelte to manage visit dates and notes for locations, including timezone handling and validation.
- Updated types to remove location property from Attachment type.
- Modified locations page to integrate NewLocationModal for creating and editing locations, syncing updates with adventures.
2025-07-29 22:37:50 -04:00
Sean Morley
2412754350 fix: update date formatting for adventure items to include timezone 2025-07-27 12:29:56 -04:00
Lucas Zampieri
b114547d9e
Add PT-BR translations (#739)
* Fixed frontend returning corrupt binary data

* fix(adventure): enhance collection ownership validation in AdventureSerializer (#723)

* Add PT-BR translations

Add translation for Brazilian Portuguese to the project;

Signed-off-by: Lucas Zampieri <lzampier@redhat.com>

---------

Signed-off-by: Lucas Zampieri <lzampier@redhat.com>
Co-authored-by: Sean Morley <98704938+seanmorley15@users.noreply.github.com>
Co-authored-by: Christian Zäske <blitzdose@gmail.com>
2025-07-16 13:54:29 -04:00
Sean Morley
31eb7fb734 feat: add Discord link to AboutModal and update appVersion in config 2025-07-14 19:19:42 -04:00
Sean Morley
d53991e3f9 feat: update CardCarousel component to handle images, name, and icon props across various cards 2025-07-14 19:11:38 -04:00
Sean Morley
7a61ba2d22 feat: enhance transportation card and modal with image handling
- Added CardCarousel component to TransportationCard for image display.
- Implemented privacy indicator with Eye and EyeOff icons.
- Introduced image upload functionality in TransportationModal, allowing users to upload multiple images.
- Added image management features: remove image and set primary image.
- Updated Transportation and Location types to include images as ContentImage array.
- Enhanced UI for image upload and display in modal, including selected images preview and current images management.
2025-07-14 18:57:39 -04:00
Sean Morley
ba162175fe feat: Enhance collection sharing and location management features
- Implemented unsharing functionality in CollectionViewSet, including removal of user-owned locations from collections.
- Refactored ContentImageViewSet to support multiple content types and improved permission checks for image uploads.
- Added user ownership checks in LocationViewSet for delete operations.
- Enhanced collection management in the frontend to display both owned and shared collections separately.
- Updated Immich integration to handle access control based on location visibility and user permissions.
- Improved UI components to show creator information and manage collection links more effectively.
- Added loading states and error handling in collection fetching logic.
2025-07-12 09:20:23 -04:00
Sean Morley
7f80dad94b refactor(models, views, serializers): rename LocationImage and Attachment to ContentImage and ContentAttachment, update related references 2025-07-10 12:12:03 -04:00
Sean Morley
1b841f45a0 chore(requirements): update pillow version to 11.3.0 2025-07-09 23:37:04 -04:00
Sean Morley
0566c71caa refactor(serializers): rename Adventure to Location and update related fields 2025-07-09 23:08:54 -04:00
Sean Morley
c5639bed75 refactor(serializers): rename Location to Adventure and update related fields 2025-07-09 23:00:42 -04:00
Sean Morley
c461f7b105
Import and Export Functionality (#698)
* feat(backup): add BackupViewSet for data export and import functionality

* Fixed frontend returning corrupt binary data

* feat(import): enhance import functionality with confirmation check and improved city/region/country handling

* Potential fix for code scanning alert no. 29: Information exposure through an exception

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* Refactor response handling to use arrayBuffer instead of bytes

* Refactor image cleanup command to use LocationImage model and update import/export view to include backup and restore functionality

* Update backup export versioning and improve data restore warning message

* Enhance image navigation and localization support in modal components

* Refactor location handling in Immich integration components for consistency

* Enhance backup and restore functionality with improved localization and error handling

* Improve accessibility by adding 'for' attribute to backup file input label

---------

Co-authored-by: Christian Zäske <blitzdose@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-06-26 10:23:37 -04:00
Sean Morley
493a13995c
Rename Adventures to Locations (#696)
* Refactor user_id to user in adventures and related models, views, and components

- Updated all instances of user_id to user in the adventures app, including models, serializers, views, and frontend components.
- Adjusted queries and filters to reflect the new user field naming convention.
- Ensured consistency across the codebase for user identification in adventures, collections, notes, and transportation entities.
- Modified frontend components to align with the updated data structure, ensuring proper access control and rendering based on user ownership.

* Refactor adventure-related views and components to use "Location" terminology

- Updated GlobalSearchView to replace AdventureSerializer with LocationSerializer.
- Modified IcsCalendarGeneratorViewSet to use LocationSerializer instead of AdventureSerializer.
- Created new LocationImageViewSet for managing location images, including primary image toggling and image deletion.
- Introduced LocationViewSet for managing locations with enhanced filtering, sorting, and sharing capabilities.
- Updated ReverseGeocodeViewSet to utilize LocationSerializer.
- Added ActivityTypesView to retrieve distinct activity types from locations.
- Refactored user views to replace AdventureSerializer with LocationSerializer.
- Updated frontend components to reflect changes from "adventure" to "location", including AdventureCard, AdventureLink, AdventureModal, and others.
- Adjusted API endpoints in frontend routes to align with new location-based structure.
- Ensured all references to adventures are replaced with locations across the codebase.

* refactor: rename adventures to locations across the application

- Updated localization files to replace adventure-related terms with location-related terms.
- Refactored TypeScript types and variables from Adventure to Location in various routes and components.
- Adjusted UI elements and labels to reflect the change from adventures to locations.
- Ensured all references to adventures in the codebase are consistent with the new location terminology.

* Refactor code structure for improved readability and maintainability

* feat: Implement location details page with server-side loading and deletion functionality

- Added +page.server.ts to handle server-side loading of additional location info.
- Created +page.svelte for displaying location details, including images, visits, and maps.
- Integrated GPX file handling and rendering on the map.
- Updated map route to link to locations instead of adventures.
- Refactored profile and search routes to use LocationCard instead of AdventureCard.

* docs: Update terminology from "Adventure" to "Location" and enhance project overview

* docs: Clarify collection examples in usage documentation

* feat: Enable credentials for GPX file fetch and add CORS_ALLOW_CREDENTIALS setting

* Refactor adventure references to locations across the backend and frontend

- Updated CategoryViewSet to reflect location context instead of adventures.
- Modified ChecklistViewSet to include locations in retrieval logic.
- Changed GlobalSearchView to search for locations instead of adventures.
- Adjusted IcsCalendarGeneratorViewSet to handle locations instead of adventures.
- Refactored LocationImageViewSet to remove unused import.
- Updated LocationViewSet to clarify public access for locations.
- Changed LodgingViewSet to reference locations instead of adventures.
- Modified NoteViewSet to prevent listing all locations.
- Updated RecommendationsViewSet to handle locations in parsing and response.
- Adjusted ReverseGeocodeViewSet to search through user locations.
- Updated StatsViewSet to count locations instead of adventures.
- Changed TagsView to reflect activity types for locations.
- Updated TransportationViewSet to reference locations instead of adventures.
- Added new translations for search results related to locations in multiple languages.
- Updated dashboard and profile pages to reflect location counts instead of adventure counts.
- Adjusted search routes to handle locations instead of adventures.

* Update banner image

* style: Update stats component background and border for improved visibility

* refactor: Rename AdventureCard and AdventureModal to LocationCard and LocationModal for consistency
2025-06-25 11:49:34 -04:00
taninme
5308ec21d6
added-fix-image-deletion (#681)
* added-fix-image-deletion

* feat(commands): add image cleanup command to find and delete unused files

* fix(models): ensure associated AdventureImages are deleted and files cleaned up on Adventure deletion

* fix(models): ensure associated Attachment files are deleted and their filesystem cleaned up on Adventure deletion

---------

Co-authored-by: ferdousahmed <taninme@gmail.com>
Co-authored-by: Sean Morley
2025-06-23 18:48:35 -04:00
Sean Morley
295ecd1362 fix(workflows): remove MEDIUM severity from Trivy scans in security workflow 2025-06-23 17:41:21 -04:00
Sean Morley
666542266a fix(workflows): add missing severity parameter for Docker image scans in Trivy workflow 2025-06-23 17:34:56 -04:00
Sean Morley
b4407dc737 fix(workflows): add missing severity parameter for Trivy filesystem scan 2025-06-23 17:33:47 -04:00
Sean Morley
ed11d29d2e fix(package): add missing pnpm overrides for esbuild in package.json 2025-06-23 17:27:19 -04:00
Sean Morley
b6e5e4abc0 refactor(workflows): simplify trigger paths for backend and frontend workflows
fix(dependencies): add overrides for esbuild in frontend package.json
2025-06-23 17:24:27 -04:00
Sean Morley
00a6e67a5f feat(workflows): add paths to push and pull_request triggers for backend and frontend workflows 2025-06-23 17:14:18 -04:00
Sean Morley
e335d7dba6 refactor(workflows): remove path filters from pull_request and push triggers in backend and frontend workflows 2025-06-23 16:56:10 -04:00
Sean Morley
b8d30d2471 feat(workflows): add job names for clarity in backend and frontend test workflows 2025-06-23 08:35:26 -04:00
Sean Morley
d797095037 style(workflows): standardize quotes and fix typo in frontend-test.yml 2025-06-23 08:33:43 -04:00
Sean Morley
502624366e fix(dependencies): update Django version to 5.2.2 2025-06-23 08:27:28 -04:00
Sean Morley
d865454cb0 feat(security): restructure Trivy scans for improved clarity and organization 2025-06-23 08:17:50 -04:00
Sean Morley
12a5221b76 feat(security): add Trivy security scans for Docker images and source code 2025-06-23 08:15:51 -04:00
Sean Morley
dc67ad1156
Merge pull request #694 from Ycer0n/patch-1
Update nl.json
2025-06-23 08:15:20 -04:00
Ycer0n
0723ad778f
Update nl.json
Fix Dutch translations.
2025-06-23 11:06:24 +02:00
Sean Morley
4bc7f3b6c4 Implement code changes to enhance functionality and improve performance 2025-06-20 09:30:25 -04:00
Sean Morley
7a17e0e1d8 feat(calendar): add markdown rendering for event descriptions in modal 2025-06-19 11:53:24 -04:00
Sean Morley
6516bc56ef refactor(lodging): remove unused icon imports and add comment for check-out date logic 2025-06-19 11:40:04 -04:00
Sean Morley
a6b39f64d6 feat(calendar): add adventure detail link in event modal 2025-06-19 11:37:08 -04:00
Sean Morley
36f9022872 fix(lodging): remove console log and improve all-day event checks in lodging modal 2025-06-19 11:33:04 -04:00
Sean Morley
3b0ccdb6d3 feat(DateRangeCollapse): auto-detect all-day setting for transportation and lodging types 2025-06-18 22:29:37 -04:00
Sean Morley
9964398e25 feat(lodging): add check-in and check-out labels and enhance date handling for lodging events 2025-06-18 22:21:34 -04:00
Sean Morley
df24316837 feat(lodging): improve lodging date handling with all-day event support and timezone adjustments 2025-06-18 21:10:10 -04:00
Sean Morley
63e8e96d52 feat(collections): enhance lodging date handling with timezone support and all-day event formatting 2025-06-18 19:57:23 -04:00
Sean Morley
08cd3912c7 fix(config): correct appVersion string formatting 2025-06-18 19:24:51 -04:00
Sean Morley
eef8c92e82 feat(calendar): enhance event handling with timezone support and filtering capabilities 2025-06-18 19:03:32 -04:00
Sean Morley
8b108c5797 refactor(CollectionAllView): enhance mobile responsiveness and clean up unused imports 2025-06-18 14:28:03 -04:00
Sean Morley
93a489a778 feat: add CollectionAllView component for unified display of adventures, transportations, lodging, notes, and checklists with filtering and sorting capabilities
i18n: update translations for collection contents and sorting options in multiple languages

refactor: replace individual sections for adventures, transportations, lodging, notes, and checklists in the collection page with the new CollectionAllView component
2025-06-18 14:05:39 -04:00
Sean Morley
7ec4e5d0f5 fix(adventure): add collection ID to adventure when creating a new adventure 2025-06-18 10:20:30 -04:00
Sean Morley
4f7d408460
Merge pull request #674 from nordtektiger/patch-1
update readme to reflect username changes (sorry sean!)
2025-06-17 16:03:44 -04:00