James Lu
1ce6102ae8
relay: allow toggling netsplit hiding
2016-06-25 13:47:59 -07:00
James Lu
1a6bb714ac
relay: drop spawn_servers toggle, remove "Relay network lost connection" quits
...
Relay server spawning is now always on - there's no real reason why it shouldn't work.
Closes #237 .
2016-06-25 13:27:24 -07:00
James Lu
2b0dd0f746
ctcp: allow PING with multiple arguments
2016-06-25 12:18:50 -07:00
James Lu
3461216d20
ctcp: add PING, easter egg
2016-06-25 12:11:04 -07:00
James Lu
f009a739bc
Merge remote-tracking branch 'origin/master' into devel
2016-06-25 11:36:55 -07:00
James Lu
f445f7baef
relay: be more tolerant to users sending messages to channels they're not in
...
This extends the routing of messages from servers across the relay via the main PyLink client to users too.
This allows atheme's GameServ, various commit announcers, etc. to work over relay regardless of whether +n is set.
2016-06-25 11:31:04 -07:00
James Lu
e966fe7e56
relay: typo in comment
2016-06-25 10:43:07 -07:00
James Lu
504a9be7d6
relay: attempt to eliminate freezing when networks are down
2016-06-24 18:41:13 -07:00
James Lu
90ee20ee8b
relay: revert changes to mode handling that only bursts modes from the owning network on connect
2016-06-22 21:41:04 -07:00
James Lu
6fc5fa3130
relay: split relayModes() into getSupportedCmodes() for better reusability
...
First part of #248 .
2016-06-22 19:49:49 -07:00
James Lu
8969cfb74e
Merge branch 'master' into devel
...
Conflicts:
plugins/networks.py
2016-06-22 19:10:59 -07:00
James Lu
1ad8b2e539
networks: reintroduce networks properly in 'connect'
...
Closes #245 .
2016-06-22 10:39:22 -07:00
James Lu
cfa2cda885
relay: only reverse modes for CLAIM if there are any to reverse
2016-06-21 20:29:48 -07:00
James Lu
481d70eff8
New import paths for properly installed pylinkirc
2016-06-20 18:18:54 -07:00
James Lu
0b9691c3c6
Merge branch 'master' into devel
2016-06-20 16:38:33 -07:00
James Lu
87cbbc9c57
relay: clearer error message when DESTROY'ing a channel you didn't create
2016-06-19 12:32:27 -07:00
James Lu
d3e207d653
relay: axe unused variable
2016-06-19 12:32:12 -07:00
James Lu
bcc754cf0b
relay: allow forcing slashes on unsupported IRCds
...
This adds an undocumented option "relay_force_slashes" to allow slashes in nicks anyways, for IRCds that are, for example, TS6 or P10 variations that don't validate remote nicks.
2016-06-19 12:32:03 -07:00
James Lu
e47738c27f
relay: forbid linking two channels on the same network
2016-06-19 12:14:09 -07:00
James Lu
9732d01a9e
relay: default DB to {} so it doesn't flip out on 'load relay'
...
(cherry picked from commit db56513ac7
)
2016-06-17 07:19:13 -07:00
James Lu
db56513ac7
relay: default DB to {} so it doesn't flip out on 'load relay'
2016-06-16 21:55:50 -07:00
James Lu
11bbbfba19
Ctcp plugin: handles basic VERSION requests
...
Closes #236 .
2016-06-15 11:31:40 -07:00
James Lu
9952f08c8f
opercmds: switch to irc.parseModes()
2016-06-08 16:40:00 -07:00
James Lu
e1d3003683
relay: less accusatory message for links blocked by LINKACL
2016-06-08 16:00:25 -07:00
James Lu
ed19c2b24a
relay: block topic changes from the main SID, not the PyLink client
2016-05-22 19:12:11 -07:00
James Lu
a0d20df899
docs: tweak writing-plugins & TOC, move plugin_example to plugins
...
Closes #226 .
2016-05-22 10:59:57 -07:00
James Lu
ed34c43b6c
games: remove explicit random.seed()
...
AFAIK, random already defaults the seed to the system time, and random.seed() without any arguments thus sets it to something that is already set.
2016-05-22 10:28:56 -07:00
James Lu
8c55eb43e7
relay/commands: reformat showuser output slightly
2016-05-21 23:05:39 -07:00
James Lu
03790b5939
relay: implement LINKED <netname> to filter by network
...
Closes #227 .
2016-05-21 22:55:06 -07:00
James Lu
e498a0cace
games: implement fml ( #122 )
2016-05-20 21:33:50 -07:00
James Lu
9cae7682a8
games: implement eightball ( #122 )
2016-05-20 21:13:39 -07:00
James Lu
357eabe27a
relay: optionally relay home server & login details in /WHOIS
...
Closes #221 . Closes #222 .
2016-05-19 23:32:43 -07:00
James Lu
4e8de60005
core: Rewrite WHOIS handlers to simply listen to a custom hook (PYLINK_CUSTOM_WHOIS)
2016-05-19 23:32:43 -07:00
James Lu
a2a009cac4
games: mark servicebot as manipulatable for now
2016-05-15 11:58:45 -07:00
James Lu
e4d42bf551
fantasy: fixes to respondtonick, allow configuring custom per-bot prefixes
2016-05-15 11:45:32 -07:00
James Lu
96cefb5be0
fantasy: rework to support service bots ( #216 )
2016-05-15 11:27:51 -07:00
James Lu
ae87def11f
Purge c_ and u_ prefixes from named modes
...
Closes #217 .
2016-05-15 11:05:02 -07:00
James Lu
75798b5fba
relay: don't relay kicks to service bots
2016-05-14 16:24:26 -07:00
James Lu
5d4765b30d
games: call help() with the right arguments
2016-05-14 16:19:29 -07:00
James Lu
28f992d3cb
relay: don't spawn clones for service bots
2016-05-14 16:17:20 -07:00
James Lu
523ef714a0
games: rewrite everything using the new ServiceBot API
2016-05-14 14:53:19 -07:00
James Lu
522b7b8b33
Move DataStore to structures (untested)
2016-05-14 14:53:19 -07:00
Daniel Oaks
c5242d1590
games: Fix help prefix stripper
2016-05-14 14:53:19 -07:00
Daniel Oaks
f1b0981f87
games: Write .help handler
2016-05-14 14:53:19 -07:00
Daniel Oaks
c2e3ce5bdf
games: request/remove commands
2016-05-14 14:53:19 -07:00
Daniel Oaks
45651858e4
games: Use db adapted from DataStore I wrote for mammon. May not seem too useful right now, but I have plans(tm)(c)
2016-05-14 14:53:19 -07:00
Daniel Oaks
cbb2eb318f
games: Only handle self messages if enabled
2016-05-14 14:53:19 -07:00
Daniel Oaks
c3e4cfa2de
games: Create BotClient class, use bot_clients instead of games_user
2016-05-14 14:53:19 -07:00
Daniel Oaks
f6854ab673
games: Add example dice command from my bot
2016-05-14 14:53:19 -07:00
Daniel Oaks
ed15af72ec
games: Simplify/betterise handlers, create example dice handler
2016-05-14 14:53:19 -07:00