index
:
site
add-home-app-readme
add-windows-guide
bad-lint-tester
bootcamp-updates
dependabot/github_actions/actions/checkout-5
dependabot/github_actions/astral-sh/setup-uv-7
dependabot/pip/django-5.1.13
dependabot/uv/django-simple-bulma-3.0.0
flask-archive
forms
forms-admin
forms-bootstrap
github-button
improve-performance
jb3/user-props-store
main
mgmt-cmd-kill-db-cnx
offensive-messages-patch
swfarnsworth/asking_good_questions
timeline-branch-copy
A mirrored copy of the python-discord/site repository.
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
pydis_site
/
apps
/
api
/
viewsets
/
bot
/
infraction.py
(
follow
)
Commit message (
Expand
)
Author
Age
Lines
*
Do not activate infractions on partial updates
Johannes Christ
2025-05-27
-1
/
+6
*
Do not require "active" to be sent in PATCH infraction (#1518)
jchristgit
2025-05-01
-0
/
+1
*
Mark unique constraint error checks as no cover
Johannes Christ
2025-05-01
-1
/
+6
*
Revert "Bump djangorestframework from 3.14.0 to 3.15.1"
jchristgit
2024-03-31
-0
/
+26
*
Implement adjustments for DRF 3.15
Johannes Christ
2024-03-29
-26
/
+0
*
Prefetch user and actor in expanded infraction view
Johannes Christ
2023-12-15
-1
/
+5
*
Unify frozen fields logic into serializer mixin (#1169)
jchristgit
2023-12-11
-5
/
+0
*
Use the new datetime.UTC alias over datetime.timezone.utc
Chris Lovering
2023-05-13
-2
/
+2
*
Remove typo
vivekashok1221
2023-02-17
-1
/
+1
*
Add jump_url field to infraction model
vivekashok1221
2023-02-17
-3
/
+5
*
Bump To Django 4.1.1 & Update Dependencies
Hassan Abouelela
2022-09-30
-10
/
+7
*
Fix Unittest Deprecation Warnings
Hassan Abouelela
2022-09-04
-1
/
+1
*
Explicitly pass timezone
Johannes Christ
2022-03-02
-2
/
+8
*
Fix timezone awareness warnings
Johannes Christ
2022-03-02
-6
/
+5
*
Assert we're dealing with the unique constraint
Johannes Christ
2022-02-21
-8
/
+16
*
Prevent race condition with duplicate infractions
Johannes Christ
2022-02-21
-0
/
+18
*
Update documentation to include `dm_sent` field
Izan
2021-11-25
-3
/
+6
*
Ensure bot/infractions does not accept both expires and permanent filters
bast
2021-05-30
-0
/
+18
*
Fix bot/infractions after and before filter check being inverted
bast
2021-05-30
-1
/
+1
*
Raise ValidationError for new bot/infractions filter if the types are invalid
bast
2021-05-30
-0
/
+13
*
Add permanent, types, and expires_at filters to bot/infractions endpoint
bast
2021-05-21
-0
/
+42
*
Update doc in pydis_site/apps/api/viewsets/bot/infraction.py
Kunal Sharma
2021-03-07
-2
/
+2
*
Update doc in pydis_site/apps/api/viewsets/bot/infraction.py
Kunal Sharma
2021-03-07
-2
/
+1
*
Update pagination docs and pagination class location
Kunal Sharma
2021-02-26
-5
/
+6
*
Add custom paginator class to override default resonse
Kunal Sharma
2021-02-25
-18
/
+5
*
Styling fixes
Kunal Sharma
2021-01-28
-5
/
+12
*
update paginated response in list infraction
Kunal Sharma
2021-01-28
-0
/
+15
*
fix: flake8 error
Kunal Sharma
2021-01-27
-10
/
+4
*
Apply LimitOffsetPagination in GET Infraction with default Page Size 100
Kunal Sharma
2021-01-27
-0
/
+2
*
Include DestroyModelMixin to infractions view for DELETE method
ks129
2020-12-05
-1
/
+15
*
Lint remaining files
sco1
2019-09-18
-5
/
+6
*
Merge branch 'django' into low-hanging-merge-fruit
sco1
2019-07-19
-4
/
+5
|
\
|
*
Documentation: Clarifying infraction query parameters and adding ordering par...
SebastiaanZ
2019-04-27
-2
/
+3
|
*
Resolving merge conflict with master
SebastiaanZ
2019-04-25
-1
/
+27
|
|
\
|
*
|
Adding OrderingFilter to infraction ViewSet
SebastiaanZ
2019-04-25
-2
/
+2
*
|
|
Give a code a lint
Jeremiah Boby
2019-07-10
-5
/
+0
|
|
/
|
/
|
*
|
A whole bunch of docstrings.
Gareth Coles
2019-04-21
-1
/
+27
|
/
*
Restructure viewsets to submodules.
Johannes Christ
2019-04-17
-0
/
+155