-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds Immich API authentication method #176
Open
RyanShahidi
wants to merge
18
commits into
theothernt:master
Choose a base branch
from
RyanShahidi:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
d1e90ed
Adds Immich API authentication method
RyanShahidi b9005ff
Changes selected album from UUID to the album name
RyanShahidi 927cfd6
Fixes Choose Media Type not having effect for Immich
RyanShahidi d151549
Refine Immich shared link key cleaning process to handle various user…
RyanShahidi eb561ac
Improve error handling in Immich integration by displaying detailed A…
RyanShahidi 2324f40
Improve error handling in Immich integration for both shared link and…
RyanShahidi 3ec25bd
Automatic SSL certificate handling for Immich API with fallback for s…
RyanShahidi 33bbfc6
Automatic SSL certificate handling for Immich API with fallback for s…
RyanShahidi 86de7c8
Organized imports
RyanShahidi 6596df6
Adds support for video via API
RyanShahidi cbfdb4c
Merge branch 'master' into pr/176
theothernt 2131af0
Merge branch 'master' into pr/176
theothernt 88bfd57
Merge branch 'master' into pr/176
theothernt 690c4a3
Merge branch 'master' into pr/176
theothernt c547657
Small refactor
theothernt 7700be0
Implement SSL certificate validation toggle for Immich source
RyanShahidi 36968de
Merge branch 'master' into pr/176
theothernt dd66900
Merge branch 'master' of https://github.com/RyanShahidi/AerialViews i…
theothernt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ enum class AerialMediaSource { | |
DEFAULT, | ||
SAMBA, | ||
WEBDAV, | ||
IMMICH, | ||
} |
6 changes: 6 additions & 0 deletions
6
app/src/main/java/com/neilturner/aerialviews/models/enums/ImmichAuthType.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package com.neilturner.aerialviews.models.enums | ||
|
||
enum class ImmichAuthType { | ||
SHARED_LINK, | ||
API_KEY | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is those code needed to ignore invalid or local SSL certs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, if there is a better method I think it should be utilized instead. Without this code I was getting the following error:
javax.net.ssl.SSLHandshakeException: Chain validation failed Caused by: java.security.cert.CertificateException: Chain validation failed