pycon.tw
pycon.tw copied to clipboard
Feat/swagger auth
add swagger authorization
- add auth button in swagger
- add auth url to get token (逾7天更新一次,若無token則新增,有token直接取得- one user vs one token)
- update core.models.Token(預設 one user vs multiple token)
- update BearerAuthentication function(swagger authorization)
- update api import BearerAuthentication
Hello @Dawn0472, thank you for working on this. There are some coding style issues, could you help me fix it, thanks!
Codecov Report
Patch coverage: 65.82
% and project coverage change: +0.01
:tada:
Comparison is base (
4b520ac
) 69.56% compared to head (287fc55
) 69.57%.
:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@ Coverage Diff @@
## master #1141 +/- ##
==========================================
+ Coverage 69.56% 69.57% +0.01%
==========================================
Files 82 87 +5
Lines 3364 3444 +80
==========================================
+ Hits 2340 2396 +56
- Misses 1024 1048 +24
Impacted Files | Coverage Δ | |
---|---|---|
src/core/models.py | 95.71% <ø> (-0.49%) |
:arrow_down: |
src/users/api/views.py | 36.66% <36.66%> (ø) |
|
src/pycontw2016/urls.py | 84.21% <66.66%> (-1.51%) |
:arrow_down: |
src/core/authentication.py | 81.25% <79.31%> (-18.75%) |
:arrow_down: |
src/attendee/api/views.py | 42.85% <100.00%> (ø) |
|
src/events/api/views.py | 52.00% <100.00%> (ø) |
|
src/sponsors/api/views.py | 41.17% <100.00%> (ø) |
|
src/users/api/urls.py | 100.00% <100.00%> (ø) |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.