aboutsummaryrefslogtreecommitdiff
path: root/test (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add logger macro to help troubleshooting Elixir testsMickael Remond2016-04-011-0/+33
|
* Port mod_admin_extra test to work with new APIMickael Remond2016-03-315-30/+86
|
* Fix failing testsMickael Remond2016-03-312-7/+5
|
* Merge lastest commits from masterMickael Remond2016-03-311-1/+3
|\
| * Test / Document ejabberd_commands checksMickael Remond2016-03-311-1/+21
| |
| * Check that various type of commands are properly rejected without authMickael Remond2016-03-311-18/+26
| |
| * Better error report when command is not exposed through APIMickael Remond2016-03-301-1/+9
| |
| * Returns unauthorized error when we do not have correct credentialsMickael Remond2016-03-301-1/+0
| |
| * HTTP ReST API now supports 'open' ejabberd commandsMickael Remond2016-03-302-0/+85
| |
| * Support flagging so Elixir tests as pendingMickael Remond2016-03-301-1/+3
| |
* | Try keeping names of test same as master to limit merge conflictsMickael Remond2016-03-316-745/+745
| |
* | Add test file whose name was conflicting during mergeMickael Remond2016-03-311-0/+96
| |
* | Rename conflicting test file after mergeMickael Remond2016-03-311-0/+81
| |
* | Commands refactor, first pass.Alexey Shchepin2016-03-3111-49/+1838
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add API versionning - changed error handling, based on exception - commands moved/merged from mod_admin_p1 to mod_admin_extra - command bufixes - add some elixir unit test cases Squashed commit of the following: commit dd59855b3486f78a9349756e4f102e79b3accff8 Merge: 14e8ffc 506e08e Author: Jerome Sautret <jerome.sautret@process-one.net> Date: Fri Oct 30 11:43:18 2015 +0100 Merge branch '3.2.x' into api commit 14e8ffce78cbea6c8605371d1fc50a0c1d1e012c Author: Jerome Sautret <jerome.sautret@process-one.net> Date: Tue Oct 27 16:35:17 2015 +0100 Added OAuth tests to ejabberd_commands commit f81c550c14628edfe4861c228576cb767924366a Author: Jerome Sautret <jerome.sautret@process-one.net> Date: Tue Oct 27 16:34:55 2015 +0100 Added some mod_http_api tests commit 6a64578d5b2ba532a2feb6503ed98561e56d5d53 Author: Jerome Sautret <jerome.sautret@process-one.net> Date: Mon Oct 26 15:29:36 2015 +0100 Fix get_last command test Previous version won't work with dst. commit 27e0cde9e9c1f001effe68f8424a365ad947c068 Author: Jerome Sautret <jerome.sautret@process-one.net> Date: Fri Oct 23 17:59:34 2015 +0200 Add tests on admin command policy commit 19dad8d54f54c9fabd454280483cccfb06c8e78a Author: Jerome Sautret <jerome.sautret@process-one.net> Date: Fri Oct 23 16:49:36 2015 +0200 Added command related tests (http api & user policy) commit e0e596ab4a3f3a70aba5f374f028939ab794de33 Author: Jerome Sautret <jerome.sautret@process-one.net> Date: Fri Oct 23 16:49:16 2015 +0200 Fix command call. commit 128cd7d1ede3c47a34f8ec3a750c980ccad2c61d Merge: 60c4c4c 447313c Author: Jerome Sautret <jerome.sautret@process-one.net> Date: Thu Oct 22 14:48:39 2015 +0200 Merge branch '3.2.x' into api commit 60c4c4c0751302524c14219c6bc8c56a6069a689 Author: Jerome Sautret <jerome.sautret@process-one.net> Date: Thu Oct 22 14:45:57 2015 +0200 Fix ejabberd_commands spec. commit 8e145c28c5da762c2b93ee32327eff1db94ebfed Merge: 397273a f13dc94 Author: Jerome Sautret <jerome.sautret@process-one.net> Date: Wed Oct 21 18:26:07 2015 +0200 Merge branch '3.2.x' into api commit 397273a23ed415feac87aed33da6452229793387 Merge: c30e89b f289e27 Author: Jerome Sautret <jerome.sautret@process-one.net> Date: Wed Oct 21 15:27:45 2015 +0200 Merge branch '3.2.x' into api commit c30e89bb8a0013bff37e61e4c6953350c9c1f313 Author: Jerome Sautret <jerome.sautret@process-one.net> Date: Wed Oct 21 12:47:02 2015 +0200 Merge mod_http_api commit 7b0db22b4acd48ff6fabce41c1b2525e6580a3c5 Author: Jerome Sautret <jerome.sautret@process-one.net> Date: Fri Oct 16 11:55:48 2015 +0200 Fix exunit tests to run with common_test suites commit d8b1a89800ac7379a57a7eb4a09c3c93c3e1e5eb Merge: 2879ae8 63455b3 Author: Jerome Sautret <jerome.sautret@process-one.net> Date: Thu Oct 15 11:39:45 2015 +0200 Merge branch '3.2.x' into api commit 2879ae87ff3eee369ef3d780136b96ecff5285d1 Author: Jerome Sautret <jerome.sautret@process-one.net> Date: Wed Oct 14 14:53:44 2015 +0200 Fix update_roster command. commit a1d453dd7a3afda9861a8d747494a45057ad574b Author: Jerome Sautret <jerome.sautret@process-one.net> Date: Tue Oct 13 16:14:28 2015 +0200 API commands refactor Moving and/or merging commands from mod_admin_p1 to mod_admin_extra commit b709ed26b0fc0ca4f3bdd5a59fa58ec7e3db97fa Author: Jerome Sautret <jerome.sautret@process-one.net> Date: Wed Oct 7 15:10:01 2015 +0200 Add tests on commands commit 6711687bee9c672cb3d5aed0744e13420ecf6dbd Author: Jerome Sautret <jerome.sautret@process-one.net> Date: Tue Sep 29 15:58:16 2015 +0200 Add ejabberd_commands tests commit df8682f419cf3877e77e36a19bca0fc55dc991f8 Author: Jerome Sautret <jerome.sautret@process-one.net> Date: Mon Sep 28 14:54:39 2015 +0200 Added API versioning for ejabberdctl and rest commands commit cd017b0e3aac431bc3ee807ceb7f8641e1523ef5 Author: Jerome Sautret <jerome.sautret@process-one.net> Date: Fri Sep 18 11:21:45 2015 +0200 Better error handling of HTTP API commands. commit ca5cb6acd8e4643f9d6c484d2277b0d7e88471e5 Author: Jerome Sautret <jerome.sautret@process-one.net> Date: Tue Sep 15 15:03:05 2015 +0200 add commands to mod_admin_extra: - get_offline_count - get_presence - change_password commit 7f583fa099e30ac2b0915669fd8f102ac565b833 Author: Jerome Sautret <jerome.sautret@process-one.net> Date: Tue Sep 15 15:02:16 2015 +0200 Improve REST API error handling commit 14753b1c02cdce434a786b7f80f6c09f0d210075 Author: Jerome Sautret <jerome.sautret@process-one.net> Date: Mon Sep 14 10:51:17 2015 +0200 Change REST API return codes for integer type.
* Add basic test for command registrationMickael Remond2016-03-291-0/+57
|
* Proper naming for LDAP test function for shared rosterMickael Remond2016-03-251-2/+2
|
* Switch back to proper log levelMickael Remond2016-03-251-1/+1
|
* Add test to demonstrate issue to retrieve roster with mod_shared_roster_ldapMickael Remond2016-03-253-2/+36
|
* Allow running test groups independentlyMickael Remond2016-03-242-15/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add simple Elixir unit test on jid:from_stringMickael Remond2016-03-211-0/+44
|
* Comment on error failures in logs + indentingMickael Remond2016-03-211-20/+31
|
* Merge branch 'master' of github.com:processone/ejabberdMickael Remond2016-03-152-0/+5
|\
| * Add ODBC tests for MIXEvgeniy Khramtsov2016-03-132-0/+5
| |
* | Better error reporting when running Elixir test suiteMickael Remond2016-03-151-2/+23
|/
* Add tests for MIXEvgeniy Khramtsov2016-03-103-2/+98
|
* Add Redis backend to the test suiteEvgeniy Khramtsov2016-02-193-1/+65
|
* Make it possible to define 'sm_db_type' per virtual hostEvgeniy Khramtsov2016-02-191-0/+3
|
* mod_muc_room: Don't expose JIDs in anonymous roomsHolger Weiss2016-02-111-10/+10
| | | | | Don't let room members retrieve the member list unless the room is non-anonymous.
* Get rid of calls to jlib.erl from testsEvgeniy Khramtsov2016-02-112-54/+54
|
* Do not forget sending initial presence in XEP-0013 testEvgeniy Khramtsov2016-02-111-0/+4
|
* mod_mam: Send new preferences when they are setHolger Weiss2016-02-101-4/+4
| | | | | If a client updates the archiving preferences, include the new preferences with the IQ result (as mandated by XEP-0313).
* Add tests for XEP-0013Evgeniy Khramtsov2016-02-101-0/+131
|
* Convert tests to Fast XMLMickael Remond2016-02-032-7/+7
|
* Update copyright to 2016 (#901)Badlop2016-01-135-5/+5
|
* Fix mod_carboncopy configuration for test suiteHolger Weiss2015-12-151-2/+1
| | | | The mod_carboncopy module doesn't have the "db_type" option.
* Disable use of multi-subscribe and subscription-option on standard pluginsChristophe Romain2015-12-111-9/+0
|
* Update MAM tests to always expect RSM in responseHolger Weiss2015-08-301-2/+4
|
* Update crypto callsAlexey Shchepin2015-07-301-2/+2
|
* Get rid of 'db_type' for mod_blocking in test suiteEvgeniy Khramtsov2015-07-161-10/+5
|
* Add "complete" attribute to MAM final response (EJABS-2484)Evgeniy Khramtsov2015-07-101-7/+12
|
* Fix mod_mam compatibility with RSM for other backendsEvgeniy Khramtsov2015-07-101-0/+29
|
* Fix MAM tests (EJABS-2480).Jerome Sautret2015-07-081-10/+18
|
* Send notifications on MUC configuration changesHolger Weiss2015-07-021-4/+5
| | | | | | | Notify clients when the room configuration changes, as mandated by XEP-0045, #10.2.1. Closes #623.
* Add MAM (XEP-0313) supportEvgeniy Khramtsov2015-06-222-0/+288
|
* Remove XEP-0091 tags from test suiteHolger Weiss2015-05-181-4/+3
|
* PubSub improvementsChristophe Romain2015-04-213-9/+14
| | | | | | | | This commit contains - code cleanup - use of db_type instead of old mod_pubsub_odbc - some minor optimizations - some minor bugfixes
* Make s2s port configurable in test runnerPaweł Chmielowski2015-04-202-1/+2
|
* CSI test: Simplify and improve readabilityHolger Weiss2015-04-161-20/+21
|
* CSI test: Fix race when slave becomes active againHolger Weiss2015-04-161-9/+11
| | | | | | Make sure the server processed the slave's active request after the previous test stanzas were received by the slave and before the final Chat State notification is sent by the master.
* Make sure that server processed our inactive request before processing ↵Paweł Chmielowski2015-04-151-0/+3
| | | | further in testing