prosody/spec/scansion
Kim Alvefur 2f37c443b8 core.configmanager: Add ways to read config values from files
Inspired by something MattJ said

Allows retrieving config values from files which are expected to be
relative to the config directory, extending on the ENV_ method of
retrieving config values from outside the config file.

- FileLine retrieves the first line, stripping any trailing newline
- FileContents reads the whole file
- FileLines reads lines into an array
2025-01-16 15:05:00 +01:00
..
admins.txt core.configmanager: Add ways to read config values from files 2025-01-16 15:05:00 +01:00
basic.scs spec/scansion: Ensure all scripts have sensible titles 2018-09-11 20:57:23 +01:00
basic_message.scs scansion: Trim trailing whitespace in tests 2019-12-19 16:22:12 +01:00
basic_roster.scs spec/scansion/basic_roster.scs: Add tests for actually modifying the roster 2018-09-13 16:18:59 +01:00
blocking.scs spec/scansion/blocking: Don't send stanzas after disconnecting 2020-05-09 00:07:42 +02:00
bookmarks2.scs scansion: Import XEP-0402 test from prosody-modules rev 2c6b14207271 2024-10-31 17:22:38 +01:00
disco_self.scs mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664 2023-12-17 18:55:14 +01:00
empty_bookmarks.scs mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom) 2022-07-26 23:44:33 +02:00
extdisco.scs scansion: Use captures or wildcards instead of mocking time 2023-12-17 16:29:03 +01:00
http_upload.scs scansion tests: Give a title to HTTP Upload test 2021-02-03 22:13:33 +01:00
issue505.scs spec/scansion: Ensure all scripts have sensible titles 2018-09-11 20:57:23 +01:00
issue978-multi.scs spec/scansion: Ensure all scripts have sensible titles 2018-09-11 20:57:23 +01:00
issue978.scs spec/scansion: Ensure all scripts have sensible titles 2018-09-11 20:57:23 +01:00
issue1121.scs mod_roster: pass correct username to roster-item-removed 2021-12-22 13:06:32 +01:00
issue1224.scs issue1224.scs: Fix to expect new affiliation change notifications 2018-10-31 14:18:36 +00:00
keep_full_sub_req.scs scansion: Trim trailing whitespace in tests 2019-12-19 16:22:12 +01:00
lastactivity.scs scansion: Use captures or wildcards instead of mocking time 2023-12-17 16:29:03 +01:00
mam_extended.scs scansion: Use captures or wildcards instead of mocking time 2023-12-17 16:29:03 +01:00
mam_prefs_prep.scs Fix various spelling errors (thanks codespell) 2021-07-27 00:13:18 +02:00
muc_affiliation_notify.scs muc_affiliation_notify.scs: Remove trailing whitespace 2018-10-31 13:18:01 +00:00
muc_create_destroy.scs MUC: Remove XEP-0091 Legacy Delayed Delivery from test 2020-06-21 19:06:37 +02:00
muc_mediated_invite.scs spec/scansion: Ensure all scripts have sensible titles 2018-09-11 20:57:23 +01:00
muc_members_only_change.scs scansion: Trim trailing whitespace in tests 2019-12-19 16:22:12 +01:00
muc_members_only_deregister.scs spec/scansion: Fix test names of tests added in 0d97768b0ea9 2018-12-19 16:54:07 +00:00
muc_nickname_change.scs MUC: Add testcase for #1466 2019-11-24 00:02:48 +01:00
muc_nickname_robotface.scs MUC: Add robot face test 2021-03-02 13:52:19 +01:00
muc_outcast_reason.scs MUC: Record reason for affiliation changes and return in list (fixes #1227) 2021-08-08 18:07:17 +02:00
muc_password.scs MUC: Remove remaining deprecated numeric error codes 2021-12-08 21:02:14 +01:00
muc_presence_probe.scs MUC: Reject probes from non-occupants 2020-10-02 16:12:47 +02:00
muc_register.scs MUC: Remove <{muc}x> tags in some errors 2021-12-08 21:55:25 +01:00
muc_show_offline.scs MUC: Remove <{muc}x> tags in some errors 2021-12-08 21:55:25 +01:00
muc_subject_issue_667.scs MUC: Test that <subject/> + <thread/> is not handled as subject change 2024-01-23 13:00:58 +01:00
muc_whois_anyone_member.scs MUC: Fix logic for access to affiliation lists 2021-07-22 17:18:39 +02:00
pep_itemreply.scs scansion: Add tests for pubsub#itemreply in PEP 2023-03-22 16:53:36 +00:00
pep_nickname.scs scansion: Fix tests failing due to lack of 'publisher' 2023-03-23 14:15:33 +00:00
pep_publish_subscribe.scs scansion: PEP notifications no longer carry 'publisher' by default 2023-03-22 16:48:51 +00:00
pep_pubsub_max.scs mod_pubsub,mod_pep: Support "max" as 'pubsub#max_items' 2021-06-09 15:58:49 +02:00
presence_preapproval.scs scansion: Trim trailing whitespace in tests 2019-12-19 16:22:12 +01:00
prosody.cfg.lua core.configmanager: Add ways to read config values from files 2025-01-16 15:05:00 +01:00
pubsub_advanced.scs mod_pubsub: Include <pubsub> with unsubscribe reply 2021-03-15 19:04:08 +01:00
pubsub_basic.scs scansion: Trim trailing whitespace in tests 2019-12-19 16:22:12 +01:00
pubsub_config.scs scansion: Add roster groups setting to pubsub form in tests 2024-06-12 23:14:55 +02:00
pubsub_createdelete.scs spec/scansion: Ensure all scripts have sensible titles 2018-09-11 20:57:23 +01:00
pubsub_max_items.scs scansion: Add roster groups setting to pubsub form in tests 2024-06-12 23:14:55 +02:00
pubsub_multi_items.scs scansion: Add roster groups setting to pubsub form in tests 2024-06-12 23:14:55 +02:00
pubsub_preconditions.scs scansion: Add roster groups setting to pubsub form in tests 2024-06-12 23:14:55 +02:00
pubsub_resend_on_sub.scs mod_pubsub,mod_pep: Implement 'send_last_published_item' option #1436 2021-10-19 18:11:50 +02:00
server_contact_info.scs mod_server_contact_info: Apply JID normalization 2020-09-11 18:34:06 +02:00
tombstones.scs mod_tombstones: Add a very basic test case 2021-12-23 15:17:18 +01:00
uptime.scs scansion: Use captures or wildcards instead of mocking time 2023-12-17 16:29:03 +01:00
vcard_temp.scs scansion: vcard_temp: Ensure at least one connection is open throughout test 2023-03-23 14:19:43 +00:00
version.scs mod_version: Add scansion test 2020-04-20 18:17:57 +02:00