aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Bump aiohttp from 3.9.5 to 3.10.2dependabot/pip/aiohttp-3.10.2Gravatar dependabot[bot]2024-08-09-78/+90
| | | | | | | | | | | | | | Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.9.5 to 3.10.2. - [Release notes](https://github.com/aio-libs/aiohttp/releases) - [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst) - [Commits](https://github.com/aio-libs/aiohttp/compare/v3.9.5...v3.10.2) --- updated-dependencies: - dependency-name: aiohttp dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>
* 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
|/
* Merge pull request #142 from python-discord/jb3/dep-bumpsGravatar Joe Banks2024-04-07-275/+272
|\ | | | | Bump Poetry Python version to 3.12
| * Fix new reported errors from Ruff version bumpGravatar Joe Banks2024-04-07-1/+7
| |
| * Bump CI Python versionGravatar Joe Banks2024-04-07-1/+1
| |
| * Upgrade dependenciesGravatar Joe Banks2024-04-07-265/+253
| |
| * Bump Docker image to Python 3.12Gravatar Joe Banks2024-04-07-1/+1
| |
| * Remove redundant version in docker-compose.ymlGravatar Joe Banks2024-04-07-2/+0
| |
| * Fix no active event loop in create_metricity_db.pyGravatar Joe Banks2024-04-07-0/+5
| |
| * Bump Poetry Python version to 3.12Gravatar Joe Banks2024-04-07-5/+5
|/
* Merge pull request #139 from python-discord/jb3/fix-stringed-idsGravatar Joe Banks2024-03-26-1/+3
|\ | | | | Convert IDs in bulk message deletes to strings for DB query
| * Convert IDs in bulk deletes to strings for DB query.Gravatar Joe Banks2024-03-26-1/+3
|/ | | | | | Convert IDs into strings to match the format stored in the database to prevent us receiving mismatching type errors (big int vs. character varying).
* Bump version to 2.4.0v2.4.0Gravatar Chris Lovering2024-02-02-1/+1
|
* Bump pre-commit-hooks to 4.5.0Gravatar Chris Lovering2024-02-02-1/+1
|
* Bump ruff to 0.2.0Gravatar Chris Lovering2024-02-02-27/+29
|