jesopo
|
747ba5c646
|
add IRCLine.parse_human() to allow for "!raw /msg jesopo hello"
|
2019-11-27 17:38:17 +00:00 |
|
jesopo
|
8f4b5a0e70
|
move IRCLine related code from utils.irc to IRCLine.py
|
2019-10-27 10:19:00 +00:00 |
|
jesopo
|
869e91fc2a
|
'existing_server' -> 'server'
|
2019-10-25 13:39:00 +01:00 |
|
jesopo
|
a5eca53f0a
|
we need both id and server for !disconnect
|
2019-10-10 18:02:55 +01:00 |
|
jesopo
|
97c439a9d7
|
!editserver only need an alias to exist, not to be currently connected
|
2019-10-09 20:56:38 +01:00 |
|
jesopo
|
ec628f4f70
|
alias doesnt exist either
|
2019-10-03 05:19:16 +01:00 |
|
jesopo
|
54e4cd4e74
|
dont try to !connect to a variable that doesnt exist
|
2019-10-03 05:15:30 +01:00 |
|
jesopo
|
54d874ddee
|
take an option server alias arg for !reconnect
closes #166
|
2019-09-27 12:35:28 +01:00 |
|
jesopo
|
efeffb62a9
|
!changenickname -> !nickname
|
2019-09-27 12:26:14 +01:00 |
|
jesopo
|
25ec351d4d
|
show alias of disconnected server when it's a cancelled timer
|
2019-09-25 12:33:12 +01:00 |
|
jesopo
|
334d580c57
|
'seperate_hostmask()' -> 'parse_hostmask()'
|
2019-09-16 18:43:57 +01:00 |
|
jesopo
|
ea97dbb16d
|
Show the line that was actually send from !raw, after format and filter
|
2019-09-07 12:50:50 +01:00 |
|
jesopo
|
0a74a93672
|
'reconnections' dict is on IRCBot, not IRCServer
|
2019-09-07 12:22:54 +01:00 |
|
jesopo
|
14125a6048
|
also cancel reconnections with !disconnect
|
2019-09-01 08:41:22 +01:00 |
|
jesopo
|
8a2e364ffd
|
also support 'realname' in !editserver
|
2019-08-30 11:53:57 +01:00 |
|
jesopo
|
43c8ad0ff6
|
Add !editserver command
|
2019-07-04 13:15:51 +01:00 |
|
jesopo
|
8dbae6a5e9
|
Give SentLine (and preproc.send events) a new event object, to track events
related to a line after it is sent
|
2019-06-04 17:51:20 +01:00 |
|
jesopo
|
17ee70cdd6
|
'alias' -> 'str(server)' as alias does not exist in the current context
|
2019-05-30 16:17:39 +01:00 |
|
jesopo
|
268c5adb3c
|
Add depends-on hashflags to relevant modules
|
2019-05-25 21:40:06 +01:00 |
|
jesopo
|
6ba3588294
|
stdout.write on success for !disconnect
|
2019-05-22 08:50:05 +01:00 |
|
jesopo
|
3e1a478f77
|
Remove old debug print()s from admin.py
|
2019-05-22 08:49:00 +01:00 |
|
jesopo
|
5ba3c5d460
|
Typo, 'usernaame' -> 'username'
|
2019-05-21 10:45:15 +01:00 |
|
jesopo
|
9124f84e25
|
Strip "+" from the start of port after checking if it is present
|
2019-05-21 10:42:40 +01:00 |
|
jesopo
|
1daa4217ec
|
Add !addserver command
|
2019-05-21 10:16:20 +01:00 |
|
jesopo
|
dc102f258d
|
Add Database.servers.get_by_alias, move IRCBot.get_server to
IRCBot.get_server_by_id, add IRCBot.get_server_by_alias and change
!connect/!disconnect to take aliases instead of IDs
|
2019-04-24 12:07:30 +01:00 |
|
jesopo
|
ee8c7813f7
|
Add IRCServer.send_raw so modules don't have to parse messages before sending
them
|
2019-04-16 13:47:45 +01:00 |
|
jesopo
|
f4a403836b
|
!raw needs to parse the line it's given in to an IRCParsedLine now
|
2019-02-23 16:11:41 +00:00 |
|
jesopo
|
18bb7ec4af
|
Actually return function hook from _shutdown_hook (admin.py)
|
2019-02-11 10:09:39 +00:00 |
|
jesopo
|
e644888e3e
|
Actually shutdown socket when !shutdown is called (admin.py)
|
2019-02-11 10:00:55 +00:00 |
|
jesopo
|
d087143a5d
|
Iterate through bot.servers.values(), not .keys() (admin.py)
|
2019-02-10 23:54:31 +00:00 |
|
jesopo
|
fadd21c6d9
|
Add !shutdown (admin.py)
|
2019-02-10 23:53:33 +00:00 |
|
jesopo
|
709365ecf8
|
Utilise new line-tracking logic to reconnect when QUIT sends (admin.py)
|
2019-02-10 14:26:24 +00:00 |
|
jesopo
|
45c7ce6da5
|
Add !disconnect to admin.py
|
2018-11-20 14:27:24 +00:00 |
|
jesopo
|
f0f2701386
|
Do an instant reconnect for !reconnect in modules/admin.py
|
2018-11-05 20:03:45 +00:00 |
|
jesopo
|
773d11f6cb
|
Change all instances of stdout.write+return to raise utils.EventError in
modules
|
2018-10-16 15:09:58 +01:00 |
|
jesopo
|
89951aace5
|
Add !connect in modules/admin.py
|
2018-10-03 15:59:36 +01:00 |
|
jesopo
|
69d58eede2
|
Move src/Utils.py in to src/utils/, splitting functionality out in to modules of
related functionality
|
2018-10-03 13:22:37 +01:00 |
|
jesopo
|
10ef985a8a
|
Switch to using docstring for usage, permission and require_mode
|
2018-09-30 17:29:09 +01:00 |
|
jesopo
|
51a52e2b0e
|
Switch to using @Utils.hook and docstrings for event hooks
|
2018-09-26 18:27:17 +01:00 |
|
jesopo
|
b64e0078d3
|
Add !reconnect in admin.py
|
2018-09-03 18:21:13 +01:00 |
|
jesopo
|
8c6ab17e57
|
give an Exports object (actually, ExportsContex object) to each module, to
facilitate things like !set and !channelset without using the events system
|
2018-09-02 19:54:45 +01:00 |
|
jesopo
|
9874f79b49
|
Give modules event objects with "context"s, to facilitate purging all the event
hooks for a module
|
2018-08-31 12:55:52 +01:00 |
|
jesopo
|
d3a1c2db52
|
added a part command to admin.py.
|
2016-06-24 09:17:27 +01:00 |
|
jesopo
|
d042f0dc4a
|
added admin.py, for admin-type things.
|
2016-05-17 16:14:23 +01:00 |
|