aboutsummaryrefslogtreecommitdiffstats
path: root/spec/scansion/prosody.cfg.lua
Commit message (Collapse)AuthorAgeFilesLines
* integration tests: Preserve unmocked time.monotonic()Matthew Wild2023-04-061-6/+5
| | | | | | | | | | With monotonic() frozen, timers may fail to trigger. This caused problems after the new util.startup changes that moved the server-started event to a timer. The timer wouldn't trigger, the event didn't fire, and prosody would fail to daemonize. All the tests that depend on specific time behaviour are depending on wall clock time, so only mocking util.time.now() and os.time() fixes those.
* scansion: Enable mod_debug_reset during testsMatthew Wild2023-03-231-0/+3
|
* mod_mam: Store archives with sub-second precision timestampsKim Alvefur2022-08-141-2/+2
| | | | | | | | | | | Changes sub-second part of example timestamp to .5 in order to avoid floating point issues. Some clients use timestamps when ordering messages which can lead to messages having the same timestamp ending up in the wrong order. It would be better to preserve the order messages are sent in, which is the order they were stored in.
* mod_tombstones: Add a very basic test caseKim Alvefur2021-12-231-0/+3
|
* scansion tests: Enable 'expose_publisher' since we test for itKim Alvefur2021-07-251-0/+1
|
* 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
* 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-111-0/+2
|
* mod_http_file_share: Add file type filterKim Alvefur2021-01-261-0/+1
| | | | | 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-261-0/+1
|
* mod_http_file_share: Let's write another XEP-0363 implementationKim Alvefur2021-01-261-0/+2
| | | | | | | | | | 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
* 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
* mod_external_services: XEP-0215: External Service DiscoveryKim Alvefur2020-07-181-0/+12
|
* mod_server_contact_info: Add status-addresses fieldKim Alvefur2020-05-271-0/+1
| | | | 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
|
* util.human.io: Fix right-alignmentKim Alvefur2020-06-061-2/+4
|
* scansion: Add test for mod_server_contact_info / XEP-0157Kim Alvefur2020-05-271-1/+10
|
* mod_lastactivity: Add basic scansion test coverageKim Alvefur2020-04-201-0/+1
| | | | When run on Lua 5.3 produces an issue similar to #1536
* 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-201-0/+2
| | | | Why was this module enabled in the config for tests if it wasn't tested?
* scansion tests: Remove daemonize option, not neededKim Alvefur2020-01-261-1/+0
|
* tests: Disable s2s in scansion testsKim Alvefur2019-11-301-1/+4
| | | | These are all c2s tests, no need to have s2s enabled.
* 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.
* Merge 0.11->trunkKim Alvefur2018-12-231-1/+2
|\
| * mod_mam: Add test for JID normalization in prefs (see #1275)Kim Alvefur2018-12-231-1/+2
| |
* | spec/scansion/prosody.cfg.lua: Add remaining modules listened in ↵Kim Alvefur2018-12-111-0/+5
| | | | | | | | prosody.cfg.lua.dist for easier comparisons
* | spec/scansion/prosody.cfg.lua: Replace mod_vcard with mod_vcard4 and ↵Kim Alvefur2018-12-111-1/+2
| | | | | | | | mod_vcard_legacy as in default config
* | spec/scansion/prosody.cfg.lua: Update a comment from prosody.cfg.lua.dist ↵Kim Alvefur2018-12-111-1/+1
|/ | | | for easier comparisons
* spec/scansion/prosody.cfg.lua: Add comment about mod_scansion_recordKim Alvefur2018-11-121-1/+3
| | | | | This was accidentally included in a previous commit, but having it here makes it easier to enable when making new test cases.
* MUC: Add scanison test case for #1230Kim Alvefur2018-11-121-0/+1
|
* spec/scansion/prosody.cfg.lua: daemonize by defaultMatthew Wild2018-09-121-0/+1
|
* spec/scansion/prosody.cfg.lua: Add pidfile option so Prosody can be daemonizedMatthew Wild2018-09-121-0/+2
|
* spec/scansion/prosody.cfg.lua: Config file to be used for integration testsMatthew Wild2018-09-121-0/+76