forked from atheme-legacy/iris
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js.example
More file actions
160 lines (127 loc) · 6.57 KB
/
config.js.example
File metadata and controls
160 lines (127 loc) · 6.57 KB
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
conf = qwebirc.config.load({
// UI OPTIONS
// These alter the way the frontend looks and presents information to the user.
// Many of these can be set by user in their options, in which case these
// settings serve as the default.
"ui": {
// DEDICATED MSG WINDOW: Whether PMs should be shown in a dedicated window.
"dedicated_msg_window": false,
// DEDICATED NOTICE WINDOW: Whether notices should be shown in a dedicated
// window.
"dedicated_notice_window": false,
// HIDE JOINPARTS: Whether joins and parts should be hidden in channels.
"hide_joinparts": false,
// SIMPLE COLOR: If enabled, hides most colour options, only showing the
// background hue slider. This may be desirable if you consider the colour
// options too complicated. Note that how useful the results of moving this
// single slider are depends on the colour you have set.
"simple_color": false,
// PRIMARY FOREGROUND COLOR: The base foreground colour for the UI.
// Used for the bulk of the text.
// Provide as a hexadecimal RGB value, without a # at the start.
"fg_color": "DDDDDD",
// SECONDARY FOREGROUND COLOR: The secondary foreground colour for the UI.
// Used for titles and links. If left empty, the same as the primary.
// Provide as a hexadecimal RGB value, without a # at the start.
"fg_sec_color": "999999",
// BACKGROUND COLOR: The base background colour for the UI.
// Provide as a hexadecimal RGB value, without a # at the start.
"bg_color": "111111",
// LASTPOS LINE: Whether a "last position" marker should be displayed.
"lastpos_line": true,
// NICK CLICK QUERY: Whether clicking on a nick in channel queries them.
// If off, it whoises instead.
"nick_click_query": false,
// NICK COLORS: Whether nicks are coloured by default.
"nick_colors": false,
// NICK STATUS: Whether to show status symbols before nicknames in channel lines.
"nick_status": false,
// FLASH ON MENTION: Whether to flash the title for attention when highlighted.
"flash_on_mention": false,
// BEEP ON MENTION: Whether to beep for attention when highlighted.
// Requires Flash; does nothing if the user lacks it.
"beep_on_mention": false,
// PRIVACY: Whether or not this installation has a privacy policy
// policy pane will be expected at static_base_url + panes/privacypolicy.html
"privacy": false
},
// ATHEME INTEGRATION OPTIONS
// These options control integration with Atheme in the frontend.
"atheme": {
// NICKSERV LOGIN: Enable login to a NickServ account using Iris, before
// connecting. Requires SASL.
"nickserv_login": true,
// SASL TYPE: Which sasl method to use.
// Supported methods: PLAIN
"sasl_type": "PLAIN",
// CHAN LIST ON START: Open the channel listing automatically when the
// client starts. Requires the channel list be enabled, obviously.
// Always defaults off if any query string parameters are specified; must be
// explicitly set on in the query string to enable.
"chan_list_on_start": false,
// CHAN LIST CLOUD VIEW: Whether the channel list's cloud view should be the
// default, or it should default to the list view. An option to switch view mode
// is shown regardless.
"chan_list_cloud_view": false,
"chan_list": true
},
"flash": {
// SERVER: Hostname (or IP address) of IRC server to connect to.
"server": "irc.myserver.com",
// PORT: Port of IRC server to connect to.
"port": 6667,
// XMLPORT: Port of IRC servers flash policy daemon
"xmlport": 8430,
},
"websocket": {
// URL: URL of IRC server to connect to.
"url": "ws://irc.myserver.com/"
},
// FRONTEND OPTIONS
// These alter the general settings and text used within the frontend.
// Many of these are overridable by query string, in which case these settings
// serve as the default when they are not.
"frontend": {
// BASE URL: URL that this qwebirc instance will be available at, add
// the port number if your instance runs on a port other than 80.
"base_url": "",
// STATIC BASE URL: This value is used to build the URL for all static
// HTTP requests.
"static_base_url": "",
// DYNAMIC BASE URL: This value is used to build the URL for all dynamic
// HTTP requests.
"dynamic_base_url": "",
// NETWORK NAME: The name of your IRC network, displayed throughout the
// application.
"network_name": "FooNet",
// APP TITLE: The title of the application in the web browser.
// The title of the application in the web browser.
"app_title": "FooNet Web IRC",
// CHAN PROMPT: Whether the user should be prompted to edit the default channel
// provided by settings before connecting if prompted for connection details.
// Otherwise, they are only prompted for nick. Ignored if initial_chans is empty.
// Primarily useful as a query string parameter for embedded webclients.
"chan_prompt": true,
// PROMPT: Whether the user should be prompted to edit their connection details
// before connecting. Ignored if initial_nick or initial_chans are empty.
"prompt": true,
// INITIAL NICK: Default initial nickname for the user.
// '.' characters will be replaced by random digits.
// Leave blank to force the user to enter a nick before connecting.
"initial_nick": "",
// INITIAL CHANS: Default channels to join on connect.
// Comma-separate channels, and provide keys after, space-separated.
// Leave blank for to join no channels by default.
"initial_chans": "",
// CHAN AUTOCONNECT: Whether on clicking a channel in the client prior to
// connect, in a channel list or other URLified text, they should be
// automatically connected and joined without any further confirmation if they
// have a nick either provided by settings or typed into a connect window.
// If set false, then the user is simply redirected to the connect window, with
// the channel set in the channel box.
"chan_autoconnect": true,
// CONNECTIONS: What order to attempt methods of connection in
// valid values: flash websocket
"connections": ["flash"],
}
});