3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-30 14:49:28 +01:00
Commit Graph

300 Commits

Author SHA1 Message Date
James Lu
5e7469b56f Remove protocols/ratbox, superseded by ts6
Closes #543.
2017-10-22 01:06:55 -07:00
James Lu
1470e7691f relay_clientbot: add support for showing prefix modes
This adds a new expansion $mode_prefix, and adds it to the default formats for MESSAGE and ACTION.
Closes #540
2017-10-15 01:42:07 -07:00
James Lu
85ac0bb80a docs/modelists: add a GitHack link to extbans.html
[skip ci]
2017-10-05 19:37:26 -07:00
James Lu
0ad2bc2f7b docs/modelists: use a different color to represent modes implemented as extbans and vice versa
[skip ci]
2017-10-05 19:32:57 -07:00
James Lu
61fe97b646 docs/modelists: drop :data suffix from extbans lists
[skip ci]
2017-10-05 19:28:43 -07:00
James Lu
48aab1cf16 docs/services-api: revise
- Rewrite lead section to be more concise
- Move to snake case method names
- Consistently use the terms "services" and "service bots"

[skip ci]
2017-10-05 19:21:52 -07:00
James Lu
39b1e28061 Remove plugins/example_service, it is out of date and broken with 2.x
Closes #532.
2017-10-05 19:08:28 -07:00
James Lu
f79168ce5f docs/t: remove future articles that won't be around for a while
[skip ci]
2017-10-05 19:05:36 -07:00
James Lu
5574c746b9 docs: update table of contents
Mode lists are in a separate folder now.

[skip ci]
2017-10-05 19:04:45 -07:00
James Lu
82a6ceb99e docs: Refresh release-process.md
[skip ci]
2017-10-05 18:20:59 -07:00
James Lu
f0d1c1bb89 pmodule-spec: mention in detail how users are tracked
Closes #478.
2017-10-05 18:18:09 -07:00
James Lu
8fff9ea641 pmodule-spec: mention post_connect definition for IRCNetwork derivatives (#478) 2017-10-05 18:18:09 -07:00
James Lu
d8768bcb73 Revise docs/automode.md
- The default bot name has been "Automode" instead of "ModeBot" for a while now; reflect that change here
- General edits for flow

[skip ci]
2017-10-04 23:28:27 -07:00
James Lu
3022274f6b Merge branch 'master' into devel
Conflicts:
	README.md
	VERSION
2017-09-24 12:26:06 -07:00
James Lu
0e45fbdf55 Revert "faq: add a note regarding #497 (bans and modes blocking clientbot from relaying)"
This reverts commit 7ae22dc848.
2017-09-19 21:15:48 -07:00
James Lu
499fe319aa permissions-api: fix markdown syntax [skip ci] 2017-09-08 19:02:51 -07:00
James Lu
4cf7b36b7b permissions-api: clarify how globs are processed
[skip ci]
2017-09-08 19:02:03 -07:00
James Lu
d3892a85be Add $service exttarget for matching service bots 2017-09-05 19:19:01 -07:00
James Lu
0a72519155 exttargets.md: bump "as of" PyLink version
[skip ci]
2017-09-05 06:30:23 -07:00
James Lu
a03214514c hybrid, ts6, ratbox: fix +p mode definitions properly
+p is noknock and rfc1459-style private on all 3 IRCds, though the latter bit is undocumented in /help cmodes (maybe it's assumed?)
+p is also "paranoia" on hybrid, which adds more restrictions to halfops and /invite

(cherry picked from commit c107f0062f)
2017-08-31 15:06:25 -07:00
James Lu
32130a7988 channel/user-modes.csv: add RFC1459 & ngIRCd columns
(cherry picked from commit 0a56ab662b)
2017-08-31 15:06:25 -07:00
James Lu
74ae6fd7c0 p10: add support for nefarious2 extbans
Closes #524.
2017-08-31 14:52:03 -07:00
James Lu
5084cc2c69 pmodule-spec: rewording, fix headings 2017-08-30 01:29:09 -07:00
James Lu
46e9975bd5 Continue rewriting the protocol module spec (#478) 2017-08-30 01:26:35 -07:00
James Lu
5b941daf4d Begin rewriting the protocol spec for PyLink 2.0 (#478) 2017-08-30 00:34:42 -07:00
James Lu
7230aaa7df Add extbans docs (#498) 2017-08-24 01:07:50 -07:00
James Lu
89699051d5 Services API rework
- Move nick/ident/host/gecos fetching from services_support into functions
- Remove the unused 'ident' argument from ServiceBot
- Rename the 'nick' argument in ServiceBot to 'default_nick'
- Define default nicks for the PyLink, Automode, and Games services
2017-08-21 21:51:45 -07:00
James Lu
361a3de9dd faq: stop advertising PyLink as cross platform
Windows support has not been tested for a long time, and there doesn't seem to be much developer/user interest in this.
2017-08-16 10:51:17 -07:00
James Lu
e180f9fa56 docs/modelists: add in chatircd +qah 2017-08-12 13:58:57 -07:00
James Lu
92dae6db5e docs/t: link to html versions of mode lists 2017-08-11 15:19:46 -07:00
James Lu
4c0d765a2f docs: revamp mode list docs
- HTML version now available via a .csv -> .html generator script
- Addded a column for ChatIRCd
2017-08-11 15:14:55 -07:00
James Lu
c107f0062f hybrid, ts6, ratbox: fix +p mode definitions properly
+p is noknock and rfc1459-style private on all 3 IRCds, though the latter bit is undocumented in /help cmodes (maybe it's assumed?)
+p is also "paranoia" on hybrid, which adds more restrictions to halfops and /invite
2017-08-11 13:45:40 -07:00
James Lu
5a00a632d6 Remove core-structure doc, outdated and not really useful 2017-08-06 23:13:20 -07:00
James Lu
ea70d34b28 docs/exttargets: refresh for 2.0 2017-08-06 21:42:09 -07:00
James Lu
f4da1fc94c Merge branch 'master' into devel
Conflicts:
	VERSION
	classes.py
	docs/faq.md
	example-conf.yml
	protocols/p10.py
	pylink
	world.py
2017-08-05 22:11:22 -07:00
James Lu
7ae22dc848 faq: add a note regarding #497 (bans and modes blocking clientbot from relaying)
This will be fixed more completely in the future. Thanks to @Ryan-Goldstein for reporting!
2017-08-03 10:44:47 -07:00
James Lu
b9a5de16de user-modes.csv: fix wrong names for sno_serverconnects, sno_stats 2017-07-31 00:57:51 +08:00
James Lu
0a56ab662b channel/user-modes.csv: add RFC1459 & ngIRCd columns 2017-07-31 00:56:10 +08:00
James Lu
7b281e4b04 faq: tweak wording
(cherry picked from commit 17a4bbea87)
2017-07-31 00:33:34 +08:00
James Lu
381d96552b faq: fix formatting in the connection troubleshooting guide
(cherry picked from commit f1f8f91bd7)
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 99acd06e02)
2017-07-31 00:33:31 +08:00
James Lu
8e67017c81 faq: be slightly less excited
(cherry picked from commit cc4890184c)
2017-07-31 00:33:31 +08:00
James Lu
c9734cc0af faq: add "Relay users are missing" section
(cherry picked from commit 0d9c53a4f4)
2017-07-31 00:33:30 +08:00
James Lu
b41234ad79 faq: add a troubleshooting guide for connection failures
(cherry picked from commit bc5474a43a)
2017-07-31 00:33:29 +08:00
James Lu
f18f7de9f7 faq: sort by subtopic
(cherry picked from commit 42ce9c83b5)
2017-07-31 00:33:28 +08:00
James Lu
c16ca14fba faq: reword "advantages over Janus" section
(cherry picked from commit 9dcc941292)
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 01dc2505e2)
2017-07-31 00:33:27 +08:00
James Lu
bed40cc10a faq: add point about maxnicklen misconfigurations and relay
(cherry picked from commit c7f300357c)
2017-07-31 00:33:26 +08:00
James Lu
17a4bbea87 faq: tweak wording 2017-07-31 00:29:11 +08:00
James Lu
f1f8f91bd7 ffaq: fix formatting in the connection troubleshooting guide 2017-07-31 00:27:48 +08:00
James Lu
99acd06e02 faq: add a section regarding #463 (sporadic SSL-related errors) 2017-07-31 00:21:16 +08:00
James Lu
cc4890184c faq: be slightly less excited 2017-07-31 00:19:26 +08:00
James Lu
0d9c53a4f4 faq: add "Relay users are missing" section 2017-07-31 00:06:19 +08:00
James Lu
bc5474a43a faq: add a troubleshooting guide for connection failures 2017-07-31 00:01:07 +08:00
James Lu
42ce9c83b5 faq: sort by subtopic 2017-07-30 23:42:23 +08:00
James Lu
9dcc941292 faq: reword "advantages over Janus" section 2017-07-30 23:40:26 +08:00
James Lu
01dc2505e2 faq: remove obsolete note about clientbot support
The answer is fairly obvious now, and it's even mentioned in the readme.
2017-07-30 07:57:05 -05:00
James Lu
c7f300357c faq: add point about maxnicklen misconfigurations and relay 2017-07-30 07:54:58 -05:00
Mitchell Cooper
d1b321310e opercmds: add chghost, chgident, chgname commands (#488)
Closes #481.
2017-07-15 07:41:16 +08:00
James Lu
faa5b729d9 docs: update protocol-modules graphic 2017-07-05 03:28:28 -07:00
James Lu
04c18f0bd5 docs: get rid of self.irc, self.proto, irc.proto 2017-06-25 02:10:03 -07:00
James Lu
b2643a0ac8 adv-relay-conf: add a missing $ 2017-05-15 17:22:58 -07:00
James Lu
fd15600d80 docs: split exttargets info into a new page 2017-05-04 20:05:57 -07:00
James Lu
1358fedca6 exttargets: add $and exttarget (#334) 2017-05-04 18:00:32 -07:00
James Lu
dbeacf9249 exttargets: add a $network target (#334) 2017-05-04 17:16:50 -07:00
James Lu
69c25b5954 channel-modes: document UnrealIRCd +D and +V 2017-04-02 14:04:44 -07:00
James Lu
40fa4f71bc corecommands: add a 'clearqueue' command to force clear queue muckups (#441) 2017-03-28 22:39:11 -07:00
James Lu
36f9bef450 docs/t: refresh protocol-modules graphic 2017-03-25 13:47:16 -07:00
James Lu
7acfd80387 Update named mode definitions 2017-03-25 13:47:16 -07:00
James Lu
61cf48c37c pmodule-spec: various fixes
- Corrected the location of the `self.irc.cmodes/umodes/prefixmodes` attributes
- Mention `self.conf_keys` as a special variable for completeness
2017-03-15 23:11:44 -07:00
James Lu
7892e37bfa Documentation tweaks
- Add advanced-service-config to TOC
- Move "matching SERVICE name" note to docs/t/services-api.md
- Various wording / grammar tweaks
2017-03-13 13:50:16 -07:00
James Lu
9ccd11b6d5 Merge pull request #433 from IotaSpencer/devel
docs: Add services config guide and mention matching config<->register

Closes #427.
2017-03-13 13:42:50 -07:00
James Lu
787b254840 permissions-reference: document global.global permission 2017-03-13 13:40:09 -07:00
Ken Spencer
9a3ef0122b docs: Add services config guide and mention matching config<->register 2017-03-13 11:35:32 -04:00
James Lu
a6e38e7e20 pylink-opers: minor wording tweaks 2017-03-12 22:03:28 -07:00
James Lu
2e0c7db4e3 using-ircparser.md: minor tweaks and reordering
Thanks again to @IotaSpencer for writing this article :)
2017-03-12 20:45:42 -07:00
James Lu
75ea743b4a docs/t: link to using-ircparser.md in contents 2017-03-12 20:38:58 -07:00
James Lu
c8f945d40f writing-plugins.md: mention that IRCParser is a 1.2+ feature 2017-03-12 20:37:53 -07:00
Ken Spencer
d6d330bec6 Add docs/technical/using-ircparser.md guide. 2017-03-12 23:08:56 -04:00
Ken Spencer
ed7a117247 doc/technical/writing-plugins.md: mention and link to using-ircparser.md 2017-03-12 21:55:22 -04:00
James Lu
6fcb129ad6 hooks-reference: document the 'was_successful' key in PYLINK_DISCONNECT 2017-02-24 22:27:51 -08:00
James Lu
a7280d2943 docs/t: more notes regarding the permissions API 2017-02-24 18:31:26 -08:00
James Lu
93c9b6289c relay: switch to IRCParser in 'link' and add a --force option to skip TS checks
Closes #416.
2017-02-21 21:52:22 -08:00
James Lu
1c19d82f53 Merge branch 'wip/stats' into devel 2017-01-29 23:31:43 -08:00
James Lu
359132045d protocols: allow forwarding NOTICE from servers (#384) 2017-01-29 19:49:37 -08:00
James Lu
354a3022a4 services-api.md: remove extra_channels argument per d31d09ce7e 2017-01-22 00:55:37 -08:00
James Lu
ce742d40eb docs/technical: fix capitalization of ircd-ratbox 2017-01-21 13:13:53 -08:00
James Lu
3dd35ba5a1 Add an example services plugin
Closes #399.
2017-01-21 11:59:43 -08:00
James Lu
b1918f5392 Initial pass at a Stats plugin (#121, #381) 2017-01-11 23:35:35 -08:00
James Lu
4147af6546 hooks-reference: remove redundant Introduction heading 2017-01-09 22:25:16 -08:00
James Lu
7fe65e1f8a Refresh protocol spec for 1.0-beta1+
- Replace utils.parseModes() with irc.parseModes()
- Update source code links to 1.0-beta1
2017-01-09 22:23:35 -08:00
James Lu
6728627f78 docs: document the permissions API for developers
Closes #368.
2016-12-25 11:17:10 -08:00
James Lu
e53c758471 docs: reorganize & include a list of all PyLink permissions
Closes #365.
2016-12-25 00:41:41 -08:00
James Lu
7ee963f66e Document advanced relay config & custom clientbot formatting
Closes #335.
2016-12-22 00:27:20 -08:00
James Lu
c66c85bc9a hooks-reference: refresh for 1.1.x 2016-12-21 23:26:30 -08:00
James Lu
8e7cffc016 docs/automode: update perms list & caveat section
- Automode remote management and its relevant permissions were added in the last commit (8ff292bd1f).
- Autoop on join for services bots was implemented in 0cce6ca488.
2016-11-12 12:24:00 -08:00
James Lu
2d20256ed8 Relay: rework to use the permission system
This defines the following permissions:

Granted to opers by default:
- relay.create
- relay.destroy
- relay.claim
- relay.link
- relay.delink
- relay.linkacl.view
- relay.linkacl

Granted to all users by default:
- relay.linked

And the following which is not explicitly granted:
- relay.savedb

Closes #325.
2016-11-07 21:22:52 -08:00
James Lu
e977c95520 Merge branch 'master' into devel
Conflicts:
	VERSION
	example-conf.yml
2016-11-02 22:28:39 -07:00
James Lu
72818412e1 faq: fix link to dependencies list 2016-10-27 20:50:10 -07:00
James Lu
4f3fa04cde docs/t/services-api: mention ServiceBot.join() 2016-10-16 18:48:29 -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
c94a92bd5f Document the PyLink release process 2016-09-16 22:01:10 -07:00
James Lu
b9d6efa677 docs: refresh Automode guide with permissions info and more (#284)
Also... fix the line endings to LF
2016-09-12 20:21:34 -07:00
James Lu
c5c77eeb97 protocols: chandata->channeldata for MODE and JOIN hooks 2016-09-02 17:52:19 -07:00
James Lu
ae94bec6b8 protocols: add a chandata key to SJOIN hook payloads 2016-08-27 18:56:36 -07:00
James Lu
87757a60a3 Irc: rename 'chandata' in SQUIT payload to 'channeldata' 2016-08-27 17:42:07 -07:00
James Lu
945818e1d8 Refresh protocol module spec for 0.10 (#284)
Reword various things, and update links to source code references. Also, mention the following:

- conf_keys validation (#282)
- Topic acceptance rules (or rather, the lack thereof: #277)
2016-08-24 23:25:36 -07:00
James Lu
44744fa510 FAQ: reorder issues based on perceived importance 2016-08-14 18:06:10 -07:00
James Lu
bf36d58612 faq: mention errors caused by tabs in config (#316) 2016-08-14 18:03:50 -07:00
James Lu
2d89fd44cd faq: reformat, add "one-way clientbot" issue 2016-08-14 11:34:25 -07:00
James Lu
6f0be9400b docs/t: add clientbot to protocol-modules 2016-08-09 00:07:27 -07:00
James Lu
48680051e1 Refresh README (IRCd notes), FAQ 2016-08-09 00:01:19 -07:00
James Lu
df4277e530 hooks-reference: update keys for SJOIN 2016-08-08 21:06:49 -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
1629533242 pmodule-spec: add modes argument to sjoin() 2016-07-17 22:25:01 -07:00
James Lu
916817443e docs: add Automode tutorial (#224) 2016-07-17 11:35:58 -07:00
James Lu
fd3c2b521e faq: remove periods after links that might confuse editors 2016-07-17 10:50:18 -07:00
James Lu
88281a3a54 docs/technical: purge ancient autogen docs 2016-07-13 19:23:09 -07:00
James Lu
72eb04ebc6 docs/t: add SVSNICK to hooks reference 2016-07-13 18:53:51 -07:00
James Lu
db93db7f4e docs/t: update pmodule-spec.md 2016-07-12 00:32:57 -07:00
James Lu
c5176b7386 Add last commit's image to docs contents 2016-07-12 00:29:14 -07:00
James Lu
0823fb2a1e docs/technical: Add protocol modules inheritance graph 2016-07-12 00:28:13 -07:00
James Lu
ca638f77e3 docs/t: drop update-autogen, it's broken now 2016-07-09 00:25:58 -07:00
James Lu
d2956c3d00 protocols: return uplink field in SQUIT handlers 2016-06-25 13:34:43 -07:00
James Lu
e057df2ae9 channel-modes: fix definition for private (+p)
Charybdis and Elemental-IRCd implement +p as noknock, not the RFC1459-style private.
2016-06-19 21:14:10 -07:00
James Lu
9132bfcb3a pylink-opers: mention DESTROY, DELINK 2016-06-19 12:12:17 -07:00
James Lu
cb30aca750 docs/t/writing-plugins: mention main() and die()
Closes #113.
2016-06-11 11:03:16 -07:00
James Lu
f59b307238 pylink-opers: dos2unix, mention LINKACL and CLAIM
Closes #234.
2016-06-11 10:19:26 -07:00
James Lu
172698dfb2 docs: add FAQ, refresh TOC 2016-06-04 18:47:23 -07:00
James Lu
229c36381e docs/t: update links to include user-modes.csv
Closes #200.
2016-05-31 20:57:18 -07:00
James Lu
85a97ce86b docs/t: add usermodes list (#200) 2016-05-31 20:57:18 -07:00
James Lu
92de5e81b2 docs/t: remove + from entries in channel-modes 2016-05-31 20:57:18 -07:00
James Lu
89ed92b46a Update autogen docs 2016-05-27 22:39:40 -07:00
James Lu
a0d20df899 docs: tweak writing-plugins & TOC, move plugin_example to plugins
Closes #226.
2016-05-22 10:59:57 -07:00
James Lu
aea6657a8b docs: update hooks-reference
Closes #223.
2016-05-22 10:48:19 -07:00
James Lu
3856ee435c docs/t: rewrite parts of writing-plugins.md 2016-05-19 23:42:42 -07:00
James Lu
4e8de60005 core: Rewrite WHOIS handlers to simply listen to a custom hook (PYLINK_CUSTOM_WHOIS) 2016-05-19 23:32:43 -07:00
James Lu
ae87def11f Purge c_ and u_ prefixes from named modes
Closes #217.
2016-05-15 11:05:02 -07:00
James Lu
ce95e15897 Refresh autogen docs 2016-05-11 21:56:02 -07:00
James Lu
6b40c97a75 docs: update channel-modes
Include lists for Nefarious and update those for the rest.
2016-05-11 21:52:32 -07:00
James Lu
ad428b55bc docs: relayout table of contents & links between pages 2016-05-11 21:52:32 -07:00
James Lu
f2f945e4bb Revert "docs/t: use rawgit links to serve HTML"
This reverts commit 0dd8b80a21.
2016-05-11 21:52:32 -07:00
James Lu
cf5cc18855 pylink-opers: mention LINKED command 2016-04-27 21:28:27 -07:00
James Lu
84503a2ead docs/cmodes: update noknock mappings for c599978 2016-04-24 21:53:12 -07:00
James Lu
4013965029 pmodule-spec: mention checking recvpass
It's surprisingly how easily this can be overlooked. I've been guilty of this too.
2016-04-17 22:32:19 -07:00
James Lu
c2c8dda4ef docs/t: revamp core-structure pic 2016-04-10 21:51:12 -07:00
James Lu
50afc52a03 pmodule-spec: be clearer about mode definitions
Clarify the difference between channel names/UIDs and channel/user objects. Also, reflect the API changes made in 8135f3a735.
2016-04-10 21:31:51 -07:00