3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 01:09:22 +01:00
Go to file
James Lu 8c1e1c18f1 relay: Factorize relayJoins usage in initializeChannel and truly fix #74.
Squashed commit of the following:

commit 4e481f15db372d5c07f30e92f6581ea93692695b
Author: James Lu <GLolol1@hotmail.com>
Date:   Wed Jul 22 19:28:34 2015 -0700

    relay: Factorize relayJoins usage in initializeChannel and truly fix #74.

    The real error was that queued_users was being defined in the wrong spot (outside of the for loop),
    so the user list would grow larger and larger with every network initialized.

    This reverts parts of the previous commit which weren't actually necessary.

commit 76cc6bfbc71439880f01891f944600a26ff81130
Author: James Lu <GLolol1@hotmail.com>
Date:   Wed Jul 22 13:34:47 2015 -0700

    Mark users as internal at the IrcUser level (attempt to fix #74)
2015-07-22 19:29:58 -07:00
log Make sure log/ exists 2015-07-18 20:13:53 -07:00
plugins relay: Factorize relayJoins usage in initializeChannel and truly fix #74. 2015-07-22 19:29:58 -07:00
protocols ts6: fix users not joining channels properly due to command cutoff 2015-07-21 19:29:15 -07:00
tests Log command usage, 'exec' usage, successful logins, and access denied to commands in admin.py 2015-07-19 15:01:49 -07:00
.gitignore .gitignore: add *.db 2015-07-12 16:28:33 -07:00
classes.py relay: unbreak topic handling (closes #68) 2015-07-20 13:18:04 -07:00
conf.py It's almost June! Updates: 2015-05-31 12:20:09 -07:00
config.yml.example config.yml.example: add header and note about comments 2015-07-22 11:46:38 -07:00
coreplugin.py Log command usage, 'exec' usage, successful logins, and access denied to commands in admin.py 2015-07-19 15:01:49 -07:00
LICENSE Add a LICENSE: MPL 2.0 2015-06-20 21:10:50 -07:00
log.py log: replace existing log files instead of appending 2015-07-19 16:52:58 -07:00
main.py Irc.callHooks: allow handlers to specify which hook to call via a special 'parse_as' key 2015-07-20 21:19:15 -07:00
README.md README: we now support inspircd 2.0 and charybdis; mention that. 2015-07-21 15:42:09 -07:00
utils.py utils.applyModes: fix prefixmodes lists not being updated... 2015-07-21 19:57:22 -07:00

PyLink

PyLink is an extensible, plugin-based IRC PseudoService written in Python. It aims to be a replacement for the now-defunct Janus.

Usage

PyLink is a work in progress and thus may be very unstable! No warranty is provided if this completely wrecks your network and causes widespread rioting throughout your user base!

That said, please report any bugs you find to the issue tracker. Pull requests are open if youd like to contribute.

Dependencies

Dependencies currently include:

  • Python 3.4+
  • PyYAML (pip install pyyaml or apt-get install python3-yaml)

Supported IRCds

  • InspIRCd 2.0.x - module: inspircd
  • charybdis (3.5.x / git master) - module: ts6

Installation

  1. Rename config.yml.example to config.yml and configure your instance there. Not all options are properly implemented yet, and the configuration schema isnt finalized yet - this means your configuration may break in an update!

  2. Run main.py from the command line.

  3. Profit???