Mercurial > psgxs
comparison configuration.js @ 1:c2954a9e5665
Add a super-owner that has power over all nodes; add support for
affiliation changes; support pubsub#creator metadata; change
pubsub#digest_frequency default; and use better default config values.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Mon, 28 Jun 2010 21:55:30 +0200 |
parents | 9ee956af41e3 |
children | 781ac4f1e304 |
comparison
equal
deleted
inserted
replaced
0:9ee956af41e3 | 1:c2954a9e5665 |
---|---|
18 */ | 18 */ |
19 | 19 |
20 var config = exports; | 20 var config = exports; |
21 | 21 |
22 config.jid = 'pubsub.example.org'; | 22 config.jid = 'pubsub.example.org'; |
23 config.password = 'pubsub.example.org'; | 23 config.password = 'hellohello'; |
24 config.superOwner = ['you@example.com']; | |
25 config.version = '0.1'; | |
26 config.os = 'GNU/Linux'; | |
24 | 27 |
25 config.activated = [ | 28 config.activated = [ |
26 //'access-authorize', | 29 //'access-authorize', |
27 //'access-open', | 30 //'access-open', |
28 //'access-presence', // Impossible à utiliser dans un component | 31 //'access-presence', // Impossible à utiliser dans un component |
80 }, | 83 }, |
81 subscribe_options: { | 84 subscribe_options: { |
82 FORM_TYPE: {type: 'hidden', value: 'http://jabber.org/protocol/pubsub#subscribe_options'}, | 85 FORM_TYPE: {type: 'hidden', value: 'http://jabber.org/protocol/pubsub#subscribe_options'}, |
83 'pubsub#deliver': {type: 'boolean', label: 'Whether an entity wants to receive or disable notifications', value: true}, | 86 'pubsub#deliver': {type: 'boolean', label: 'Whether an entity wants to receive or disable notifications', value: true}, |
84 'pubsub#digest': {type: 'boolean', label: 'Whether an entity wants to receive digests (aggregations) of notifications or all notifications individually', value: false}, | 87 'pubsub#digest': {type: 'boolean', label: 'Whether an entity wants to receive digests (aggregations) of notifications or all notifications individually', value: false}, |
85 'pubsub#digest_frequency': {type: 'text-single', label: 'The minimum number of milliseconds between sending any two notification digests', value: 60*1000}, | 88 'pubsub#digest_frequency': {type: 'text-single', label: 'The minimum number of milliseconds between sending any two notification digests', value: 24*60*60*1000}, |
86 // 'pubsub#expire': {type: 'text-single', label: 'The DateTime at which a leased subscription will end or has ended'}, | 89 // 'pubsub#expire': {type: 'text-single', label: 'The DateTime at which a leased subscription will end or has ended'}, |
87 // 'pubsub#include_body': {type: 'boolean', label: 'Whether an entity wants to receive an XMPP message body in addition to the payload format', value: false}, | 90 // 'pubsub#include_body': {type: 'boolean', label: 'Whether an entity wants to receive an XMPP message body in addition to the payload format', value: false}, |
88 // 'pubsub#show-values': {type: 'list-multi', label: 'The presence states for which an entity wants to receive notifications', options: { | 91 // 'pubsub#show-values': {type: 'list-multi', label: 'The presence states for which an entity wants to receive notifications', options: { |
89 // away: {label: 'XMPP Show Value of Away'}, | 92 // away: {label: 'XMPP Show Value of Away'}, |
90 // chat: {label: 'XMPP Show Value of Chat'}, | 93 // chat: {label: 'XMPP Show Value of Chat'}, |