feat(server,web,mobile): Add optional password option for share links. (#4655)

* feat(server,web,mobile): Add optional password option for share links.

Signed-off-by: jarvis2f <137974272+jarvis2f@users.noreply.github.com>

* feat(server,web): Update shared-link.controller and page.svelte for improved cookie handling and metadata updates.

Signed-off-by: jarvis2f <137974272+jarvis2f@users.noreply.github.com>

---------

Signed-off-by: jarvis2f <137974272+jarvis2f@users.noreply.github.com>
This commit is contained in:
jarvis2f
2023-10-29 09:35:38 +08:00
committed by GitHub
parent b34cbd881a
commit 8a6889529c
33 changed files with 556 additions and 41 deletions

View File

@@ -32,7 +32,7 @@ void main() {
// TODO
});
//Future<SharedLinkResponseDto> getMySharedLink({ String key }) async
//Future<SharedLinkResponseDto> getMySharedLink({ String password, String token, String key }) async
test('test getMySharedLink', () async {
// TODO
});

View File

@@ -46,6 +46,11 @@ void main() {
// TODO
});
// String password
test('to test the property `password`', () async {
// TODO
});
// bool showMetadata (default value: true)
test('to test the property `showMetadata`', () async {
// TODO

View File

@@ -42,6 +42,11 @@ void main() {
// TODO
});
// String password
test('to test the property `password`', () async {
// TODO
});
// bool showMetadata
test('to test the property `showMetadata`', () async {
// TODO

View File

@@ -61,11 +61,21 @@ void main() {
// TODO
});
// String password
test('to test the property `password`', () async {
// TODO
});
// bool showMetadata
test('to test the property `showMetadata`', () async {
// TODO
});
// String token
test('to test the property `token`', () async {
// TODO
});
// SharedLinkType type
test('to test the property `type`', () async {
// TODO