aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/content (follow)
Commit message (Collapse)AuthorAgeLines
* Clean up pragma intended for Python 3.10 removalGravatar Johannes Christ2023-07-27-3/+1
|
* Drop redirect usage from URL references (#1016)Gravatar jchristgit2023-07-11-9/+9
| | | | | | | | Just one separate, and present beforehand, broken link remains: $ httrack -E --robots=0 --spider http://127.0.0.1:8000 -v | grep 404 20:18:51 Error: "Not Found" (404) at link 127.0.0.1:8000/events/game-jam-2020/technical-requirements/ (from 127.0.0.1:8000/events/game-jams/2020/judging/) Closes #681.
* Fix "PostegreSQL" typoGravatar Johannes Christ2023-07-09-1/+1
|
* Remove obsolete question from FAQGravatar Daniel Gu2023-06-25-6/+0
|
* Fix broken links in the contributing guide. (#1002)Gravatar Qwerty-1332023-06-22-2/+2
|
* Merge branch 'main' into subclassing_botGravatar Xithrius2023-06-10-3/+1
|\
| * Remove mentions of there being multiple snekbox containers (#988)Gravatar ChrisJL2023-05-30-3/+1
| | | | | | | | | | With https://github.com/python-discord/bot/pull/2618 there will only be 1 snekbox container, that runs the latest verison of snekbox. Supporting multiple versions of snekbox will be covered by https://github.com/python-discord/snekbox/issues/158 where a single instance of snekbox will nativly support multiple Python verisons.
* | remove .md for hyperlinksGravatar RohanJnr2023-05-17-2/+2
| |
* | add reference link for overriding context and fix link for subclassing botGravatar RohanJnr2023-05-17-1/+1
| |
* | add reference link for overriding context and fix link for subclassing botGravatar RohanJnr2023-05-17-1/+1
| |
* | remove redundant infoGravatar RohanJnr2023-05-17-1/+1
| |
* | Merge branch 'subclassing_bot' of github.com:Diabolical5777/site into ↵Gravatar RohanJnr2023-05-17-3/+3
|\ \ | | | | | | | | | subclassing_bot
| * | Merge branch 'main' into subclassing_botGravatar Rohan Reddy Alleti2023-05-17-3/+3
| |\|
| | * Use the new datetime.UTC alias over datetime.timezone.utcGravatar Chris Lovering2023-05-13-3/+3
| | |
* | | satisfy linterGravatar RohanJnr2023-05-17-1/+1
|/ /
* | give a simple introduction to cogs and example linksGravatar RohanJnr2023-05-17-1/+1
| |
* | remove typoGravatar RohanJnr2023-05-17-2/+1
| |
* | highlight 'Bot' in the description with backticks.Gravatar RohanJnr2023-05-17-1/+1
| |
* | correct return type annotation for get_launch_time_str functionGravatar RohanJnr2023-05-17-1/+2
| |
* | use launch_time attribute in the example method and commandGravatar RohanJnr2023-05-17-10/+10
| |
* | condesed the 2 examples in 1 and added additional comments for reference.Gravatar RohanJnr2023-05-16-35/+35
| |
* | Merge branch 'main' into subclassing_botGravatar Rohan Reddy Alleti2023-05-14-937/+3117
|\|
| * Do not duplicate "Edit on GitHub" link for tagsGravatar Johannes Christ2023-05-10-0/+8
| | | | | | | | Closes #963.
| * Switch to ruff for lintingGravatar Johannes Christ2023-05-10-23/+23
| |
| * Merge branch 'main' into update-sir-lancebot-contrib-guideGravatar shtlrs2023-05-07-291/+286
| |\
| | * Improve docstring for page_src_url template filterGravatar hedy2023-05-06-0/+5
| | |
| | * Simplify line in page_src_url template filterGravatar hedy2023-05-06-4/+1
| | |
| | * Use content articles source url in django.conf.settingsGravatar hedy2023-05-06-1/+2
| | |
| | * feat: Edit on GitHub button for content articlesGravatar Hedy Li2023-05-06-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | - Using `if pages` to check whether the page is an article or category doesn't work for /pages/guides - I still need to modify the styling and position of the button a bit - Should probably just use a static method and put src_url as context instead of having a template tag
| | * Merge branch 'main' into Simplify-the-bot-contributing-guideGravatar Amrou Bellalouna2023-04-22-2/+3
| | |\
| | | * Make unittests independent of GitHub (#948)Gravatar Johannes Christ2023-04-22-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a problem where running the unit tests successively a lot would result in 403 ratelimit exceeded errors being thrown due to the GitHub API being called by the app. Fixes #918 Co-authored-by: wookie184 <[email protected]>
| | * | Seperate manual configuration out of the main bot contributing guideGravatar Chris Lovering2023-04-22-288/+257
| | |/ | | | | | | | | | Also update the guide to be far simpler, and less words to read for our contributors to get setup.
| | * Crosscheck rules between API and static rulesGravatar Johannes Christ2023-04-21-1/+1
| | |
| * | update forgotten mentions of sir-lancebot-commands channelGravatar shtlrs2023-05-07-4/+5
| | | | | | | | | | | | | | | | | | This also updates: - docker compose commands - use fake redis env var
| * | remove unused cycle_frequency env varGravatar shtlrs2023-05-07-1/+0
| | |
| * | remove defaults columnGravatar shtlrs2023-05-07-17/+17
| | | | | | | | | | | | fix sir lancebot pg env var name
| * | update all env var namesGravatar shtlrs2023-05-06-62/+52
| |/
| * Update rule 5 (#942)Gravatar Steele Farnsworth2023-04-16-1/+1
| | | | | | "may break laws, breach terms of services, or are malicious or inappropriate." -> "may violate terms of service, or that may be deemed inappropriate, malicious, or illegal."
| * Merge branch 'main' into config-scaffolding-guideGravatar Boris Muratov2023-04-07-56/+193
| |\
| | * Register cleanup job after module loadGravatar Johannes Christ2023-03-25-5/+1
| | |
| | * Drop dependency to pyfakefsGravatar Johannes Christ2023-03-25-30/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a temporary directory to manage our resource tests instead of reyling on pyfakefs to mock it away for us. This also makes the code more portable: all we need now is a way to create a temporary directory. `pathlib` mostly abstracts away the other parts for us. Since we're well-behaved, we clean up the temporary directory at the end of the Python interpreter's life using `atexit` and `shutil.rmtree`. This PR was written and tested with Python 3.9 which required some hacks in `pyproject.toml` to make it work, it may require re-locking if CI throws up. Closes #679.
| | * Update mention of the partners channelGravatar Johannes Christ2023-03-21-3/+1
| | | | | | | | | Fixes #868.
| | * Subclassing context.md (#703)Gravatar Diabolical57772023-03-21-0/+129
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Johannes Christ <[email protected]> Co-authored-by: Amrou Bellalouna <[email protected]> Co-authored-by: Bluenix <[email protected]> Co-authored-by: Xithrius <[email protected]> Co-authored-by: wookie184 <[email protected]>
| | * Update docs for upstream documentation change (#905)Gravatar Johannes Christ2023-03-21-3/+3
| | | | | | | | | Fixes #900.
| | * Add Rule 10 for ChatGPT answers (#910)Gravatar brad90four2023-03-21-0/+1
| | |
| | * Merge branch 'main' into upate-pyversion-for-sir-guideGravatar wookie1842023-02-28-11/+10
| | |\
| | | * remove trashcan emoji from required variablesGravatar Ibrahim2023-02-28-1/+0
| | | |
| | | * Update description of `TRASHCAN_EMOJI` according to reviewGravatar Ibrahim2023-02-26-3/+2
| | | |
| | | * Contributing Page->Sir Lancebot: update descriptionGravatar Ibrahim2750mi2023-02-22-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | + Removes typo for the `Admins` role being spelt `Admin` + Added the `TRASHCAN_EMOJI` as needed + Added code blocks for channel names
| | * | add wildcard for patch versionGravatar shtlrs2023-02-28-1/+1
| | | |