Repository navigation
Auto-configure Seerr from Wholphin server plugin #1418
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
Closed
matschi95
wants to merge
40
commits into
damontecres:main
from
matschi95:develop/server-plugin-seerr
Closed
Changes from 11 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
f02f66c
WIP
damontecres a27bb2a
Option to load from server plugin
damontecres 3f8dfac
Update unit test
damontecres af75b2e
Merge branch 'main' into develop/server-plugin
damontecres 4901c8d
Merge branch 'main' into develop/server-plugin
damontecres 20547fe
Merge branch 'main' into develop/server-plugin
damontecres 6207c3a
WIP broken
damontecres bdaa6d5
Add CustomEndpoint home row
matschi95 d968c84
Address custom endpoint review comments
matschi95 23b6570
Fix custom endpoint compile errors
matschi95 a50b07a
Require relative custom endpoints
matschi95 bf9e0e5
Choose home settings source
damontecres f379224
Fix ktlint formatting
matschi95 144cbae
Merge branch 'main' into develop/server-plugin
damontecres 8ba8d7f
Merge branch 'develop/server-plugin' into develop/server-plugin-custo…
damontecres 6eaa5c2
Auto-configure Seerr from Wholphin server plugin
matschi95 01a438d
Remove automatic Seerr Jellyfin plugin auth
matschi95 324eaeb
Address Seerr plugin review feedback
matschi95 a98634c
Merge branch 'main' into develop/server-plugin
damontecres 6f82997
Merge branch 'main' into develop/server-plugin
damontecres 6fcc77e
Merge branch 'main' into develop/server-plugin
damontecres 3a34d59
Merge branch 'main' into develop/server-plugin
damontecres 98afcde
Update unit tests
damontecres 73b9d20
Handle discarding changes
damontecres b59e511
Add logging & track source better
damontecres f682d04
Tweaks to get items row
damontecres 2874841
Naming & javadocs
damontecres 368b350
Code clean up
damontecres 6e88f98
Update unit tests
damontecres 48628db
Split home row data fetching into HomeDataService
damontecres 947528a
Merge branch 'develop/server-plugin' into develop/server-plugin-custo…
damontecres f8e0a21
Stricter endpoint checking & simplify code
damontecres 11ba5fe
Fix unit tests
damontecres 4be3c68
Add CustomEndpoint home row (#1430)
damontecres ff329ef
Merge branch 'develop/server-plugin' into develop/server-plugin-seerr
damontecres 584ccf4
Minor context change
damontecres d7f8efa
Merge branch 'main' into develop/server-plugin
damontecres c3762d5
Merge branch 'develop/server-plugin' into develop/server-plugin-seerr
damontecres b96f991
Focus fixes
damontecres f7c14cf
Merge branch 'main' into develop/server-plugin-seerr
damontecres 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
727 changes: 727 additions & 0 deletions
727
app/schemas/com.github.damontecres.wholphin.data.AppDatabase/40.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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
36 changes: 36 additions & 0 deletions
36
app/src/main/java/com/github/damontecres/wholphin/data/model/SeerrServerPluginSettings.kt
This file contains hidden or 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,36 @@ | ||
| package com.github.damontecres.wholphin.data.model | ||
|
|
||
| import kotlinx.serialization.SerialName | ||
| import kotlinx.serialization.Serializable | ||
|
|
||
| @Serializable | ||
| enum class SeerrPluginLoginType { | ||
| @SerialName("None") | ||
| NONE, | ||
|
|
||
| @SerialName("ApiKey") | ||
| API_KEY, | ||
|
|
||
| @SerialName("Local") | ||
| LOCAL, | ||
| } | ||
|
|
||
| @Serializable | ||
| data class SeerrPluginLocalLogin( | ||
| val username: String? = null, | ||
| val password: String? = null, | ||
| ) | ||
|
|
||
| @Serializable | ||
| data class SeerrPluginLogin( | ||
| val type: SeerrPluginLoginType = SeerrPluginLoginType.NONE, | ||
| val apiKey: String? = null, | ||
| val local: SeerrPluginLocalLogin? = null, | ||
| ) | ||
|
|
||
| @Serializable | ||
| data class SeerrPluginSettings( | ||
| val version: Int = 1, | ||
| val serverUrl: String? = null, | ||
| val login: SeerrPluginLogin? = null, | ||
| ) | ||
This file contains hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.