Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MUC: Add robot face test | Kim Alvefur | 2021-03-02 | 1 | -0/+46 |
| | | | | See 6e051bfca12d | ||||
* | util.datamanager: Add basic tests | Kim Alvefur | 2021-02-09 | 1 | -0/+76 |
| | | | | | Test all the things! Somewhat covered by the storagemanager tests, but we don't currently don't have that automated as it needs SQL engines. | ||||
* | util.cache: Add test for :table (fails on Lua 5.1) | Kim Alvefur | 2021-02-05 | 1 | -0/+24 |
| | |||||
* | scansion tests: Give a title to HTTP Upload test | Kim Alvefur | 2021-02-03 | 1 | -0/+2 |
| | |||||
* | mod_storage_sql: Implement map-like API for archives | Kim Alvefur | 2021-02-01 | 1 | -2/+2 |
| | | | | | | | | Used by mod_http_file_share, muc moderation, etc. Tests tweaked because they failed on stanza internals that happen becasue of re-serialization. Namespaces differ since inheritance is implicit when building but explicit after parsing. | ||||
* | storage: Test reverse-ordered queries | Kim Alvefur | 2021-02-01 | 1 | -0/+22 |
| | |||||
* | mod_mam: Remove obsolete queryid attribute from tests | Kim Alvefur | 2021-01-29 | 1 | -2/+2 |
| | |||||
* | mod_http_file_share: Reject invalid file sizes | Kim Alvefur | 2021-01-27 | 1 | -0/+13 |
| | |||||
* | mod_http_file_share: Add file type filter | Kim Alvefur | 2021-01-26 | 2 | -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 Alvefur | 2021-01-26 | 2 | -0/+17 |
| | |||||
* | mod_http_file_share: Validate that filename does not contain '/' | Kim Alvefur | 2021-01-26 | 1 | -0/+13 |
| | |||||
* | mod_http_file_share: Let's write another XEP-0363 implementation | Kim Alvefur | 2021-01-26 | 2 | -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 | ||||
* | util.interpolation: Add test for #1623 | Kim Alvefur | 2021-01-25 | 1 | -0/+5 |
| | |||||
* | mod_mam: Workaround scansion test flakyness | Kim Alvefur | 2021-01-13 | 1 | -12/+2 |
| | | | | The empty ID fields are sometimes accepted, sometimes not. | ||||
* | storage tests: Add test for querying a set of IDs | Kim Alvefur | 2021-01-12 | 1 | -0/+24 |
| | |||||
* | storage tests: Test querys with both before and after IDs | Kim Alvefur | 2021-01-12 | 1 | -0/+21 |
| | | | | Needed for extended MAM, supported by SQL storage already. | ||||
* | mod_mam: Implement extended MAM metadata query | Kim Alvefur | 2020-11-30 | 1 | -0/+14 |
| | |||||
* | mod_mam: Add support for page flipping | Kim Alvefur | 2020-11-30 | 1 | -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 flag | Kim Alvefur | 2020-11-30 | 1 | -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 environment | Kim Alvefur | 2021-01-05 | 1 | -1/+1 |
| | | | | This should allow Buildbot to pick up those logs along with scansions | ||||
* | MUC: Reject probes from non-occupants | JC Brand | 2020-10-02 | 1 | -1/+64 |
| | | | | Also test for self-probes | ||||
* | MUC: Add support for presence probes (fixes #1535) | JC Brand | 2020-04-19 | 1 | -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). | ||||
* | util.error: Add coerce and wrap methods to registry(?) objects | Matthew Wild | 2020-12-09 | 1 | -0/+70 |
| | |||||
* | Merge 0.11->trunk | Kim Alvefur | 2020-11-11 | 1 | -0/+1 |
|\ | |||||
| * | util.stanza: Reject ASCII control characters (fixes #1606) | Kim Alvefur | 2020-11-11 | 1 | -0/+1 |
| | | |||||
* | | util_paths_spec: Trim trailing white space | Kim Alvefur | 2020-10-17 | 1 | -1/+1 |
| | | | | | | | | And add spacing between describe() blocks | ||||
* | | util.paths: Add some tests | Kim Alvefur | 2020-10-17 | 1 | -0/+39 |
| | | |||||
* | | Merge 0.11->trunk | Matthew Wild | 2020-10-16 | 1 | -0/+93 |
|\| | |||||
| * | util.debug: Fix locals being reported under wrong stack frame in some cases ↵ | Matthew Wild | 2020-10-16 | 1 | -0/+93 |
| | | | | | | | | (+tests!!) | ||||
* | | Merge 0.11->trunk | Kim Alvefur | 2020-10-15 | 1 | -0/+41 |
|\| | |||||
| * | util.strbitop: Add tests covering basics | Kim Alvefur | 2020-10-15 | 1 | -0/+41 |
| | | | | | | | | Also as docs | ||||
* | | Merge 0.11->trunk | Matthew Wild | 2020-10-15 | 1 | -4/+14 |
|\| | |||||
| * | net.websocket.frames: Add test for empty frame with MASK and key set | Matthew Wild | 2020-10-15 | 1 | -0/+10 |
| | | |||||
| * | net.websocket.frames: Use C string XOR implementation | Kim Alvefur | 2020-10-14 | 1 | -1/+1 |
| | | |||||
| * | net.websocket.frames: Add small test covering xor-masking | Kim Alvefur | 2020-10-14 | 1 | -0/+13 |
| | | | | | | | | This is basically a recording of current behavior, to detect changes. | ||||
* | | Merge 0.11->trunk | Kim Alvefur | 2020-10-12 | 1 | -0/+1 |
|\| | |||||
| * | util.dbuffer: Expose length as :len() method, like strings | Kim Alvefur | 2020-10-12 | 1 | -0/+1 |
| | | | | | | | | Ref #1598 | ||||
| * | Merge | Matthew Wild | 2020-09-30 | 1 | -0/+130 |
| |\ | |||||
| | * | util.dbuffer: Simplify test case | Kim Alvefur | 2020-08-24 | 1 | -0/+130 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | An earlier theory involved the bug being related to collapsing multiple items, so it exercised that too. Also correct the comment, it referred to the space in "hello world" in an earlier version before the test string was changed to "foobar", which was what was tested in a REPL | ||||
* | | | Merge 0.11->trunk | Matthew Wild | 2020-09-30 | 1 | -1/+19 |
|\| | | |||||
| * | | util.indexedbheap: Fix heap datastructure corruption in ↵ | Waqas Hussain | 2020-09-29 | 1 | -0/+33 |
| |/ | | | | | | | :reschedule(smaller_value) | ||||
* | | util.error: Drop registry initialization with namespace as key | Kim Alvefur | 2020-09-28 | 1 | -11/+4 |
| | | | | | | | | Enough complexity with compact vs normal and with/without namespace | ||||
* | | util.error: Expand compact registries into normal form internally | Kim Alvefur | 2020-09-28 | 1 | -0/+32 |
| | | | | | | | | Also the exposed form on the table returned from init() | ||||
* | | util.error: Add a "compact mode" for registries | Kim Alvefur | 2020-09-28 | 1 | -0/+21 |
| | | | | | | | | Inspired by the older registry in pubsub.lib.lua | ||||
* | | util.error: Cover registry initialization in test | Kim Alvefur | 2020-09-28 | 1 | -0/+20 |
| | | |||||
* | | util.error: Collect Application-Specific Conditions from stanza errors | Kim Alvefur | 2020-09-26 | 1 | -1/+2 |
| | | |||||
* | | util.error: Extract error originator from stanza errors | Kim Alvefur | 2020-09-26 | 1 | -1/+2 |
| | | |||||
* | | util.stanza: Extract Application-Specific Condition from errors | Kim Alvefur | 2020-09-26 | 1 | -0/+13 |
| | | | | | | | | API change | ||||
* | | spec.stanza spec: Split up util.error related tests | Kim Alvefur | 2020-09-26 | 1 | -0/+8 |
| | | |||||
* | | util.stanza: Support Application-Specific Conditions in util.error | Kim Alvefur | 2020-09-26 | 1 | -1/+13 |
| | |