| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | Branding: do not call 'rotate_icons' from rotation init | 2021-03-14 | -2/+6 | |
| | | | | | | | | | It makes more sense for the init and the rotation to be separate operations. In a subsequent commit, the separation of responsibility will allow the `rotate_icons` function to have a meaningful return value. | |||
| * | Branding: replace ugly lambda with 'attrgetter' | 2021-03-13 | -1/+2 | |
| | | ||||
| * | Branding: add calendar command group | 2021-03-13 | -0/+63 | |
| | | ||||
| * | Branding: cache all available events | 2021-03-13 | -11/+56 | |
| | | | | | | | | | | | | | | | This is a prequel to adding a calendar command. To avoid re-querying the branding repo on command invocation, event information will be cached whenever we make requests. The command can then simply get an up-to-date event schedule from the cache, with the option of forcing an update via the 'populate_cache_events' function. Since we cannot easily serialize entire 'Event' instances, we simply store what's needed - the event name, and its duration. The author has verified that the cache maintains order; in this case chronological order based on event start date. | |||
| * | Branding: extract duration string in helper function | 2021-03-13 | -9/+17 | |
| | | ||||
| * | Branding: add missing early exit | 2021-03-13 | -0/+1 | |
| | | ||||
| * | Branding: lock commands to mods+ where necessary | 2021-03-13 | -1/+3 | |
| | | ||||
| * | Branding: implement command interface | 2021-03-13 | -1/+85 | |
| | | ||||
| * | Branding: gate sync via helper function | 2021-03-13 | -8/+19 | |
| | | | | | Sync make also be invoked with a command; avoid logic duplication. | |||
| * | Branding: implement daemon | 2021-03-13 | -3/+109 | |
| | | ||||
| * | Branding: implement internal utility | 2021-03-13 | -2/+174 | |
| | | | | | | | | | | | | | | This adds the core logic of branding management. In comparison with the previous version, we now maintain all state in Redis, which allows the bot to seamlessly restart without losing any information. The 'send_info_embed' function is intentionally implemented with the consideration of allowing users to invoke it on-demand. It always reads information from the cache, even if the caller could pass a 'MetaFile' instance. So while this may look needlessly indirect right now, it should begin to make sense once the command API is implemented. | |||
| * | Branding: expose SHA on remote objects | 2021-03-13 | -0/+1 | |
| | | ||||
| * | Branding: implement asset application logic | 2021-03-13 | -0/+51 | |
| | | ||||
| * | Branding: do not require 'RemoteObject' instance to fetch file | 2021-03-13 | -5/+5 | |
| | | ||||
| * | Branding: correctly annotate optional attribute | 2021-03-13 | -1/+1 | |
| | | ||||
| * | Branding: make event instances aware of their location | 2021-03-13 | -2/+6 | |
| | | | | | This allows us to add a neat string representation. | |||
| * | Branding: add event getters | 2021-03-13 | -0/+51 | |
| | | | | | These methods form the API to the repository abstraction. | |||
| * | Branding: define event construction methodology | 2021-03-13 | -0/+90 | |
| | | ||||
| * | Branding: add HTTP fetch helper methods | 2021-03-13 | -0/+54 | |
| | | ||||
| * | Branding: migrate constants | 2021-03-13 | -11/+11 | |
| | | | | | | Constants will only be used in one place and there's not enough of them to warrant a separate module. | |||
| * | Branding: initiate repository abstraction | 2021-03-13 | -0/+15 | |
| | | ||||
| * | Branding: remove current implementation | 2021-03-13 | -812/+32 | |
| | | | | | | Since we're planning substantial changes, it will be easier to build from scratch. | |||
| * | Pipenv: add 'python-frontmatter' & re-lock | 2021-03-07 | -48/+59 | |
| | | ||||
| * | Remove trailing whitespace | 2021-03-06 | -1/+1 | |
| | | ||||
| * | Filtering hotfix | 2021-03-06 | -1/+7 | |
| | | | | Bug caused by an outdated function signature in a previous commit in the #1402 PR | |||
| * | Merge pull request #1402 from python-discord/ks123/watchlist-trigger-reason | 2021-03-06 | -16/+44 | |
| |\ | | | | | Implement showing filterlist entry comment in alerts | |||
| | * | Merge branch 'master' into ks123/watchlist-trigger-reason | 2021-03-06 | -501/+932 | |
| | |\ | |/ |/| | ||||
| * | | Merge pull request #1392 from ↵ | 2021-03-06 | -3/+4 | |
| |\ \ | | | | | | | | | | | | | ChrisLovering/Don't-suggest-when-a-tag-is-on-cooldown Don't fuzzy search for tags when tag is on cooldown | |||
| | * \ | Merge branch 'master' into Don't-suggest-when-a-tag-is-on-cooldown | 2021-03-06 | -515/+1010 | |
| | |\ \ | |/ / |/| | | ||||
| * | | | Merge pull request #1449 from python-discord/json-logging | 2021-03-06 | -114/+196 | |
| |\ \ \ | ||||
| | * | | | Version lock JSON logger | 2021-03-06 | -2/+2 | |
| | | | | | ||||
| | * | | | Use JSON logging when debug mode is disabled | 2021-03-06 | -16/+33 | |
| | | | | | ||||
| | * | | | Add JSON logging dependencies | 2021-03-06 | -98/+163 | |
| |/ / / | ||||
| * | | | Merge pull request #1434 from Numerlor/sendhelp | 2021-03-04 | -0/+2 | |
| |\ \ \ | | | | | | | | | Send command help for BadUnionArgument errors | |||
| | * | | | Close coroutine to prevent `RuntimeWarning`s | 2021-02-25 | -0/+1 | |
| | | | | | ||||
| | * | | | Send command help for `BadUnionArgument`s | 2021-02-25 | -0/+1 | |
| | | | | | ||||
| * | | | | Merge pull request #1262 from python-discord/mbaruh/defcon | 2021-03-02 | -170/+247 | |
| |\ \ \ \ | | | | | | | | | | | Defcon overhaul | |||
| | * \ \ \ | Merge branch 'master' into mbaruh/defcon | 2021-03-02 | -274/+626 | |
| | |\ \ \ \ | |/ / / / |/| | | | | ||||
| * | | | | | Merge pull request #1440 from bast0006/master | 2021-03-01 | -5/+5 | |
| |\ \ \ \ \ | | | | | | | | | | | | | Add !u, !tban, !superstar, and !unsuperstar aliases | |||
| | * | | | | | Add !stban alias for !shadowtempban | 2021-03-01 | -1/+1 | |
| | | | | | | | ||||
| | * | | | | | Add !superstar and !unsuperstar aliases for !superstarify | 2021-03-01 | -2/+2 | |
| | | | | | | | ||||
| | * | | | | | Add alias !tban for !tempban | 2021-03-01 | -1/+1 | |
| | | | | | | | ||||
| | * | | | | | Add alias !u for !user | 2021-03-01 | -1/+1 | |
| |/ / / / / | ||||
| * | | | | | Merge pull request #1439 from python-discord/comparison-tag | 2021-02-28 | -0/+12 | |
| |\ \ \ \ \ | | | | | | | | | | | | | Add a tag to explain a common error with substituting `=` and `==`. | |||
| | * | | | | | Create comparison.md | 2021-02-28 | -0/+12 | |
| |/ / / / / | ||||
| * | | | | | Merge pull request #1438 from python-discord/plural-events | 2021-02-27 | -1/+1 | |
| |\ \ \ \ \ | | | | | | | | | | | | | Make "event" plural in socketstats embed | |||
| | * | | | | | Make "event" plural in socketstats embed | 2021-02-26 | -1/+1 | |
| |/ / / / / | ||||
| * | | | | | !int socketstats improvements | 2021-02-26 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | - Comma separate event values - Make fields inline for smaller embed | |||
| * | | | | | Merge pull request #1436 from python-discord/startup-errors | 2021-02-26 | -5/+59 | |
| |\ \ \ \ \ | | | | | | | | | | | | | Helpful Startup Errors | |||
| | * \ \ \ \ | Merge branch 'master' into startup-errors | 2021-02-26 | -165/+151 | |
| | |\ \ \ \ \ | |/ / / / / |/| | | | | | ||||