3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-24 03:33:10 +01:00
Commit Graph

2251 Commits

Author SHA1 Message Date
James Lu
b750bd4d15 coremods/control: ignore errors when removing PID file 2016-10-15 14:31:13 -07:00
James Lu
774f30c940 pylink: exit with a non-zero code if pid check fails; reword error to be more helpful 2016-10-15 14:23:29 -07:00
Ken Spencer
bc4be815e4 coremods: make _shutdown remove running 'config'.pid 2016-10-15 16:50:25 -04:00
Ken Spencer
a30942669a pylink: Stop daemon if pid file exists and we're checking 2016-10-15 16:43:14 -04:00
Ken Spencer
aaadb63137 Add PID file checking 2016-10-15 16:09:35 -04:00
James Lu
ac270c200c PyLink 1.0.2 2016-10-14 22:51:33 -07:00
James Lu
a09ec494f6 README: cherry-pick updates from the devel branch
Squashed commit of the following:

commit 00279a148abe5f1f5413116b7736f758883c8287
Author: James Lu <GLolol@overdrivenetworks.com>
Date:   Mon Oct 10 15:55:36 2016 -0700

    README: update clientbot notes
    (cherry picked from commit 0db1947263)

commit 33cd90c2553977f17e61006f29288abbe9fe5cac
Author: James Lu <GLolol@overdrivenetworks.com>
Date:   Mon Oct 10 15:54:30 2016 -0700

    README: update IRCd notes
    (cherry picked from commit 44d139f610)

commit 639e185977e8cfe98932310d132751ea9d720609
Author: James Lu <GLolol@overdrivenetworks.com>
Date:   Sun Sep 25 19:32:00 2016 -0700

    README: briefly mention protocols/clientbot

    (cherry picked from commit 1fbd9edc3b)
2016-10-14 22:39:28 -07:00
James Lu
405b886ba2 clientbot: overload _getUid() to deal with nick collisions between virtual clients and Clientbot users
Closes #327.

(cherry picked from commit 05e2d6d060)
2016-10-14 22:33:29 -07:00
James Lu
eb64190228 Clientbot: use a more specific realname fallback
(cherry picked from commit 288a2fffd7)

This is cherry-picked as a prerequisite for the next commit.
2016-10-14 22:33:10 -07:00
James Lu
05e2d6d060 clientbot: overload _getUid() to deal with nick collisions between virtual clients and Clientbot users
Closes #327.
2016-10-14 22:29:13 -07:00
James Lu
9e6e30324f setup: reword fallback version format & warnings
Also, change the suffix from -dirty to -nogit.

(cherry picked from commit a4e1f2a4ab)
2016-10-14 21:30:54 -07:00
James Lu
a4e1f2a4ab setup: reword fallback version format & warnings
Also, change the suffix from -dirty to -nogit.
2016-10-14 21:30:43 -07:00
James Lu
0db1947263 README: update clientbot notes 2016-10-10 15:55:36 -07:00
James Lu
44d139f610 README: update IRCd notes 2016-10-10 15:54:30 -07:00
James Lu
7917502799 clientbot: make oper status tracking a network-specific option 2016-10-09 19:04:59 -07:00
James Lu
288a2fffd7 Clientbot: use a more specific realname fallback 2016-10-07 21:08:55 -07:00
James Lu
5c2e7e9324 Clientbot: unconditionally block MODE hooks if we're the sender
This is another check to prevent possible infinite loops in MODE syncing.
2016-10-07 20:54:52 -07:00
James Lu
72ca41df33 Irc, clientbot: disallow unsetting bans that don't exist
This fixes an infinite loop when:
- Clientbot modesync is enabled
- 2 or more clientbot linked networks show unsetting modes that weren't enabled (e.g. charybdis)
- A user removes a ban

The workaround in clientbot prevents this process from triggering an infinite loop when a mode change acknowledgement is received for unsetting a non-existant ban,
though multiple -b mode changes may still be seen due to race conditions in updating the various networks' states.
2016-10-07 20:54:52 -07:00
James Lu
386c71475a servermaps: removing leading - from entries 2016-10-07 18:51:31 -07:00
James Lu
e2e5de009b Merge branch 'master' into devel
Bump version to 1.1-dev
2016-10-05 20:31:16 -07:00
James Lu
8bffffa000 example-conf: comment out filerotation: so it doesn't become an empty, null-valued block 2016-10-05 20:30:32 -07:00
James Lu
e22d75d1a1 setup: install README.md as well ... 2016-10-05 19:22:23 -07:00
James Lu
738f027f33 PyLink 1.0.1 2016-10-05 19:13:00 -07:00
James Lu
613bece13a .gitattributes: force .py and .md to LF
(cherry picked from commit 8acdfc81c1)
2016-10-05 19:08:07 -07:00
James Lu
8486d7c85b setup.py: Ship the VERSION file as well 2016-10-05 19:07:37 -07:00
James Lu
ec4e71c8cf Irc: demote unknown user errors in parseModes() to DEBUG
Some ancient services like Anope 1.8 set SVS2MODE +d on users when they connect, even if the user quits right after. Due to lag we may receive the MODE after the QUIT instead of before.
2016-10-02 22:09:33 -07:00
James Lu
844a4d5f19 README: add missing notes for ratbox 2016-10-01 16:45:46 -07:00
James Lu
aa0d1596b0 ts6: don't crash when CHGHOST target is a nick instead of UID
(cherry picked from commit 4dcbc85a81)
2016-10-01 13:43:18 -07:00
James Lu
9997fa9306 docs/t: update protocol modules list 2016-10-01 13:42:48 -07:00
James Lu
36e18929de docs, hybrid, ratbox: Mode definition updates 2016-10-01 13:41:11 -07:00
James Lu
eb79f77bd2 ratbox: fixes for mode name consistency 2016-10-01 13:40:10 -07:00
James Lu
e4e00b4cd3 README: add ratbox to supported IRCds 2016-10-01 13:00:20 -07:00
James Lu
19c5a8c64f ratbox: update mode definitions 2016-10-01 13:00:04 -07:00
James Lu
a4c6a72a9c README: move nefarious to Primary support 2016-10-01 12:44:18 -07:00
James Lu
4dd0709f66 protocols, core: remove unused imports 2016-10-01 12:43:12 -07:00
James Lu
625e7b8aae ratbox: handle ENCAP LOGIN (#338) 2016-10-01 12:39:37 -07:00
James Lu
d943a8286f ratbox: fix typo in outgoing REALHOST 2016-10-01 00:40:20 -07:00
James Lu
4dcbc85a81 ts6: don't crash when CHGHOST target is a nick instead of UID 2016-10-01 00:34:38 -07:00
James Lu
bd9885182e ratbox: stub updateClient to prevent hostname desyncs
In ratbox, arbitrary host changing via CHGHOST is not supported.
2016-10-01 00:20:54 -07:00
James Lu
39987b6dcc ts6: supply SAVETS_100 capability for ratbox 2016-10-01 00:11:50 -07:00
James Lu
d6cb5c1ed0 ratbox: implement REALHOST (#338) 2016-09-30 23:46:23 -07:00
James Lu
f618feea26 Initial protocol support for Ratbox (#338) 2016-09-30 23:33:27 -07:00
James Lu
d9fdd9dfcb ts6: modularize required capabilities 2016-09-30 23:33:04 -07:00
James Lu
1cb320f5f4 clientbot: only send MODE if there are modes left after filtering 2016-09-25 20:21:01 -07:00
James Lu
57b566286d relay: make clientbot modesync more configurable (#287) 2016-09-25 20:07:16 -07:00
James Lu
8dd0cb19af clientbot: fix outgoing mode filtering 2016-09-25 20:07:16 -07:00
James Lu
1fbd9edc3b README: briefly mention protocols/clientbot 2016-09-25 20:07:16 -07:00
James Lu
4222cc30a8 relay, clientbot: implement clientbot mode sync
Closes #287.
2016-09-25 20:07:16 -07:00
James Lu
13a42c17b2 servermaps: skip clientbot networks (servers aren't properly tracked) 2016-09-24 16:36:28 -07:00
James Lu
438838f81d ServiceBot: handle autojoin additions even if bots haven't spawned yet 2016-09-24 12:33:57 -07:00