aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Bump version to 2.8.0HEADv2.8.0mainGravatar Chris Lovering2024-09-10-1/+1
|
* Bump CI step versions to latestGravatar Chris Lovering2024-09-10-2/+2
|
* Remove an unneeded noqaGravatar Chris Lovering2024-09-10-1/+1
|
* Disable poetry packing mode since this is not a packaged libraryGravatar Chris Lovering2024-09-10-0/+1
| | | | This being set to true raised warning when installing deps
* Change default ruff output format to conciseGravatar Chris Lovering2024-09-10-0/+1
| | | | This makes the check failures much easier to read in terminal
* Disable ruff preview modeGravatar Chris Lovering2024-09-10-1/+1
| | | | | A lot of these rules aren't ready for use, which cause us to add them to the ignore list. When the rules are then ready for use, we never end up removing them
* Bump dev dependencies to latestGravatar Chris Lovering2024-09-10-25/+25
|
* Bump pydis-core & sqlalchemy to latestGravatar Chris Lovering2024-09-10-541/+600
| | | | Neither of these dependencies have breakign changes that affect us
* Merge pull request #187 from python-discord/jb3/features/content-hashGravatar Joe Banks2024-09-10-0/+38
|\ | | | | Store a MD5 hash of content for stored messages
| * Fix P1 in comment spacingGravatar Joe Banks2024-09-10-1/+1
| |
| * Enable message content intentGravatar Joe Banks2024-09-10-0/+1
| |
| * Add migration for content_hash fieldGravatar Joe Banks2024-09-10-0/+27
| |
| * Generate MD5 hash of content when adding to databaseGravatar Joe Banks2024-09-10-0/+9
| |
| * Add content_hash field to Message modelGravatar Joe Banks2024-09-10-0/+1
|/
* Bump version to 2.7.0v2.7.0Gravatar Chris Lovering2024-07-01-1/+1
|
* Merge pull request #165 from python-discord/in_guild-sync-perf-improvementGravatar Joe Banks2024-07-01-7/+52
|\ | | | | Improve user in-guild sync process
| * Add debug performance logs for in_guild syncGravatar Chris Lovering2024-06-30-2/+17
| |
| * Improve user in_guild sync query time by only loading the id columnGravatar Chris Lovering2024-06-30-1/+4
| | | | | | | | | | | | This means the other, larger, columns do not need to be deserialised, bringing the query time down from 7.4s down to 3.5s. I couldn't simply do select(models.User.id) here, as we need the full User object in order to mutate and update it later inthe process.
| * Improve user in-guild sync processGravatar Chris Lovering2024-06-30-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | Previously we set all users in_guild to False, and relied on users being set back to in_guild when iterating through guild.members However, this caused two problems 1. For a short window a users in_guild status was incorrect 2. It required an update for all users in_guild to be sent to postgres to update in_guild back to True. This diff changes that, so instead only users who are not found in the guild have in_guild set to False. The bottleneck for this query is the number of users that are currently in_guild=False. Testing locally, with 360k users off guild, this took 7.4s to query out, and 0.5s to process & 15.1 s to commit.
| * Add dependabot config for docker & CIGravatar Chris Lovering2024-06-30-0/+18
|/
* Bump dependencies to latestGravatar Chris Lovering2024-06-30-83/+83
|
* Bump ruff from 0.4.9 to 0.5.0 (#164)Gravatar dependabot[bot]2024-06-30-20/+21
| | | | | | | | | | | | | | | | Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.9 to 0.5.0. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.4.9...0.5.0) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump version to 2.6.2v2.6.2Gravatar Chris Lovering2024-06-18-1/+1
|
* Don't use uninstalled poetry script to start up the appGravatar Chris Lovering2024-06-18-7/+2
|
* Don't install dev dependencies in the docker imageGravatar Chris Lovering2024-06-18-2/+2
|
* Explicitly set the files to be pulled in by dockerGravatar Chris Lovering2024-06-18-0/+17
|
* Ensure thread archive state is also synced when syncing channelsGravatar Chris Lovering2024-06-18-5/+3
|
* Bump ruff from 0.4.8 to 0.4.9 (#152)Gravatar dependabot[bot]2024-06-18-21/+21
| | | | | | | | | | | | | | | | Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.8 to 0.4.9. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.4.8...v0.4.9) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump metricity version to 2.6.1v2.6.1Gravatar Chris Lovering2024-06-06-1/+1
|
* Bump all dependencies to latestGravatar Chris Lovering2024-06-06-287/+270
|
* Merge pull request #151 from python-discord/reduce-memory-usage-on-startuypv2.6.0Gravatar Joe Banks2024-06-06-246/+277
|\ | | | | Reduce memory usage on startup
| * Use a generator instead of a list to store the members to syncGravatar Chris Lovering2024-06-06-3/+3
| | | | | | | | This reduces the memory required on bot startup
| * Bump metricity version to 2.6.0Gravatar Chris Lovering2024-06-06-1/+1
| |
| * Add cog that syncs the guild on startupGravatar Chris Lovering2024-06-06-93/+116
| |
| * Move channel & thread syncer to sync utils fileGravatar Chris Lovering2024-06-06-106/+111
| |
| * Rename utils to syncer_utils for clarityGravatar Chris Lovering2024-06-06-10/+13
|/
* Merge pull request #150 from python-discord/jb3/deployment/infra-repoGravatar jchristgit2024-06-06-33/+8
|\ | | | | Update deployment to use infra repository
| * Update deployment to use infra repositoryGravatar Joe Banks2024-06-06-33/+8
|/ | | | | Updates the deployment workflows to pull in the deployment.yaml file from the infra repository in keeping with our other projects.
* Update deployment workflow to new namespaceGravatar Joe Banks2024-04-14-0/+1
|
* Move namespace to botsGravatar Joe Banks2024-04-14-0/+7
|
* Version 2.5.1v2.5.1Gravatar Joe Banks2024-04-08-1/+1
|
* Set server_default of deleted flag to FalseGravatar Joe Banks2024-04-08-5/+5
|
* Merge pull request #144 from python-discord/jb3/deleted-category-attributeGravatar Joe Banks2024-04-08-2/+46
|\ | | | | Category deletion tracking
| * Track whether a category has been deletedGravatar Joe Banks2024-04-08-2/+46
|/
* Version 2.5.0v2.5.0Gravatar Joe Banks2024-04-07-1/+1
|
* Move banner onto GitHub instead of Discord CDNGravatar Joe Banks2024-04-07-1/+1
|
* Merge pull request #143 from python-discord/jb3/deleted-channel-columnGravatar Joe Banks2024-04-07-1/+49
|\ | | | | Add column for a channel that has been deleted
| * Update channel sync to keep Channel.deleted attribute up to dateGravatar Joe Banks2024-04-07-1/+20
| |
| * Add migration for Channel.deleted columnGravatar Joe Banks2024-04-07-0/+28
| |
| * Add column for a channel that has been deletedGravatar Joe Banks2024-04-07-0/+1
|/