jesopo
|
a9111c7241
|
add ModuleManager.try_reload_modules(), to try reloading in a transaction
if any of the modules fails to reload, rollback and use the already loaded modules. closes #179
|
2019-10-14 12:56:04 +01:00 |
|
jesopo
|
2ca702b787
|
don't have version 'v' prefix in VERSION
|
2019-10-11 17:27:36 +01:00 |
|
jesopo
|
14f5ec38ed
|
hold current version in it's own file: VERSION
|
2019-10-11 17:03:14 +01:00 |
|
jesopo
|
175f90f6a2
|
add "poll sources" - objects that can provide additional filenos for polling
|
2019-10-11 13:59:28 +01:00 |
|
jesopo
|
b7b045eadb
|
Don't exit when there are no connected servers
closes #175
|
2019-10-11 13:06:52 +01:00 |
|
jesopo
|
fd0baff093
|
only .call() PollHooks when they're "due"
|
2019-10-10 14:12:58 +01:00 |
|
jesopo
|
1c792f0194
|
move PoolHook registrations to start.py
|
2019-10-10 13:58:45 +01:00 |
|
jesopo
|
e624292608
|
v1.12.0 release
|
2019-10-10 13:36:55 +01:00 |
|
jesopo
|
a2b73469e6
|
v1.12.0-rc2 release
|
2019-10-10 12:43:19 +01:00 |
|
jesopo
|
2c19bdb949
|
add a fairly basic file locking mechanism with src/LockFile.py
closes #96
|
2019-10-10 12:11:03 +01:00 |
|
jesopo
|
ab2701837c
|
we should be catching timer as the output of self._timers.add
|
2019-10-09 12:47:03 +01:00 |
|
jesopo
|
a0870ad118
|
v1.12.0-rc1 release
|
2019-10-09 12:42:22 +01:00 |
|
jesopo
|
6ee2b6cf27
|
self.timers -> self._timers
|
2019-10-08 21:51:58 +01:00 |
|
jesopo
|
7a5edccb98
|
transient timers shouldn't use the event system
|
2019-10-08 13:49:55 +01:00 |
|
jesopo
|
4c02c7c86a
|
refactor anything that effects event poll timeout in to PollHook objects
|
2019-10-08 12:20:08 +01:00 |
|
jesopo
|
50d1eb6b8c
|
combine find_setting() and find_setting_prefix() on user/channel/server/bot
|
2019-10-07 12:46:52 +01:00 |
|
jesopo
|
8480309db2
|
only _kill() when there's no servers *and* the event queue is empty
this is so that bitbot doesn't exit when you !reconnect but only have 1 server
|
2019-09-30 11:52:07 +01:00 |
|
jesopo
|
2bd7d591c3
|
Revert "add IRCBot.http_client(), to allow modules to override default http client"
This reverts commit 81347fbba0 .
|
2019-09-11 18:08:44 +01:00 |
|
jesopo
|
81347fbba0
|
add IRCBot.http_client(), to allow modules to override default http client
|
2019-09-11 17:54:24 +01:00 |
|
jesopo
|
19d8f0b497
|
store and expose reconnection timers on IRCBot.reconnections
|
2019-09-01 08:38:22 +01:00 |
|
jesopo
|
6a068777d6
|
v1.11.1 release
|
2019-08-30 19:10:17 +01:00 |
|
jesopo
|
b037c3076f
|
v1.11.0 release
|
2019-08-15 13:45:54 +01:00 |
|
jesopo
|
195cb66e26
|
Update CHANGELOG.md, bump version to v1.11.0-rc3
|
2019-08-14 15:17:01 +01:00 |
|
jesopo
|
814236915b
|
forgot to update IRCBot.VERSION to v1.11.0-rc2
|
2019-08-13 15:11:43 +01:00 |
|
jesopo
|
0f4a4d04a1
|
v1.11.0-rc1 release
|
2019-08-09 15:02:10 +01:00 |
|
jesopo
|
7060a0ac67
|
Update IRCBot except queue.Empty comment
|
2019-06-26 13:43:00 +01:00 |
|
jesopo
|
a1cc2e778c
|
Return 0 seconds if timeout seconds is negative
|
2019-06-24 17:22:08 +01:00 |
|
jesopo
|
ef0b3ec64c
|
move _check() after timeouted queue.get() so deadlines are met accurately
|
2019-06-23 20:50:40 +01:00 |
|
jesopo
|
dd1df4dc05
|
move get_poll_timeout() to event loop now that it is the one calling _check
|
2019-06-23 19:00:37 +01:00 |
|
jesopo
|
9673963a8d
|
shift _check() call to event loop function so read_loop needn't call trigger()
|
2019-06-23 18:53:25 +01:00 |
|
jesopo
|
102aa1dce1
|
v1.10.0 release
|
2019-06-23 14:45:56 +01:00 |
|
jesopo
|
afc287f020
|
Don't print BitBotPanic stacks when we don't need to
|
2019-06-23 10:01:15 +01:00 |
|
jesopo
|
7861210495
|
v1.10.0-rc2
|
2019-06-23 09:45:47 +01:00 |
|
jesopo
|
7d49826b1a
|
v1.10.0-rc1
|
2019-06-22 22:41:17 +01:00 |
|
jesopo
|
aa4a15a6dc
|
Add IRCBot.URL (https://bitbot.dev)
|
2019-06-18 17:33:54 +01:00 |
|
jesopo
|
5c325d9b23
|
'break' instead of 'continue' so that things in the event queue get discarded
|
2019-06-17 16:19:20 +01:00 |
|
jesopo
|
9121a868a8
|
Make sure we exit event loop when there's no servers left
|
2019-06-17 14:07:06 +01:00 |
|
jesopo
|
dbe0b1f43b
|
Tell servers objects when they are the result of a reconnection
|
2019-06-17 13:53:17 +01:00 |
|
jesopo
|
ec733e200c
|
Default IRCBot.running to false, set to true at the top of .run()
|
2019-06-17 11:35:45 +01:00 |
|
jesopo
|
da5d48400d
|
Change panic() reason log from ERROR to CRITICAL
|
2019-06-17 11:12:04 +01:00 |
|
jesopo
|
9ea356bc49
|
Raise a BitBotPanic() exception in panic()
|
2019-06-17 11:11:35 +01:00 |
|
jesopo
|
f8fa529ca5
|
Add IRCBot.panic() - a nicer interface for killing the whole application
|
2019-06-17 11:06:03 +01:00 |
|
jesopo
|
b5a467552f
|
CRITICAL log exceptions caught in _loop_catch()
|
2019-06-15 00:39:52 +01:00 |
|
jesopo
|
0e5ba747a9
|
Wrap _read_loop() and _write_loop() in a try that kills the main thread
|
2019-06-13 17:11:46 +01:00 |
|
jesopo
|
512d844a5a
|
Update CHANGELOG, v1.9.2 release
|
2019-06-09 17:34:45 +01:00 |
|
jesopo
|
a31793c851
|
Put responsbility of self.running = False on to the event loop
|
2019-06-09 14:59:28 +01:00 |
|
jesopo
|
55fb9cee3b
|
v1.9.1 release
|
2019-06-08 11:03:18 +01:00 |
|
jesopo
|
37c74da0f8
|
v1.9.0 release
|
2019-06-07 17:13:53 +01:00 |
|
jesopo
|
f822345976
|
Merge branch 'master' into feature/write-thread
|
2019-06-07 15:07:31 +01:00 |
|
jesopo
|
38a41a6404
|
We need to wait for _check to finish so read/writes can be triggered correctly
|
2019-06-07 11:05:55 +01:00 |
|