aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Convert BOOLEAN sqlite3 types to bool objects when retrieving themGravatar jesopo2018-11-271-1/+4
|
* Nope, just combine previous color-char and current color-char and see if it'sGravatar jesopo2018-11-261-1/+1
| | | | less than or equal to 15 (utils.irc)
* Don't reject 6-9 (inclusive) when it's prepended by 0 (src/utils/irc.py)Gravatar jesopo2018-11-261-1/+1
|
* If a color code is double-digit, make sure it's 0-15, not just 0-20Gravatar jesopo2018-11-261-5/+6
|
* ModuleWarnings in src/ModuleManger.py should be logged as `warn`, not `error`Gravatar jesopo2018-11-261-1/+1
|
* Switch back to logging events as 2 messages as a lot of other logs can happenGravatar jesopo2018-11-261-2/+4
| | | | between the start and end of an event and grouping them together is very useful
* Don't assume a given mode is in IRCChannel.modes when we check to see if a givenGravatar jesopo2018-11-261-1/+1
| | | | mode has any arguments against it
* 'bot.log' -> 'trace.log' and add a 'warn.log' log file that only catchesGravatar jesopo2018-11-261-5/+10
| | | | warn-and-worse
* also support zero-padded color codesGravatar jesopo2018-11-251-1/+1
|
* Don't eat numbers after color formatting if they'd end up making the color codeGravatar jesopo2018-11-251-6/+13
| | | | `20` or more
* Regression: Don't connnect if a server's 'connect' setting is falseGravatar Evelyn2018-11-241-1/+1
|
* Move `self.name = self.nickname_lower` to under setting `self.nickname_lower`,Gravatar jesopo2018-11-231-1/+1
| | | | otherwise `self.name` will be `""`
* `IRCServer.Server.get_user` should be 'typing.Optional[IRCUser.User]', not justGravatar jesopo2018-11-211-1/+2
| | | | 'IRCUser.user'
* typo in src/IRCServer.py, 'typing.float' -> 'float'Gravatar jesopo2018-11-211-1/+1
|
* Fix mypy issues caused by overwriting a `bytes` variable with a `str` objectGravatar jesopo2018-11-211-3/+3
|
* Add more return type annotations to src/IRCServer.ServerGravatar jesopo2018-11-211-21/+27
|
* Add some missing return type annotations in src/IRCServer.ServerGravatar jesopo2018-11-211-4/+4
|
* Add IRCServer.Server.get_target, to get an IRCChannel if the given target is aGravatar jesopo2018-11-211-0/+9
| | | | channel name or an IRCUser
* `prefix` should be a Optional[IRCHostmask], we shouldn't use `Optional[]` as aGravatar jesopo2018-11-201-3/+3
| | | | compile-time object (utils.irc)
* Clarify typing in src/IRCChannel.pyGravatar jesopo2018-11-201-4/+4
|
* Don't enable write throttling until we get 005Gravatar jesopo2018-11-191-1/+4
|
* Minor code styling change in urils.ircGravatar jesopo2018-11-171-2/+2
|
* Typo in utils.__init__, 'number' -> 'number_str'Gravatar jesopo2018-11-161-1/+2
|
* Log event timing in 1 message, not 2Gravatar jesopo2018-11-141-4/+2
|
* Typo in src/Database.py, 'total_millisecons' -> 'total_milliseconds'Gravatar jesopo2018-11-141-1/+1
|
* Log query timing in src/Database.py in 1 line, not 2Gravatar jesopo2018-11-141-3/+2
|
* We do indeed need to see "\x03" even when there's no foreground/backgroundGravatar jesopo2018-11-141-2/+1
| | | | (color reset)
* Don't eat commas when there's no background color or when a comma directlyGravatar jesopo2018-11-141-2/+7
| | | | follows a background color
* Missed a 'message' -> 'ctcp_message'Gravatar jesopo2018-11-141-1/+1
|
* Typo in utils.irc, 'message' -> 'ctcp_message'Gravatar jesopo2018-11-141-2/+2
|
* Stop supporting using ansi bold for brightening colors, support ansi backgroundGravatar jesopo2018-11-142-24/+31
| | | | colors
* Better parsing of CTCP messages, support raw.send.privmsg/raw.send.notice inGravatar jesopo2018-11-141-0/+14
| | | | modules/line_handler.py
* Better support passing "send" events through the parsers already present inGravatar jesopo2018-11-141-27/+1
| | | | modules/line_handler.py
* Typo in src/utils/irc.py, 'resplace' -> 'replace'Gravatar jesopo2018-11-141-1/+1
|
* Don't assume a reconnect timer event will always have connection_paramsGravatar jesopo2018-11-141-1/+2
|
* You can join color and bold in to one \033 ansi sequenceGravatar jesopo2018-11-141-2/+3
|
* Support irc format full reset (\x0F) as ansi reset (\033[0m)Gravatar jesopo2018-11-141-1/+7
|
* Use extended ANSI colors to avoid using bold to make colors lighterGravatar jesopo2018-11-141-8/+8
|
* 'ANSI_RESET' -> 'ANSI_BOLD_RESET' typo, 'ansi_bold' -> 'color_bold'Gravatar jesopo2018-11-142-21/+24
| | | | | clarification, fix issue in color tokenizing that caused bolds to be put in the wrong place
* Add type annotions to irc->ansi color functionsGravatar jesopo2018-11-141-4/+4
|
* Only reset ansi bolding when both color-bold and bold are falseGravatar jesopo2018-11-141-1/+1
|
* Bold reset is 22, not 21Gravatar jesopo2018-11-131-1/+1
|
* Fix bolding/unbolding code in utils.ircGravatar jesopo2018-11-131-2/+3
|
* Apparently '39' is 'font reset' for ansi colorsGravatar jesopo2018-11-131-1/+1
|
* Visual tweak; align "="s in utils.constsGravatar jesopo2018-11-131-25/+25
|
* Add code to tokenize and ansi-replace IRC colors; use this inGravatar jesopo2018-11-131-1/+74
| | | | modules/print_activity.py
* Better constifying of COLORsGravatar jesopo2018-11-131-17/+31
|
* Better constifying of color/font charsGravatar jesopo2018-11-133-23/+50
|