| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | 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 | |
| |/ | ||||
| * | Merge pull request #142 from python-discord/jb3/dep-bumps | 2024-04-07 | -275/+272 | |
| |\ | | | | | Bump Poetry Python version to 3.12 | |||
| | * | Fix new reported errors from Ruff version bump | 2024-04-07 | -1/+7 | |
| | | | ||||
| | * | Bump CI Python version | 2024-04-07 | -1/+1 | |
| | | | ||||
| | * | Upgrade dependencies | 2024-04-07 | -265/+253 | |
| | | | ||||
| | * | Bump Docker image to Python 3.12 | 2024-04-07 | -1/+1 | |
| | | | ||||
| | * | Remove redundant version in docker-compose.yml | 2024-04-07 | -2/+0 | |
| | | | ||||
| | * | Fix no active event loop in create_metricity_db.py | 2024-04-07 | -0/+5 | |
| | | | ||||
| | * | Bump Poetry Python version to 3.12 | 2024-04-07 | -5/+5 | |
| |/ | ||||
| * | Merge pull request #139 from python-discord/jb3/fix-stringed-ids | 2024-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. | 2024-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.0 | 2024-02-02 | -1/+1 | |
| | | ||||
| * | Bump pre-commit-hooks to 4.5.0 | 2024-02-02 | -1/+1 | |
| | | ||||
| * | Bump ruff to 0.2.0 | 2024-02-02 | -27/+29 | |
| | | ||||
| * | Bump deps to latest | 2024-02-02 | -643/+651 | |
| | | ||||
