-
Notifications
You must be signed in to change notification settings - Fork 28
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
feat: Add Sentry user to admin panel (#702) #232
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #232 +/- ##
=======================================
Coverage 95.62% 95.62%
=======================================
Files 605 605
Lines 15541 15551 +10
=======================================
+ Hits 14861 14871 +10
Misses 680 680
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #232 +/- ##
=====================================
Coverage 95.53 95.53
=====================================
Files 719 719
Lines 15948 15957 +9
=====================================
+ Hits 15235 15244 +9
Misses 713 713
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
) | ||
search_fields = ( | ||
"name__iexact", | ||
"email__iexact", |
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.
This probably won't scale well since we don't have indexes on these fields but probably fine for now
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.
Yea that's true. A scalability issue to query the sentry_user table would be a great problem to have!
* main: feat: Emit pubsub event when org token is updated (#241) perf: use new get_file_totals() report method for BranchContents (#252) feat: adjust benefits for team plan (#253) fix: Adjust Team plan pricing (#805) (#243) feat: Add Sentry user to admin panel (#702) (#232) metrics: update shared + add sentry traces to BranchContents GraphQL query path (#251) Use the same sentry version (#247) feat(logging): change access logging format to JSON (#249) Use alpine 3.18 (#245) fix(launchscripts): delete contents of prometheus multiproc dir, not dir itself (#244) Make migration info log less confusing (#221) Fix urllib and opentelemetry-instrumentation dependencies (#213) Updating workflows (#242) fix: Handle Shelter storage paths in upload download handler (#234) feat: Modify billing for Team plan (#637) (#225) fix: Upgrade Django version to fix security vulnerabilities (#239) Update small badge (#238) Send github oauth access token expiry with cookie (#237) fix: Skip login if GitHub OAuth does not return access_token (#236)
* metrics: update shared + add sentry traces to BranchContents GraphQL query path (#251) * metrics: add sentry traces to BranchContents GraphQL query path * update shared to use merge commit sha * feat: Add Sentry user to admin panel (#702) (#232) Add Sentry user to Django admin dashboard, can search and update Sentry user by name/email and link to the associated User object. Hides access/refresh token fields. * fix: Adjust Team plan pricing (#805) (#243) * feat: adjust benefits for team plan (#253) * perf: use new get_file_totals() report method for BranchContents (#252) * perf: use new get_file_totals() report method for BranchContents * fix tests; update shared + expose fn on mock * update shared to point at merge commit * feat: Emit pubsub event when org token is updated (#241) Co-authored-by: Trent Schmidt <trent@codecov.io> * fix: Use GitHub integration access token when using GH app (#240) * fix: Fallback to OAuth bot token when installation token fails (#255) * fix: Fallback to OAuth bot token when installation token fails * Rename test * Shared update --------- Co-authored-by: matt-codecov <137832199+matt-codecov@users.noreply.github.com> Co-authored-by: JerrySentry <142266253+JerrySentry@users.noreply.github.com> Co-authored-by: Adrian <adrian@codecov.io> Co-authored-by: scott-codecov <scott@codecov.io>
Purpose/Motivation
What is the feature? Why is this being done?
Add Sentry user to Django admin dashboard, can search and update Sentry user by name/email and link to the associated User object. Hides access/refresh token fields.
Links to relevant tickets
codecov/engineering-team#702
Legal Boilerplate
Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.