| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | Fix failing duration conversion | 2019-09-23 | -4/+78 | |
| | | | | | | | | | | | | | | | | | | | | https://github.com/python-discord/bot/issues/446 The current ExpirationDate converter does not convert duration strings to `datetime.datetime` objects correctly. To remedy the problem, I've written a new Duration converter that uses regex matching to extract the relevant duration units and `dateutil.relativedelta.relativedelta` to compute a `datetime.datetime` that's the given duration in the future. I've left the old `ExpirationDate` converter in place for now, since the new Duration converter may not be the most optimal method. However, given the importance of being able to convert durations for moderation tasks, I think it's better to implement Duration now and rethink the approach later. This commit closes #446 | |||
| * | Add tests for `bot.rules.attachments`. | 2019-09-18 | -0/+52 | |
| | | | | | This also fixes an issue with the `attachments` rule not respecting the most recent message sent by a user. | |||
| * | Add basic tests for `bot.cogs.information`. | 2019-09-18 | -0/+195 | |
| | | ||||
| * | Recombine import groups. | 2019-09-18 | -1/+0 | |
| | | ||||
| * | Add basic tests for `bot.api`. | 2019-09-18 | -1/+127 | |
| | | ||||
| * | Validate configuration against typehints. | 2019-09-18 | -0/+23 | |
| | | ||||
| * | Add tests for `bot.converters`. (#418) | 2019-09-18 | -0/+93 | |
| |\ | | | | | Add tests for `bot.converters`. | |||
| | * | Add tests for `bot.converters`. | 2019-09-15 | -0/+93 | |
| | | | ||||
| * | | Merge pull request #422 from python-discord/bot-utils-checks-use-fixture | 2019-09-18 | -16/+15 | |
| |\ \ | | | | | | | Use `@pytest.fixture` for creating contexts. | |||
| | * | | Use `@pytest.fixture` for creating contexts. | 2019-09-15 | -16/+15 | |
| | | | | ||||
| * | | | Merge pull request #430 from python-discord/bot-cogs-security-tests | 2019-09-15 | -0/+54 | |
| |\ \ \ | | | | | | | | | Add tests for `bot.cogs.security`. | |||
| | * | | | Add tests for `bot.cogs.security`. | 2019-09-15 | -0/+54 | |
| | | | | | ||||
| * | | | | Merge pull request #428 from python-discord/bot-cogs-token-remover-tests | 2019-09-15 | -0/+143 | |
| |\ \ \ \ | |/ / / |/| | | | Add tests for `bot.cogs.token_remover`. | |||
| | * | | | Add tests for `bot.cogs.token_remover`. | 2019-09-15 | -0/+143 | |
| | | | | | ||||
| * | | | | Validate `bot/resources/stars.json` in tests. | 2019-09-15 | -0/+18 | |
| |/ / / | ||||
| * | | | Merge pull request #423 from python-discord/bot-pagination-tests | 2019-09-15 | -0/+29 | |
| |\ \ \ | | | | | | | | | Add basic tests for `bot.pagination`. | |||
| | * | | | Add basic tests for `bot.pagination`. | 2019-09-15 | -0/+29 | |
| | |/ / | ||||
| * | | | Merge pull request #417 from python-discord/validate-antispam-config-in-ci | 2019-09-15 | -0/+30 | |
| |\ \ \ | |/ / |/| | | Validate bot.cogs.antispam configuration on CI. | |||
| | * | | Validate bot.cogs.antispam configuration on CI. | 2019-09-15 | -0/+30 | |
| | |/ | ||||
| * / | Add tests for `bot.utils.checks`. | 2019-09-15 | -0/+67 | |
| |/ | ||||
| * | Updating role sync tests for position and adding tests for deletion detection | 2019-08-15 | -21/+60 | |
| | | ||||
| * | Fix the linting issues with Bot so builds will work. | 2019-03-09 | -1/+2 | |
| | | ||||
| * | Add test case for deduplication of `in_guild` field update. | 2019-01-03 | -0/+7 | |
| | | ||||
| * | Add role and user differ unit tests. | 2019-01-03 | -0/+125 | |