aboutsummaryrefslogtreecommitdiffstats
path: root/spec/scansion
Commit message (Collapse)AuthorAgeFilesLines
* mod_pubsub: Include <pubsub> with unsubscribe replyKim Alvefur2021-03-151-1/+5
| | | | | | | | | XEP-0060 6.2.2 This is a MAY but it makes it nice and symmetric with the subscription response. Reduces the need to remember which node you unsubscribed from. Explicit > implicit etc.
* MUC: Add robot face testKim Alvefur2021-03-021-0/+46
| | | | See 6e051bfca12d
* scansion tests: Give a title to HTTP Upload testKim Alvefur2021-02-031-0/+2
|
* mod_mam: Remove obsolete queryid attribute from testsKim Alvefur2021-01-291-2/+2
|
* mod_http_file_share: Reject invalid file sizesKim Alvefur2021-01-271-0/+13
|
* mod_http_file_share: Add file type filterKim Alvefur2021-01-262-0/+14
| | | | | Unlike mod_http_upload, this can't be bypassed by uploading with a different file extension.
* mod_http_file_share: Add file size limit (default 10M)Kim Alvefur2021-01-262-0/+17
|
* mod_http_file_share: Validate that filename does not contain '/'Kim Alvefur2021-01-261-0/+13
|
* mod_http_file_share: Let's write another XEP-0363 implementationKim Alvefur2021-01-262-0/+28
| | | | | | | | | | This variant is meant to improve upon mod_http_upload in some ways: * Handle files much of arbitrary size efficiently * Allow GET and PUT URLs to be different * Remember Content-Type sent by client * Avoid dependency on mod_http_files * Built-in way to delegate storage to another httpd
* mod_mam: Workaround scansion test flakynessKim Alvefur2021-01-131-12/+2
| | | | The empty ID fields are sometimes accepted, sometimes not.
* mod_mam: Implement extended MAM metadata queryKim Alvefur2020-11-301-0/+14
|
* mod_mam: Add support for page flippingKim Alvefur2020-11-301-0/+44
| | | | | This was easy. Needs tests tho, 100% chance of the logic being backwards.
* mod_mam: Advertise extended MAM 0.7.x behind a feature flagKim Alvefur2020-11-301-0/+78
| | | | | | | In order to ease testing until the extended feautres are all implemented. Also TODOs for all the sub-features.
* scansion: Allow specifying a logfile for prosody via environmentKim Alvefur2021-01-051-1/+1
| | | | This should allow Buildbot to pick up those logs along with scansions
* 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
| |