-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.dist.php
96 lines (82 loc) · 3.04 KB
/
config.dist.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<?php
/*
* This file is part of the Eventum (Issue Tracking System) package.
*
* @copyright (c) Eventum Team
* @license GNU General Public License, version 2 or later (GPL-2+)
*
* For the full copyright and license information,
* please see the COPYING and AUTHORS files
* that were distributed with this source code.
*/
use Eventum\IrcBot\Command;
// This is an example config file for the IRC bot.
// This file should be copied to config.php and customized for your needs.
// You can remove this comment :)
// The file should return array with configuration,
// You are free to use local variables if that makes config more readable for You.
// The following is the list of IRC channels that the bot should connect to,
// and the associated project name
// Project Name -> IRC Channel(s),
// Second Project' => array('#issues_2', '#byrocrate'),
// If you want to use IRC message categories (only applies if you have a custom workflow backend)
// the list of channels should be an associated array with the channel for the key and an array of categories
// for the value:
// Project => array(
// '#issues_2' => array(APP_EVENTUM_IRC_CATEGORY_DEFAULT, 'other')
// )
return [
/// connection parameters
// IRC server address
'hostname' => 'localhost',
'port' => 6667,
'nickname' => 'EventumBOT',
'realname' => 'Eventum Issue Tracking System',
// do you need a username/password to connect to this server?
// if so, fill in the next two variables
'username' => '',
'password' => '',
// Eventum XMLRPC access
'xmlrpc.url' => 'http://eventum.127.0.0.1.xip.io:8012/rpc/xmlrpc.php',
'xmlrpc.login' => 'admin@example.com',
'xmlrpc.token' => 'admin',
// configured IRC channels
'channels' => [
'Default Project' => '#issues',
],
// default category for events without it
'default_category' => 'default',
// commands to register
'commands' => [
Command\AuthCommand::class => true,
Command\ClockInCommand::class => true,
Command\QuarantinedIssueCommand::class => true,
],
/*
* Bitwise debug level out of SMARTIRC_DEBUG_* constants
*
* @see Net_SmartIRC::setDebugLevel
*/
// debug everything
// 'debugLevel' => SMARTIRC_DEBUG_ALL,
// or bit flag of individual categories
// 'debugLevel' => SMARTIRC_DEBUG_NONE
// | SMARTIRC_DEBUG_NOTICE
// | SMARTIRC_DEBUG_CONNECTION
// | SMARTIRC_DEBUG_SOCKET
// | SMARTIRC_DEBUG_IRCMESSAGES
// | SMARTIRC_DEBUG_MESSAGETYPES
// | SMARTIRC_DEBUG_ACTIONHANDLER
// | SMARTIRC_DEBUG_TIMEHANDLER
// | SMARTIRC_DEBUG_MESSAGEHANDLER
// | SMARTIRC_DEBUG_CHANNELSYNCING
// | SMARTIRC_DEBUG_MODULES
// | SMARTIRC_DEBUG_USERSYNCING
// | SMARTIRC_DEBUG_MESSAGEPARSER
// | SMARTIRC_DEBUG_DCC
// ,
// SmartIRC logger, defaults to stdout
// 'logging.smartirc' => 'irc_bot_smartirc.log',
// PHP error logs, defaults to php.ini defaults
// 'logging.errorlog' => 'irc_bot_error.log',
];