1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-05 05:05:17 +02:00

feat: update CollectionSerializer to include 'shared_with' as a read-only field; update app version; add new background images and localization strings for invites

This commit is contained in:
Sean Morley 2025-07-31 20:41:51 -04:00
parent 377cabf6f9
commit f5110ed640
6 changed files with 17 additions and 3 deletions

View file

@ -463,7 +463,7 @@ class CollectionSerializer(CustomModelSerializer):
class Meta:
model = Collection
fields = ['id', 'description', 'user', 'name', 'is_public', 'locations', 'created_at', 'start_date', 'end_date', 'transportations', 'notes', 'updated_at', 'checklists', 'is_archived', 'shared_with', 'link', 'lodging']
read_only_fields = ['id', 'created_at', 'updated_at', 'user']
read_only_fields = ['id', 'created_at', 'updated_at', 'user', 'shared_with']
def to_representation(self, instance):
representation = super().to_representation(instance)

View file

@ -1,4 +1,4 @@
export let appVersion = 'v0.10.0-main-07142025';
export let appVersion = 'v0.10.0-main-07312025';
export let versionChangelog = 'https://github.com/seanmorley15/AdventureLog/releases/tag/v0.10.0';
export let appTitle = 'AdventureLog';
export let copyrightYear = '2023-2025';

View file

@ -29,6 +29,16 @@
"url": "backgrounds/adventurelog_showcase_6.webp",
"author": "Sean Morley",
"location": "Smugglers' Notch Resort, Vermont, USA"
},
{
"url": "backgrounds/adventurelog_showcase_7.webp",
"author": "Sean Morley",
"location": "Davos, Switzerland"
},
{
"url": "backgrounds/adventurelog_showcase_8.webp",
"author": "Sean Morley",
"location": "Saddleback Ski Area, Maine, USA"
}
]
}

View file

@ -670,7 +670,11 @@
"not_shared_with": "Not Shared With",
"no_shared_found": "No collections found that are shared with you.",
"set_public": "In order to allow users to share with you, you need your profile set to public.",
"go_to_settings": "Go to settings"
"go_to_settings": "Go to settings",
"revoke_invite": "Revoke Invite",
"send_invite": "Send Invite",
"available": "Available",
"pending": "Pending"
},
"languages": {},
"profile": {

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,002 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 950 KiB