Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | | | | | | | | | | | mod_mam: On quota hit, separately delete by time and by item count | Kim Alvefur | 2019-03-22 | 1 | -3/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is to work around a possible SQL issue where offsets and time stamps don't interact correctly. | |||||
| * | | | | | | | | | | | | | | mod_storage_sql: Return cached count if only this is queried for | Kim Alvefur | 2019-03-22 | 1 | -1/+5 | |
| | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | mod_storage_sql: Cache total count if it's calculated as part of the current ↵ | Kim Alvefur | 2019-03-22 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | query | |||||
| * | | | | | | | | | | | | | | mod_storage_sql: Skip cache write | Kim Alvefur | 2019-03-22 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This would cause the cache to be wrong in case the the later INSERT fails and the transaction is aborted. | |||||
| * | | | | | | | | | | | | | | mod_storage_sql: Fix to use currently queried store | Kim Alvefur | 2019-03-22 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Was using the previously queried store due to this being cached in an upvalue. | |||||
| * | | | | | | | | | | | | | | mod_storage_sql: Don't increment counter twice (fixes accounting error) | Kim Alvefur | 2019-03-22 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | mod_storage_internal: Increase default quota to 10 000 | Kim Alvefur | 2019-03-22 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Performance doesn't seem great but 10k should be far enough from limits inherited by the Lua parser. 1000 messages seemed pretty close to what an active user might produce in one week. | |||||
| * | | | | | | | | | | | | | | mod_storage_memory: Add support for archive item limits | Kim Alvefur | 2019-03-20 | 1 | -0/+10 | |
| | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | mod_mam: Trim archive when quota has been exceeded | Kim Alvefur | 2017-11-07 | 1 | -3/+18 | |
| | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | mod_storage_internal,_sql: Key item count cache on both username and store | Kim Alvefur | 2019-03-22 | 2 | -13/+19 | |
| | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | mod_storage_internal,_sql: Expose archive capabilities feature set | Kim Alvefur | 2019-03-22 | 2 | -0/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was planned to be added long ago but was forgotten. | |||||
| * | | | | | | | | | | | | | | mod_storage_internal,_sql: Add limit to number of items in an archive store ↵ | Matthew Wild | 2017-10-20 | 2 | -1/+73 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (fixes #733) | |||||
| * | | | | | | | | | | | | | | Merge 0.11->trunk | Kim Alvefur | 2019-03-22 | 2 | -2/+79 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | | | | | | util.startup: Don't die if there are no config warnings to log (thanks buildbot) | Matthew Wild | 2019-03-20 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | util.startup: Log configuration warnings at startup | Matthew Wild | 2019-03-20 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | configmanager: Pass through warnings from included files | Matthew Wild | 2019-03-20 | 1 | -2/+7 | |
| | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | configmanager: Emit warning for duplicated config options | Matthew Wild | 2019-03-20 | 1 | -0/+16 | |
| | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | configmanager: Add support for returning warnings | Matthew Wild | 2019-03-20 | 1 | -2/+3 | |
| | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | util.startup: Give function a more generic name so it can apply to all warnings | Matthew Wild | 2019-03-20 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | mod_muc_mam: Set error status if loaded on incorrect host type | Matthew Wild | 2019-03-19 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | mod_s2s: Set warning status if not listening on any ports | Matthew Wild | 2019-03-19 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | mod_component: Set module status to indicate whether component is connected | Matthew Wild | 2019-03-19 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | .luacheckrc: Update to reflect new module API methods | Matthew Wild | 2019-03-19 | 1 | -1/+4 | |
| | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | mod_admin_telnet: Show module status in module:list() | Matthew Wild | 2019-03-19 | 1 | -1/+6 | |
| | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | modulemanager: Set module status on successful or failed module load | Matthew Wild | 2019-03-19 | 1 | -0/+5 | |
| | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | moduleapi: New API for modules to set a status | Matthew Wild | 2019-03-19 | 1 | -0/+31 | |
| | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | util.serialization: Use util.hex | Kim Alvefur | 2019-03-17 | 1 | -9/+2 | |
| | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | util.serialization: Allow overriding table iterator | Kim Alvefur | 2019-03-17 | 1 | -1/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Could be useful to eg swap it out with sorted_pairs to get a stable serialization. Default to next() wrapper to avoid metatable tricks from pairs(). | |||||
| * | | | | | | | | | | | | | | | util.serialization: Optimize handling of last table separator | Kim Alvefur | 2019-03-17 | 1 | -7/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fewer next() calls and a step towards allowing use of a different iterator. | |||||
| * | | | | | | | | | | | | | | | MUC: Update error message for consistency | Matthew Wild | 2019-03-18 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | configure: Enable more compiler warnings | Kim Alvefur | 2019-03-16 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | configure: Separate flags related to compiler warnings | Kim Alvefur | 2019-03-16 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should make it more obvious that these are related | |||||
| * | | | | | | | | | | | | | | | Actually remove coding_style.txt | Matthew Wild | 2019-03-14 | 1 | -33/+0 | |
| | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | doc/coding_style.{txt,md}: Update coding style guide | Matthew Wild | 2019-03-14 | 2 | -1/+806 | |
| | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | Merge 0.11->trunk | Matthew Wild | 2019-03-14 | 1 | -0/+4 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | | | | | | | net.server_epoll: Optimize timer handling | Kim Alvefur | 2019-03-12 | 1 | -53/+30 | |
| | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | mod_tls: Restore querying for certificates on s2s | Kim Alvefur | 2019-03-11 | 2 | -3/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'ssl_config' setting in the mod_s2s network service is not used. Only direct TLS ports use this currently. | |||||
| * | | | | | | | | | | | | | | | | net.server: Only add alternate SNI contexts if at least one is provided | Kim Alvefur | 2019-03-11 | 3 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes use of <starttls/> when a client sends SNI, which would send no certificate otherwise. | |||||
| * | | | | | | | | | | | | | | | | core.certmanager: Do not ask for client certificates by default | Kim Alvefur | 2019-03-10 | 3 | -4/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since it's mostly only mod_s2s that needs to request client certificates it makes some sense to have mod_s2s ask for this, instead of having eg mod_http ask to disable it. | |||||
| * | | | | | | | | | | | | | | | | net.server_select: SNI support (#409) | Kim Alvefur | 2019-03-10 | 1 | -0/+10 | |
| | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | net.server_event: Add SNI support (#409) | Kim Alvefur | 2019-03-10 | 1 | -0/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Snippet adapted from server_epoll | |||||
| * | | | | | | | | | | | | | | | | core.portmanager: Collect per-host certificates for SNI | Kim Alvefur | 2018-09-14 | 1 | -0/+41 | |
| | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | core.portmanager: Record TLS config for each port | Kim Alvefur | 2018-10-10 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | net.server_epoll: Add support for SNI (#409) | Kim Alvefur | 2019-03-10 | 1 | -0/+8 | |
| | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | doc/net.server: Document the new server.listen() API | Kim Alvefur | 2019-03-10 | 1 | -0/+21 | |
| | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | Merge 0.11->trunk | Kim Alvefur | 2019-03-04 | 3 | -2/+55 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | | | | | | | | mod_muc_mam: Validate that the FORM_TYPE of a query is as expected | Kim Alvefur | 2019-03-04 | 1 | -1/+6 | |
| | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | Merge 0.11->trunk | Kim Alvefur | 2019-03-02 | 1 | -1/+2 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | | | | | | | | | core.portmanager: Reduce scope of variable | Kim Alvefur | 2018-10-10 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not sure why it was all the way out there, seems like there would have been unexpected behaviour from that | |||||
| * | | | | | | | | | | | | | | | | | | core.portmanager: Use server.listen API | Kim Alvefur | 2018-09-13 | 1 | -1/+5 | |
| | | | | | | | | | | | | | | | | | | |