comparison configuration.js @ 56:99bd1d1ac071

Migration to node-xmpp, done!
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 10 Aug 2011 15:11:22 -0700
parents 296de54c1c4b
children
comparison
equal deleted inserted replaced
55:fd69d35cf2e6 56:99bd1d1ac071
19 19
20 'use strict'; 20 'use strict';
21 21
22 var config = exports; 22 var config = exports;
23 23
24 config.jid = 'pubsub.example.org'; 24 config.jid = 'pubsub.ubuntu';
25 config.password = 'hellohello'; 25 config.password = 'hellohello';
26 config.host = 'localhost'; 26 config.superOwner = ['you@ubuntu'];
27 config.port = 5347;
28 config.superOwner = ['you@example.com'];
29 config.version = '0.1'; 27 config.version = '0.1';
30 config.os = 'GNU/Linux'; 28 config.os = 'GNU/Linux';
31 config.allowCreateNode = [/@example\.com$/]; // value is an array of RegExp JIDs. If only super-owner should be able to create nodes, use []. 29 config.allowCreateNode = [/@ubuntu$/]; // value is an array of RegExp JIDs. If only super-owner should be able to create nodes, use [].
32 config.backend = 'directory'; // Put backends in “backends” directory. 30 config.backend = 'directory'; // Put backends in “backends” directory.
33 config.access = 'open'; // values include open, whitelist (by members) and authorize (owners of the node receive notification). presence and roster aren’t implemented yet. 31 config.access = 'open'; // values include open, whitelist (by members) and authorize (owners of the node receive notification). presence and roster aren’t implemented yet.
34 config.pluginsDir = 'modules'; 32 config.pluginsDir = 'modules';
35 config.hideNonAccessibleNodes = true; 33 config.hideNonAccessibleNodes = true;
34 config.debug = true;
36 35
37 config.activated = [ 36 config.activated = [
38 'auto-create', 37 'auto-create',
39 //'auto-subscribe', // Impossible à utiliser dans un component 38 //'auto-subscribe', // Impossible à utiliser dans un component
40 //'collections', //TODO 39 //'collections', //TODO