jesopo
|
b7cf524e98
|
Give modules event objects with "context"s, to facilitate purging all the event
hooks for a module
|
2018-08-31 13:44:39 +01:00 |
|
jesopo
|
656cb8153a
|
return "None" timeouts when there's no servers in IRCBot.servers
|
2018-08-30 17:20:55 +01:00 |
|
jesopo
|
43ab3cbd10
|
Factor ping interval and ping timeout in to the main loop's minimum interval
|
2018-08-29 14:33:27 +01:00 |
|
jesopo
|
fead75cd2f
|
Refactor IRCLineHandler in to an object that uses .on("raw") events
|
2018-08-29 12:20:25 +01:00 |
|
jesopo
|
ab9869aecb
|
Change verbose logging to use propper logging system
|
2018-08-28 17:30:52 +01:00 |
|
jesopo
|
527d548743
|
Seperate .waiting_send() and throttle logic
|
2018-08-28 15:32:50 +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
|
e6321abd55
|
Fixed another reference to the old database structure
|
2018-08-08 10:33:00 +01:00 |
|
jesopo
|
8aa0a59e01
|
Fix 2 typos from the database restructure
|
2018-08-06 14:10:14 +01:00 |
|
jesopo
|
ce05b98f61
|
Moved table-specific logic to their own "table" classes in Database.py
|
2018-08-05 22:41:38 +01:00 |
|
jesopo
|
ffd41d0771
|
Added addition "find" methods to Database.py, along with a "get all" for user
settings to search without a nickname
|
2018-08-03 13:43:45 +01:00 |
|
jesopo
|
e89b4b6a83
|
Don't add a server to bot.servers until it's connected
|
2018-07-02 12:08:26 +01:00 |
|
jesopo
|
0cc72d5d66
|
Added a "replay" system to EventManager hooks, to replay missed .calls
|
2017-12-26 10:32:36 +00:00 |
|
jesopo
|
d6134d71a3
|
Don't put non-kwargs after unpacked list, handle ConnectionResetError
|
2017-11-01 13:56:44 +00:00 |
|
jesopo
|
fd75b71286
|
Adds args.verbose and fixes a couple of bug
|
2017-01-27 21:41:47 +00:00 |
|
jesopo
|
b18a503b01
|
fixed a crash caused by trying to remove a fileno that's not in IRCBot's epoll object.
|
2016-07-14 09:17:41 +01:00 |
|
jesopo
|
a09bce0024
|
tweaked reconnection logic.
|
2016-07-05 12:18:13 +01:00 |
|
jesopo
|
622ffa4825
|
fixed reconnection logic, using the internal timer logic.
|
2016-06-28 00:09:05 +01:00 |
|
jesopo
|
863bebb14e
|
added code to allow you to keep a server in the database but not connect to it.
|
2016-04-27 11:56:37 +01:00 |
|
jesopo
|
bc12c77891
|
did what I said I would sooner than I thought I would. centralised persisting timers through bot restarts.
|
2016-04-19 13:25:50 +01:00 |
|
jesopo
|
9eff1b8931
|
entirely reworked the timer system to work with the event system, will eventually persist all timers to database until complete in a central way.
|
2016-04-19 12:21:27 +01:00 |
|
jesopo
|
98718546cf
|
added helper functions to IRCBot to utilise the new bot settings table.
|
2016-04-14 16:48:17 +01:00 |
|
jesopo
|
a2cde2ff18
|
fixed a part of the reconnection logic.
|
2016-04-13 14:55:19 +01:00 |
|
jesopo
|
520a6ecd08
|
made the client-side ping-out logic more badass.
|
2016-04-10 17:29:03 +01:00 |
|
jesopo
|
afec1deb5c
|
added tracking certain words in words.py and fixed/changed a couple of things to allow it to work.
|
2016-04-06 09:40:49 +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
|
d8cce800d1
|
added untested reconnection code.
|
2016-03-30 19:32:14 +01:00 |
|
jesopo
|
f943d63098
|
first commit.
|
2016-03-29 12:56:58 +01:00 |
|