aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps (follow)
Commit message (Collapse)AuthorAgeLines
* Fix misleading coverage report.Gravatar kosayoda2021-05-14-1/+3
| | | | | | | | | | Due to an optimization in CPython that is amended in 3.10, coverage.py is sometimes unable to determine the coverage of continue statements in branches. See: https://github.com/nedbat/coveragepy/issues/198 Adding a no-op like a print or an empty statement would solve the coverage issue, but I've opted to just ignore the line. This should be tested and the line removed when the site is updated to Python 3.10.
* Merge branch main into dewikificationGravatar kosayoda2021-05-14-379/+1548
|
* Make tests expect 302.Gravatar kosayoda2021-05-14-1/+1
| | | | | It's what we're using now for dewikification redirects, this has to be changed back to 301 when we decide to make redirects permanent.
* Add privacy policy information and link.Gravatar kosayoda2021-05-13-0/+7
| | | | | This should be redirected to the notion page using our cloudflare worker.
* Add disclaimer for the redirects app.Gravatar kosayoda2021-05-13-0/+8
|
* Use temporary redirects for now.Gravatar kosayoda2021-05-13-1/+3
|
* Add content app redirects.Gravatar kosayoda2021-05-13-1/+75
|
* Add game jam pages redirectsGravatar ks1292021-05-03-0/+25
|
* Add HTTP 200 requirement to redirect survival testsGravatar ks1292021-05-03-0/+2
|
* Add code jam 6 and 7 rules pages redirectsGravatar ks1292021-05-03-0/+10
|
* Add code jams helper pages redirectsGravatar ks1292021-05-03-0/+15
|
* Add note about prefix redirectsGravatar ks1292021-05-03-0/+1
|
* Add contributing pages prefix redirection and update testsGravatar ks1292021-05-03-2/+22
|
* Implement hacky solution to allow prefix redirectsGravatar ks1292021-05-03-3/+8
|
* Migrate redirections from settings.py -> redirects.yamlGravatar ks1292021-05-03-10/+65
|
* Update redirect app tests to take account recent changesGravatar ks1292021-05-03-5/+28
|
* Migrate URLs generation from Django's own RedirectView -> CustomRedirectViewGravatar ks1292021-05-03-3/+11
|
* Add missing type annotation to get_redirect_urlGravatar ks1292021-05-03-1/+3
|
* Create custom RedirectView to support static argumentsGravatar ks1292021-05-03-0/+18
|
* Add dynamic tests for redirectionsGravatar ks1292021-05-03-0/+20
|
* Include redirect app URLs to home app URLsGravatar ks1292021-05-03-0/+1
|
* Create URLs file for redirection app that dynamically generates routesGravatar ks1292021-05-03-0/+9
|
* Create basic redirect appGravatar ks1292021-05-03-0/+7
|
* Increase padding between text and images in lists.Gravatar kosayoda2021-04-19-3/+3
| | | | | | This has a caveat in that there may be additional padding if the first thing in a list item is an image, but it is very unlikely in practice, so it's not handled for now.
* Fix unresolving links.Gravatar kosayoda2021-04-19-2/+2
|
* Implement miscellaneous review changes.Gravatar kosayoda2021-04-19-4/+4
| | | | Punctuation, icon usage...
* Add TOC to certain pages.Gravatar kosayoda2021-04-19-22/+9
|
* Update references to static images.Gravatar kosayoda2021-04-19-35/+38
|
* Improve markdown whitespace.Gravatar kosayoda2021-04-19-67/+69
| | | | | | | Replace double trailing whitespaces with <br> tags to prevent certain editors from automatically stripping the necessary space. Remove any extra single whitespace.
* Add missed Game Jam 2020 subpages.Gravatar kosayoda2021-04-15-1/+0
|
* Add miscellaneous pages and fixes.Gravatar kosayoda2021-04-15-2/+106
|
* Migrate Python Discord guides.Gravatar kosayoda2021-04-15-1/+381
|
* Migrate Python guides.Gravatar kosayoda2021-04-15-0/+574
|
* Avoid duplicate entries for page and category.Gravatar kosayoda2021-04-14-1/+1
| | | | | | | | We have to add another check since `subarticles` is actually a list of dictionaries and not a dictionary, so key overriding does not work. We want the categories to take precedence over the pages in case of future feature expansion involving showing sub-sub-articles.
* Migrate contributing pages.Gravatar kosayoda2021-04-14-0/+1733
| | | | | Some guides were updated to fit current PyCharm UI and to keep up with Seasonalbot -> Sir-Lancebot changes.
* Migrate root files.Gravatar kosayoda2021-04-13-0/+654
|
* Merge pull request #468 from python-discord/content-app-improvementsGravatar Kieran Siek2021-04-03-55/+217
|\ | | | | Dewikification: Content app improvements.
| * Use metadata titles in Sub-Articles dropdown.Gravatar kosayoda2021-04-02-39/+13
| | | | | | | | | | | | This allows us to keep filenames (thus URLs) as concise as possible, while having a more descriptive entry in the Sub-Articles dropdown for category pages.
| * Fix overriden PAGES_PATH in settings.py.Gravatar kosayoda2021-04-01-8/+9
| | | | | | | | | | This was causing mysterious 404s because while migrating a feature to dewikification, the same variable would be placed in the settings file.
| * Update misleading documentation.Gravatar kosayoda2021-04-01-1/+2
| |
| * Add a dropdown menu listing direct children.Gravatar kosayoda2021-04-01-1/+42
| | | | | | | | | | This only shows when the page is also a category, since regular pages have no children and regular categories already list their children.
| * Document defining a table of contents for a page.Gravatar kosayoda2021-04-01-0/+27
| |
| * Place category pages in the same directory as categories.Gravatar kosayoda2021-04-01-14/+11
| |
| * Add new tests to achieve full coverage.Gravatar kosayoda2021-03-29-6/+37
| |
| * Fix failing tests.Gravatar kosayoda2021-03-29-9/+26
| |
| * Allow adding a table of contents to a page.Gravatar kosayoda2021-03-29-3/+12
| |
| * Document additional markdown features.Gravatar kosayoda2021-03-29-0/+26
| | | | | | | | | | Adds image caption capabilities and documents missing HTML extensions available.
| * Allow displaying a page at a category path.Gravatar kosayoda2021-03-29-19/+58
| | | | | | | | | | | | This is useful for our /contributing pages, which have a main contributing page at /contributing but project pages under the same path, /contributing/bot etc.
| * Improve content page and listing metadata keys.Gravatar kosayoda2021-03-27-12/+11
| | | | | | | | | | | | | | Make category `title` consistent with page `title`. Simplify `icon` key, since there is no benefit to defining the icon class and the icon separately. Allow overriding the `icon` for category entries just like page entries.
* | Change typo postion -> position in Real Python podcast resourceGravatar ks1292021-03-30-1/+1
| | | | | | Co-authored-by: Kieran Siek <[email protected]>