Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Bump version to 2.8.0HEADv2.8.0main | 2024-09-10 | -1/+1 | |
| | ||||
* | Bump CI step versions to latest | 2024-09-10 | -2/+2 | |
| | ||||
* | Remove an unneeded noqa | 2024-09-10 | -1/+1 | |
| | ||||
* | Disable poetry packing mode since this is not a packaged library | 2024-09-10 | -0/+1 | |
| | | | | This being set to true raised warning when installing deps | |||
* | Change default ruff output format to concise | 2024-09-10 | -0/+1 | |
| | | | | This makes the check failures much easier to read in terminal | |||
* | Disable ruff preview mode | 2024-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 latest | 2024-09-10 | -25/+25 | |
| | ||||
* | Bump pydis-core & sqlalchemy to latest | 2024-09-10 | -541/+600 | |
| | | | | Neither of these dependencies have breakign changes that affect us | |||
* | Merge pull request #187 from python-discord/jb3/features/content-hash | 2024-09-10 | -0/+38 | |
|\ | | | | | Store a MD5 hash of content for stored messages | |||
| * | Fix P1 in comment spacing | 2024-09-10 | -1/+1 | |
| | | ||||
| * | Enable message content intent | 2024-09-10 | -0/+1 | |
| | | ||||
| * | Add migration for content_hash field | 2024-09-10 | -0/+27 | |
| | | ||||
| * | Generate MD5 hash of content when adding to database | 2024-09-10 | -0/+9 | |
| | | ||||
| * | Add content_hash field to Message model | 2024-09-10 | -0/+1 | |
|/ | ||||
* | Bump version to 2.7.0v2.7.0 | 2024-07-01 | -1/+1 | |
| | ||||
* | Merge pull request #165 from python-discord/in_guild-sync-perf-improvement | 2024-07-01 | -7/+52 | |
|\ | | | | | Improve user in-guild sync process | |||
| * | Add debug performance logs for in_guild sync | 2024-06-30 | -2/+17 | |
| | | ||||
| * | Improve user in_guild sync query time by only loading the id column | 2024-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 process | 2024-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 & CI | 2024-06-30 | -0/+18 | |
|/ | ||||
* | Bump dependencies to latest | 2024-06-30 | -83/+83 | |
| | ||||
* | Bump ruff from 0.4.9 to 0.5.0 (#164) | 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.2 | 2024-06-18 | -1/+1 | |
| | ||||
* | Don't use uninstalled poetry script to start up the app | 2024-06-18 | -7/+2 | |
| | ||||
* | Don't install dev dependencies in the docker image | 2024-06-18 | -2/+2 | |
| | ||||
* | Explicitly set the files to be pulled in by docker | 2024-06-18 | -0/+17 | |
| | ||||
* | Ensure thread archive state is also synced when syncing channels | 2024-06-18 | -5/+3 | |
| | ||||
* | Bump ruff from 0.4.8 to 0.4.9 (#152) | 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.1 | 2024-06-06 | -1/+1 | |
| | ||||
* | Bump all dependencies to latest | 2024-06-06 | -287/+270 | |
| | ||||
* | Merge pull request #151 from python-discord/reduce-memory-usage-on-startuypv2.6.0 | 2024-06-06 | -246/+277 | |
|\ | | | | | Reduce memory usage on startup | |||
| * | Use a generator instead of a list to store the members to sync | 2024-06-06 | -3/+3 | |
| | | | | | | | | This reduces the memory required on bot startup | |||
| * | Bump metricity version to 2.6.0 | 2024-06-06 | -1/+1 | |
| | | ||||
| * | Add cog that syncs the guild on startup | 2024-06-06 | -93/+116 | |
| | | ||||
| * | Move channel & thread syncer to sync utils file | 2024-06-06 | -106/+111 | |
| | | ||||
| * | Rename utils to syncer_utils for clarity | 2024-06-06 | -10/+13 | |
|/ | ||||
* | Merge pull request #150 from python-discord/jb3/deployment/infra-repo | 2024-06-06 | -33/+8 | |
|\ | | | | | Update deployment to use infra repository | |||
| * | Update deployment to use infra repository | 2024-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 namespace | 2024-04-14 | -0/+1 | |
| | ||||
* | Move namespace to bots | 2024-04-14 | -0/+7 | |
| | ||||
* | Version 2.5.1v2.5.1 | 2024-04-08 | -1/+1 | |
| | ||||
* | Set server_default of deleted flag to False | 2024-04-08 | -5/+5 | |
| | ||||
* | Merge pull request #144 from python-discord/jb3/deleted-category-attribute | 2024-04-08 | -2/+46 | |
|\ | | | | | Category deletion tracking | |||
| * | Track whether a category has been deleted | 2024-04-08 | -2/+46 | |
|/ | ||||
* | Version 2.5.0v2.5.0 | 2024-04-07 | -1/+1 | |
| | ||||
* | Move banner onto GitHub instead of Discord CDN | 2024-04-07 | -1/+1 | |
| | ||||
* | Merge pull request #143 from python-discord/jb3/deleted-channel-column | 2024-04-07 | -1/+49 | |
|\ | | | | | Add column for a channel that has been deleted | |||
| * | Update channel sync to keep Channel.deleted attribute up to date | 2024-04-07 | -1/+20 | |
| | | ||||
| * | Add migration for Channel.deleted column | 2024-04-07 | -0/+28 | |
| | | ||||
| * | Add column for a channel that has been deleted | 2024-04-07 | -0/+1 | |
|/ |