diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2013-04-08 11:12:54 +0200 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2013-06-13 11:11:02 +0200 |
commit | 4d8f7706240a1603468968f47fc7b150b788d62f (patch) | |
tree | 92d55d789cc7ac979b3c9e161ffb7f908eba043a /test/ejabberd_SUITE_data/ejabberd.cfg | |
parent | Fix Guide: ejabberd_service expects a shaper_rule, not a shaper (diff) |
Switch to rebar build tool
Use dynamic Rebar configuration
Make iconv dependency optional
Disable transient_supervisors compile option
Add hipe compilation support
Only compile ibrowse and lhttpc when needed
Make it possible to generate an OTP application release
Add --enable-debug compile option
Add --enable-all compiler option
Add --enable-tools configure option
Add --with-erlang configure option.
Add --enable-erlang-version-check configure option.
Add lager support
Improve the test suite
Diffstat (limited to 'test/ejabberd_SUITE_data/ejabberd.cfg')
-rw-r--r-- | test/ejabberd_SUITE_data/ejabberd.cfg | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/test/ejabberd_SUITE_data/ejabberd.cfg b/test/ejabberd_SUITE_data/ejabberd.cfg new file mode 100644 index 00000000..bcb0a009 --- /dev/null +++ b/test/ejabberd_SUITE_data/ejabberd.cfg @@ -0,0 +1,77 @@ +{loglevel, 4}. +{hosts, ["localhost"]}. +{listen, + [ + {5222, ejabberd_c2s, [ + {access, c2s}, + {shaper, c2s_shaper}, + {max_stanza_size, 65536} + ]}, + {5269, ejabberd_s2s_in, [ + {shaper, s2s_shaper}, + {max_stanza_size, 131072} + ]}, + {5280, ejabberd_http, [ + captcha + ]} + ]}. +{define_macro, 'DB_TYPE', internal}. +{auth_method, 'DB_TYPE'}. +{shaper, normal, {maxrate, 1000}}. +{shaper, fast, {maxrate, 50000}}. +{max_fsm_queue, 1000}. +{acl, local, {user_regexp, ""}}. +{access, max_user_sessions, [{10, all}]}. +{access, max_user_offline_messages, [{5000, admin}, {100, all}]}. +{access, local, [{allow, local}]}. +{access, c2s, [{deny, blocked}, + {allow, all}]}. +{access, c2s_shaper, [{none, admin}, + {normal, all}]}. +{access, s2s_shaper, [{fast, all}]}. +{access, announce, [{allow, admin}]}. +{access, configure, [{allow, admin}]}. +{access, muc_admin, [{allow, admin}]}. +{access, muc_create, [{allow, local}]}. +{access, muc, [{allow, all}]}. +{access, pubsub_createnode, [{allow, local}]}. +{access, register, [{allow, all}]}. +{language, "en"}. +{modules, + [ + {mod_adhoc, []}, + {mod_announce, [{db_type, 'DB_TYPE'}]}, + {mod_blocking, [{db_type, 'DB_TYPE'}]}, + {mod_caps, [{db_type, 'DB_TYPE'}]}, + {mod_configure, []}, + {mod_disco, []}, + {mod_last, [{db_type, 'DB_TYPE'}]}, + {mod_muc, []}, + {mod_offline, [{db_type, 'DB_TYPE'}]}, + {mod_ping, []}, + {mod_privacy, [{db_type, 'DB_TYPE'}]}, + {mod_private, [{db_type, 'DB_TYPE'}]}, + {mod_proxy65, []}, + {mod_pubsub, [ + {access_createnode, pubsub_createnode}, + {ignore_pep_from_offline, true}, + %%{ignore_pep_from_offline, false}, + {last_item_cache, false}, + {plugins, ["flat", "hometree", "pep", "public", + "private", "mb"]} + ]}, + {mod_register, [ + {welcome_message, {"Welcome!", + "Hi.\nWelcome to this XMPP server."}} + ]}, + {mod_roster, [{db_type, 'DB_TYPE'}]}, + {mod_stats, []}, + {mod_time, []}, + {mod_vcard, [{db_type, 'DB_TYPE'}]}, + {mod_version, []} + ]}. + +%%% Local Variables: +%%% mode: erlang +%%% End: +%%% vim: set filetype=erlang tabstop=8 foldmarker=%%%',%%%. foldmethod=marker: |