stadust / pointercrate

Rewrite of the https://pointercrate.com backend in Rust
MIT License
80 stars 53 forks source link

Oauth Account System #182

Open stadust opened 2 months ago

stadust commented 2 months ago

This is a continuation of #135, but I messed up pushing to @peonii's branch, and now cannot update that PR anymore :skull:

License Acceptance

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

stadust commented 2 months ago

Only difference to #135 so far is that I squashed everything, and resolved some left over merge markers

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 21.18644% with 279 lines in your changes missing coverage. Please review.

Project coverage is 27.21%. Comparing base (53ce7e8) to head (e3a689e). Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
pointercrate-user-api/src/pages.rs 2.32% 84 Missing :warning:
pointercrate-user/src/auth/oauth2/get.rs 0.00% 51 Missing :warning:
pointercrate-user/src/auth/oauth2/post.rs 0.00% 41 Missing :warning:
pointercrate-user/src/auth/oauth2/mod.rs 0.00% 23 Missing :warning:
pointercrate-user-pages/src/login.rs 0.00% 17 Missing :warning:
pointercrate-user/src/auth/oauth2/patch.rs 0.00% 15 Missing :warning:
pointercrate-user/src/auth/mod.rs 78.46% 14 Missing :warning:
pointercrate-user/src/config.rs 45.00% 11 Missing :warning:
pointercrate-user-pages/src/account/profile.rs 0.00% 10 Missing :warning:
pointercrate-user/src/auth/get.rs 52.38% 10 Missing :warning:
... and 2 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #182 +/- ## ========================================== - Coverage 28.00% 27.21% -0.80% ========================================== Files 116 121 +5 Lines 8231 8507 +276 ========================================== + Hits 2305 2315 +10 - Misses 5926 6192 +266 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.