aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps (follow)
Commit message (Collapse)AuthorAgeLines
...
| | * | | | | | | | used wrong imageGravatar Shom7702022-04-20-1/+1
| | | | | | | | | |
| | * | | | | | | | Merge branch 'keeping-tokens-safe' of github.com:python-discord/site into ↵Gravatar Shom7702022-04-20-1/+1
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | keeping-tokens-safe
| | | * | | | | | | | Update ↵Gravatar Shom7702022-04-02-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pydis_site/apps/content/resources/guides/python-guides/keeping-tokens-safe.md Co-authored-by: Xithrius <[email protected]>
| | * | | | | | | | | Merge branch 'main' of github.com:python-discord/site into keeping-tokens-safeGravatar Shom7702022-04-20-1/+53
| | |\ \ \ \ \ \ \ \ \
| | * | | | | | | | | | change image to accurately reflect current systemGravatar Shom7702022-04-20-1/+1
| | | |/ / / / / / / / | | |/| | | | | | | |
| | * | | | | | | | | fixing image not appearingGravatar Shom7702022-03-21-1/+2
| | | | | | | | | | |
| | * | | | | | | | | add token safety pinGravatar Shom7702022-03-21-0/+21
| | | | | | | | | | |
| * | | | | | | | | | Use 4 spaces as tabGravatar Robin2022-10-19-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Uses 4 spaces for a tab rather than two, as is convention
| * | | | | | | | | | Update proper-error-handling.mdGravatar Robin2022-08-15-3/+3
| | | | | | | | | | |
| * | | | | | | | | | Migrate on_command_error pinGravatar Robin2022-08-15-0/+70
| | |_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | As part of the migration of the #discord-bots pinned content from discord to the site, this PR migrates the pin regarding `on_command_error` of the discord.py library "eating" (silencing) unhandled errors.
| * | | | | | | | | Bump Deadline For GitHub Artifacts RouteGravatar Hassan Abouelela2022-08-12-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| * | | | | | | | | Rename GitHub App Environment VariablesGravatar Hassan Abouelela2022-08-12-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| * | | | | | | | | Merge branch 'main' into github-artifactsGravatar Hassan Abouelela2022-08-09-0/+33
| |\ \ \ \ \ \ \ \ \
| | * | | | | | | | | Added `last_applied` to `serializers`Gravatar ionite342022-08-03-0/+1
| | | | | | | | | | |
| | * | | | | | | | | Backdate last_applied dates to use value of inserted_atGravatar Chris Lovering2022-07-27-1/+8
| | | | | | | | | | |
| | * | | | | | | | | Add a field to track the time an infraction was last appliedGravatar Chris Lovering2022-07-27-0/+25
| | | |_|/ / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | A default is set for backwards compatibility with bot version that don't explicitly give a value.
| * | | | | | | | | Use UTC Time For GitHub APIGravatar Hassan Abouelela2022-07-24-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When reading the created_at time from the GitHub API, it'll be a naive date string with UTC time, so we use that instead of the system's time. Signed-off-by: Hassan Abouelela <[email protected]>
| * | | | | | | | | Use Dataclass For Workflow RunGravatar Hassan Abouelela2022-07-24-29/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| * | | | | | | | | Clean Up Artifact TestsGravatar Hassan Abouelela2022-07-14-9/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| * | | | | | | | | Make Awaiting Workflow Run A User ResponsibilityGravatar Hassan Abouelela2022-07-12-130/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moves the responsibility of re-requesting a workflow run from the API to the user. This makes the requests much shorter-lived, and allows the client to control how they want to handle sleeping and retrying. This also has the benefit of removing the only real piece of async code, so now the view is completely sync once again. Signed-off-by: Hassan Abouelela <[email protected]>
| * | | | | | | | | Add GitHub Artifact API ViewGravatar Hassan Abouelela2022-07-12-2/+530
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds an API route to fetch GitHub build artifacts through a GitHub app. Signed-off-by: Hassan Abouelela <[email protected]>
| * | | | | | | | Bump Django To 3.2Gravatar Hassan Abouelela2022-07-11-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps the current django version to 3.2 For the most part, there are no major changes here. The app configuration names were incorrect, and the new version no longer ignores that, so those were updated. The new version also requires explicitly defining the field type for primary keys if they are not defined on the model. Signed-off-by: Hassan Abouelela <[email protected]>
| * | | | | | | | Bump flake8-bandit To v3Gravatar Hassan Abouelela2022-07-11-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps flake-bandit to v3 to fix an incompatibility with the bandit package. This also bumps flake8-annotations to a legally acceptable version, which introduces ANN401, which disallows `typing.Any` annotations (for the most part, refer to the docs). Signed-off-by: Hassan Abouelela <[email protected]>
| * | | | | | | | Remove Message Model TestGravatar Hassan Abouelela2022-07-11-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The message model was tested by instantiating and confirming it has a string representation, but instantiating abstract models is undefined behavior, and can break with future versions of django. The behavior of the test is redundant anyway, since an abstract model wouldn't exist in isolation, and the desired behavior is confirmed by inheritors. Signed-off-by: Hassan Abouelela <[email protected]>
| * | | | | | | | Drop Migration TestsGravatar Hassan Abouelela2022-07-11-734/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The migration test suite was not really used, and it doesn't entirely make sense to test a constant unchanging process either. Its behavior is also very coupled with django's internals, and locks us into the current version and setup. Signed-off-by: Hassan Abouelela <[email protected]>
| * | | | | | | | Switch Out requests For httpxGravatar Hassan Abouelela2022-07-11-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The requests library has been replaced by httpx. It's a drop-in replacement, but provides a better interface for certain things, such as client sessions, and sync/async support. Signed-off-by: Hassan Abouelela <[email protected]>
| * | | | | | | | Merge branch 'main' into swfarnsworth/resourcesGravatar Steele Farnsworth2022-07-10-410/+23
| |\ \ \ \ \ \ \ \
| | * | | | | | | | Remove embed validators from old migrationsGravatar Chris Lovering2022-06-30-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the util file has been deleted, these migrations were referencing a missing file
| | * | | | | | | | Remove embed validators for deleted messagesGravatar Chris Lovering2022-06-30-405/+20
| | | |_|_|/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | These caused more harm than they were worth, as every time Discord updated a behaviour of an embed we would get errors and need ot update the validation. Instead we should just accept whatever discord gives us as correct
| * | | | | | | | Use font awesome lock icon that is available under free licenseGravatar mina2022-07-10-1/+1
| | | | | | | | |
| * | | | | | | | Fix lintingGravatar mina2022-07-10-1/+0
| | | | | | | | |
| * | | | | | | | Add padlock as icon for Security resourcesGravatar Steele2022-06-13-0/+1
| | | | | | | | |
| * | | | | | | | Update vcokltfre's discord bot tutorialGravatar Steele2022-06-13-1/+1
| | | | | | | | |
| * | | | | | | | Remove Atom, which will no longer be supportedGravatar Steele2022-06-13-14/+0
| | | | | | | | |
| * | | | | | | | Add The Algorithms to resourcesGravatar Steele2022-06-13-0/+18
| | | | | | | | |
| * | | | | | | | Merge branch 'main' into swfarnsworth/resourcesGravatar Steele2022-06-13-386/+1364
| |\| | | | | | |
| | * | | | | | | Merge branch 'main' into contrib-streamlineGravatar Boris Muratov2022-05-17-17/+532
| | |\ \ \ \ \ \ \
| | | * | | | | | | Add video type to Python Morsels resoureGravatar Daniel Brown2022-05-09-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding the video type at the request of Trey Hunner.
| | | * | | | | | | Add recommended hosting service page (#712)Gravatar Diabolical57772022-05-04-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add article discussing free hosting services * add hsoting and VPS services article * Merge branch 'pinned_messages' of https://github.com/Diabolical5777/site into pinned_messages * Delete free_hosting_services.md * Update pydis_site/apps/content/resources/guides/python-guides/vps_services.md Co-authored-by: Bluenix <[email protected]> * Update pydis_site/apps/content/resources/guides/python-guides/vps_services.md Co-authored-by: Bluenix <[email protected]> * Update pydis_site/apps/content/resources/guides/python-guides/vps_services.md Co-authored-by: Bluenix <[email protected]> * add vps and hosting service guide * Update pydis_site/apps/content/resources/guides/python-guides/vps_services.md Co-authored-by: Bluenix <[email protected]> * add article on VPS and free hosting services * Update vps_services.md * Update vps_services.md Co-authored-by: Bluenix <[email protected]> Co-authored-by: ChrisJL <[email protected]>
| | | * | | | | | | Merge branch 'main' into discord-messages-colors-guideGravatar wookie1842022-04-30-13/+696
| | | |\ \ \ \ \ \ \
| | | | * | | | | | | Don't do JSON as a database, kids. (#700)Gravatar Xithrius2022-04-28-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate no-JSON-as-a-database pinned message to site
| | | | * | | | | | | Migrate discord.py custom help command pin to site (#698)Gravatar Diabolical57772022-04-23-0/+66
| | | | | | | | | | |
| | | | * | | | | | | Add support for BIG SOLIDUS unicode characters for off topic namesGravatar mina2022-04-21-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We must add support for all B I G S O L I D U S. This is necessary.
| | | | * | | | | | | Add tests for new embed colour typesGravatar Chris Lovering2022-04-21-1/+11
| | | | | | | | | | |
| | | | * | | | | | | Support color string being when converting to hex codeGravatar Chris Lovering2022-04-21-3/+7
| | | | | |/ / / / / | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Int he latest version of discord.py Embed colours could be sent to site as hex strings, if set using a discord.Color, rather tha an int. Closes #715 Closes SITE-25
| | | | * | | | | | Adjust filtering settings for the AoC link viewsetGravatar D0rs4n2022-04-18-1/+1
| | | | | |/ / / / | | | | |/| | | |
| | | | * | | | | Added Discord embed limits guide (#690)Gravatar Krypton2022-04-01-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Krypton <[email protected]> Co-authored-by: Krypton <[email protected]> Co-authored-by: Xithrius <[email protected]>
| | | | * | | | | Add spaceGravatar Robin2022-03-31-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Hassan Abouelela <[email protected]>
| | | | * | | | | Remove extraneous bullet points in "global"Gravatar Robin56052022-03-31-4/+0
| | | | | | | | |
| | | | * | | | | Make "free hosts" a headerGravatar Robin2022-03-31-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Shom770 <[email protected]>