3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-05 01:19:32 +01:00
Commit Graph

3374 Commits

Author SHA1 Message Date
James Lu
d8768bcb73 Revise docs/automode.md
- The default bot name has been "Automode" instead of "ModeBot" for a while now; reflect that change here
- General edits for flow

[skip ci]
2017-10-04 23:28:27 -07:00
James Lu
d09c1be688 README: update IRC link 2017-10-01 00:39:28 -07:00
James Lu
3022274f6b Merge branch 'master' into devel
Conflicts:
	README.md
	VERSION
2017-09-24 12:26:06 -07:00
James Lu
d2a3bb8d28 actually no, forget having 3 tiers of support for IRCds
[skip ci]
2017-09-24 12:23:25 -07:00
James Lu
3da61f0f2a Revert "Demote ratbox to tier 3 [skip ci]"
This reverts commit d0fbfcd2d8.
2017-09-24 12:22:37 -07:00
James Lu
67d5766cde README: remove expiringdict install note
1.1.4 has since been released, fixing installation via pip
[skip ci]
2017-09-24 10:31:07 -07:00
James Lu
d0fbfcd2d8 Demote ratbox to tier 3 [skip ci]
I don't know of any network actually using PyLink with this IRCd.
2017-09-24 00:04:36 -07:00
James Lu
91e7d4f47a README: bump juno version [skip ci] 2017-09-23 23:53:17 -07:00
James Lu
4d6f80f58e README: update IRCd notes [skip ci]
- Add notes for beware-ircd
- Update notes for InspIRCd
2017-09-23 23:50:25 -07:00
James Lu
e25f6fd470 ircs2s_common: expand PUIDs in squit()
This fixes SQUIT not working correctly on ngIRCd.
2017-09-23 23:15:29 -07:00
James Lu
f74b34e99b ts6: fix wrong prefix char for +a on ChatIRCd
This fixes users with +a disappearing when bursted to ChatIRCd.
2017-09-23 22:43:27 -07:00
James Lu
8443de4701 servermaps: display hopcount in 'map' for local servers 2017-09-23 22:36:49 -07:00
James Lu
ad32ce20da protocols: send outgoing hop counts for servers and users
Closes #527.
2017-09-23 22:36:31 -07:00
James Lu
663bfe462c classes: track hopcount in Server 2017-09-23 22:35:55 -07:00
James Lu
76a0eb78e3 clientbot: fix possible TypeError in squit() 2017-09-23 21:54:42 -07:00
James Lu
a2a32ed32f clientbot: wrap outgoing modes to prevent cutoff 2017-09-23 21:54:02 -07:00
James Lu
6e89dbed24 clientbot: implement ban list enumeration on JOIN
Closes #530.
2017-09-23 21:26:13 -07:00
James Lu
b52082ed05 relay: various cleanup
- Raise desync-related state checks to warning
- Rename get_remote_sid to get_relay_server_sid - it's less ambiguous
- Clarify and add some missing function docstrings
2017-09-23 20:43:21 -07:00
James Lu
6cbb6617ef relay: don't forward simple bans as text to clientbot links if modesync is on
Closes #528.
2017-09-23 14:39:26 -07:00
James Lu
a60e6e7f22 relay: add missing comment to last commit 2017-09-23 14:09:28 -07:00
James Lu
b667bed1e6 relay: only allow one thread to run initialize_channel at a time
Closes #529.
2017-09-23 13:58:15 -07:00
James Lu
113bfcba9d PyLinkNetworkCore: copy world.hooks before iterating
This fixes a race condition where the order of PRIVMSG handlers could be changed as 'load <plugin>' runs, causing the load command to be processed multiple times.
2017-09-23 13:39:43 -07:00
James Lu
2535aa145f corecommands: fix unloading plugins that define hooks
This fixes a regression from 5e92aefcd4.
2017-09-23 13:39:13 -07:00
James Lu
42d62fe28a p10: pass IPv6 IPs on to supported servers
Closes #254.
2017-09-23 13:20:58 -07:00
James Lu
ae02a9ba4f README: reword branch notes to be more neutral
[ci skip]
2017-09-20 20:54:18 -07:00
James Lu
746c6783da PyLink 1.2.1 2017-09-19 21:15:48 -07:00
James Lu
0e45fbdf55 Revert "faq: add a note regarding #497 (bans and modes blocking clientbot from relaying)"
This reverts commit 7ae22dc848.
2017-09-19 21:15:48 -07:00
James Lu
594e8ad771 p10: fix wrong hook name for user introduction
(cherry picked from commit 6dec4bd96f)
2017-09-19 21:06:14 -07:00
James Lu
6dec4bd96f p10: fix wrong hook name for user introduction 2017-09-17 13:59:42 -07:00
James Lu
0c50091d11 Merge branch 'master' into devel 2017-09-08 19:12:17 -07:00
James Lu
49136d5abd core: raise better errors on common logging block syntax mistakes
These are commonly reported and include:
- Commenting out the contents of logging:channels without commenting out the "channels:" heading, causing that block to become None.
- Commenting out headers like "filerotation:", causing its body to become pairs in logging:files or something similar.
- Leaving logging:channels:<netname> empty: this causes it to become None, so using get() on it fails.
2017-09-08 19:07:03 -07:00
James Lu
499fe319aa permissions-api: fix markdown syntax [skip ci] 2017-09-08 19:02:51 -07:00
James Lu
4cf7b36b7b permissions-api: clarify how globs are processed
[skip ci]
2017-09-08 19:02:03 -07:00
James Lu
b9a4010acc Merge branch 'master' into devel
Conflicts:
	plugins/relay.py
2017-09-05 21:22:16 -07:00
James Lu
93704d85bf unreal: fix TypeError when a set is given for modes in mode() 2017-09-05 21:21:16 -07:00
James Lu
ae06484aea exttargets: tweak docstring syntax for better readability 2017-09-05 19:19:44 -07:00
James Lu
d3892a85be Add $service exttarget for matching service bots 2017-09-05 19:19:01 -07:00
James Lu
149fdde92f README: drop Debian repo instructions
There seems to be little user interest in these builds, and they take too much maintenance effort (3 different dists) to be worthwhile.
2017-09-05 19:11:37 -07:00
James Lu
f3e82cc15b Concisify match_host CIDR logging again
We're replacing the glob, not the target's host.

(cherry picked from commit 7aa836efa6)
2017-09-05 19:03:18 -07:00
James Lu
d1f8358159 Fix wrong logging for CIDR ranges in match_host
(cherry picked from commit 761d3ef500)
2017-09-05 19:03:18 -07:00
James Lu
90884924a8 relay: remove a useless logging line
(cherry picked from commit 3b091f9e20)
2017-09-05 19:03:17 -07:00
James Lu
f27b179211 Merge branch 'master' into devel
Conflicts:
	plugins/automode.py
	protocols/clientbot.py
2017-09-05 18:57:24 -07:00
James Lu
7188081511 networks: throw a proper error in 'remote' if the remote network isn't connected 2017-09-05 18:55:19 -07:00
James Lu
8420587318 clientbot: warn when an outgoing message is blocked
Closes #497.

(backported from commit 5112fcd7d1)
2017-09-05 18:53:33 -07:00
James Lu
f4c51cde00 automode: don't send empty mode lines if no users match the ACL 2017-09-05 18:36:37 -07:00
James Lu
0a72519155 exttargets.md: bump "as of" PyLink version
[skip ci]
2017-09-05 06:30:23 -07:00
James Lu
5112fcd7d1 clientbot: warn when an outgoing message is blocked
Closes #497.
2017-09-02 21:46:35 -07:00
James Lu
0136ac9e41 relay: fix potential irc.channels KeyErrors in get_prefix_modes and handle_join 2017-09-02 21:35:21 -07:00
James Lu
afd4558531 relay: bind handle_messages at a higher priority than fantasy
This fixes #123, where responses for fantasy commands are relayed before the original message if the Fantasy plugin is loaded before Relay.
2017-09-02 21:17:54 -07:00
James Lu
5e92aefcd4 Implement priorities in utils.add_hook()
This changes world.hooks to store lists of tuples indicating (priority, hook_func).
2017-09-02 21:17:50 -07:00