aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* "EventsResultsError"->"EventResultsError", move errors to utils.errorGravatar jesopo2019-11-182-12/+14
|
* move utils.consts.BITBOT_MAGIC to utils.decoratorsGravatar jesopo2019-11-152-6/+5
|
* move all datetime-related code from utils/__init__ to utils.datetimeGravatar jesopo2019-11-154-131/+134
|
* dont expose has_magic/get_magic in utils/__init__.py, ref directlyGravatar jesopo2019-11-152-6/+7
|
* split some stuff out of utils/__init__.pyGravatar jesopo2019-11-154-181/+191
|
* show first-words datestamp on !words outputGravatar jesopo2019-11-151-0/+3
|
* set info log rolling backup count to 1 (0 means "keep all backups")Gravatar jesopo2019-11-141-1/+1
|
* add typehinting for foreground/backgroundGravatar jesopo2019-11-131-2/+2
|
* only set color_finished=True when is_background, otherwise next char sets itGravatar jesopo2019-11-131-13/+12
|
* colorize nicks on JOIN formattingGravatar jesopo2019-11-111-0/+4
|
* hash_colorize code should first be looked up in HASH_COLORSGravatar jesopo2019-11-111-2/+2
|
* .lower() strings when hash-colorizing themGravatar jesopo2019-11-111-1/+1
|
* don't use hash() for hashed colorising as it's not stable through restartsGravatar jesopo2019-11-111-1/+1
|
* add utils.irc.hash_colorize() to color a string by the string's hashGravatar jesopo2019-11-111-0/+5
|
* add IRCArgs.append funcGravatar jesopo2019-11-081-0/+3
|
* silently eat Control socket .send() failuresGravatar jesopo2019-11-081-2/+5
|
* don't stop parsing colors at commaGravatar jesopo2019-11-041-1/+1
|
* add on_pause() and on_resume() for module - use in rest_api.pyGravatar jesopo2019-11-041-0/+10
|
* `' '` -> `" "`Gravatar jesopo2019-10-311-4/+4
|
* Fix type errors detected by 'mypy --ignore-missing-imports src'.Gravatar Valentin Lorentz2019-10-3010-38/+51
|
* fix _line() related type hinting issues in IRCServer.pyGravatar jesopo2019-10-301-7/+11
|
* add utils.date_human() - use it in badges.pyGravatar jesopo2019-10-301-0/+3
|
* utils.parse doesn't need to import utilsGravatar jesopo2019-10-291-1/+0
|
* 'from src.utils import' -> 'from . import'Gravatar jesopo2019-10-291-1/+1
|
* move typing.Callable def so Event doesn't have to be in " "Gravatar jesopo2019-10-291-2/+2
|
* utils.cli shouldn't know about DatabaseGravatar jesopo2019-10-291-3/+3
|
* utils.irc doesn't need to know about the whole of utilsGravatar jesopo2019-10-291-31/+31
|
* send_mode() `args` is already a listGravatar jesopo2019-10-291-1/+1
|
* move src/utils/irc/__init__.py to src/utils/irc.pyGravatar jesopo2019-10-281-0/+0
|
* remove src/utils/irc/protocol.pyGravatar jesopo2019-10-283-122/+37
|
* Revert "remove unneeded import"Gravatar jesopo2019-10-271-0/+1
| | | | This reverts commit 8425c11c97bbd9b5690000cac9f622327105d1ee.
* remove unneeded importGravatar jesopo2019-10-271-1/+0
|
* move IRCLine related code from utils.irc to IRCLine.pyGravatar jesopo2019-10-273-86/+87
|
* don't consume past 2nd digit in e.g. "\03033,123"Gravatar jesopo2019-10-251-5/+5
|
* `reason` arg of `panic()` shouldn't be optional, detect current exceptionGravatar jesopo2019-10-251-5/+5
|
* remove bot.panic() `throw` kwargGravatar jesopo2019-10-251-2/+2
|
* DEBUG log IRCBot.connect failure stacktraceGravatar jesopo2019-10-251-0/+1
|
* bot.panic() should just call sys.exit()Gravatar jesopo2019-10-251-13/+1
|
* re-add list moving CAP objects from `capability_queue` to ↵Gravatar jesopo2019-10-251-2/+8
| | | | `capabilities_requested`
* Make send_capability_queue split 'CAP REQ' message based on string length.Gravatar Valentin Lorentz2019-10-231-11/+7
| | | | Instead of sending caps by groups of 10.
* explicitly break event loop on KillGravatar jesopo2019-10-221-0/+1
|
* `bitbotctl stop` should be keepalive so it exits when bitbotd exitsGravatar jesopo2019-10-181-1/+0
|
* support utf8 hostnames by punycode (idna) encodingGravatar jesopo2019-10-181-4/+12
|
* hook_handler should be catching TRACE loggingGravatar jesopo2019-10-171-1/+1
|
* add IRCBot.stop() - use it for !shutdown and './bitbotctl stop'Gravatar jesopo2019-10-172-6/+28
|
* default to using a "data directory" for bitbot (~/.bitbot/)Gravatar jesopo2019-10-172-12/+12
|
* remove debug prints from IRCBotGravatar jesopo2019-10-151-2/+0
|
* fix type linting issues for `client` in Control.is_readableGravatar jesopo2019-10-141-2/+2
|
* add `bitbotctl reload` command to reload all modulesGravatar jesopo2019-10-141-0/+4
|
* run Control callbacks on main threadGravatar jesopo2019-10-141-3/+8
| | | | closes #180