aboutsummaryrefslogtreecommitdiffstats
path: root/spec/scansion
Commit message (Collapse)AuthorAgeFilesLines
* MUC: Reject probes from non-occupantsJC Brand2020-10-021-1/+64
| | | | Also test for self-probes
* MUC: Add support for presence probes (fixes #1535)JC Brand2020-04-191-0/+115
| | | | | | | | | | | The following patch allows Prosody to respond to `probe` presences and send out the probed occupant's current presence. This is based on line 17.3 in XEP-0045: A MUC service MAY handle presence probes sent to the room JID <room@service> or an occupant JID <room@service/nick> (e.g, these might be sent by an occupant's home server to determine if the room is still online or to synchronize presence information if the user or the user's server has gone offline temporarily or has started sharing presence again, as for instance when Stanza Interception and Filtering Technology (XEP-0273) is used).
* mod_external_services: XEP-0215: External Service DiscoveryKim Alvefur2020-07-182-0/+69
|
* mod_server_contact_info: Add status-addresses fieldKim Alvefur2020-05-272-0/+4
| | | | XEP-0157 version 1.1.0
* scansion/prosody.cfg: Fix typoKim Alvefur2020-07-091-1/+1
|
* scansion tests: Enable mod_muc_mam during tests (expect breakage)Kim Alvefur2020-06-211-0/+4
|
* MUC: Remove XEP-0091 Legacy Delayed Delivery from testKim Alvefur2020-06-211-1/+0
| | | | | | | Long time Obsolete XEP. The element is apparently not included when mod_muc_mam is enabled, and deleting this seems like the sanity-preserving approach.
* util.human.io: Fix right-alignmentKim Alvefur2020-06-061-2/+4
|
* scansion: Add test for mod_server_contact_info / XEP-0157Kim Alvefur2020-05-272-1/+63
|
* spec/scansion/blocking: Don't send stanzas after disconnectingKim Alvefur2020-05-091-4/+4
| | | | | | | Probably casued by mod_scansion_record catching the unavailable presence generated by Prosody on disconnect. See #1549
* MUC tests: Add missing 'affiliation' attributeMatthew Wild2020-04-231-1/+1
|
* Merge with upstream trunkMatthew Wild2020-04-234-0/+107
|\
| * mod_lastactivity: Add basic scansion test coverageKim Alvefur2020-04-202-0/+46
| | | | | | | | When run on Lua 5.3 produces an issue similar to #1536
| * mod_uptime: Add scansion test coverageKim Alvefur2020-04-201-0/+21
| | | | | | | | | | Once the Prosody is up, who cares when it comes down? That's not my department, says scanison.
| * scansion: Mock time libraries during testsKim Alvefur2020-04-201-0/+11
| | | | | | | | The passage of time does not need test coverage, just look in a mirror.
| * mod_version: Add scansion testKim Alvefur2020-04-202-0/+29
| | | | | | | | Why was this module enabled in the config for tests if it wasn't tested?
* | Merge 0.11->trunkMatthew Wild2020-04-231-1/+1
|\ \ | |/ |/|
| * MUC tests: Add missing affiliation attributeMatthew Wild2020-04-231-1/+1
| |
| * Backed out changeset 18f2c7bc5795 (was testing against wrong branch)Matthew Wild2020-04-231-6/+2
| |
| * MUC tests: Add <required/> to expected form fieldMatthew Wild2020-04-231-2/+6
| |
* | MUC: Add test for destroying a room by ad-hoc commandKim Alvefur2020-03-201-0/+67
| | | | | | | | | | Testing ad-hoc commands was not easily doable before 49312378ba1d relaxed the need for state and an extra roundtrip to execute commands
* | MUC: Support for broadcasting unavailable presence for affiliated offline usersMatthew Wild2020-03-121-0/+544
| | | | | | | | Activated when muc#roomconfig_presencebroadcast includes the "none" role.
* | scansion tests: Remove daemonize option, not neededKim Alvefur2020-01-261-1/+0
| |
* | scansion: Trim trailing whitespace in testsKim Alvefur2019-12-196-9/+9
| |
* | rostermanager, mod_presence: Support for subscription preapproval (fixes #686)Matthew Wild2019-12-191-0/+74
| |
* | tests: Disable s2s in scansion testsKim Alvefur2019-11-301-1/+4
| | | | | | | | These are all c2s tests, no need to have s2s enabled.
* | MUC: Indicate origin of registration related errorsKim Alvefur2019-11-251-2/+2
| |
* | MUC: Indicate origin of password related errorsKim Alvefur2019-11-251-1/+1
| |
* | MUC: Add testcase for #1466Kim Alvefur2019-11-241-0/+127
| |
* | MUC: Make nickname field in registration form requiredKim Alvefur2019-11-021-2/+6
| | | | | | | | | | | | Prevents traceback from resourceprep(nil) muc#register_roomnick is also required in XEP-0045
* | util.pubsub, pubsub.lib and tests: Add text to precondition-not-met error ↵Matthew Wild2019-10-271-0/+234
| | | | | | | | (fixes #1455)
* | MUC: Fix XML syntax error in testKim Alvefur2019-09-211-0/+1
| | | | | | | | How did this even happen?
* | MUC: Update test for vcard-temp changesKim Alvefur2019-09-211-4/+11
| | | | | | | | | | | | Should this XEP-0398 behavior even be covered here? The original lines came from a recording.
* | tests: Disable TLS in scansion testsKim Alvefur2019-09-071-1/+1
| | | | | | | | | | | | They were not using TLS before. With a36af4570b39 TLS context creation will succeed even without a certificate, so TLS will be offered, but since there is no certificate it does not work.
* | MUC: Fix delay tag @from in test to be the room JID (#1054 came back)Kim Alvefur2019-08-311-2/+2
| |
* | MUC: Add a test covering basic room creation, messages and destructionKim Alvefur2019-08-311-0/+242
| |
* | Merge 0.11->trunkKim Alvefur2019-06-201-1/+1
|\|
| * scansion/blocking: Remove the right irrelevant thingKim Alvefur2019-06-201-1/+1
| |
* | Merge 0.11->trunkKim Alvefur2019-06-201-10/+2
|\|
| * mod_blocklist: Remove unrelated tags from test caseKim Alvefur2019-06-201-10/+2
| |
* | Merge 0.11->trunkKim Alvefur2019-06-201-0/+168
|\|
| * mod_blocklist: Update test case with correct behavior (see #1380)Kim Alvefur2019-06-201-0/+6
| | | | | | | | Expect failure
| * mod_blocklist: Add test case capturing current behaviorKim Alvefur2019-06-201-0/+162
| |
* | Merge 0.11->trunkKim Alvefur2019-02-271-0/+202
|\|
| * spec: Add test case for #1322Kim Alvefur2019-02-271-0/+202
| |
* | Merge 0.11->trunkKim Alvefur2018-12-232-1/+38
|\|
| * mod_mam: Add test for JID normalization in prefs (see #1275)Kim Alvefur2018-12-232-1/+38
| |
* | Merge 0.11->trunkKim Alvefur2018-12-201-0/+22
|\|
| * MUC: Allow changing data attached to an only owner (fixes #1273)Kim Alvefur2018-12-201-0/+22
| | | | | | | | | | | | | | This previously prevented a single owner from setting their own nickname via admin query. The form method uses `true` as actor so it bypasses this check.
* | Merge 0.11->trunkMatthew Wild2018-12-192-2/+2
|\|