aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | | | | | | 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 PyMDown ExtensionsGravatar Hassan Abouelela2022-08-13-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the python-markdown extension pack as it offers better support for things such as codeblocks. 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.
* | | | | | | | | | | Merge pull request #784 from python-discord/dependabot/pip/sentry-sdk-1.10.1Gravatar Xithrius2022-10-26-5/+6
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Bump sentry-sdk from 1.9.10 to 1.10.1Gravatar dependabot[bot]2022-10-26-5/+6
|/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.9.10 to 1.10.1. - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-python/compare/1.9.10...1.10.1) --- updated-dependencies: - dependency-name: sentry-sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
* | | | | | | | | | | Merge pull request #781 from python-discord/dependabot/pip/pyjwt-2.6.0Gravatar Xithrius2022-10-26-23/+10
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Bump pyjwt from 2.5.0 to 2.6.0Gravatar dependabot[bot]2022-10-26-23/+10
|/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 2.5.0 to 2.6.0. - [Release notes](https://github.com/jpadilla/pyjwt/releases) - [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst) - [Commits](https://github.com/jpadilla/pyjwt/commits) --- updated-dependencies: - dependency-name: pyjwt dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
* | | | | | | | | | | Merge pull request #787 from python-discord/dependabot/pip/psycopg2-binary-2.9.5Gravatar Xithrius2022-10-26-62/+71
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Bump psycopg2-binary from 2.9.4 to 2.9.5Gravatar dependabot[bot]2022-10-26-62/+71
|/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [psycopg2-binary](https://github.com/psycopg/psycopg2) from 2.9.4 to 2.9.5. - [Release notes](https://github.com/psycopg/psycopg2/releases) - [Changelog](https://github.com/psycopg/psycopg2/blob/master/NEWS) - [Commits](https://github.com/psycopg/psycopg2/commits) --- updated-dependencies: - dependency-name: psycopg2-binary dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
* | | | | | | | | | | Merge pull request #786 from ↵Gravatar Xithrius2022-10-26-7/+7
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | python-discord/dependabot/pip/flake8-bugbear-22.10.25
| * | | | | | | | | | Bump flake8-bugbear from 22.9.23 to 22.10.25Gravatar dependabot[bot]2022-10-25-7/+7
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear) from 22.9.23 to 22.10.25. - [Release notes](https://github.com/PyCQA/flake8-bugbear/releases) - [Commits](https://github.com/PyCQA/flake8-bugbear/compare/22.9.23...22.10.25) --- updated-dependencies: - dependency-name: flake8-bugbear dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
* | | | | | / / / / 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.
* | | | | | | | | Merge pull request #780 from python-discord/repo-token-removeGravatar Xithrius2022-10-13-1/+0
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | `REPO_TOKEN` env var obliteratedGravatar Xithrius2022-10-12-1/+0
|/ / / / / / / / /
* | | | | | | | | Merge pull request #777 from python-discord/dependabot/pip/django-4.1.2Gravatar Xithrius2022-10-12-7/+7
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Bump django from 4.1.1 to 4.1.2Gravatar dependabot[bot]2022-10-12-7/+7
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [django](https://github.com/django/django) from 4.1.1 to 4.1.2. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/4.1.1...4.1.2) --- updated-dependencies: - dependency-name: django dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
* | | | | | | | | Merge pull request #778 from python-discord/dependabot/pip/psycopg2-binary-2.9.4Gravatar Xithrius2022-10-12-66/+66
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Bump psycopg2-binary from 2.9.3 to 2.9.4Gravatar dependabot[bot]2022-10-12-66/+66
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [psycopg2-binary](https://github.com/psycopg/psycopg2) from 2.9.3 to 2.9.4. - [Release notes](https://github.com/psycopg/psycopg2/releases) - [Changelog](https://github.com/psycopg/psycopg2/blob/master/NEWS) - [Commits](https://github.com/psycopg/psycopg2/commits) --- updated-dependencies: - dependency-name: psycopg2-binary dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
* | | | | | | | | Merge pull request #779 from python-discord/dependabot/pip/pyfakefs-5.0.0Gravatar Xithrius2022-10-12-5/+5
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Bump pyfakefs from 4.7.0 to 5.0.0Gravatar dependabot[bot]2022-10-10-5/+5
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [pyfakefs](https://github.com/pytest-dev/pyfakefs) from 4.7.0 to 5.0.0. - [Release notes](https://github.com/pytest-dev/pyfakefs/releases) - [Changelog](https://github.com/pytest-dev/pyfakefs/blob/main/CHANGES.md) - [Commits](https://github.com/pytest-dev/pyfakefs/compare/v4.7.0...v5.0.0) --- updated-dependencies: - dependency-name: pyfakefs dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
* | | | | | | | | Merge pull request #744 from python-discord/snekbox-311-and-metricityGravatar Boris Muratov2022-10-08-2/+8
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Add info about working with snekbox 3.11 and metricity on bot
| * | | | | | | | | Add info about working with snekbox 3.11 on botGravatar Chris Lovering2022-10-07-2/+8
|/ / / / / / / / /
* | | | | | | | | Merge pull request #776 from python-discord/dependabot/pip/sentry-sdk-1.9.10Gravatar wookie1842022-10-06-5/+5
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Bump sentry-sdk from 1.9.8 to 1.9.10
| * | | | | | | | | Bump sentry-sdk from 1.9.8 to 1.9.10Gravatar dependabot[bot]2022-10-04-5/+5
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.9.8 to 1.9.10. - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-python/compare/1.9.8...1.9.10) --- updated-dependencies: - dependency-name: sentry-sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
* | | | | | | | | Merge pull request #769 from python-discord/bump-dependenciesGravatar Hassan Abouelela2022-09-30-528/+515
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Update To 3.10 And Bump Dependencies
| * | | | | | | | | Increase Request Timeout For GitHub APIGravatar Hassan Abouelela2022-09-30-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| * | | | | | | | | Downgrade sentry-sdk To 1.9.8Gravatar Hassan Abouelela2022-09-30-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sentry 1.9.9 seems to be highly broken, with issues such as not being able to install on python 3.9, and more relevantly to this project major performance slowdowns on certain requests. Signed-off-by: Hassan Abouelela <[email protected]>
| * | | | | | | | | Fix Failing Pre-Commit HookGravatar Hassan Abouelela2022-09-30-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The flake8 pre-commit hook was failing due to a configuration error with the latest pre-commit and flake8 versions. Signed-off-by: Hassan Abouelela <[email protected]>