X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=config.example.js;h=1314152faca35ffd7e098867d91271a7372bcfea;hb=b3b0ed4686002743acab4ab39e93e65a1db623e3;hp=674f8f999712fc4bb5142fae44f35fa87c499ce1;hpb=69193a64eff8f2bb1c8b72c95edc2da99393ec50;p=KiwiIRC.git diff --git a/config.example.js b/config.example.js index 674f8f9..1314152 100644 --- a/config.example.js +++ b/config.example.js @@ -33,6 +33,11 @@ conf.servers.push({ // ssl_cert: "cert.pem" //}); +// Network interface for outgoing connections +conf.outgoing_address = { + IPv4: '0.0.0.0' + //IPv6: '::' +}; // Do we want to enable the built in Identd server? @@ -60,6 +65,21 @@ conf.max_client_conns = 5; // - Kiwi is running in restricted server mode. conf.max_server_conns = 0; +/* +* Default encoding to be used by the server +* As specified and limited to iconv-lite library support. +*/ +conf.default_encoding = 'utf8'; + + +/* +* Default GECOS (real name) for IRC connections +* %n will be replaced with the users nick +* %h will be replaced with the users hostname +*/ +//conf.default_gecos = 'Web IRC Client'; + + /* * Client side plugins @@ -72,11 +92,6 @@ conf.client_plugins = [ -// Enabled CAP extensions (See ENTER URL TO CAP INFO HERE PLS) -conf.cap_options = []; - - - // Directory to find the server modules conf.module_dir = "../server_modules/"; @@ -107,7 +122,7 @@ conf.reject_unauthorised_certificates = false; /* * Reverse proxy settings * Reverse proxies that have been reported to work can be found at: - * http://github.com/prawnsalad/KiwiIRC/wiki/Running-behind-a-proxy + * https://kiwiirc.com/docs/installing/proxies */ // Whitelisted HTTP proxies in CIDR format @@ -148,17 +163,6 @@ conf.socks_proxy.user = null; conf.socks_proxy.pass = null; -// Enabled transports for the browser to use -conf.transports = [ - "websocket", - "flashsocket", - "htmlfile", - "xhr-polling", - "jsonp-polling" -]; - - - // Default quit message conf.quit_message = "http://www.kiwiirc.com/ - A hand-crafted IRC client"; @@ -170,15 +174,37 @@ conf.client = { port: 6697, ssl: true, channel: '#kiwiirc', - nick: 'kiwi_?' + channel_key: '', + nick: 'kiwi_?', + settings: { + theme: 'relaxed', + channel_list_style: 'tabs', + scrollback: 250, + show_joins_parts: true, + show_timestamps: false, + use_24_hour_timestamps: true, + mute_sounds: false, + show_emoticons: true, + count_all_activity: true + }, + window_title: 'Kiwi IRC' }; +// List of themes available for the user to choose from +conf.client_themes = [ + 'relaxed', + 'mini', + 'cli', + 'basic' +]; + // If set, the client may only connect to this 1 IRC server //conf.restrict_server = "irc.kiwiirc.com"; //conf.restrict_server_port = 6667; //conf.restrict_server_ssl = false; //conf.restrict_server_channel = "#kiwiirc"; +//conf.restrict_server_channel_key = ""; //conf.restrict_server_password = ""; //conf.restrict_server_nick = "kiwi_"; @@ -186,6 +212,6 @@ conf.client = { /* - * Do not ammend the below lines unless you understand the changes! + * Do not amend the below lines unless you understand the changes! */ module.exports.production = conf;