Commit graph

36 commits

Author SHA1 Message Date
jesopo
bb3eaff14a Fix CAP logic that was broken by recent IRCLineHandler refactor 2018-08-29 12:44:09 +01:00
jesopo
0b95dfb98b Do a default event for received data if there's no hooks for it 2018-08-29 12:43:54 +01:00
jesopo
fead75cd2f Refactor IRCLineHandler in to an object that uses .on("raw") events 2018-08-29 12:20:25 +01:00
jesopo
f2b2ac52e7 Send a PONG event, use the right arg when sending a WHO 2018-08-28 15:14:22 +01:00
jesopo
ef16817ad5 Switch to time.monotonic for comparisons, only send data at most once every .5
seconds and only send max 512 bytes at a time
2018-08-28 14:36:16 +01:00
jesopo
e5a5fa5c4b modules/logging.py -> IRCLogging.py; IRCLog.py -> IRCBuffer.py; change logging
to be an object on the server object instead of an event call
2018-08-28 12:23:57 +01:00
jesopo
92617895e4 "self.nick" event didn't get updated 2018-08-03 16:39:53 +01:00
jesopo
2ea2dd17da implemented handling notices in IRCLineHandler, including server notices 2018-07-22 21:46:22 +01:00
jesopo
f84a05aec5 check if a channel is in attempted_join before attempting rejoin 2018-07-15 23:54:27 +01:00
jesopo
f961c95de9 only pass things needed through events, not **data.map() 2018-07-14 10:18:28 +01:00
jesopo
29c55246b0 Clear default mode prefixes when we get a 005 with mode prefixes in it 2018-07-02 16:25:34 +01:00
jesopo
1148aad8a4 added handle_KICK to IRCLineHandler 2018-07-02 11:08:04 +01:00
jesopo
9f6a3b600a Remove commented example raw IRC line from IRCLineHandler 2018-06-17 12:51:23 +01:00
jesopo
46d8bd879e Fix crash on PRIVMSG with nothing but whitespace 2018-01-13 22:21:53 +00:00
jesopo
0cc72d5d66 Added a "replay" system to EventManager hooks, to replay missed .calls 2017-12-26 10:32:36 +00:00
jesopo
55ff2dd5f7 capibility ➡️ capability 2017-11-01 14:20:15 +00:00
jesopo
e63438e2bb Add OP_NO_TLSv1 and fix a bug created while fixing another bug 2017-11-01 14:16:01 +00:00
jesopo
0df7abb03e Handle empty CAP, additional IRCLog feature, better tls, better channel_save logic, add sed-sender-only setting
Signed-off-by: jesopo <github@lolnerd.net>
2017-10-27 13:15:33 +01:00
Evelyn
34d0bd4dcb Don't break on an empty quit message 2017-09-18 10:35:30 +01:00
Evelyn
ff31dd2bb0 oops, that should be data.args, not args >.> 2017-07-20 21:19:56 +01:00
Evelyn
5466edfafe Don't assume a reason will always be present in a PART 2017-07-20 21:12:42 +01:00
Evelyn
e245b64b58 fix the privmsg 2017-07-18 18:39:23 +01:00
Evelyn
cbfff9fe38 No need to underscore server now 2017-07-16 22:43:46 +01:00
Evelyn
caab9b6714 Change line handling 2017-07-16 21:18:58 +01:00
Evelyn
e232ad5dae Add IRCv3→SASL support for nickserv auth, added optional module whitelist, added server option for recording channel keys, increased flexibility for event raising in linehandler, probably other things too 2017-07-12 10:00:45 +01:00
jesopo
facd9d69cb
Fix an issue in MODE handling 2017-01-27 21:39:07 +00:00
jesopo
f85ab987c4
decided to not track user realnames as there's no real purpose and it means bitbot does not have to whois newly joined people. 2016-04-22 11:48:59 +01:00
jesopo
0e37fca35a
added code that i forgot to add to keep track of the info of new users, also fixed a messup in indexes assuming all whoises were about himself. 2016-04-20 22:57:16 +01:00
jesopo
c7c5e800fe
fixed a broken usage of the timer system. (functions are not json-able!) 2016-04-19 13:26:31 +01:00
jesopo
9567ad4784
added some more mode event firing and removed unneeded debug printing. 2016-04-04 12:36:23 +01:00
jesopo
a348bf4241
fixed some dumb typos 2016-04-03 17:08:48 +01:00
jesopo
504e93a78d
tinkered with some modules and fixed a few bugs, also added the skeleton for the auto_mode.py module. 2016-04-03 13:20:05 +01:00
jesopo
acc38b7460
made the args for IRCLineHandler functions global and added a timer-based channel join re-try. 2016-03-31 13:20:03 +01:00
jesopo
488a869ba7
added a line I forgot to add to dispose of nonvisible users. 2016-03-30 12:48:50 +01:00
jesopo
57a0e2f10f
made commands work in channel AND in private message. 2016-03-29 16:22:22 +01:00
jesopo
f943d63098
first commit. 2016-03-29 12:56:58 +01:00