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:
parent
377cabf6f9
commit
f5110ed640
6 changed files with 17 additions and 3 deletions
|
@ -463,7 +463,7 @@ class CollectionSerializer(CustomModelSerializer):
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Collection
|
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']
|
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):
|
def to_representation(self, instance):
|
||||||
representation = super().to_representation(instance)
|
representation = super().to_representation(instance)
|
||||||
|
|
|
@ -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 versionChangelog = 'https://github.com/seanmorley15/AdventureLog/releases/tag/v0.10.0';
|
||||||
export let appTitle = 'AdventureLog';
|
export let appTitle = 'AdventureLog';
|
||||||
export let copyrightYear = '2023-2025';
|
export let copyrightYear = '2023-2025';
|
||||||
|
|
|
@ -29,6 +29,16 @@
|
||||||
"url": "backgrounds/adventurelog_showcase_6.webp",
|
"url": "backgrounds/adventurelog_showcase_6.webp",
|
||||||
"author": "Sean Morley",
|
"author": "Sean Morley",
|
||||||
"location": "Smugglers' Notch Resort, Vermont, USA"
|
"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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -670,7 +670,11 @@
|
||||||
"not_shared_with": "Not Shared With",
|
"not_shared_with": "Not Shared With",
|
||||||
"no_shared_found": "No collections found that are shared with you.",
|
"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.",
|
"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": {},
|
"languages": {},
|
||||||
"profile": {
|
"profile": {
|
||||||
|
|
BIN
frontend/static/backgrounds/adventurelog_showcase_7.webp
Normal file
BIN
frontend/static/backgrounds/adventurelog_showcase_7.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 1,002 KiB |
BIN
frontend/static/backgrounds/adventurelog_showcase_8.webp
Normal file
BIN
frontend/static/backgrounds/adventurelog_showcase_8.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 950 KiB |
Loading…
Add table
Add a link
Reference in a new issue