| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Including the payload of the stanza that caused the error is optional
and we're generally not doing it anywhere else.
|
|
|
|
|
|
| |
The numeric error codes seems to have been removed from the examples in
XEP-0045 version 1.24, and were deprecated even by RFC 3920 in 2004,
only allowed for backwards compatibility.
|
|
|
|
|
|
| |
Clients would generally be using the "max" symbol instead of discovering
this, but this also gets us validation and earlier rejection of out of
bounds values.
|
|
|
|
|
|
|
| |
Disable persistence instead if no items should be persisted.
XEP-0060 is not entirely clear on what either of those option really
mean.
|
|
|
|
|
|
|
|
| |
Default left as 'never' in mod_pubsub to preserve the previous behavior.
Unclear if this is desirable, but can always be changed later.
In mod_pep this allows turning off the automatic resending of most
recent item.
|
| |
|
| |
|
|
|
|
|
| |
Also special thanks to timeless, for wordlessly reminding me to check
for typos.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Fixes https://prosody.im/security/advisory_20210722/
Backs out 4d7b925652d9
|
| |
| |
| |
| |
| |
| |
| | |
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}'
|
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| | |
Fixes #1643
API change: The argument to archive_itemstore() changes type to integer
|
| |
| |
| |
| | |
certificate_s_, plural, is the directory setting
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
See 6e051bfca12d
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Unlike mod_http_upload, this can't be bypassed by uploading with a
different file extension.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
The empty ID fields are sometimes accepted, sometimes not.
|
| | |
|
| |
| |
| |
| |
| | |
This was easy. Needs tests tho, 100% chance of the logic being
backwards.
|
| |
| |
| |
| |
| |
| |
| | |
In order to ease testing until the extended feautres are all
implemented.
Also TODOs for all the sub-features.
|
| |
| |
| |
| | |
This should allow Buildbot to pick up those logs along with scansions
|
| |
| |
| |
| | |
Also test for self-probes
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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).
|
| | |
|
| |
| |
| |
| | |
XEP-0157 version 1.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.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Probably casued by mod_scansion_record catching the unavailable presence
generated by Prosody on disconnect.
See #1549
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | | |
When run on Lua 5.3 produces an issue similar to #1536
|
| | |
| | |
| | |
| | |
| | | |
Once the Prosody is up, who cares when it comes down?
That's not my department, says scanison.
|
| | |
| | |
| | |
| | | |
The passage of time does not need test coverage, just look in a mirror.
|
| | |
| | |
| | |
| | | |
Why was this module enabled in the config for tests if it wasn't tested?
|