aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Support `fork` event (github.py)Gravatar jesopo2018-12-101-1/+12
|
* Add basics of `status` event handling, mostly for use with continuous ↵Gravatar jesopo2018-12-101-0/+10
| | | | integration (github.py)
* Add type hint for Logging._queueGravatar jesopo2018-12-101-1/+1
|
* Make `block` param of queue.get() explicitly refer to `block`Gravatar jesopo2018-12-101-1/+1
|
* Put logging functionality on to it's own threadGravatar jesopo2018-12-101-2/+12
|
* Use more distinctive arrow characters for youtube up/down votesGravatar jesopo2018-12-091-2/+2
|
* Correctly support labeling pull requests, support unlabeling pull requests ↵Gravatar jesopo2018-12-091-1/+9
| | | | and support both on issues
* Show newly added labels when a pull request is labeledGravatar jesopo2018-12-091-0/+2
|
* By the time we take ref counts, we've already removed `module` fromGravatar jesopo2018-12-091-2/+2
| | | | `loaded_module`
* change `self.modules` to be a dict of str:LoadedModule, not str:BaseModuleGravatar jesopo2018-12-091-2/+2
|
* Add missing change to `loaded_module.module` (from `module`) in unload_moduleGravatar jesopo2018-12-091-1/+1
|
* `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
|