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

33 Commits

Author SHA1 Message Date
James Lu
4e2876104f Irc: require autoconnect value to be >= 1
This prevents sending a flood of connects whenever a server is unreachable.
2015-10-02 23:21:40 -07:00
James Lu
1c8ee5d84b core: support IPv6 connections 2015-10-02 23:17:57 -07:00
James Lu
9e07949730 relay: make spawning of subservers toggleable 2015-09-28 18:22:03 -07:00
James Lu
f55d227329 example conf: add fantasy.py to list and plugin descriptions 2015-09-26 10:20:23 -07:00
James Lu
f4f8987873 example conf: add full "netname" in server configuration 2015-09-20 11:55:51 -07:00
James Lu
6ee2ec8a2d relay: make oper status/IP hiding configurable
Closes #108.
2015-09-19 10:17:25 -07:00
James Lu
fe0156551a Update config.yml.example for last commit 2015-09-02 23:29:01 -07:00
James Lu
c0f5bedbd3 Add new "networks" plugin, for controlling connections to networks
Daemonized threads are lovely; when all connections are closed, PyLink just exits :)

Closes #82.
2015-09-02 23:08:04 -07:00
James Lu
694e7b87f6 various: make the server description configurable
Two options for this: bot::serverdesc, and server::<network>::serverdesc, with the latter taking precedence if present.
2015-08-24 18:14:35 -07:00
James Lu
8f09c35672 Revert "example conf: remove unused sidrange option"
This reverts commit d533ce3d28.
2015-08-23 21:15:49 -07:00
James Lu
d9f5cdfeaf Irc: optionally validate SSL cert fingerprints (#80) 2015-08-12 02:00:43 -07:00
James Lu
18cd3bdd88 Add SSL linking support (#80)
TODO: implement fingerprint checking (optional) and a genssl script to ease SSL certificate generation.
2015-08-10 20:24:55 -07:00
James Lu
4d76593901 TS6: Initial support for elemental-ircd
The TS6 protocol gets some new options here: use_halfop, use_admin, use_owner, and use_elemental_modes, to deal with features
supported in Elemental but not charybdis. A second server block is added in the example config to document this.
2015-08-03 23:20:19 -07:00
James Lu
d533ce3d28 example conf: remove unused sidrange option 2015-08-03 21:48:16 -07:00
James Lu
042edb3e1c Make default max nick length a config option 2015-08-03 19:42:26 -07:00
James Lu
f5f031e41b config.yml.example: add header and note about comments
Apparently this isn't obvious enough for some. Figures. :|
2015-07-22 11:46:38 -07:00
James Lu
ad34f6c4f9 relay: make separator a per-network config option 2015-07-20 14:36:47 -07:00
James Lu
64adb79120 example conf: mention pingfreq and disabling autoconnect 2015-07-17 23:44:52 -07:00
James Lu
4553eda6ec plugins/admin & relay: Add help for commands 2015-07-17 22:35:34 -07:00
James Lu
8d914720b3 It might be useful to expose such options in the example conf, you know 2015-07-15 11:53:07 -07:00
James Lu
f8a7bc6033 pr/insp: use TS6SIDGenerator in spawnServer if no SID is explicitly given 2015-07-11 20:21:10 -07:00
James Lu
1b4ec414cf Fix config format for multinet 2015-07-10 14:17:43 -07:00
James Lu
087a4e7e5c Drop "prefix" config entry, it's not being used
Closes #26. Plugins can implement their own fantasy-style triggers via message hooks, so I'm not sure this really needs a place in the core.
2015-07-07 12:03:30 -07:00
James Lu
f06bcc7928 Merge commit 'bd755e137ffa034007a77d75fbd00d21e759163e' into wip/logger-module
Conflicts:
	proto.py
2015-07-05 13:22:17 -07:00
James Lu
f40cb7954a Allow dynamic protocol loading again, and make proto an attribute of Irc()
This should remove the need for plugins, etc. to import proto directly,
which wouldn't work because of dynamic naming.
2015-06-16 20:05:41 -07:00
James Lu
0ed1e13115 Remove plugins/hello.py
This was solely a testing module for the plugin/commands system, and serves no purpose anymore. commands.py provides basic commands that are both simple and actually useful.
2015-06-03 16:09:53 -07:00
James Lu
2e94e9a7d2 Allow multiple autojoin channels 2015-06-03 15:47:29 -07:00
James Lu
cac0f106aa config.yml.example: load commands.py by default 2015-06-02 13:37:35 -07:00
James Lu
17fc05cc9a WIP: use a proper logging module 2015-05-30 22:35:00 -07:00
James Lu
9b4fb50f25 Today's code dump, featuring:
- PLUGIN SUPPORT and COMMAND HANDLING, wow!!!!!!!
- Restructuring of files so that there's only one protocol module (anything else is too much to maintain for now)
- Split protocol things into utils.py
- Bugfixes: don't go into an endless loop of text spamming when the remote host closes the connection!
2015-04-24 22:37:07 -07:00
James Lu
c074d58052 Change of plans, we're now just a regular pseudoservice
- Remove multinet support
- Update config.yml.example
2015-04-17 19:55:48 -07:00
James Lu
f3e736b6fb Add an inspircd protocol module - still a WIP 2015-03-19 16:21:49 -07:00
James Lu
be3fe38206 Initial upload! 2015-03-19 12:55:18 -07:00