| Commit message (Collapse) | Author | Age | Lines |
| |
|
| |
To properly show YouTube-embeds, we need to allow some attributes on `iframe` tags. I've added all attributes that are normal for such an embed, including `width` and `height` (which we may not need if we want to make the frame resize to its parent).
|
| |
|
| |
This will allow us to put stuff like YouTube embeds in wiki articles... hopefully. I didn't test it.
|
| |\
| |
| | |
Bump django from 2.2.6 to 2.2.8
|
| |/
|
|
|
|
|
| |
Bumps [django](https://github.com/django/django) from 2.2.6 to 2.2.8.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/2.2.6...2.2.8)
Signed-off-by: dependabot[bot] <[email protected]>
|
| | |
|
| |\
| |
| | |
Add Code Jam 6 banner to the homepage
|
| |/ |
|
| |
|
|
|
| |
previously, lemon#0001 would display as just lemon#1.
This commit fixes this. All credit goes to @gdude2002
|
| |\
| |
| | |
Create offensive message model for python-discord/bot#617
|
| | | |
|
| | | |
|
| | | |
|
| | |\ |
|
| | | |
| | |
| | |
| | | |
Co-authored-by: Sebastiaan Zeeff <[email protected]>
|
| | | |
| | |
| | |
| | | |
This remove a warning during test run
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | |\ \ |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | |\ \ \ |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
This model will be used to store message that triggered a filter and that will be deleted one week after it was sent.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Any text following the end of a codeblock in the wiki would very closely hug the codeblock, impacting readability and giving poor structure to page content.
This adds in an appropriate margin to the bottom of codeblocks to give a fair buffer that matches typical paragraph spacing.
|
| |\ \ \ \ \
| |_|_|_|/
|/| | | | |
Correct the Discord TOS link in rules API endpoint.
|
| |/ / / / |
|
| |\ \ \ \
| | | | |
| | | | | |
Add pipenv run start command
|
| | | | | | |
|
| |/ / / / |
|
| |\ \ \ \
| |_|_|/
|/| | | |
Allauth improvements & GH
|
| | |\ \ \
| |/ / /
|/| | | |
|
| |\ \ \ \
| | | | |
| | | | | |
Validation for active infractions
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Since other pull requests were merged that also included migrations
for the API app, this PR needed to be updated to avoid conflicts in
the migration history. In addition, the test files contained names of
specific migration files that needed to be updated to the correct
names after the merge resolution.
|
| | |\ \ \ \
| |/ / / /
|/| | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Update dependency pinning
|
| | |\ \ \ \ \
| |/ / / / /
|/| | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The `test_returns_400_for_active_infractions_of_type_that_cannot_be_
active` test relied on the order in which the validation was done
since it contained incompatible combinations of arguments. The test
has been changed to make sure the data is valid except for the thing
we actually want to test.
I have also tried to improve the name of the test that tests the
`test_unique_constraint_accepts_active_infraction_after_inactive_
infraction` test. It now includes the logic of what it does, but
not the entire name of the test it's testing.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The last two lines in the docstring of `InfractionFactory` in the
`test_active_infraction_migration.py` file were overindented by one
space. I've removed the space.
The docstring of the `test_loader_build_graph_gets_called_once`
method in the `MigrationsTestCaseNoSideEffectsTests` calss of the
`test_base.py` file was missing two words. Corrected.
|