Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | scansion: Silence an error from cert indexer due to missing certs dir | Kim Alvefur | 2021-05-27 | 1 | -1/+4 | |
| | | ||||||
* | | Merge 0.11->trunk | Kim Alvefur | 2021-05-27 | 1 | -1/+1 | |
|\| | ||||||
| * | prosodyctl: Add 'limits' to known globals to warn about misplacing it | Kim Alvefur | 2021-05-27 | 1 | -1/+1 | |
| | | | | | | | | It will do nothing in a VirtualHost section for example. | |||||
* | | core.modulemanager: Inherit mod_server_contact_info onto components #1270 | Kim Alvefur | 2021-05-27 | 3 | -1/+2 | |
| | | ||||||
* | | mod_server_contact_info: Generate properly escaped URIs from 'admins' | Kim Alvefur | 2020-09-11 | 1 | -1/+2 | |
| | | ||||||
* | | mod_server_contact_info: Apply JID normalization | Kim Alvefur | 2020-09-11 | 3 | -1/+29 | |
| | | ||||||
* | | prosodyctl: Reorganize help / command list | Kim Alvefur | 2021-01-22 | 1 | -7/+15 | |
| | | ||||||
* | | prosody.cfg.lua.dist: Replace use_libevent with network_backend | Kim Alvefur | 2021-05-24 | 1 | -3/+3 | |
| | | | | | | | | | | Since there are more than two choices now. Hard to describe this choice in just one line. Maybe this whole block should go away? | |||||
* | | mod_tls: Add "support" for <failure> by closing gracefully | Kim Alvefur | 2021-05-21 | 1 | -0/+6 | |
| | | | | | | | | Nicer than the "unsupported stanza type" error we get otherwise. | |||||
* | | teal: Add type spec for util.signal | Kim Alvefur | 2021-05-20 | 1 | -0/+41 | |
| | | ||||||
* | | teal: Add type spec for util.ringbuffer | Kim Alvefur | 2021-05-20 | 1 | -0/+20 | |
| | | ||||||
* | | teal: Describe util.net.local_addresses() return type | Kim Alvefur | 2021-05-20 | 1 | -1/+1 | |
| | | ||||||
* | | teal: Add new util.hashes APIs | Kim Alvefur | 2021-05-20 | 1 | -0/+2 | |
| | | ||||||
* | | statsmanager: remove "legacy" wording | Jonas Schäfer | 2021-05-20 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | This was a leftover from when we (or rather I) thought that the old (now called "high-level") API would be removed. We deemed it useful though, so let's remove that "legacy" language and make the description more friendly. | |||||
* | | util.stanza: add at_top helper | Jonas Schäfer | 2021-05-08 | 1 | -0/+4 | |
| | | | | | | | | | | | | This allows the user to detect whether the cursor is currently at the top of the stanza. This will be used by util.xmppstream to be able to port it over. | |||||
* | | mod_csi_simple: convert to use new metric interface for flush reasons | Jonas Schäfer | 2021-05-20 | 1 | -10/+7 | |
| | | ||||||
* | | prosody.cfg.lua.dist: Fix indentation to use tabs like the rest of the file | Emmanuel Gil Peyrot | 2021-05-19 | 1 | -6/+6 | |
| | | ||||||
* | | prosody: Close the state on exit (ie garbage-collect everything) | Kim Alvefur | 2021-05-18 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | This ensures __gc is called on everything that may need it, such as database connections. It was reported in the chat by Happy that SQLite3 does not close its state cleanly in WAL mode, leaving the WAL file behind. This is probably rather a bug in mod_storage_sql, but forcing a final GC sweep should also help with such things everywhere. | |||||
* | | tools/cfgdump: Serialize individual (table) settings in stable order too | Kim Alvefur | 2021-05-17 | 1 | -2/+9 | |
| | | ||||||
* | | tools/cfgdump: Iterate in sort order to give stable output | Kim Alvefur | 2021-05-17 | 1 | -5/+6 | |
| | | | | | | | | | | Should allow using this tool for comparing configs without hash table order messing things up. | |||||
* | | mod_http_file_share: Handle out of bounds Range request | Kim Alvefur | 2021-05-17 | 1 | -3/+8 | |
| | | | | | | | | | | | | | | Turns out you can seek past the end of the file without getting an error. Also rejects empty range instead of sending the whole file. | |||||
* | | Merge 0.11->trunk | Kim Alvefur | 2021-05-16 | 2 | -12/+4 | |
|\| | ||||||
| * | mod_pep: Remove obsolete node restoration code (now done by util.pubsub) | Kim Alvefur | 2021-05-16 | 1 | -12/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Originally added in 202b9951b037 but util.pubsub gained a better method in 6c2c2fc4b8dd since then, which mod_pep uses since 9194431b6447 which should have deleted this. All these :create calls would have failed with a 'conflict' error, since the nodes had already been created. This was never noticed because of missing error handling. Also note that this code did not restore node configuration. | |||||
| * | util.pubsub: Fix traceback if node data not initialized | Kim Alvefur | 2021-05-16 | 1 | -0/+4 | |
| | | | | | | | | | | This should not be possible, but a traceback indicating node_data being nil here was reported by Ron in the chat. | |||||
* | | mod_http_file_share: Support download resumption via Range requests | Kim Alvefur | 2021-05-16 | 2 | -0/+21 | |
| | | | | | | | | | | | | | | | | Only a starting point is supported due to the way response:send_file() sends everything it gets from the provided file handle but does not have any way to specify how much to read. This matches what Conversations appears to be doing. | |||||
* | | prosodyctl: Report OpenSSL version | Kim Alvefur | 2021-05-12 | 1 | -0/+4 | |
| | | ||||||
* | | util.hashes: Expose OpenSSL version | Kim Alvefur | 2021-05-12 | 1 | -0/+4 | |
| | | ||||||
* | | util.jwt: Use constant-time comparison with expected signature | Matthew Wild | 2021-05-13 | 1 | -1/+2 | |
| | | ||||||
* | | Merge 0.11->trunk | Matthew Wild | 2021-05-13 | 19 | -54/+111 | |
|\| | ||||||
| * | Added tag 0.11.9 for changeset d0e9ffccdef9 | Matthew Wild | 2021-05-12 | 0 | -0/+0 | |
| | | ||||||
| * | mod_dialback: Remove d-w-d feature0.11.9 | Kim Alvefur | 2021-05-12 | 2 | -23/+1 | |
| | | | | | | | | | | | | | | Backs out 1d0862814bfc and 2fdd71b08126 Largely unused, undocumented and did not have enough tests to provide confidence in its correct operation. | |||||
| * | mod_dialback: Use correct host for certificate check (fixes #1381) | Kim Alvefur | 2019-06-23 | 1 | -2/+1 | |
| | | ||||||
| * | mod_dialback: Use constant-time comparison with hmac | Matthew Wild | 2021-05-12 | 1 | -1/+2 | |
| | | ||||||
| * | mod_proxy65: Restrict access to local c2s connections by default | Matthew Wild | 2021-05-12 | 1 | -4/+12 | |
| | | | | | | | | | | Previously no 'proxy65_acl' option would allow unrestricted access by local or remote JIDs. | |||||
| * | mod_limits: Use default limits if none configured | Matthew Wild | 2021-05-11 | 1 | -1/+10 | |
| | | ||||||
| * | prosody.cfg.lua.dist: Enable rate limits by default | Matthew Wild | 2021-05-11 | 1 | -1/+12 | |
| | | ||||||
| * | prosodyctl about: Report libexpat version if known | Matthew Wild | 2021-05-11 | 1 | -1/+5 | |
| | | ||||||
| * | certmanager: Disable renegotiation by default | Matthew Wild | 2021-05-11 | 1 | -0/+2 | |
| | | | | | | | | This requires LuaSec 0.7+ and OpenSSL 1.1.1+ | |||||
| * | mod_limits: Don't emit error when no burst period is configured | Matthew Wild | 2021-05-11 | 1 | -1/+1 | |
| | | ||||||
| * | core.certmanager: Test for SSL options in absence of LuaSec config | Kim Alvefur | 2021-04-26 | 1 | -5/+9 | |
| | | ||||||
| * | core.certmanager: Attempt to directly access LuaSec config table | Kim Alvefur | 2021-04-26 | 1 | -1/+1 | |
| | | | | | | | | | | Due to a bug this field was not properly exported before See https://github.com/brunoos/luasec/issues/149 | |||||
| * | util.xmppstream: Allow dynamically configuring the stanza size limit for a ↵ | Matthew Wild | 2021-05-10 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | stream This may be useful for any plugins that want to experiment with different policies for stanza size limits (e.g. unauthenticated vs authenticated streams). | |||||
| * | util.xmppstream: Mark bytes for stream closure as handled | Matthew Wild | 2021-05-10 | 1 | -0/+3 | |
| | | ||||||
| * | MUC: Add support for advertising muc#roomconfig_allowinvites in room disco#info | Matthew Wild | 2021-05-10 | 1 | -2/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | The de-facto interpretation of this (undocumented) option is to indicate to the client whether it is allowed to invite other users to the MUC. This is differs from the existing option in our config form, which only controls the behaviour of sending of invites in a members-only MUC (we always allow invites in open rooms). Conversations is one client known to use this disco#info item to determine whether it may send invites. | |||||
| * | mod_auth_internal_{plain,hashed}: Use constant-time string comparison for ↵ | Matthew Wild | 2021-05-10 | 2 | -3/+5 | |
| | | | | | | | | secrets | |||||
| * | util.xmppstream: Reduce default xmppstream limit to 1MB | Matthew Wild | 2021-05-10 | 1 | -1/+1 | |
| | | ||||||
| * | util.set: Add is_set() to test if an object is a set | Matthew Wild | 2021-05-10 | 1 | -2/+8 | |
| | | ||||||
| * | util.hashes: Add constant-time string comparison (binding to CRYPTO_memcmp) | Matthew Wild | 2021-05-10 | 1 | -0/+14 | |
| | | ||||||
| * | mod_c2s, mod_s2s, mod_component, mod_bosh, mod_websockets: Set default ↵ | Matthew Wild | 2021-05-07 | 5 | -5/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | stanza size limits c2s/bosh/ws streams will default to 256KB, s2s and components to 512KB. These values are aligned with ejabberd's default settings, which should reduce issues related to inconsistent size limits between servers on the XMPP network. The previous default (10MB) is excessive for any production server, and allows significant memory usage by even unauthenticated sessions. | |||||
| * | util.startup: Set more aggressive defaults for GC | Matthew Wild | 2021-05-07 | 1 | -1/+7 | |
| | | | | | | | | | | | | | | | | | | Testing has demonstrated that the default GC parameters are not sufficient to prevent runaway memory growth when running under Lua 5.2 and Lua 5.3. Setting the GC speed to 500 was tested on Lua versions 5.1->5.4 and did not display unbounded memory growth. |