3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-25 20:22:45 +01:00
Commit Graph

1510 Commits

Author SHA1 Message Date
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
f60e17907a hybrid, unreal: switch to irc.toLower() for channels 2016-08-01 18:06:38 -07:00
James Lu
8e5c58d897 commands: explicitly sort mode lists in 'showuser' and 'showchan'
(cherry picked from commit eb032eb7f9)
2016-08-01 17:59:31 -07:00
James Lu
c9ce4d1507 Irc: make sorting in joinModes() an option, and explicitly enable it in WHOIS output
This prevents mode lists from being sorted when they really shouldn't be, such as when relaying mode changes ("+qo nick nick" became +oq nick nick").

(cherry picked from commit 4b27ebbee4)
2016-08-01 17:59:31 -07:00
James Lu
eb2bc68c07 relay: catch errors on remove_network() and ignore them
(cherry picked from commit f2a5e1dc78)
2016-08-01 17:59:31 -07:00
James Lu
9a59c68370 protocols: strip leading prefix modes before checking whether msg target is a channel
(cherry picked from commit 2c7b5669bd)
2016-08-01 17:59:31 -07:00
James Lu
f061a2fc68 ts6: replace str.lower() with irc.toLower() for channel names
(cherry picked from commit 791b124cf7)
2016-08-01 17:59:31 -07:00
James Lu
0cc405f51e classes: more tweaks to updateTS()
Really fixes #295. Closes #298.

(cherry picked from commit 168f9f972d)
2016-07-30 21:25:37 -07:00
James Lu
2326f8b818 Irc: fix TS handling comparing against the wrong TS on outgoing sjoin()
Closes #295.
2016-07-29 14:44:25 -07:00
James Lu
358e03f6ce ts6: don't unconditionally apply modes in outgoing sjoin() 2016-07-29 14:44:25 -07:00
James Lu
63a81b87d8 setup: explicitly forbid installing on Python 2 (#297)
(cherry picked from commit e1d857653e)
2016-07-29 10:14:58 -07:00
James Lu
a56e464eb6 unreal: handle umode +r on burst as services login, even when no explicit accountname is set
Ref #296.

(cherry picked from commit 5800594d55)
2016-07-28 20:20:35 -07:00
James Lu
4fbb7b1791 unreal: remove obsolete comment about cloaked hosts
(cherry picked from commit e7ccfc9156)
2016-07-28 20:20:35 -07:00
James Lu
94ae457a82 nefarious: fix usermode changes internally applying on the wrong target
A regression from fca23c7d55 overwrote the target UID with a nick before passing it into applyModes(), which raises an "unknown mode target" warning and causes the mode change to be dropped.

(cherry picked from commit af21063834)
2016-07-28 20:20:35 -07:00
James Lu
bc5a508cd7 unreal: rework services login handling
This should now support SVS2MODE without account info, used by Anope versions < 2.0? Also, the protocol module no longer stores umode +r as an actual user mode, as doing so isn't needed.

Closes #296.

(cherry picked from commit 97d09c5015)
2016-07-28 20:20:35 -07:00
James Lu
4e3d209831 Irc: rework TS handling again
(cherry picked from commit 0e535a916c)
2016-07-28 20:20:35 -07:00
James Lu
9233a94379 nefarious: forward CMODE and KICK through the server if the sender isn't opped
This prevents mode bounces, kick failures, and the HACK server notices from showing up.

(cherry picked from commit fca23c7d55)
2016-07-28 20:20:35 -07:00
James Lu
fd8ba5edfc 0.9.0 2016-07-24 22:49:05 -07:00
James Lu
3c1090cb46 opercmds: make 'kick' treat channels case insensitively
(cherry picked from commit d008814de9)
2016-07-24 22:15:48 -07:00
James Lu
3ba59f7c54 opercmds: make 'jupe' admin only
(cherry picked from commit a2c5b11194)
2016-07-24 22:15:48 -07:00
James Lu
a28405c9ff exec: make pylinkirc and importlib accessible
(cherry picked from commit bcf5f612cc)
2016-07-24 22:15:48 -07:00
James Lu
02bac384df commands: mention the VCS version as well
(cherry picked from commit 04e37ebd04)
2016-07-24 22:15:48 -07:00
James Lu
b9e00c7261 setup: remove rolling package versions
This makes 'reload' after commit impossible, for example, because each version is installed in a separate folder. Also, versions from 'git describe' aren't compatible with PEP 440.

(cherry picked from commit bda39b4838)
2016-07-24 22:15:48 -07:00
James Lu
c8ec2d9600 handlers: remove obsolete comment about WHOIS 2016-07-24 13:48:03 -07:00
James Lu
cf804ca84e example-conf: mention automode 2016-07-23 22:15:54 -07:00
James Lu
e342889937 corecommands: really fix 'reload'
(cherry picked from commit 150bfe8c66)
2016-07-23 22:02:08 -07:00
James Lu
d3ca49ceeb Revert "automode: bandaid fix for "service already registered" errors on first load"
This reverts commit 3b62d0af3e.
2016-07-23 21:56:08 -07:00
James Lu
795c163a69 Irc: use int values for ircmatch casemapping
The ircmatch version with casemapping variables hasn't been released on pip yet.

(cherry picked from commit 39675e15e8)
2016-07-23 21:52:23 -07:00
James Lu
3b62d0af3e automode: bandaid fix for "service already registered" errors on first load
(cherry picked from commit e2a853c98e)
2016-07-23 21:52:21 -07:00
James Lu
b376aba591 docs/t: add Services API description
Closes #224.
2016-07-23 20:56:51 -07:00
James Lu
e56c9640dc ServiceBot: remove request/remove stubs for now 2016-07-23 19:57:05 -07:00
James Lu
7f7c8a8b51 Doxygen configuration & autorun script 2016-07-23 19:42:17 -07:00
James Lu
357e8327c4 pylink: less ambiguous error when module isn't installed 2016-07-21 00:02:37 -07:00
James Lu
47a0a7f8c6 Make plugins/ and protocols/ namespaces 2016-07-20 23:55:26 -07:00
James Lu
f3b6e8f7ea setup.py: add ircmatch as requirement 2016-07-19 18:03:43 -07:00
James Lu
fab61729b9 conf: throw a specific error when PyYAML is missing 2016-07-19 17:47:39 -07:00
James Lu
3381dda884 Throw specific errors for missing ircmatch/setuptools libraries 2016-07-19 17:44:22 -07:00
James Lu
166adcf44d conf: add migration warning for the config file rename 2016-07-19 17:40:22 -07:00
James Lu
1629533242 pmodule-spec: add modes argument to sjoin() 2016-07-17 22:25:01 -07:00
James Lu
5d8f3036e7 README: add setuptools dependency & clarify --user
Thanks to kevin on KoaxIRC for reporting.
2016-07-17 20:26:32 -07:00
James Lu
8169a2b751 automode: fix typo in loadDB() 2016-07-17 15:19:48 -07:00
James Lu
916817443e docs: add Automode tutorial (#224) 2016-07-17 11:35:58 -07:00
James Lu
40197e5f57 automode: fix help syntax 2016-07-17 10:54:46 -07:00
James Lu
d7538bee1b automode: remove mentions to "setacc #channel mask -" 2016-07-17 10:50:18 -07:00
James Lu
fd3c2b521e faq: remove periods after links that might confuse editors 2016-07-17 10:50:18 -07:00
James Lu
f51a882d23 exttargets: verify target is in channel before calling getPrefixModes 2016-07-17 10:49:42 -07:00
James Lu
8e1e92c564 update.sh: pass arguments to pylink 2016-07-16 21:58:39 -07:00
James Lu
94f2422a1e relay: show secret channels in LINKED to those in the channel
Closes #278.
2016-07-16 21:07:08 -07:00