aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps (follow)
Commit message (Collapse)AuthorAgeLines
* Remove unused migrations packageGravatar Johannes Christ2022-03-12-3/+0
|
* Reword documentation per reviewGravatar Johannes Christ2022-03-12-14/+12
| | | | Co-authored-by: MarkKoz <[email protected]>
* Add a README for the content directoryGravatar Johannes Christ2022-03-12-0/+37
|
* Add new filter field, and patch the docs in AoC viewsetsGravatar D0rs4n2022-03-10-13/+12
| | | | | - Add the possibility to filter by `is_blocked` in the AoC completionist block viewset. - Patch various tense, and formatting inconsistencies in AoC viewsets
* Enhance code, documentation consistency in AoC related codeGravatar D0rs4n2022-03-10-3/+5
| | | Co-authored-by: Mark <[email protected]>
* Patch AoC tables to use the Discord user as PK.Gravatar D0rs4n2022-03-09-14/+16
|
* Add reason field to AoC completionist block tableGravatar D0rs4n2022-03-09-3/+11
|
* Enhance comments and table structure in AoC related modulesGravatar D0rs4n2022-03-08-8/+8
| | | | - Set the user reference to be a OneToOne relation, on tables: AocCompletionistBlock and AocAccountLink.
* Add support for storing AoC related data in siteGravatar D0rs4n2022-03-07-0/+252
|
* Mention human-readable migration namesGravatar Johannes Christ2022-03-06-1/+3
|
* Add a README for the API appGravatar Johannes Christ2022-03-03-0/+69
|
* Explicitly pass timezoneGravatar Johannes Christ2022-03-02-2/+8
|
* Capture GitHub response logsGravatar Johannes Christ2022-03-02-1/+4
|
* Fix timezone awareness warningsGravatar Johannes Christ2022-03-02-20/+19
| | | | | Add a `warnings.warnings` clause to prevent these from being raised again in the future, and raise a full traceback if they don't.
* Add a readme to the Django project directoryGravatar Johannes Christ2022-02-26-1/+0
|
* Remove and merge superfluous modulesGravatar Johannes Christ2022-02-26-4/+4
| | | | The constants module more or less did what belongs to the settings.
* Remove the admin appGravatar Johannes Christ2022-02-23-8/+0
| | | | | | This app is completely unused. I assume it was planned to be a space for customizing the Django admin, but we don't even have it in `INSTALLED_APPS`, nor our URLs.
* Assert we're dealing with the unique constraintGravatar Johannes Christ2022-02-21-8/+16
|
* Prevent race condition with duplicate infractionsGravatar Johannes Christ2022-02-21-52/+50
| | | | | | | | | | | | | | | | | | DRF's `UniqueTogetherValidator` validates uniqueness by querying the database before running the actual insert. This is not, has not, and will never be valid, unless you happen to run a single worker, on a single thread, and your single worker running on a single thread is the only client for the database, in which case it may be valid. For any other cases, it's invalid, and it has never been valid. PostgreSQL spits out an `IntegrityError` for us if we have a duplicate entry, and PostgreSQL is the only valid and correct thing to trust here. The `UniqueTogetherValidator` is removed, and an existing test case calling into this validator to check for uniqueness is removed. Furthermore, to work around a Django quirk, `transaction.atomic()` is added to prevent one `subTest` from messing with another. Closes #665.
* Fixup: final wording and typoGravatar mina2022-02-21-2/+2
|
* Merge branch 'main' into content/update-help-channel-timingGravatar minalike2022-02-20-588/+1829
|\
| * Update Name & Profile PolicyGravatar minalike2022-02-20-9/+9
| | | | | | | | | | Update to better reflect our current moderation practices in regards to user profiles. Previous name was "Nickname Policy"
| * Remove expired coupon code and update course nameGravatar wookie1842022-02-19-3/+2
| |
| * Fix typo in bot tutorial resource (#661)Gravatar Ben Soyka2022-02-16-1/+1
| | | | | | Co-authored-by: Xithrius <[email protected]>
| * Return random off topic names which are Active only (#644)Gravatar Rohan Reddy Alleti2022-02-16-9/+29
| | | | | | Co-authored-by: Xithrius <[email protected]>
| * Merge branch 'main' into 659/lemon/resource_search_barGravatar Leon Sandøy2022-02-13-0/+48
| |\
| | * Allow searching users by username and discriminatorGravatar Johannes Christ2022-02-13-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | A test case is added to demonstrate this functionality. Closes #578. Co-authored-by: Boris Muratov <[email protected]>
| * | Titlecase the PyDis YouTube resourceGravatar Leon Sandøy2022-02-13-1/+1
| | | | | | | | | Co-authored-by: Mark <[email protected]>
| * | Add names for every resource card.Gravatar Leon Sandøy2022-02-13-0/+12
| | |
| * | Kaizen: Update URL for Two Scoops.Gravatar Leon Sandøy2022-02-12-1/+1
| | |
| * | Kaizen: Fix redirect /pages/resources/communities.Gravatar Leon Sandøy2022-02-12-0/+5
| |/
| * Update Exercism Resource (#658)Gravatar mathstrains212022-02-11-2/+2
| |
| * Replace FA pro issue icon with the regular iconGravatar ChrisJL2022-02-04-3/+3
| | | | | | We stopped using FA pro, as we wanted it was using an ex-admin's person FA pro subscription, which we didn't control.
| * Rewrite Google Colab resource to emphasize GPU computationGravatar Steele Farnsworth2022-02-03-4/+4
| | | | | | | | | | Previously, it was unclear why this was a data science resource. This version states that Colab offers GPU computation and that it can be used for deep learning, which is the reason. Also fixes abrupt change in sentence structure ("a ... Jupyter Notebook which supports e.g. !apt-get"; "e.g." unexpected). Also, expressions in backticks (apt-get) won't be rendered as code, though since Colab is mostly a beginner sandbox, I don't think the word "Debian" will often be known.
| * Use external-link-alt for all links.Gravatar Leon Sandøy2022-02-01-5/+5
| |
| * Complete refactor of collapsibles.Gravatar Leon Sandøy2022-02-01-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | This is now a completely self-contained feature, which can be used in the same way on every page. I've moved all the collapsible-related logics out of the resources.js file and into collapsibles.js, and added documentation and other quality-of-life features that will apply to other pages, as well. Changes: - The icon will now always change when the collapsible opens or closes. - By adding the "collapsed" class, you can tell the collapsible to be collapsed by default.
| * Refactor as_css_class to 'to_kebabcase'.Gravatar Leon Sandøy2022-02-01-37/+64
| | | | | | | | | | | | | | We're making a few changes here - Changing the name to 'to_kebabcase' - Covering all edge cases - Adding a unit test for this utility
| * Murder some space Gravatar Leon Sandøy2022-02-01-1/+1
| | | | | | | | | | | | Remove those pointless empty pages at the start and the end of a book. Co-authored-by: Johannes Christ <[email protected]>
| * Kaizen: Make jchrists wildest dreams come trueGravatar Leon Sandøy2022-02-01-1/+1
| | | | | | Co-authored-by: Johannes Christ <[email protected]>
| * Add type annotations for sort key method.Gravatar Leon Sandøy2022-02-01-1/+1
| |
| * Sort resources alphabetically, disregarding 'the'.Gravatar Leon Sandøy2022-02-01-1/+10
| |
| * Add more tests for the new resources page.Gravatar Leon Sandøy2022-01-31-0/+12
| | | | | | | | Coverage is now 100%.
| * Revert changes to pyproject.toml.Gravatar Leon Sandøy2022-01-31-1/+1
| | | | | | | | | | These changes were not necessary. I am very sorry for the things that I did.
| * Placate the flake8.Gravatar Leon Sandøy2022-01-31-1/+3
| |
| * Minor changes to socratica resource.Gravatar Leon Sandøy2022-01-31-2/+8
| |
| * Add Socratica to the resource list.Gravatar Leon Sandøy2022-01-31-0/+16
| | | | | | | | Closes https://github.com/python-discord/meta/issues/119
| * Get rid of invalid filters in the URL.Gravatar Leon Sandøy2022-01-31-0/+11
| |
| * Make a few minor corrections to resources.Gravatar Leon Sandøy2022-01-31-5/+5
| | | | | | | | | | | | - Changes Google Collab to Colab - Updates the URL for the vcokltfre tutorial - Adds a category icon for Game Development.
| * Merge branch 'main' into swfarnsworth/smarter-resources/merge-with-mainGravatar Hassan Abouelela2022-01-31-21/+87
| |\ | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> # Conflicts: # poetry.lock # pyproject.toml
| | * Update metricity tests to test new voice_gate_blocked behaviourGravatar Chris Lovering2022-01-27-10/+22
| | |