aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-03-24Allow running test groups independentlyMickael Remond1-20/+51
We need to be able to run only a few test groups, even if we do not have all database backends installed and configured locally. ejabberd test suite configures a specific host per backend. I changed ejabberd to allow ignoring some hosts from config file on start, by providing the exact list of hosts we want to start. This is done by setting an ejabberd app Erlang environment variable 'hosts' and passing the list of hosts we want to actually define. When doing so, the backend specific hosts defined in ejabberd test configuration file are simply ignored. As a result, we do not try to connect to unavailable backends. I linked that part to CT run test by defining the hosts list based on environment variable CT_BACKENDS. This variable is expected to be a comma separated list of available backends. When Erlang Common Tests are run with that environment variable set, only the host matching the name of the backend will be set, plus the default "localhost", common to many tests. This can be combined with rebar ct groups list. Example commands to run tests: CT_BACKENDS=riak,mnesia rebar ct suites=ejabberd CT_BACKENDS=mnesia rebar ct suites=ejabberd groups=mnesia
2016-03-22Fix is_connected/0 functionEvgeniy Khramtsov1-2/+7
2016-03-22Keep alive Riak connections by defaultEvgeniy Khramtsov2-1/+8
2016-03-22Do not auto append IP suffix to usernames (#1008)Evgeniy Khramtsov1-17/+1
2016-03-21Improve ban_account command to work with other DBs than Mnesia (#977)Badlop1-15/+1
2016-03-21New command delete_mnesia deletes all tables that can be exportedBadlop2-1/+38
2016-03-21Add simple Elixir unit test on jid:from_stringMickael Remond1-3/+7
2016-03-19support riak authenticationHAMANO Tsukasa2-9/+45
2016-03-17Fix issue #1015Paweł Chmielowski1-1/+1
2016-03-16Don't use jlib:jid_remove_resourcePaweł Chmielowski1-1/+1
2016-03-16Make auto generated resources shorterPaweł Chmielowski1-3/+6
2016-03-16Start ezlib only if required, as it's optional (#1006)Badlop2-1/+1
2016-03-15Bare JID in 'from' of Roster Push (RFC 6121 section 2.1.6) in mod_admin_extraroot1-1/+1
2016-03-14Fix Addresses element which lacked others local destinationsBadlop1-4/+7
When sending single packet, in addresses include all other group destinations, not only oneself
2016-03-14Fix result type of "connected_users_info" commandHolger Weiss1-1/+2
Closes #1002.
2016-03-14Don't store watchdog notifications in MAM archivesHolger Weiss1-2/+8
2016-03-13Unregister route at the very endEvgeniy Khramtsov1-2/+2
2016-03-13Add ODBC backend for MIXEvgeniy Khramtsov1-0/+170
2016-03-13Define pubsub node configuration per route/host explicitlyEvgeniy Khramtsov1-20/+26
2016-03-13Make it possible to get virtual host of a registered routeEvgeniy Khramtsov13-53/+79
2016-03-11Fix config fetch after host/serverhost cleanupChristophe Romain1-6/+0
2016-03-10Minimal auth_method ordering fixElias Rohrer1-1/+1
2016-03-09Lager to Elixir Logger bridge is now compliant with ejabberd loglevel set / getMickael Remond2-16/+29
This should fix #966
2016-03-09Fix call to lager_util:is_loggable/3Mickael Remond1-1/+1
2016-03-09Use p1_time_compat util for generating timestampMickael Remond1-1/+1
2016-03-09Add Elixir Logger Backend to bridge logs from lagerMickael Remond2-2/+157
We will need to support loglevel bridging. It should help with #966
2016-03-09Define mod_opt_type/1 callbackEvgeniy Khramtsov1-1/+5
2016-03-09Unregister hooks and iq handlers on terminateEvgeniy Khramtsov1-1/+15
2016-03-09mod_http_upload: Add XEP-0363 v0.2 supportHolger Weiss1-5/+33
Include the maximum file size in the service discovery information, as specified by XEP-0363, version 0.2.
2016-03-08Experimental MIX (XEP-0369) supportEvgeniy Khramtsov5-2/+499
2016-03-07Fix format_result also in xmlrpc, after aa5caa3 (#982)Badlop1-1/+1
2016-03-07fix syntax highlighting by keeping "~s" togetherBalázs Galambosi1-2/+2
2016-03-07Fixed type specifications for 'rebar doc'Elias Rohrer5-86/+23
- Fixed type @specs and -specs to remove 'rebar doc' errors - Removed a lot of wrong and deprecated documentation in ejabberd_piefxis.erl
2016-03-04EJAB-1480: fix issue with retreiving user rosterAnton Samets1-1/+1
2016-03-04Define opt_type required be ejabberd_config behaviour.Paweł Chmielowski1-1/+4
2016-03-04Mark get_queue_length obsolete, and use count_offline_messages (#970)Badlop3-6/+6
2016-03-03ext_mod: switch to fast_xml and remove old p1_logger referenceChristophe Romain1-3/+2
2016-03-03Fix pubsub disco after host/serverhost cleanupChristophe Romain1-1/+1
2016-03-03Enable flexible offline on disco#info as wellEvgeniy Khramtsov1-2/+8
2016-03-02Missed a few calls in previous commitsAlexey Shchepin1-16/+4
2016-03-02Raise an error when there are no fields to set in ?SQL_UPSERTAlexey Shchepin1-6/+35
2016-03-02Update more SQL queriesAlexey Shchepin4-143/+128
2016-03-02Update more SQL queriesAlexey Shchepin3-118/+127
2016-03-02Update more SQL queriesAlexey Shchepin6-317/+227
2016-03-02Update mod_last SQL queries to the new APIAlexey Shchepin2-34/+22
2016-03-02New parse transform for ?SQL_UPSERT and ?SQL_UPSERT_TAlexey Shchepin2-7/+277
2016-03-02Update mod_roster and ejabberd_auth_odbc SQL queries to the new APIAlexey Shchepin3-177/+145
2016-03-02Allow balanced expressions inside @(...) in ejabberd_sql_ptAlexey Shchepin1-6/+10
2016-03-02Updated some mod_offline SQL queries to the new APIAlexey Shchepin2-74/+50
2016-03-01Use 'any' to match any DBMS in sql_queryAlexey Shchepin1-0/+2