aboutsummaryrefslogtreecommitdiffstats
path: root/manage.py (unfollow)
Commit message (Collapse)AuthorLines
2022-03-13Remove forking and cloning sections in set-up guidesGravatar Cam Caswell-60/+4
2022-03-13Move Contributors role info to the Roles pageGravatar Cam Caswell-19/+6
2022-03-13Preliminary structureGravatar Cam Caswell-9/+46
2022-02-21Assert we're dealing with the unique constraintGravatar Johannes Christ-8/+16
2022-02-21Prevent race condition with duplicate infractionsGravatar Johannes Christ-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.
2022-02-21Fixup: final wording and typoGravatar mina-2/+2
2022-02-20Add table of content and final editsGravatar minalike-18/+16
2022-02-20Update contentGravatar minalike-25/+39
Update some screenshot images to reflect emoji used in category names Break up some of the FAQ questions into smaller questions Mention the !helpdm on command added in 2021 Mention the channel claimed embed added in 2022 Culling of content to focus on information pertaining to getting help
2022-02-20Edit "can only Helpers help?" answer and questionGravatar mina-7/+5
Remove screenshot of occupied help channels because it doesn't serve much purpose, and help can also be provided in topical channels.
2022-02-20Update Name & Profile PolicyGravatar minalike-9/+9
Update to better reflect our current moderation practices in regards to user profiles. Previous name was "Nickname Policy"
2022-02-20Update .gitignore to ignore MacOS system filesGravatar minalike-0/+3
2022-02-19Remove expired coupon code and update course nameGravatar wookie184-3/+2
2022-02-16Fix typo in bot tutorial resource (#661)Gravatar Ben Soyka-1/+1
Co-authored-by: Xithrius <[email protected]>
2022-02-16Return random off topic names which are Active only (#644)Gravatar Rohan Reddy Alleti-9/+29
Co-authored-by: Xithrius <[email protected]>
2022-02-13Edge cases: Show duckies when no visible resourcesGravatar Leon Sandøy-8/+14
2022-02-13Fix bug with search tag taking up too much width.Gravatar Leon Sandøy-2/+3
2022-02-13Titlecase the PyDis YouTube resourceGravatar Leon Sandøy-1/+1
Co-authored-by: Mark <[email protected]>
2022-02-13Best practice: Switch name to data-resource-name.Gravatar Leon Sandøy-4/+4
2022-02-13Edge case: Fix a bug with overflow on Chrome.Gravatar Leon Sandøy-1/+0
2022-02-13Add fuzzysort as a local dependency.Gravatar Leon Sandøy-1/+658
2022-02-13Allow searching users by username and discriminatorGravatar Johannes Christ-0/+48
A test case is added to demonstrate this functionality. Closes #578. Co-authored-by: Boris Muratov <[email protected]>
2022-02-13Edge case: Fix extremely long search overflow.Gravatar Leon Sandøy-1/+19
2022-02-13Fix search tag width bug on firefox.Gravatar Leon Sandøy-0/+1
Without a min-width, the tag would not extend to fit the full size of the contents on Firefox. It seemed to work just fine on Chrome, though. The fix is simple - just enforce a min-width equal to fit-content.
2022-02-13Make the remove all tags affect search, too.Gravatar Leon Sandøy-1/+4
2022-02-13Fix duck pond not showing for search results of 0.Gravatar Leon Sandøy-3/+2
2022-02-13Search the resource description too.Gravatar Leon Sandøy-6/+15
2022-02-13Make the search tag look more like normal filters.Gravatar Leon Sandøy-1/+6
2022-02-13Add a filter tag when searching.Gravatar Leon Sandøy-4/+31
2022-02-13Implement fuzzy search.Gravatar Leon Sandøy-4/+35
This implements the core logics for filtering by search. It uses fuzzysort to match the search query to the name of the resource. This name is set in the yaml for each resource.
2022-02-13Add names for every resource card.Gravatar Leon Sandøy-3/+14
2022-02-13Add fuzzysort dependency.Gravatar Leon Sandøy-0/+1
2022-02-13Trigger a UI update when typing into search.Gravatar Leon Sandøy-0/+5
2022-02-13Dynamically update URL with search query.Gravatar Leon Sandøy-3/+19
2022-02-12Kaizen: Update URL for Two Scoops.Gravatar Leon Sandøy-1/+1
2022-02-12Add a search bar to the top of the filter sidebar.Gravatar Leon Sandøy-1/+15
2022-02-12Kaizen: Fix redirect /pages/resources/communities.Gravatar Leon Sandøy-0/+5
2022-02-12Kaizen: Ensure resource cards are fullwidth.Gravatar Leon Sandøy-1/+1
2022-02-11Update Exercism Resource (#658)Gravatar mathstrains21-2/+2
2022-02-04Replace FA pro issue icon with the regular iconGravatar ChrisJL-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.
2022-02-03Rewrite Google Colab resource to emphasize GPU computationGravatar Steele Farnsworth-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.
2022-02-02Duck pond removed when removing all filters.Gravatar Leon Sandøy-1/+2
2022-02-01Use external-link-alt for all links.Gravatar Leon Sandøy-5/+5
2022-02-01Complete refactor of collapsibles.Gravatar Leon Sandøy-32/+67
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.
2022-02-01Refactor as_css_class to 'to_kebabcase'.Gravatar Leon Sandøy-53/+80
We're making a few changes here - Changing the name to 'to_kebabcase' - Covering all edge cases - Adding a unit test for this utility
2022-02-01Murder some space Gravatar Leon Sandøy-1/+1
Remove those pointless empty pages at the start and the end of a book. Co-authored-by: Johannes Christ <[email protected]>
2022-02-01Kaizen: Make jchrists wildest dreams come trueGravatar Leon Sandøy-3/+3
Co-authored-by: Johannes Christ <[email protected]>
2022-02-01Add type annotations for sort key method.Gravatar Leon Sandøy-1/+1
2022-02-01Fix delay when collapsing collapsibles.Gravatar Leon Sandøy-2/+7
2022-02-01Sort resources alphabetically, disregarding 'the'.Gravatar Leon Sandøy-1/+10
2022-02-01Fix bug where transition wouldn't work on first collapse.Gravatar Leon Sandøy-11/+12