aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site (follow)
Commit message (Collapse)AuthorAgeLines
* Merge branch 'main' into discordpy-error-handlingGravatar Xithrius2022-11-23-164/+1550
|\
| * Delete vps-services.md (#799)Gravatar Robin2022-11-20-31/+0
| |
| * Merge branch 'main' into keeping-tokens-safeGravatar Xithrius2022-11-20-1696/+3293
| |\
| | * Merge branch 'main' into messages-in-past-n-days-endpointGravatar wookie1842022-11-20-44/+1241
| | |\
| | | * Made stuff and things even betterGravatar Xithrius2022-11-12-2/+2
| | | |
| | | * Made static PEM image betterGravatar Xithrius2022-11-12-0/+0
| | | |
| | | * Migrated from #discord-bot pinGravatar Xithrius2022-11-12-0/+23
| | | |
| | | * Clarify Code IntentionsGravatar Hassan Abouelela2022-10-28-6/+8
| | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | | * Implicitly Close Client Using `with`Gravatar Hassan Abouelela2022-10-28-22/+19
| | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | | * Use `casefold` Instead Of `lower`Gravatar Hassan Abouelela2022-10-28-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | | * Clean Up TypingGravatar Hassan Abouelela2022-10-28-6/+3
| | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | | * Update pydis_site/apps/content/utils.pyGravatar Hassan Abouelela2022-10-28-1/+1
| | | | | | | | | | | | Co-authored-by: Johannes Christ <[email protected]>
| | | * Merge branch 'main' into bot-tagsGravatar Hassan Abouelela2022-10-27-85/+104
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> # Conflicts: # poetry.lock # pydis_site/settings.py # pyproject.toml
| | | * | Rename Tag Model Author FieldGravatar Hassan Abouelela2022-08-23-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renames the tag model `author` field to `authors` to better indicate what's contained in the field, and updates the documentation. Signed-off-by: Hassan Abouelela <[email protected]>
| | | * | Support Hyperlinked Tag Group ReplacementGravatar Hassan Abouelela2022-08-23-5/+53
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | | * | Merge branch 'main' into bot-tagsGravatar Hassan Abouelela2022-08-23-7/+12
| | | |\ \
| | | * | | Clarify Tag Model DocstringGravatar Hassan Abouelela2022-08-23-1/+1
| | | | | | | | | | | | | | | | | | Co-authored-by: ChrisJL <[email protected]>
| | | * | | Improve Tag Commit NamingGravatar Hassan Abouelela2022-08-23-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | | * | | Fix Tests For Tag MetadataGravatar Hassan Abouelela2022-08-16-29/+148
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | | * | | Fix Tag Metadata For Static BuildsGravatar Hassan Abouelela2022-08-16-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | | * | | Better Split Up Tag Commit MessagesGravatar Hassan Abouelela2022-08-16-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | | * | | Add Tag MetadataGravatar Hassan Abouelela2022-08-16-25/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Uses the commit API to obtain tag metadata such as when it was last edited, and by whom. Signed-off-by: Hassan Abouelela <[email protected]>
| | | * | | Unify Tag Migrations & Add Commit ModelGravatar Hassan Abouelela2022-08-16-47/+72
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | | * | | Move GitHub strptime Format To SettingsGravatar Hassan Abouelela2022-08-16-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | | * | | Update Tests For Tag GroupsGravatar Hassan Abouelela2022-08-14-24/+157
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | | * | | Change Hyperlink Color On HoverGravatar Hassan Abouelela2022-08-14-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | | * | | Add Tag Group SupportGravatar Hassan Abouelela2022-08-14-52/+187
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds support for tag groups in content. This involves some modification to the routing, and templating. Signed-off-by: Hassan Abouelela <[email protected]>
| | | * | | Move Tag URL To Property And Add GroupGravatar Hassan Abouelela2022-08-14-10/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The URLs can be simply constructed using the other tag properties, so they were removed from the database in favor of a property. A group field was also added to support tags within groups. Signed-off-by: Hassan Abouelela <[email protected]>
| | | * | | Improve Tag CroppingGravatar Hassan Abouelela2022-08-13-6/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the tag cropping logic to the frontend, which makes it easier to crop without crossing boundaries such as link or code block boundaries. Signed-off-by: Hassan Abouelela <[email protected]>
| | | * | | Enable Code Highlighting On All Content PagesGravatar Hassan Abouelela2022-08-13-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | | * | | Clean Up Tag Link SubstitutionGravatar Hassan Abouelela2022-08-13-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: ChrisJL <[email protected]> Signed-off-by: Hassan Abouelela <[email protected]>
| | | * | | Set Link Color For Sub-elementsGravatar Hassan Abouelela2022-08-13-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | | * | | Add Tag View TestsGravatar Hassan Abouelela2022-08-13-4/+233
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | | * | | Export Tag Model As Top Level Model ObjectGravatar Hassan Abouelela2022-08-13-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | | * | | Add Content App To NavbarGravatar Hassan Abouelela2022-08-13-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | | * | | Add Tag Page TemplateGravatar Hassan Abouelela2022-08-13-5/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a template for the tag page itself, and add a route to use it. Signed-off-by: Hassan Abouelela <[email protected]>
| | | * | | Add Tags To Content ListingsGravatar Hassan Abouelela2022-08-13-12/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds bot tags to the content page, as well as a model to go along with it. Signed-off-by: Hassan Abouelela <[email protected]>
| | | * | | Add Setting For Static BuildsGravatar Hassan Abouelela2022-08-13-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds an explicit setting for static builds instead of relying on the environment variable. Signed-off-by: Hassan Abouelela <[email protected]>
| | * | | | Include users with no messages in response, and simplify response formatGravatar wookie1842022-11-17-13/+10
| | | | | |
| | * | | | Change the endpoint to be a POST not a GETGravatar wookie1842022-11-02-29/+13
| | | | | |
| | * | | | Add tests for metricity activity endpointGravatar wookie1842022-10-27-0/+100
| | | | | |
| | * | | | Add API endpoint for activity dataGravatar wookie1842022-10-27-1/+59
| | | | | | | | | | | | | | | | | | | | | | | | I really had to work against DRF to get this working. Using the validator manually here isn't ideal but I couldn't see an obvious better way without adding a bunch of boilerplate code. It seems to work.
| | * | | | Add metricity query for messages in past n daysGravatar wookie1842022-10-27-0/+28
| | | |_|/ | | |/| | | | | | | | | | | | Takes multiple users for efficiency as we may want to calculate this for many users at once.
| | * | | Update off-topic etiquette to reflect server size (#785)Gravatar Gustav Odinger2022-10-25-1/+1
| | | | | | | | | | | | | | | With more than 350k members, saying that we have “tens of thousands of members” seems like an understatement.
| | * | | Add info about working with snekbox 3.11 on botGravatar Chris Lovering2022-10-07-2/+8
| | | | |
| | * | | Increase Request Timeout For GitHub APIGravatar Hassan Abouelela2022-09-30-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | * | | Fix B026 Linting ErrorsGravatar Hassan Abouelela2022-09-30-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | * | | Bump To Django 4.1.1 & Update DependenciesGravatar Hassan Abouelela2022-09-30-18/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update outdated and broken dependencies. Signed-off-by: Hassan Abouelela <[email protected]>
| | * | | Upgrade To 3.10Gravatar Hassan Abouelela2022-09-30-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All dependencies and code are already ready for 3.10, all that's necessary is to update the number. Signed-off-by: Hassan Abouelela <[email protected]>
| | * | | Fix Static BuildGravatar Hassan Abouelela2022-09-30-27/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove all unnecessary middleware and return a proper response for redirects to fix static builds. Signed-off-by: Hassan Abouelela <[email protected]>