Skip to content

feat(multi.suwayomi): add user and password support (fix for pull 223)#606

Merged
kkantan merged 4 commits into
Aidoku-Community:mainfrom
nathanjace:main
Jul 10, 2026
Merged

feat(multi.suwayomi): add user and password support (fix for pull 223)#606
kkantan merged 4 commits into
Aidoku-Community:mainfrom
nathanjace:main

Conversation

@nathanjace

@nathanjace nathanjace commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Closes #223

  • the source can be compiled without any warnings or errors.
  • cargo fmt has been run before submission.
  • cargo clippy outputs no lint warnings.
  • All files have an additional newline at the end.
  • JSON files use tabs for indentation.

@kkantan kkantan linked an issue Jul 6, 2026 that may be closed by this pull request
Comment thread sources/multi.suwayomi/res/settings.json Outdated
Comment thread sources/multi.suwayomi/res/settings.json Outdated

register_source!(Suwayomi, ListingProvider, BaseUrlProvider, DynamicListings);
impl BasicLoginHandler for Suwayomi {
fn handle_basic_login(&self, _key: String, username: String, password: String) -> Result<bool> {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks like code mostly duplicated from graphql_request. could you refactor this a bit?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heyo. I'm still learning rust, but I think I got what you're saying. Do the changes make sense?

nathanjace and others added 3 commits July 9, 2026 21:42
Co-authored-by: kantan <31490942+kkantan@users.noreply.github.com>
Co-authored-by: kantan <31490942+kkantan@users.noreply.github.com>
@kkantan kkantan merged commit 970f9f0 into Aidoku-Community:main Jul 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Suwayomi: add authentication support

2 participants