aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* output of `len()` needs to have a `-1` on it when matching it against indexesGravatar jesopo2019-01-161-1/+1
| | | | within the given string (src/utils/irc.py)
* Don't ignore a color code when it's right at the end of a messageGravatar jesopo2019-01-161-12/+7
| | | | (src/utils/irc.py)
* Pushing logging on to another thread was a ridiculous idea. it means CRITICALGravatar jesopo2019-01-161-16/+2
| | | | logs are in a race condition to write to file before the main thread exits.
* Support removal of modes without args that we don't know about in a way thatGravatar jesopo2019-01-161-2/+3
| | | | doesn't push code execution down the wrong path (src/IRCChannel.py)
* Support a mode being removed from a channel, without an arg, that we weren't yetGravatar jesopo2019-01-161-1/+1
| | | | aware of (src/IRCChannel.py)
* Add src/utils/_consts_256_color.py that should have been added 2 commits agoGravatar jesopo2019-01-161-0/+85
|
* Fix regression that caused only foreground to be parsed if there's foregroundGravatar jesopo2019-01-161-1/+2
| | | | AND background formatting (src.utils.irc)
* Support IRC colors 16 through 98Gravatar jesopo2019-01-162-11/+22
|
* 'to_ansi_colors(' -> 'parse_format(' as it's become a lot more than just colors.Gravatar jesopo2019-01-131-3/+10
| | | | strip \x08 (in case hexchat users paste it) (print_activity.py, src.utils.irc)
* don't consume 3 digits for a colour code when the first char is 0 and the secondGravatar jesopo2019-01-131-3/+5
| | | | two chars make up a valid colour code (src.utils.irc)
* Typo, '=' -> '==' (utils.irc)Gravatar jesopo2018-12-121-1/+1
|
* Support '99' as a 'transparent' irc color codeGravatar jesopo2018-12-122-17/+19
|
* Preserve logged exc_info across threadsGravatar jesopo2018-12-121-0/+4
|
* Typo in utils.http.request, 'response_heders' -> 'response_headers'Gravatar jesopo2018-12-111-1/+1
|
* Pass a `dict` to utils.CaseInsensitiveDict, not a MutableMappingGravatar jesopo2018-12-111-1/+1
|
* Add missing `utils` import in utils.httpGravatar jesopo2018-12-111-0/+1
|
* 'utils.http.get_url' -> 'utils.http.request', return a Response object fromGravatar jesopo2018-12-111-10/+16
| | | | utils.http.request
* 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
|
* 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
* Switch to using a case insensitive dictionary for headers instead of doingGravatar jesopo2018-12-081-0/+8
| | | | .title() on each header key
* 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-061-0/+2
| | | | CHANMODES ISUPPORT)
* 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
|
* 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 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
|
* Omit Config keys that have falsey values (empty)Gravatar jesopo2018-12-021-1/+1
|
* '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
|
* Add type hint for return type of IRCBot.triggerGravatar jesopo2018-11-271-1/+2
|
* Raise exceptions back up through .trigger()Gravatar jesopo2018-11-271-3/+15
|
* Grab response from functions asked to be executed on the main thread and feedGravatar jesopo2018-11-271-7/+19
| | | | | them back to the callers, allowing rest_api.py to take the main thread while it's waiting for the response to give back to the requesting client
* Add .nickname/.username/.realname/.hostname to IRCServerGravatar jesopo2018-11-271-0/+5
|
* Add a way to catch when a writebuffer is emptied so we can e.g. assure a QUIT isGravatar jesopo2018-11-272-1/+8
| | | | sent before shutting down the bot