aboutsummaryrefslogtreecommitdiffstats
path: root/spec/scansion
Commit message (Collapse)AuthorAgeFilesLines
* mod_external_services: Validate required attributes on credentials requestsKim Alvefur2021-08-291-0/+14
|
* Fix various spelling errors (thanks codespell)Kim Alvefur2021-07-271-1/+1
| | | | | Also special thanks to timeless, for wordlessly reminding me to check for typos.
* mod_pubsub: Explicitly enable persistence by default to preserve behaviorKim Alvefur2021-07-211-1/+1
| | | | | | Since nodes were always persistent according to the XEP-0060 definition. Whether data is stored in memory or on disk was not what this setting was meant for.
* scansion tests: Enable 'expose_publisher' since we test for itKim Alvefur2021-07-251-0/+1
|
* mod_pubsub: Fix inclusion of publisher (fixes #1399)Kim Alvefur2019-05-015-15/+15
|
* Merge 0.11->trunkKim Alvefur2021-07-231-57/+83
|\
| * MUC: Fix logic for access to affiliation lists0.11.10Kim Alvefur2021-07-221-57/+83
| | | | | | | | | | | | Fixes https://prosody.im/security/advisory_20210722/ Backs out 4d7b925652d9
* | scansion tests: Allow specifying network settings via environment variableKim Alvefur2021-07-111-2/+1
| | | | | | | | | | | | | | Allows testing e.g. opportunistic writes or other settings easily in CI or otherwise without editing the config file. make integration-test PROSODY_NETWORK_SETTINGS='{"opportunistic_writes":true}'
* | scansion tests: Allow specifying network backend via environment variableKim Alvefur2021-07-111-1/+1
| | | | | | | | | | | | | | To make it easier to test select and event without having to edit the config file, e.g. in CI. make integration-test PROSODY_NETWORK_BACKEND=event
* | mod_pubsub,mod_pep: Support "max" as 'pubsub#max_items'Kim Alvefur2021-06-094-5/+52
| | | | | | | | | | | | Fixes #1643 API change: The argument to archive_itemstore() changes type to integer
* | scansion: Really silence the certificates dir errorKim Alvefur2021-05-281-1/+1
| | | | | | | | certificate_s_, plural, is the directory setting
* | scansion: Silence an error from cert indexer due to missing certs dirKim Alvefur2021-05-271-1/+4
| |
* | core.modulemanager: Inherit mod_server_contact_info onto components #1270Kim Alvefur2021-05-271-1/+0
| |
* | mod_server_contact_info: Apply JID normalizationKim Alvefur2020-09-112-0/+27
| |
* | 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.