aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add a way to force success and force failure of a command permission checkGravatar jesopo2019-01-281-0/+4
| | | | (commands.py)
* Only search messages from other users in `find_from` (src/IRCBuffer.py)Gravatar jesopo2019-01-261-1/+2
|
* Add `find_from` to IRCBuffer.Buffer, to find the most recent line from a givenGravatar jesopo2019-01-261-0/+8
| | | | user (src/IRCBuffer.py)
* Make sure more than one hook can catch `preprocess.send` but still respect anyGravatar jesopo2019-01-261-2/+5
| | | | that return a change to the output (src/IRCServer.py)
* `IRCServer.Server.irc_lower` should have a return type hint of `str`Gravatar jesopo2019-01-241-1/+1
|
* Typo, `IRCServer.Server.irc_equal` -> `IRCServer.Server.irc_equals`Gravatar jesopo2019-01-241-1/+1
|
* Add `irc_lower()` and `irc_equals()` to IRCServer.Server so that no where elseGravatar jesopo2019-01-245-15/+17
| | | | in the code has to know about the server having a casemapping
* Fix incorrect indentation level in Logging.pyGravatar jesopo2019-01-181-1/+1
|
* Support modules being in their own folder and move github.py to github/module.pyGravatar jesopo2019-01-181-5/+23
|
* 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
|