aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* `def LoadedModule` -> `class LoadedModule`Gravatar jesopo2018-12-091-2/+5
|
* Don't store any information used to load/unload modules on the module it's selfGravatar jesopo2018-12-091-21/+31
| | | | thus preventing even the possibility that modules can change them
* Add typing hints to CaseInsensitiveDict, fix it's __setitem__ signature, callGravatar jesopo2018-12-081-5/+5
| | | | .items() on `other` in ctor
* Return empty string on successful github webhook handling, not TrueGravatar jesopo2018-12-081-3/+3
|
* Switch to using a case insensitive dictionary for headers instead of doingGravatar jesopo2018-12-083-2/+10
| | | | .title() on each header key
* Check whether we actually have a httpd running when unloading rest_api.pyGravatar jesopo2018-12-081-1/+3
|
* `["review"]["user"]["login"]` -> `["sender"]["login"]` to show who created aGravatar jesopo2018-12-061-1/+1
| | | | pull_request_review event, not who started the review
* Add 'bot-channel' config in bot.conf.example and use it, if present, inGravatar jesopo2018-12-062-2/+6
| | | | bot_channel.py
* 'X-GitHub-Event' -> 'X-Github-Event' now that we .title() header keysGravatar jesopo2018-12-061-1/+1
| | | | (github.py)
* .items() on self.headers, to correctly use it for a dict comprehensionGravatar jesopo2018-12-061-1/+1
| | | | (rest_api.py)
* 'content-type' -> 'Content-Type' (github.py)Gravatar jesopo2018-12-061-1/+1
|
* .title() all header keys (rest_api.py)Gravatar jesopo2018-12-061-1/+2
|
* Add `returns` type hint in EventManager.py.callGravatar jesopo2018-12-061-1/+1
|
* Only pop MODE args when we're certain we should (pays more attention toGravatar jesopo2018-12-062-3/+10
| | | | CHANMODES ISUPPORT)
* Comment tls-* keys in bot.conf.exampleGravatar jesopo2018-12-051-0/+3
|
* Add horizontal spacing to bot.conf.example, otherwise it's very confusingGravatar jesopo2018-12-051-0/+16
|
* Remove telegram functionality - it's very broken/outdated and needs aGravatar jesopo2018-12-054-68/+0
| | | | complete rewrite
* utils.irc.lower channel names when adding them to the autojoin listGravatar jesopo2018-12-051-2/+4
|
* fix incorrect retyping of "event_path" as "event, path" (i wasn't paying enoughGravatar jesopo2018-12-051-2/+2
| | | | attention)
* Add missing ")" from last commitGravatar jesopo2018-12-051-1/+1
|
* Don't do unnecessary work when someone tries to call a not-hooked-in-to eventGravatar jesopo2018-12-051-2/+9
|
* Prevent setting values to array settings and prevent adding to non-arrayGravatar jesopo2018-12-052-5/+12
| | | | settings
* Don't try to call .isdigit() on an int object in coin.py.lottery_buyGravatar jesopo2018-12-051-1/+1
|
* Only gracefully handle SIGINT onceGravatar jesopo2018-12-031-0/+5
|
* re-add check in utils.irc.parse_line that prevents us having an empty string asGravatar jesopo2018-12-031-1/+4
| | | | an arg when there's no non-arbitrary args
* Further clarification of type hints in ModuleManager.py, including now making itGravatar jesopo2018-12-021-2/+5
| | | | explicit that module objects MUST inherit from BaseModule
* Use `getattr` to get `Module` classes out of modules in ModuleManager.py; thisGravatar jesopo2018-12-021-4/+5
| | | | makes more sense and removes some errors from type linting
* Clarify func_queue type (IRCBot.py)Gravatar jesopo2018-12-021-1/+1
|
* Clarify/fix type hints throughout EventManager.pyGravatar jesopo2018-12-021-7/+8
|
* A couple of tweaks to clarify some type hintsGravatar jesopo2018-12-023-5/+7
|
* `data` is now `line`Gravatar jesopo2018-12-021-1/+1
|
* Remove use of `print()` in modules/line_handler.pyGravatar jesopo2018-12-021-1/+1
|
* Remove usage of sys.stderr in IRCBot.py, change disconnect logs from `info` toGravatar jesopo2018-12-021-6/+6
| | | | `warn`
* Remove `print` calls from IRCBot.py, move received data logging to IRCServerGravatar jesopo2018-12-022-8/+7
|
* typo in modules.py, '_reload' -> 'self._reload'Gravatar jesopo2018-12-021-1/+1
|
* Take a `name` param in modules.py._catchGravatar jesopo2018-12-021-4/+4
|
* Correctly return errors for load/unload, not just reload (modules.py)Gravatar jesopo2018-12-021-12/+18
|
* Omit Config keys that have falsey values (empty)Gravatar jesopo2018-12-021-1/+1
|
* Add missing urllib.parse import (github.py)Gravatar jesopo2018-11-301-1/+1
|
* Support form-encoded github webhook dataGravatar jesopo2018-11-301-1/+7
|
* rest_api.py's '_safe_handle' function isn't used and doesn't need to be used nowGravatar jesopo2018-11-301-8/+0
| | | | that API calls are thrown straight on to the main thread
* utf8-decode github webhook json dataGravatar jesopo2018-11-301-1/+1
|
* Make coins.py compatible with versions of python under 3.6Gravatar jesopo2018-11-301-4/+4
|
* Flask is a dependency!Gravatar jesopo2018-11-302-0/+2
|
* 'uderline' -> 'underline' typo in utils.ircGravatar jesopo2018-11-301-1/+1
|
* Support ANSI underlineGravatar jesopo2018-11-302-5/+15
|
* 'find_*_setting' functions don't exist anymore!Gravatar jesopo2018-11-281-4/+4
|
* Show who invited who when printing and invite (print_activity.py)Gravatar jesopo2018-11-271-2/+3
|
* Copypaste fail, 'target_channel' -> 'event["target_channel"]'Gravatar jesopo2018-11-271-1/+1
| | | | (print_activity.py)
* Print when we receive and INVITEGravatar jesopo2018-11-271-0/+5
|