aboutsummaryrefslogtreecommitdiff
path: root/src/IRCServer.py
Commit message (Expand)AuthorAgeFilesLines
* Add `irc_lower()` and `irc_equals()` to IRCServer.Server so that no where else•••in the code has to know about the server having a casemapping Gravatar jesopo2019-01-241-7/+11
* Only pop MODE args when we're certain we should (pays more attention to•••CHANMODES ISUPPORT) Gravatar jesopo2018-12-061-0/+2
* A couple of tweaks to clarify some type hintsGravatar jesopo2018-12-021-1/+4
* `data` is now `line`Gravatar jesopo2018-12-021-1/+1
* Remove `print` calls from IRCBot.py, move received data logging to IRCServerGravatar jesopo2018-12-021-3/+5
* 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 is•••sent before shutting down the bot Gravatar jesopo2018-11-271-0/+3
* `IRCServer.Server.get_user` should be 'typing.Optional[IRCUser.User]', not just•••'IRCUser.user' Gravatar jesopo2018-11-211-1/+2
* 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 a•••channel name or an IRCUser Gravatar jesopo2018-11-211-0/+9
* Don't enable write throttling until we get 005Gravatar jesopo2018-11-191-1/+4
* Better support passing "send" events through the parsers already present in•••modules/line_handler.py Gravatar jesopo2018-11-141-27/+1
* Print MOTD in modules/print_activity.py (after caching it in•••modules/line_handler.py) Gravatar jesopo2018-11-131-0/+3
* Split out Channels in to IRCChannels.Channels, not IRCChannel.ChannelsGravatar jesopo2018-11-111-2/+2
* Move channel tracking data/functions to src/IRCChannel.ChannelsGravatar jesopo2018-11-111-29/+5
* Add a way to more explicitly denote when a CAP handshake has ended earlyGravatar jesopo2018-11-091-1/+2
* Keep a track of bytes written and read per serverGravatar jesopo2018-11-081-2/+7
* Keep a dict of isupport key:values on IRCServer.ServerGravatar jesopo2018-11-081-1/+2
* Cache a server fileno from connect onwards, like we used toGravatar jesopo2018-11-051-1/+1
* Typo in IRCServer, 'nicknamme' -> 'nickname'Gravatar jesopo2018-11-051-1/+1
* Update IRCServer.__repr__ to use connection_paramsGravatar jesopo2018-11-051-1/+2
* Fall back to nickname for username/realname, as it used to beGravatar jesopo2018-11-051-3/+6
* Fix the order of some connection params, add `alias` as a seperate argument to•••IRCServer.Server Gravatar jesopo2018-11-051-2/+4
* Pass connection parameters around in their own object (IRCConnectionParameters)Gravatar jesopo2018-11-051-22/+17
* Call Database.channels.rename in IRCServer.Server.rename_channelGravatar jesopo2018-11-051-0/+1
* Cache socket fileno in IRCServer.Server just before disconnectingGravatar jesopo2018-11-051-1/+3
* it should be self.bindhost, now that we've moved the logic to .connect() instead•••of __init__ Gravatar jesopo2018-11-051-2/+3
* Typo in src/IRCServer.py; 'self.AF_INET' -> 'socket.AF_INET'Gravatar jesopo2018-11-051-1/+1
* Refactor IRCServer .connect() logicGravatar jesopo2018-11-051-18/+9
* Implement IRCv3's `draft/rename`Gravatar jesopo2018-11-041-0/+5
* Fix some non-explicit None returns, add type hints to important variablesGravatar jesopo2018-10-311-15/+15
* Fix/refactor issues brought up by type hint lintingGravatar jesopo2018-10-301-1/+1
* Add type/return hints throughout src/ and, in doing so, fix some cyclical•••references. Gravatar jesopo2018-10-301-64/+73
* Specifically handle OSError (e.g. Network is unreachable) as a disconnectGravatar jesopo2018-10-261-1/+1
* Add missing `return` in src/IRCServer.py.get_user_settingGravatar jesopo2018-10-181-1/+1
* "Cannot" -> "can't" in IRCServer encoding fallbackGravatar jesopo2018-10-171-1/+1
* TRACE log when we have to use fallback encodingGravatar jesopo2018-10-171-2/+4
* event["args"] is an array already, args_split does not exist. Also send raw•••events from src/IRCServer.py as call_unsafe to make errors like that more apparent. Gravatar jesopo2018-10-151-1/+1
* Typo in src/IRCServer.py, 'defau;t' -> 'default'Gravatar jesopo2018-10-141-1/+1
* Work directly from users in modules/coins.py.interest(), so as to not give•••double-interest to two "users" online at the same time sharing the same identity Gravatar jesopo2018-10-141-0/+8
* Improve "non-complete line" TRACE logGravatar jesopo2018-10-111-2/+2
* TRACE log when we receive and buffer a non-complete lineGravatar jesopo2018-10-111-0/+3
* Add a way to track non-IRC sockets within the main epoll loop; use this for a•••unix domain control socket! Gravatar jesopo2018-10-061-5/+10
* 'ssl-certificate'/'ssl-key' -> 'tls-certificate'/'tls-key'Gravatar jesopo2018-10-051-2/+2
* 'mode_prefixes' -> prefix_modes and prefix_symbolsGravatar jesopo2018-10-031-3/+5
* Move src/Utils.py in to src/utils/, splitting functionality out in to modules of•••related functionality Gravatar jesopo2018-10-031-9/+9
* Add a way to not add a user automatically in IRCServer.get_userGravatar jesopo2018-10-031-3/+3