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

45 commits

Author SHA1 Message Date
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
Jacob
a556c49147
chore: update readme to reflect username changes (sorry sean!) 2025-06-17 18:59:13 +00:00
Sean Morley
dc169d1046 feat: Add CDN generation scripts and Docker setup; include Nginx configuration 2025-02-02 20:31:28 -05:00
Sean Morley
f7e183f9a3
Update README.md 2025-01-18 14:30:05 -05:00
Sean Morley
fcec4a420c
Update README.md 2025-01-17 19:38:18 -05:00
Sean Morley
3bde752234 fix: update documentation link in README for accuracy 2025-01-11 10:28:01 -05:00
Sean Morley
2cd60adc8c docs: update Discord link in README for improved accessibility 2025-01-11 10:27:27 -05:00
Sean Morley
2221b1dad9 docs: new README add ARM compatibility note for PostGIS image in Docker installation guide 2025-01-11 10:26:22 -05:00
Sean Morley
3d22621a26 fix: update screenshot paths and descriptions in README.md 2025-01-03 19:04:17 -05:00
Sean Morley
c966b73eba Fix formatting in README.md for better readability 2024-12-14 17:18:38 -05:00
Sean Morley
53dc57453c
Update README.md 2024-11-29 15:29:50 -05:00
Sean Morley
f618c24a7b
Update README.md 2024-11-27 12:34:56 -05:00
Sean Morley
742cb9dd94 Fix formatting in README.md for backend container configuration options 2024-11-08 17:53:46 -05:00
Sean Morley
7988ba4d68 Remove unused GeoJSONView and related URL path; clean up README links 2024-11-03 22:57:07 -05:00
Sean Morley
6daacabc1b Refactor Docker Compose configuration and update environment variables 2024-10-26 10:57:52 -04:00
Sean Morley
daa05c1fc7 Add funding information for buy me a coffee 2024-10-15 23:43:46 -04:00
Sean Morley
9e4a3111b9 Dataset attribution 2024-09-13 20:56:38 -04:00
Sean Morley
4a293798eb
Allow for Sharing of Collections to other Public Users 2024-09-10 17:16:05 -04:00
Sean Morley
ba89f90e53 Shared with collaborative editing 2024-09-09 13:31:00 -04:00
Sean Morley
ac0e917208 Add logo design attribution and update GEOJSON sources 2024-09-06 19:08:28 -04:00
Sean Morley
f5e721cd82 Add Austria 2024-08-20 18:57:33 -04:00
Sean Morley
e753d023ad email providers 2024-08-04 18:05:19 -04:00
Sean Morley
48b70b5bec Add screenshots and better documentation 2024-08-01 21:06:50 -04:00
Sean Morley
4e44203239 Add Iceland GEOJSON for map visualization 2024-07-31 09:39:33 -04:00
Sean Morley
1293b43976 Add Switzerland GEOJSON for map visualization 2024-07-30 11:43:43 -04:00
Sean Morley
999440ff79 refactor: Add Sweden GEOJSON for map visualization 2024-07-30 11:34:17 -04:00
Sean Morley
d5c5551ce1 Ireland GEOJSON 2024-07-28 12:57:17 -04:00
Sean Morley
7d931c7a97 Japan 2024-07-26 09:06:37 -04:00
Sean Morley
ea5329cf34 Mexico 2024-07-25 10:17:07 -04:00
Sean Morley
a5c248932a fixed card layout 2024-07-16 15:44:37 -04:00
Sean Morley
2d596fb550 readme 2024-07-10 12:27:18 -04:00
Sean Morley
9abe9fb315 migration to new backend 2024-07-08 11:44:39 -04:00
Sean Morley
190286b575 chore: Add screenshots to README.md 2024-05-27 21:50:24 +00:00
RedTechTiger
77d8b87e1a
Fix spelling 2024-05-14 11:36:46 -04:00
Sean Morley
e949c06bd2 feat: Add lazy loading for images and update dependencies
The code changes include implementing lazy loading for images to improve page load performance. Additionally, the npm dependency has been updated to the latest stable version. These enhancements enhance the user experience by reducing the initial load time and ensuring compatibility with the latest dependencies.
2024-05-04 17:48:54 +00:00
Sean Morley
a00ae36e48
Update README.md 2024-04-18 19:27:51 -04:00
Sean Morley
a10f7485e0
Update README.md 2024-04-10 19:48:47 -04:00
Sean Morley
8f725524f5
Update README.md 2024-04-08 09:20:08 -04:00
Sean Morley
ad45447e88
Merge branch 'development' into seanmorley15-patch-1 2024-04-02 18:16:02 -04:00
Sean Morley
59ab809caf
Update README.md 2024-04-02 18:09:07 -04:00
Sean Morley
83cca15a8f Consistent code formatting 2024-04-02 22:02:20 +00:00
Sean Morley
302ccb81a7
Update README.md 2024-04-01 09:32:01 -04:00
Sean Morley
410de007e2
Update README.md 2024-04-01 09:30:52 -04:00
Sean Morley
97d98003f6 Update README.md and +page.svelte 2024-03-29 21:50:09 +00:00
Sean Morley
9addb5462e first commit 2024-03-29 21:41:22 +00:00