3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 17:29:21 +01:00
Commit Graph

1356 Commits

Author SHA1 Message Date
James Lu
c176c90bb6 coreplugin: use IrcChannel.getPrefixModes in whois replies 2016-03-19 18:08:19 -07:00
James Lu
f5f0df52ce classes: raise KeyError, not return KeyError... 2016-03-19 18:00:44 -07:00
James Lu
c86a02e044 relay: use IrcChannel.getPrefixModes 2016-03-19 17:54:42 -07:00
James Lu
e948db5c7b classes: support looking at older versions of prefix modes mappings 2016-03-19 17:54:18 -07:00
James Lu
d84cfbcda1 utils: simplify prefix modes handling in applyModes 2016-03-19 17:47:23 -07:00
James Lu
e8b0018585 classes: Implement IrcChannel.is(Voice|Halfop|Op)Plus (#168) 2016-03-19 17:37:38 -07:00
James Lu
ed333a6d1b classes: implement IrcChannel.isOp, isVoice, getPrefixmodes, etc
Ref #168.
2016-03-19 17:32:32 -07:00
James Lu
8135f3a735 core: Depluralize prefixmodes mappings (#168)
This is an API breaking change. I really don't know why I made these keys plural to start, since it only made things more complicated. Prefix modes are not pluralized in the list of supported modes of each IRCd.
2016-03-19 17:25:04 -07:00
James Lu
1d4350c4fd classes: provide IrcChannel objects with their own name using KeyedDefaultdict
Closes #171.
2016-03-19 17:01:39 -07:00
James Lu
544d6e1041 utils: add KeyedDefaultdict
This is a subclass of defaultdict allowing the key to be passed to the default factory.
2016-03-19 17:01:16 -07:00
James Lu
5b2c9c593b Add .mailmap
gl@millennium:~/pylink$ git shortlog -sne
   895  James Lu <GLolol@overdrivenetworks.com>
gl@millennium:~/pylink$

#foreveralone
2016-03-17 15:08:41 -07:00
James Lu
abce18a5ba log: split multi-line channel logs into multiple PRIVMSGs
Closes #175.
2016-03-16 15:38:07 -07:00
James Lu
a8303d0110 commands: sort channel list in 'showuser' output 2016-03-14 14:35:09 -07:00
James Lu
0dd8b80a21 docs/t: use rawgit links to serve HTML 2016-03-11 23:20:08 -08:00
James Lu
506ae011a4 Update autogenerated docs (adding a script to do this now) 2016-03-11 23:14:16 -08:00
James Lu
d8e5202e5b world: use a better module description 2016-03-11 23:14:16 -08:00
James Lu
2adb67d38e runtests: remove .py extension, only run tests when ran as a script 2016-03-11 23:14:16 -08:00
James Lu
da7bd649d2 conf: fix testconf missing the logging: section 2016-03-11 23:14:16 -08:00
James Lu
557efc369f docs/t: mark hooks-reference as finished in README 2016-03-11 22:41:28 -08:00
James Lu
9d0fcb5395 docs: finish off hooks-reference (#113) 2016-03-11 22:40:48 -08:00
James Lu
15b35f1853 ts6: support charybdis +T mode (closes #173) 2016-03-07 21:38:57 -08:00
James Lu
359bfcd9da bots: map 'msg' command to 'say' too 2016-03-07 21:37:08 -08:00
James Lu
b6889fb097 irc: fix spacing in certificate fingerprint logging 2016-03-07 20:30:24 -08:00
James Lu
7f5bc52152 relay: fix errors in KILL handling when target isn't in any relay channels 2016-03-07 18:10:59 -08:00
James Lu
3527960d18 coreplugin: tell plugins to exit cleanly before closing connections
Relay tends to hang on shutdown unless it's specifically told to exit/unload first. This is probably a better solution, as it works with other plugins too.
2016-03-05 10:22:00 -08:00
James Lu
9b0db81068 changehost: modularize, add a command to apply cloaks now, match IPs too
Closes #167.
2016-03-05 10:11:47 -08:00
James Lu
14388d932f utils.getHostmask: add option to return IP address 2016-03-05 09:52:00 -08:00
James Lu
5fed4629a6 networks: remove networks with autoconnect off in 'disconnect'
Closes #162.
2016-03-05 09:42:51 -08:00
James Lu
8ac5436152 relay: allow admins to destroy channels hosted on other networks
Closes #160.
2016-03-05 09:31:59 -08:00
James Lu
4df027cac4 coreplugin: ignore services' attempts to send accountname before user introduction
This happens in the case of SASL on InspIRCd+atheme, for example.
2016-03-04 12:23:07 -08:00
James Lu
1ce2725f1e bots: update help for 'msg' command (reflect changes made for #161) 2016-02-27 19:07:03 -08:00
James Lu
54dc51aed4 bots: make source client names optional (Closes #161) 2016-02-27 19:05:06 -08:00
James Lu
34ca973047 relay: cleanup, consistently include the function in log.debug calls 2016-02-27 18:37:40 -08:00
James Lu
a740163cbe relay: implement DB exporting using threading.Timer, similar to classes.Irc.schedulePing
Fixes #165 (exportDB threads not dying on unload)
2016-02-27 18:13:26 -08:00
James Lu
d531201850 Merge branch 'master' into devel 2016-02-27 17:47:55 -08:00
James Lu
a7a98c9a52 inspircd: format kill reasons like "Killed (sourcenick (reason))"
InspIRCd will show the raw kill message sent from servers as the quit message.
So, make kills look actually like a kill instead of someone quitting with an arbitrary message.
2016-02-26 07:16:39 -08:00
James Lu
393466498e opercmds: fix wrong help message for KILL 2016-02-26 07:16:39 -08:00
James Lu
ae8f369f2e relay: only show networks that are actually connected in LINKED
Closes #163.
2016-02-21 20:04:53 -08:00
James Lu
de1a9a7995 relay: various cleanup 2016-02-20 19:29:52 -08:00
James Lu
eec8e0dca4 log: attempt to remedy #164 (more testing needed) 2016-02-20 19:28:45 -08:00
James Lu
40d76c8bb6 coreplugin: demote successful oper-up messages to debug 2016-02-20 18:45:11 -08:00
James Lu
df23b79780 commands: reformat 'showuser' output, and show services login info (#25) 2016-02-20 18:24:29 -08:00
James Lu
decdf141fd unreal: don't use updateClient to update hostname of clients internally 2016-02-20 18:19:15 -08:00
James Lu
2ebdb4bad6 unreal: support services account tracking (#25), fix handle_SVSMODE applying modes on the wrong target 2016-02-20 18:16:21 -08:00
James Lu
cabdb11f86 inspircd: implement services account tracking (#25) 2016-02-20 17:54:46 -08:00
James Lu
d1468e932e readme: mention freenode relay channel 2016-02-20 12:38:20 -08:00
James Lu
0fff91edfd ts6: implement services account tracking (#25)
This adds a new protocol hook: [user_logging_in, 'CLIENT_SERVICES_LOGIN', {'text': account_name}], sent whenever someone logs in to services. Actual state tracking is done in coreplugin.py
2016-02-07 18:38:22 -08:00
James Lu
cf15bed58d classes: add services_account field in IrcUser (#25), default 'identified' attribute to empty string instead of None 2016-02-07 18:11:09 -08:00
James Lu
584f952113 conf: check to make sure logging block exists in config 2016-02-07 18:01:12 -08:00
James Lu
5877031203 Merge branch 'master' into devel 2016-01-30 23:39:08 -08:00