| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Ie. log("debug", "%d", "\1\2\3") should not result in garbage.
Also optimizing for the common case of ASCII string passed to %s and
early returns everywhere.
Returning nil from a gsub callback keeps the original substring.
|
| |
| |
| |
| |
| |
| | |
Should prevent invalid UTF-8 from making it into the logs, which can
cause trouble with terminals or log viewers or other tools, such as when
grep determines that log files are binary.
|
| |
| |
| |
| |
| | |
This should allow modules to override the username in a profile handler by
assigning to self.username.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
vim> Change "sevral" to:
1 "several"
2 "sacral"
3 "spiral"
4 "feral"
5 "serial"
jonas’> I choose 4.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Running woken runners in the next iteration of the event loop prevents
unexpected recursion, unexpected tracebacks, and is generally more
predictable.
The pattern is borrowed from util.promise, where we're now doing the same.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
No scheduler set by default, so it will error (we plan to initialize it in
util.startup).
We wanted to avoid a hard dependency on util.timer (which in turn depends on
network backends, etc.), and we didn't add timer.sleep() because we didn't
want to add a hard dependency on util.async for things that don't need it.
|
| |
| |
| |
| |
| | |
Self-closing <tags/> and <?processing instructions?> had some
asymmetries in applied colors.
|
| |
| |
| |
| | |
Search for 'Lua 5.1' for reasons.
|
| |
| |
| |
| |
| | |
I have been running my own server exclusively on Lua 5.4 for months and
apart from packaging issues I remember on major issues.
|
| |
| |
| |
| |
| |
| | |
Currently only supported with OJN
Assumption: the direct_tls_ports are not empty when set.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This version has several changes from the earlier mod_prometheus:
- Conversion of metrics into the text-based OpenMetrics format is moved to
util.openmetrics
- Support for IP-based access control
- Compatibility with earlier Prosody versions removed
|
| |
| |
| |
| | |
use_ipv6=false
|
| |
| |
| |
| |
| |
| |
| | |
Previously it would complain about lack of an AAAA record for
proxy65_target even in an IPv6-less environment.
Thanks to libertas for unintentionally calling attention to this.
|
| |
| |
| |
| | |
Shouldn't really matter these days, but portmanager checks this way.
|
| |
| |
| |
| | |
I miss my custom ANSI-colored greeting!
|
| | |
|
| |
| |
| |
| | |
Down the rabbit hole we go...
|
| |
| |
| |
| |
| |
| |
| | |
This should fix basic problems with multi-byte UTF-8 sequences getting
cut in the middle.
Down the rabbit hole we go...
|
| |
| |
| |
| | |
Could be useful elsewhere
|
| | |
|
| |
| |
| |
| |
| | |
Seems more like conventional Lua than passing an empty string to signal
lack of value.
|
| | |
|
| |
| |
| |
| | |
Otherwise very large fields would be serialized in e notation
|
| |
| |
| |
| |
| |
| |
| | |
Assumes that most number fields are integers, as most numeric types
listed in XEP-0122 are, as are all such fields in Prosody as of this.
Otherwise %g produces something like 1.1259e+15
|
| |
| |
| |
| | |
Makes it symmetric with parsing.
|
| |
| |
| |
| |
| | |
Makes more sense than coercing to a string, which would always be
truthy.
|
| | |
|
| |
| |
| |
| |
| | |
prosodyctl -h showing an error was not very helpful, especially since
prosodyctl shows its help for any unknown (or none) command.
|
| |
| |
| |
| |
| | |
Seems more suitable than asking if prosodyctl was meant to be used, or
going ahead and starting.
|
| |
| |
| |
| |
| |
| | |
This field is empty for reasons when invoked by prosody-migrator, which
threw an error:
> bad argument #1 to 'open' (string expected, got nil)
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
mod_auth_ldap provides LDAP support without being tied to Cyrus
|
| |
| |
| |
| | |
#1692)
|
|\| |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
prosodyctl
Makes it clearer that prosody does not take -v atm, as well as how
prosodyctl does not take the demonization flags.
|
| |
| |
| |
| | |
More convenient than the environment variable.
|
| |
| |
| |
| |
| | |
Reduces the reliance on observe.jabber.network and enables alternatives
for those who wish to have that.
|
| |
| |
| |
| |
| | |
Feels a bit cleaner to hide away the async.waiter() and return value
handling. Also line count reduction!
|
| |
| |
| |
| | |
Remember to remove the compatibility things in some future version
|
| |
| |
| |
| | |
It's basically deprecated
|
| |
| |
| |
| | |
The singulars are supposed to be deprecated
|
| |
| |
| |
| |
| | |
All 'net' providers generate a _port option which must be in the global
section, but this mistakenly also warns about these options as well.
|
| | |
|
| | |
|