3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-28 13:39:27 +01:00
Commit Graph

207 Commits

Author SHA1 Message Date
James Lu
663d03ed2c relay/clientbot: begin work on outgoing PMs to clientbot users (#318)
This still needs to implement PMs going the other way around, and should eventually distinguish between PMs and private notices.
2016-08-31 14:08:28 -07:00
James Lu
a546bae341 Irc: make throttle time configurable per server (defaults to 0.01s) 2016-08-21 17:25:09 -07:00
James Lu
affe54b47f log: configurable file rotation (size & backup count) 2016-08-17 22:01:00 -07:00
James Lu
84eee41734 example-conf: rewrap clientbot sample, add autoconnect entry 2016-08-10 13:24:57 -07:00
James Lu
d1dccf8dcc example-conf: update examples for name resolving
This is tested now. It works fine.
2016-08-10 11:28:35 -07:00
James Lu
e8fd97d3ba example-conf: mention relay_clientbot 2016-08-07 22:08:44 -07:00
James Lu
1ffbd0eea8 example-conf: fix typo 2016-08-02 22:27:14 -07:00
James Lu
02b5f0b7e6 changehost: explicitly forbid $host from being expanded
This will cause recursion whenever applyhost is ran and a user matches a mask based on real host or IP, which haven't changed. Any suffix or prefix applied to $host will be reapplied, often leading to invalid hosts that are too long.
2016-08-02 22:17:23 -07:00
James Lu
592ae4053e Merge branch 'master' into devel 2016-08-02 21:11:00 -07:00
James Lu
d855c6b2ea example-conf: support passwordless UnrealIRCd links by setting recv/sendpass to *
(cherry picked from commit a018dd19b5)
2016-08-02 21:10:55 -07:00
James Lu
a37eb57d6c example-conf: update default SID 2016-08-02 21:10:10 -07:00
James Lu
524c55e6f1 example-conf: less confusing channels: description 2016-08-02 21:08:18 -07:00
James Lu
f457018f89 unreal: remove mixed_link option; this is now implied
pylink<->unreal4<->unreal3.2 links are stable enough.
2016-07-29 00:37:31 -07:00
James Lu
a018dd19b5 example-conf: support passwordless UnrealIRCd links by setting recv/sendpass to * 2016-07-29 00:32:02 -07:00
James Lu
f92cb55eb1 example-conf: add sample Clientbot config 2016-07-28 22:49:25 -07:00
James Lu
13c0e50358 Irc: make certfile/keyfile optional
This was never required for S2S links to work... Why did I think that?
2016-07-28 22:49:05 -07:00
James Lu
fa1ce45bf3 relay: add configurable list of nick globs to always tag
Closes #276.
2016-07-26 16:01:42 -07:00
James Lu
cf804ca84e example-conf: mention automode 2016-07-23 22:15:54 -07:00
James Lu
d45aa6ae87 example-conf: mark relay:tag_nicks as experimental 2016-07-11 23:38:00 -07:00
James Lu
5bfba0a411 relay: make default nick tagging and separator global options (#116) 2016-07-11 21:43:43 -07:00
James Lu
2c656341e2 handlers: Optionally disable extended WHOIS replies for users marked as a bot
Closes #271. This adds a new option, "whois_show_extensions_to_bots", to the bot: section of the config.
2016-07-11 15:01:34 -07:00
James Lu
ba20016a83 example-conf: drop references to use_experimental_whois 2016-07-10 22:39:16 -07:00
James Lu
84452bec2e inspircd: always make PyLink handle WHOIS (closes #267)
This removes the use_experimental_whois option, which is always enabled now.

The rationale behind this is that PyLink cannot accurately track signon and idle times for things like relay users, without forwarding WHOIS requests between servers in a way the hooks system is really not optimized to do. However, no IDLE response means that no WHOIS data is ever sent back to the calling user, so this workaround is probably the best solution, aside from faking values.
2016-07-10 22:08:56 -07:00
James Lu
00766041f3 plugins: make DB save delay configurable 2016-07-07 22:16:21 -07:00
James Lu
d365f04199 Automode plugin stub (#204)
This supports adding/removing/listing entries and saving them to a DB, but no modes are set yet.
2016-07-07 21:06:28 -07:00
James Lu
c58c4d4a9c example-conf: capitalize our nick by default 2016-07-02 22:18:10 -07:00
James Lu
408ce701b1 service_support: support optionally setting servprotect on service bots
Closes #243.
2016-07-01 21:25:58 -07:00
James Lu
eb7aae9634 example-conf: mention what's NOT valid for a relay separator 2016-07-01 19:27:00 -07:00
James Lu
01d462c97f example-conf: Formatting, remove pingfreq and maxnicklen from examples 2016-06-27 22:49:03 -07:00
James Lu
0460df0e51 example-conf: correct wrong default pingfreq 2016-06-27 22:46:53 -07:00
James Lu
f458a40e1c inspircd: new use_experimental_whois option, which forces PyLink to handle WHOIS requests locally 2016-06-27 22:28:37 -07:00
James Lu
a0d1f627ec example-conf: update notes on autojoin and log channels 2016-06-25 14:14:19 -07:00
James Lu
1ce6102ae8 relay: allow toggling netsplit hiding 2016-06-25 13:47:59 -07:00
James Lu
a3b9c55de6 example-conf: missing "on" in description 2016-06-25 13:47:48 -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
cb633cfba5 Default config file location is now pylink.yml 2016-06-21 10:59:03 -07:00
James Lu
11bbbfba19 Ctcp plugin: handles basic VERSION requests
Closes #236.
2016-06-15 11:31:40 -07:00
James Lu
b1a5f864d8 Irc: resolve hostnames when connecting
Cloeses #158.
2016-06-11 11:29:11 -07:00
James Lu
bbcddceaf9 core: configurable nicks for services (per-net and global)
Closes #220.
Closes #229.
2016-06-11 10:44:14 -07:00
James Lu
cd4bf55629 example-conf: fix wrong key for ident setting 2016-06-11 10:36:01 -07:00
James Lu
88f55fe493 example-conf: mention short name config in servers 2016-06-04 20:31:25 -07:00
James Lu
0edb516ac1 example-conf: fix syntax error
Thanks to kevin and fedxguy for finding this.
2016-06-04 20:17:00 -07:00
James Lu
61cd215e29 clarify that example link blocks are examples 2016-06-04 18:39:18 -07:00
James Lu
4cfc262bfb coreplugin: optionally respect umode +H (hideoper) (#214) 2016-05-20 20:48:41 -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
e4d42bf551 fantasy: fixes to respondtonick, allow configuring custom per-bot prefixes 2016-05-15 11:45:32 -07:00
James Lu
42718ed323 relay: Allow IP sharing to be toggled per network
Via a new "relay_no_ips" option in server blocks. Closes #201.
2016-04-18 12:29:15 -07:00
James Lu
eb33b4e9f2 example-conf: add nefarious example block
There are a lot of options with this protocol, so this is essential.
2016-04-17 22:48:45 -07:00
James Lu
99d861861d Let's use a default pingfreq value that makes sense...
Change this from 30 seconds to 180. Even for semi-important servers, 30 seconds between PING requests is a bit overkill.
2016-04-07 18:45:42 -07:00
James Lu
0136ff2c3a example conf: mention using spaces to indent 2016-04-02 22:26:20 -07:00
James Lu
efd13d20ee example-conf: add sample unreal block, documenting mixed_link 2016-04-02 10:13:45 -07:00
James Lu
21167e8fb3 example conf: use 1 "#" without trailing space for commented-out options
This distinguishes them better from their corresponding descriptions.
2016-01-30 23:37:01 -08:00
James Lu
0d4655c381 core: support multiple channel loggers with DIFFERENT log levels & fix example conf (#83) 2016-01-30 23:35:51 -08:00
James Lu
669e889e6f Support configurable SSL fingerprint hash types (Closes #157) 2016-01-30 23:04:13 -08:00
James Lu
08fd50d3d8 Logging improvements, including support for custom file targets (#83)
Also, the config option for setting STDOUT log level is moved from bot:loglevel to logging:stdout.
2016-01-24 18:31:16 -08:00
James Lu
14efb27fe8 Initial experimental support for logging to channels (#83)
Doesn't support rehashing and all that yet.
2016-01-23 13:52:37 -08:00
James Lu
ba7b6af89b Rename config.yml.example -> example-conf.yml
Easier syntax highlighting with editors this way, since the file extension is now something they recognize. Also, update README and .gitignore accordingly.
2016-01-03 20:02:23 -08:00