James Lu
0202d88124
PyLink 1.3-beta1
1.3-beta1
2018-04-07 16:40:24 -07:00
James Lu
66ec3d9755
example-conf: tweak some more defaults for clarity
2018-04-07 15:44:44 -07:00
James Lu
170d793939
example-conf: clarify nick/ident setting on clientbot
2018-04-07 15:37:42 -07:00
Austin Ellis
3266e1a430
plugins/automode: fix SETACC example ( #507 )
...
Small fix to plugins/automode SETACC example given in help output.
(cherry picked from commit fa0dd100e57a5ceb7eba0cf0daea3e1f65eb6398)
2018-04-07 15:16:10 -07:00
James Lu
c33f7437ef
Rename servers::<netname>::server_suffix -> servers::<netname>::relay_server_suffix
...
(cherry picked from commit f75b1eb3566c02800919d861dc2e9f136e87b324)
Conflicts:
example-conf.yml
plugins/relay.py
2018-04-04 12:44:14 -07:00
James Lu
5339ddcf08
example-conf: reword description for servers::<netname>::relay_forcetag_nicks
...
(cherry picked from commit ba4e0aed851d6ee0c3dba56584d9b67e7447b978)
2018-04-04 12:40:28 -07:00
James Lu
95f806dc46
relay: allow defining server-specific nicks to always tags
...
Closes #564 .
(cherry picked from commit 60c05af9ed30c0f4407cc8b2d72bdc2cc808a507)
Conflicts:
example-conf.yml
2018-04-04 12:40:01 -07:00
Mitchell Cooper
3e16469b25
allow realname to be specified the same way
...
(cherry picked from commit a1dfa14d201a350dec38a0aa98cf86694cdcd4f0)
Conflicts:
coremods/service_support.py
example-conf.yml
2018-04-04 12:35:48 -07:00
Mitchell Cooper
95dbacdba6
allow host to be specified in service bot block or per-network
...
(cherry picked from commit 33630e8f9dc5152425622d885ff31a6201eef2c0)
2018-04-04 12:32:58 -07:00
Mitchell Cooper
8200d92d23
relay: add server-specific server_suffix ( closes #462 ) ( #484 )
...
(cherry picked from commit c92bb1e33b8787d4b2f34be8e56900d94fe6f497)
Conflicts:
example-conf.yml
2018-04-04 12:30:02 -07:00
James Lu
ac4296b56b
README: the Ubuntu nightlies PPA is no longer supported for trusty / 14.04
...
[skip ci]
2018-03-31 00:00:30 -07:00
James Lu
c0a061eff3
launcher: mention that -c is explicitly kept as a no-op for PyLink <= 1.2.x
2018-03-30 23:44:47 -07:00
James Lu
b14f52b547
unreal: bump protocol version to 4017 (no changes needed)
...
(cherry picked from commit a2783d74c56cdd007070df7ef44ca18cb4a0ddb4)
2018-03-30 23:41:27 -07:00
James Lu
481561f972
control: don't spew "Stopping plugins" notices if none are loaded
...
(cherry picked from commit d818c170726cf343678a0e98b8fac1e527df4a58)
2018-03-30 23:27:38 -07:00
James Lu
b9a66244f0
launcher: daemonize and write PID file only after reading control options (-s/-R/-r)
2018-03-30 23:23:10 -07:00
James Lu
2ddb0ee18f
launcher: add experimental daemonization support
...
Closes #187 .
(cherry picked from commit 0b0da2cfe63819bf012bf875d1399455f8647b94)
2018-03-30 23:07:30 -07:00
James Lu
7d5d5a385e
control: handle SIGUSR1 as well as SIGHUP as rehash
...
This is used by the backported launcher for rehash.
2018-03-30 23:06:58 -07:00
James Lu
b5735702f7
Backport the launcher as of commit 8321485315c9e83c1a45a053ec51ce81cd7977cc to 1.3
...
This adds support for stale PID file checking (#182 ), as well as the --rehash/--stop/--restart options
2018-03-30 23:06:01 -07:00
James Lu
79ff9f23fb
setup: update PyPI classifiers
...
- Declare Python 3.6 support
- Change development status to Production/Stable
(cherry picked from commit dbc9d1690d46d01a56b0333624bcca3956423af1)
2018-03-30 22:44:31 -07:00
James Lu
58e6527719
Irc: don't abort on BlockingIOError, ssl.SSLWantReadError, ssl.SSLWantWriteError
...
This effectively merges in the following 2.0 commits:
- "IRCNetwork: do not break on socket BlockingIOError" 6a90e99de4
- "IRCNetwork: also catch ssl.SSLWantReadError and ssl.SSLWantWriteError" ccc9f8e5c8
- "IRCNetwork: bump SOCKET_REPOLL_WAIT to 1 sec" 92460716d1
This fixes one part of #463 .
2018-03-30 12:24:01 -07:00
James Lu
c54bb557dd
relay: only look up nick once in normalize_nick
...
(cherry picked from commit ec8f74444906347dda3329c929f2c7315a1da507)
Conflicts:
plugins/relay.py
2018-03-30 12:14:48 -07:00
James Lu
78b515144f
Bump VERSION to 1.3-dev
...
[skip ci]
2018-03-30 12:09:01 -07:00
James Lu
a6c1beaad0
SECURITY: normalize account names before checking network / oper filters
2018-03-30 11:55:29 -07:00
James Lu
557f1578bc
_login: tweak error message: opered up => opered
2018-03-30 11:55:29 -07:00
James Lu
79143a1e40
Allow limiting login blocks to opers & certain hosts
...
Closes #502 .
(backported from commit f439267129f88b8bd6f52f6b80483cf1d7853762)
This also fixes the previous commit "Allow specifying login blocks that are local to certain networks" for 1.3.
2018-03-30 11:35:45 -07:00
James Lu
c5970ba26d
Allow specifying login blocks that are local to certain networks
...
(cherry picked from commit 8059f3f7fcd856e245732f2129b5813b31309039)
2018-03-30 11:35:45 -07:00
James Lu
1fbe3c6891
relay: sync whitelisted mode lists with 2.0-alpha3
2018-03-30 11:21:15 -07:00
James Lu
209fa9722c
inspircd: move definitions for cmodes +J and +E to kicknorejoin_insp and repeat_insp
...
These use InspIRCd specific arguments which don't map cleanly to other IRCds. #559
(cherry picked from commit ec3b230eab29083a231b5c5623bbe070dea88e97)
2018-03-30 11:20:41 -07:00
James Lu
597685d77c
relay_clientbot: fix @#channel messages not being treated as channel-specific
...
This is a lighter version of the more comprehensive fix in 2.0[1], which
depends on reworked STATUSMSG handling in relay.
[1]: https://github.com/GLolol/PyLink/commit/57334183
2018-03-30 11:14:56 -07:00
James Lu
a24d4d5b9c
example-conf: sort clientbot ex. options so that cb-specific ones are at the end
...
(backported from commit 0c2927fb1eab5ab318800c6cd91eeff52c66ad0b)
2018-03-30 11:00:53 -07:00
James Lu
59d52920f3
example-conf: revise the example servers: section
...
- Remove "8P#" as a sidrange default - it does not leave adequate room for larger networks
- Move the TS6 example to near the end; it has less demand than Unreal and P10
- Consistently use "must" to describe P10 cloaking options, where any misconfiguration will lead to serious desyncs
- Bumped example autoconnect times from 5 to 10 seconds
- Add the 'netname' option to server blocks that previously didn't include it
- Comment out the 'channels' setting on each server example by default
- Various wording clarifications
(backported from commit 390b7a327a44e05409097050104bdaa19553ecb1)
2018-03-30 11:00:53 -07:00
James Lu
77eb9b4060
example-conf: revise notes for P10, TS6 servers
...
Backport commit 3d61bfd1148c74d030acf505ee2eeb7594b09d42 from 2.0.
2018-03-30 11:00:53 -07:00
James Lu
6d08e0b953
docs: various fixes pointed out by @MrBenC
...
- Clarify the project's goals of being an IRC services *framework*
- Briefly mention in the FAQ that the relay plugin is needed for...well, relay!
[skip ci]
(cherry picked from commit 484822e5d793ebb0d565a4b96cb2005dc630dc72)
2018-03-30 11:00:53 -07:00
Jordy Zomer
7a1dcbd460
Use yaml.safe_load instead of yaml.load to prevent executing arbitrary code ( #589 )
2018-03-29 14:12:32 -07:00
James Lu
9f6e4306cd
automode: fix handling of channels with multiple #'s in them
...
(cherry-picked from commit 09c8b03705e9513f3381f6a1c43d44e7dc1cc214)
2018-01-29 08:21:37 -08:00
James Lu
58b717a2a0
docs/t: warn in main articles that specifications in master may be outdated
...
[skip ci]
2018-01-13 18:29:57 -08:00
James Lu
7a32e7d8a2
global: ignore empty "global:" configuration blocks
...
(cherry picked from commit 15a231a3711b96bbad2b2cda7339bcb838ea95df)
2018-01-03 08:01:27 -08:00
James Lu
d5d140f4b0
p10: fix hashed cloaks check reading from the wrong config variable
...
(cherry picked from commit 043a147b41d5d23633bfad6ec261d1f058e8c276)
Conflicts:
protocols/p10.py
2018-01-02 20:38:12 -08:00
James Lu
c35c8cd4aa
FAQ updates [skip ci]
...
- add answers for "services bots not spawning" and "inconsistent config spacing causing errors"
- reword the connection troubleshooting section slightly
- mention using 'showchan' to help determine the cause of missing user issues
2017-11-07 09:59:37 -08:00
James Lu
9ffe2edc74
README: mention fix for #526 (unreal hostname desyncs)
...
[skip ci]
2017-10-18 22:36:22 -07:00
James Lu
a63e2557be
unreal: fix wrong hook name for legacy user introduction
...
(cherry picked from commit 4935ef521e047b02339315b8d55849cd74192444)
2017-10-15 02:00:02 -07:00
James Lu
e8b7116888
example-conf: clarify terminology regarding server IDs
...
P10 calls them server numerics, for example. Also clarify what the sid and sidrange options are used for (i.e. why they need to be set).
[skip ci]
2017-10-11 17:59:16 -07:00
James Lu
d09c1be688
README: update IRC link
2017-10-01 00:39:28 -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
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
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 7ae22dc848a3dc4988daa67fc1cd095dc5511c49.
2017-09-19 21:15:48 -07:00
James Lu
594e8ad771
p10: fix wrong hook name for user introduction
...
(cherry picked from commit 6dec4bd96fde8b6c0d7285680768dfd427180622)
2017-09-19 21:06:14 -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
93704d85bf
unreal: fix TypeError when a set is given for modes in mode()
2017-09-05 21:21:16 -07:00