| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This CSS selector makes it awkward to add more items.
|
|\ |
|
| |
| |
| |
| | |
#1595) (thanks lessthan3)
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Thanks pep. and lovetox
XEP-0045 §6.4:
> any field defined for the muc\#roomconfig FORM_TYPE can be included in
> the extended service discovery fields
Probably happened because the same mistake is in #1155
|
| | |
|
|\| |
|
| | |
|
| |
| |
| |
| |
| | |
Going to add more host related checks, so to keep the wait variable
closer to the related checks
|
| | |
|
| | |
|
|\| |
|
| |
| |
| |
| | |
partially-received frames against constraints
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
occurs
Previously any error, or even a normal websocket close frame, would return early,
leaving potentially entire frames in the buffer unprocessed and then discarded.
This change stops processing new data, but returns an existing processed data up
to the point of the error/close.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
This improves performance and enforces stanza size limits earlier
in the pipeline.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Daemonizing later means we can use that as a "successful startup"
signal and problems can be reported via exit code.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Behavior with turning empty name into localpart was originally introduced
in 711eb5bf94b4
This has caused some problems for clients, making it difficult to
differentiate between a room actually named like the localpart from a
room without a name.
Breaking:
The function signature of the :get_name() method changes from always
returning a string to optional string.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
User switching has been done by prosodyctl or init scripts for a very
long time now, so this is not needed.
Using this would not have worked with module reloading (e.g. to reload
certificates) since ports are closed and re-bound, which would then not
be allowed.
Today there exists better ways to grant low ports, i.e. capabilities(7)
<Zash> Why do we have this?
<MattJ> Remove it
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
While writing developer documentation it became obvious that i was silly
to have one item format for config and items API, and another format for
the event API.
Then there's the stanza format, but that's a common pattern.
This change reduces the possible input formats to two and allows other
modules the benefit of the processing and validation performed on items
from the config.
|
| |
| |
| |
| |
| | |
This is especially targeted at services added via the items API. More
involved credential generation should use the event hook.
|
| |
| |
| |
| |
| |
| | |
Not sure what algorithms might fit here. Separation makes some sense.
This is also a preparation for having a callback. (See next commit)
|
| | |
|
| | |
|
| |
| |
| |
| | |
This might be something to write a XEP about.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The wait, service-unavailable is overloaded by XEP-0045 to mean that the
room has reached the maximum number of users. See #1495.
Bouncing errors for components is tricky since there is no way to tell
that it comes from the server hosting the component, not from the other
end of the component connection.
|
| |
| |
| |
| |
| | |
Otherwise it would use the configured buffer size, or previously '*a'.
Using the read size set by the listener seems more sensible.
|
| |
| |
| |
| |
| | |
Otherwise the '*a' read mode applies, which under certain circumstances
can read infinite amounts of data into memory.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes #726
API:
module:provides("http", {
streaming_uploads = true;
route = {
PUT = function (event)
event.request.body_sink = io.tmpfile();
return true;
end
}
})
|
| |
| |
| |
| |
| |
| |
| | |
This enables uses such as saving uploaded files directly to a file on
disk or streaming parsing of payloads.
See #726
|
| |
| |
| |
| |
| | |
Spammers are a big hassle, hopefully this will make admins aware of them sooner
than when they’ve already spammed a bunch.
|
| | |
|
| |
| |
| |
| |
| | |
Makes it easier to see human-readable parts and thus identifying the
garbage. Also consistent with mod_c2s and others.
|
| |
| |
| |
| | |
XEP-0157 version 1.1.0
|
| |
| |
| |
| |
| | |
A cache miss can be expensive so having numbers on how often this occurs
may be valuable.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This is in addition to the existing event for password changes. This
one includes additional details about the actor, and only triggers
when the change is due to the account owner (presumably) resetting.
As example use case is to invalidate one-time password reset tokens.
|
|\| |
|
| | |
|
| |
| |
| |
| | |
if permitted by a plugin
|
| | |
|
| |
| |
| |
| | |
Previously returned all results.
|
| |
| |
| |
| |
| |
| | |
archive id
Copy/paste error, introduced in deb68066c7aa
|