Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge 0.12->trunk | Kim Alvefur | 2024-06-12 | 1 | -0/+2 |
|\ | |||||
| * | scansion: Enable blocklist compat during tests to fix CI | Kim Alvefur | 2024-06-12 | 1 | -0/+2 |
| | | |||||
* | | scansion: Use new style for accessing Lua globals | Kim Alvefur | 2023-12-17 | 1 | -1/+1 |
| | | |||||
* | | scansion: Use new prosody namespace in import | Kim Alvefur | 2023-12-17 | 1 | -1/+1 |
| | | |||||
* | | scansion: Use captures or wildcards instead of mocking time | Kim Alvefur | 2023-12-17 | 1 | -10/+0 |
| | | | | | | | | | | > Mockery is one of the things I hold dear! And he's making a mockery of it!! -- Belkar Bitterleaf | ||||
* | | integration tests: Preserve unmocked time.monotonic() | Matthew Wild | 2023-04-06 | 1 | -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 tests | Matthew Wild | 2023-03-23 | 1 | -0/+3 |
| | | |||||
* | | mod_mam: Store archives with sub-second precision timestamps | Kim Alvefur | 2022-08-14 | 1 | -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 case | Kim Alvefur | 2021-12-23 | 1 | -0/+3 |
| | |||||
* | scansion tests: Enable 'expose_publisher' since we test for it | Kim Alvefur | 2021-07-25 | 1 | -0/+1 |
| | |||||
* | scansion tests: Allow specifying network settings via environment variable | Kim Alvefur | 2021-07-11 | 1 | -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 variable | Kim Alvefur | 2021-07-11 | 1 | -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 error | Kim Alvefur | 2021-05-28 | 1 | -1/+1 |
| | | | | certificate_s_, plural, is the directory setting | ||||
* | scansion: Silence an error from cert indexer due to missing certs dir | Kim Alvefur | 2021-05-27 | 1 | -1/+4 |
| | |||||
* | core.modulemanager: Inherit mod_server_contact_info onto components #1270 | Kim Alvefur | 2021-05-27 | 1 | -1/+0 |
| | |||||
* | mod_server_contact_info: Apply JID normalization | Kim Alvefur | 2020-09-11 | 1 | -0/+2 |
| | |||||
* | mod_http_file_share: Add file type filter | Kim Alvefur | 2021-01-26 | 1 | -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 Alvefur | 2021-01-26 | 1 | -0/+1 |
| | |||||
* | mod_http_file_share: Let's write another XEP-0363 implementation | Kim Alvefur | 2021-01-26 | 1 | -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 environment | Kim Alvefur | 2021-01-05 | 1 | -1/+1 |
| | | | | This should allow Buildbot to pick up those logs along with scansions | ||||
* | mod_external_services: XEP-0215: External Service Discovery | Kim Alvefur | 2020-07-18 | 1 | -0/+12 |
| | |||||
* | mod_server_contact_info: Add status-addresses field | Kim Alvefur | 2020-05-27 | 1 | -0/+1 |
| | | | | XEP-0157 version 1.1.0 | ||||
* | scansion/prosody.cfg: Fix typo | Kim Alvefur | 2020-07-09 | 1 | -1/+1 |
| | |||||
* | scansion tests: Enable mod_muc_mam during tests (expect breakage) | Kim Alvefur | 2020-06-21 | 1 | -0/+4 |
| | |||||
* | util.human.io: Fix right-alignment | Kim Alvefur | 2020-06-06 | 1 | -2/+4 |
| | |||||
* | scansion: Add test for mod_server_contact_info / XEP-0157 | Kim Alvefur | 2020-05-27 | 1 | -1/+10 |
| | |||||
* | mod_lastactivity: Add basic scansion test coverage | Kim Alvefur | 2020-04-20 | 1 | -0/+1 |
| | | | | When run on Lua 5.3 produces an issue similar to #1536 | ||||
* | scansion: Mock time libraries during tests | Kim Alvefur | 2020-04-20 | 1 | -0/+11 |
| | | | | The passage of time does not need test coverage, just look in a mirror. | ||||
* | mod_version: Add scansion test | Kim Alvefur | 2020-04-20 | 1 | -0/+2 |
| | | | | Why was this module enabled in the config for tests if it wasn't tested? | ||||
* | scansion tests: Remove daemonize option, not needed | Kim Alvefur | 2020-01-26 | 1 | -1/+0 |
| | |||||
* | tests: Disable s2s in scansion tests | Kim Alvefur | 2019-11-30 | 1 | -1/+4 |
| | | | | These are all c2s tests, no need to have s2s enabled. | ||||
* | tests: Disable TLS in scansion tests | Kim Alvefur | 2019-09-07 | 1 | -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->trunk | Kim Alvefur | 2018-12-23 | 1 | -1/+2 |
|\ | |||||
| * | mod_mam: Add test for JID normalization in prefs (see #1275) | Kim Alvefur | 2018-12-23 | 1 | -1/+2 |
| | | |||||
* | | spec/scansion/prosody.cfg.lua: Add remaining modules listened in ↵ | Kim Alvefur | 2018-12-11 | 1 | -0/+5 |
| | | | | | | | | prosody.cfg.lua.dist for easier comparisons | ||||
* | | spec/scansion/prosody.cfg.lua: Replace mod_vcard with mod_vcard4 and ↵ | Kim Alvefur | 2018-12-11 | 1 | -1/+2 |
| | | | | | | | | mod_vcard_legacy as in default config | ||||
* | | spec/scansion/prosody.cfg.lua: Update a comment from prosody.cfg.lua.dist ↵ | Kim Alvefur | 2018-12-11 | 1 | -1/+1 |
|/ | | | | for easier comparisons | ||||
* | spec/scansion/prosody.cfg.lua: Add comment about mod_scansion_record | Kim Alvefur | 2018-11-12 | 1 | -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 #1230 | Kim Alvefur | 2018-11-12 | 1 | -0/+1 |
| | |||||
* | spec/scansion/prosody.cfg.lua: daemonize by default | Matthew Wild | 2018-09-12 | 1 | -0/+1 |
| | |||||
* | spec/scansion/prosody.cfg.lua: Add pidfile option so Prosody can be daemonized | Matthew Wild | 2018-09-12 | 1 | -0/+2 |
| | |||||
* | spec/scansion/prosody.cfg.lua: Config file to be used for integration tests | Matthew Wild | 2018-09-12 | 1 | -0/+76 |