3
0
mirror of https://github.com/jlu5/PyLink.git synced 2025-02-10 19:40:49 +01:00

2376 Commits

Author SHA1 Message Date
James Lu
13baef08c1 example-conf: roughly sort config options by usefulness
Also, remove the example for the deprecated pylink:prefixes option.

(cherry picked from commit 1eb274342166bc11d1daa4b9880e7a3990f32df5)

Conflicts:
	example-conf.yml
2017-08-03 09:50:52 -07:00
James Lu
7df19bae5f example-conf: tweak whether some options are commented out by default or not
(cherry picked from commit dbc1e80def928528e60969739f041f01779a250b)
2017-08-03 09:49:26 -07:00
James Lu
9345f2549b Merge branch 'master+faq-updates'
Sync docs/faq.md with the 2.x (devel) branch.
2017-07-31 00:34:29 +08:00
James Lu
7b281e4b04 faq: tweak wording
(cherry picked from commit 17a4bbea87686d814eb2292d0142f8a8fdf591b4)
2017-07-31 00:33:34 +08:00
James Lu
381d96552b faq: fix formatting in the connection troubleshooting guide
(cherry picked from commit f1f8f91bd7b6097c962b047b5b644b0c6bb9632b)
2017-07-31 00:33:32 +08:00
James Lu
5d000c9930 faq: add a section regarding #463 (sporadic SSL-related errors)
(cherry picked from commit 99acd06e02f8543f8d9196fa63913f57fe42a9a8)
2017-07-31 00:33:31 +08:00
James Lu
8e67017c81 faq: be slightly less excited
(cherry picked from commit cc4890184cc00ebc736697cbe5609c7e14bf386c)
2017-07-31 00:33:31 +08:00
James Lu
c9734cc0af faq: add "Relay users are missing" section
(cherry picked from commit 0d9c53a4f401f74ad9fdc369ab0c065f53d6b948)
2017-07-31 00:33:30 +08:00
James Lu
b41234ad79 faq: add a troubleshooting guide for connection failures
(cherry picked from commit bc5474a43a73a40303b6ba3a62c02825aa2a33c9)
2017-07-31 00:33:29 +08:00
James Lu
f18f7de9f7 faq: sort by subtopic
(cherry picked from commit 42ce9c83b5e6827cd1140ef4ff482248b78ccc11)
2017-07-31 00:33:28 +08:00
James Lu
c16ca14fba faq: reword "advantages over Janus" section
(cherry picked from commit 9dcc94129256e3d7f037514397fba11fc001d1e1)
2017-07-31 00:33:27 +08:00
James Lu
54dab5f107 faq: remove obsolete note about clientbot support
The answer is fairly obvious now, and it's even mentioned in the readme.

(cherry picked from commit 01dc2505e2c2aff9ca0a30a22bca63eed220287f)
2017-07-31 00:33:27 +08:00
James Lu
bed40cc10a faq: add point about maxnicklen misconfigurations and relay
(cherry picked from commit c7f300357c12e6c1aac1cf7fd7e76a42aef5f447)
2017-07-31 00:33:26 +08:00
James Lu
dac0d5b234 core: Properly track whether we should actually remove the PID file
Previously, PyLink spuriously removed PID files even if -n/--no-check-pid was set or if PID file checking caused PyLink to quit

(cherry picked from commit 91659ea992e5be9fc645f8805a09c2dffef4148e)
2017-07-20 21:33:17 +08:00
James Lu
b90da19dfa control: log the name of the PID file on shutdown
(cherry picked from commit d57e141fbce83ea5c91f292d5db805af8b515e68)
2017-07-20 21:31:54 +08:00
James Lu
b4ef0d1b16 PyLink 1.2.0-rc1 1.2.0-rc1 2017-07-20 18:41:53 +08:00
James Lu
1f377adfee p10: also acknowledge our own kicks with a PART
(adapted from commit 1438f9e566a8f1778a448fd3fb3d1fc9da90a26b)
2017-07-16 07:34:45 -07:00
James Lu
79db7b2124 automode: fix $ircop exttarget name in setacc examples
(cherry picked from commit 24caf36230849709707c867e6a33c1870bc630aa)
2017-07-10 22:07:11 -07:00
James Lu
59a4ecdcb9 automode: rewrap help for SET
(cherry picked from commit 499e94e0a52c91f6bd4e143fd1d221990e4ee3da)
2017-07-10 22:07:09 -07:00
James Lu
1acd654e6e ts6: fix 'ts' value type in handle_invite 2017-07-05 02:10:24 -07:00
James Lu
69f3ae52ec ts6: fix wrong argument count when parsing INVITE ts
(cherry picked from commit 7cfc63d6edcd218da82d75e2032359b50cc9891a)
2017-07-05 02:09:55 -07:00
James Lu
d2d176b6f9 IRCS2SProtocol: fix UnboundLocalError in "message coming from wrong way" warning
This fixes a regression from 69cf21c04e7fed2e3c3eff27e012f1b76e6a174b.
2017-07-05 02:08:41 -07:00
James Lu
990a928602 relay: re-add 'CLAIM #channel -'
This was mistakenly removed in d51c39935118223a3e7087c821af50e52ff152fd due to a merge conflict, oops...

(cherry picked from commit 62669c085dad8b6e9ea057fe2b130535af1b0a52)
2017-07-02 22:07:58 -07:00
James Lu
2c32269b7f PyLink 1.2-beta1 1.2-beta1 2017-07-02 13:19:49 -07:00
James Lu
f2b644e2bb relay: be more verbose in 'grabbing spawnlocks' messages 2017-07-02 12:36:33 -07:00
James Lu
60788e4ba5 relay_clientbot: remove dark blue from the random colours list
It's difficult to read on clients configurated to use a dark background. Reported by @MrBenC
2017-07-01 18:06:50 -07:00
James Lu
963d5e11cc Merge 'utils: add a default to DeprecatedAttributesObject so that it works as is'
Merge commit 'ed33c8d5804387245b6b012cd1aaabaca173262a' into devel
2017-06-29 18:14:15 -07:00
James Lu
85fbc9ea9d relay_clientbot: use isinstance(obj, dict) & cleanup imports (#410) 2017-06-29 18:08:41 -07:00
James Lu
8eebcb0b06 relay_clientbot: drop colour from network names by default 2017-06-29 18:07:40 -07:00
James Lu
28cb7168b1 Merge branch 'master' into devel
Sync README and CI configuration with master.

Conflicts:
	protocols/nefarious.py
2017-06-14 07:04:15 -07:00
James Lu
7794171d62 README: update with new nightly build repositories for Debian/Ubuntu 2017-06-06 17:30:11 -07:00
James Lu
6e3e188fd6 Merge branch 'master+travis-production' 2017-06-06 17:13:41 -07:00
James Lu
f8a4f003f1 setup.py: explicitly parse README.md as markdown_github 2017-06-06 17:12:34 -07:00
James Lu
805aa52f59 travis: Move to Ubuntu 14.04; it has a newer pandoc version which better supports GitHub flavoured markdown 2017-06-06 17:12:34 -07:00
James Lu
963e8e7180 travis: rm skip_upload_docs rule
This doesn't seem to do anything useful?
2017-06-06 17:12:27 -07:00
James Lu
41c0191cf9 setup.py: update comments and my email 2017-06-06 12:54:48 -07:00
James Lu
ed33c8d580 utils: add a default to DeprecatedAttributesObject so that it works as is 2017-06-02 17:26:54 -07:00
James Lu
2217306ca1 p10: acknowledge incoming KICKs with a PART
Per https://github.com/evilnet/nefarious2/blob/ed12d64/doc/p10.txt#L611-L616. This fixes autorejoin-on-kick not working with prefix modes because the remote verifies whether the KICK has been acknowledged properly. Closes #465.

(backported from commit 1996b86e85aff5ba0465445574f9ff7e91b18034)
2017-06-02 09:13:52 -07:00
James Lu
f97db31533 Irc: show the current encoding setting in fullVersion() 2017-06-02 08:46:55 -07:00
James Lu
f80c5df971 control: log the start and end of rehash to INFO 2017-06-02 08:46:27 -07:00
James Lu
60a0bcdc7a Rename config option log:stdout -> log:console
Closes #386.
2017-06-02 08:42:32 -07:00
James Lu
caade5a308 log: flush the log queue AFTER setting up file loggers
This makes sure that messages sent during the config phase are logged to files, not just the console.

TODO: We should actually be extending this to log to IRC too...
2017-06-02 08:39:49 -07:00
James Lu
6e8f618f80 control: don't duplicate config validation 2017-06-02 08:34:59 -07:00
James Lu
9ea9f66dd7 conf: actually pass the logger object to _log in validateConf 2017-06-02 08:34:43 -07:00
James Lu
1996b86e85 p10: acknowledge incoming KICKs with a PART
Per https://github.com/evilnet/nefarious2/blob/ed12d64/doc/p10.txt#L611-L616. This fixes autorejoin-on-kick not working with prefix modes because the remote verifies whether the KICK has been acknowledged properly. Closes #465.
2017-06-02 08:09:19 -07:00
James Lu
1ce1f7b3e5 ircs2s_common: don't clobber the case of prefixmsg prefixes on RFC1459 networks
Fixes #464.
2017-06-02 07:56:33 -07:00
James Lu
6ef3bab0fc unreal: remove handle_privmsg/handle_notice override 2017-06-02 07:56:22 -07:00
James Lu
a32d937b91 Merge branch 'wip/protocol-cleanup' into devel 2017-06-02 07:40:08 -07:00
James Lu
3a934ef5b8 Merge branch 'wip/configurable-encoding' into devel 2017-06-02 07:32:07 -07:00
James Lu
b9aee6ae85 Irc: only apply encoding settings on connect
Changing the encoding after a connection has been established is somewhat dangerous, because it's possible to corrupt channel/user state if characters in the old encoding are no longer valid.

Also, mark this option as experimental.
2017-06-02 07:31:49 -07:00