aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | util.queue: Update :items() to consistently use private data directlyMatthew Wild2019-03-232-6/+24
| | | | | | | | | | It will perform better this way, and we were accessing private variables already within the iterator.
* | util.queue: Add 'consume()' convenience iteratorMatthew Wild2019-03-232-0/+40
| |
* | doc/coding_style: The codebase uses semicolonsKim Alvefur2019-03-231-6/+6
| |
* | doc/coding_style: Trim trailing whitespaceKim Alvefur2019-03-231-4/+4
| |
* | doc/coding_style: remove superfulous bracket in exampleMaxime “pep” Buquet2019-03-231-1/+0
| |
* | net/server_event: fix typo in commentMaxime “pep” Buquet2019-03-231-1/+1
| |
* | mod_storage_sql: No archive item limit by defaultKim Alvefur2019-03-221-4/+6
| |
* | mod_storage_internal: Include store name when reporting quota statusKim Alvefur2019-03-221-1/+1
| |
* | mod_mam: On quota hit, separately delete by time and by item countKim Alvefur2019-03-221-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 forKim Alvefur2019-03-221-1/+5
| |
* | mod_storage_sql: Cache total count if it's calculated as part of the current ↵Kim Alvefur2019-03-221-0/+3
| | | | | | | | query
* | mod_storage_sql: Skip cache writeKim Alvefur2019-03-221-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 storeKim Alvefur2019-03-221-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 Alvefur2019-03-221-1/+0
| |
* | mod_storage_internal: Increase default quota to 10 000Kim Alvefur2019-03-221-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 limitsKim Alvefur2019-03-201-0/+10
| |
* | mod_mam: Trim archive when quota has been exceededKim Alvefur2017-11-071-3/+18
| |
* | mod_storage_internal,_sql: Key item count cache on both username and storeKim Alvefur2019-03-222-13/+19
| |
* | mod_storage_internal,_sql: Expose archive capabilities feature setKim Alvefur2019-03-222-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 Wild2017-10-202-1/+73
| | | | | | | | (fixes #733)
* | Merge 0.11->trunkKim Alvefur2019-03-222-2/+79
|\|
| * mod_storage_memory: Implement :user iteration APIKim Alvefur2019-01-141-0/+8
| |
| * mod_muc_mam: Copy cleanup mechanism from mod_mam (fixes #672)Kim Alvefur2019-03-221-1/+78
| |
| * mod_mam: Perform message expiry based on building an index by date (backport ↵Kim Alvefur2019-03-221-31/+43
| | | | | | | | | | | | | | | | | | | | | | of 39ee70fbb009 from trunk) For each day, store a set of users that have new messages. To expire messages, we collect the union of sets of users from dates that fall outside the cleanup range. The previous algoritm did not work well with many users, especially with the default settings.
* | util.startup: Don't die if there are no config warnings to log (thanks buildbot)Matthew Wild2019-03-201-2/+4
| |
* | util.startup: Log configuration warnings at startupMatthew Wild2019-03-201-0/+6
| |
* | configmanager: Pass through warnings from included filesMatthew Wild2019-03-201-2/+7
| |
* | configmanager: Emit warning for duplicated config optionsMatthew Wild2019-03-201-0/+16
| |
* | configmanager: Add support for returning warningsMatthew Wild2019-03-201-2/+3
| |
* | util.startup: Give function a more generic name so it can apply to all warningsMatthew Wild2019-03-201-3/+3
| |
* | mod_muc_mam: Set error status if loaded on incorrect host typeMatthew Wild2019-03-191-1/+1
| |
* | mod_s2s: Set warning status if not listening on any portsMatthew Wild2019-03-191-1/+1
| |
* | mod_component: Set module status to indicate whether component is connectedMatthew Wild2019-03-191-0/+2
| |
* | .luacheckrc: Update to reflect new module API methodsMatthew Wild2019-03-191-1/+4
| |
* | mod_admin_telnet: Show module status in module:list()Matthew Wild2019-03-191-1/+6
| |
* | modulemanager: Set module status on successful or failed module loadMatthew Wild2019-03-191-0/+5
| |
* | moduleapi: New API for modules to set a statusMatthew Wild2019-03-191-0/+31
| |
* | util.serialization: Use util.hexKim Alvefur2019-03-171-9/+2
| |
* | util.serialization: Allow overriding table iteratorKim Alvefur2019-03-171-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 separatorKim Alvefur2019-03-171-7/+5
| | | | | | | | Fewer next() calls and a step towards allowing use of a different iterator.
* | MUC: Update error message for consistencyMatthew Wild2019-03-181-1/+1
| |
* | configure: Enable more compiler warningsKim Alvefur2019-03-161-1/+1
| |
* | configure: Separate flags related to compiler warningsKim Alvefur2019-03-161-1/+2
| | | | | | | | This should make it more obvious that these are related
* | Actually remove coding_style.txtMatthew Wild2019-03-141-33/+0
| |
* | doc/coding_style.{txt,md}: Update coding style guideMatthew Wild2019-03-142-1/+806
| |
* | Merge 0.11->trunkMatthew Wild2019-03-141-0/+4
|\|
| * prosodyctl about: Report network backend in useMatthew Wild2019-03-141-0/+4
| |
* | net.server_epoll: Optimize timer handlingKim Alvefur2019-03-121-53/+30
| |
* | mod_tls: Restore querying for certificates on s2sKim Alvefur2019-03-112-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 providedKim Alvefur2019-03-113-3/+3
| | | | | | | | Fixes use of <starttls/> when a client sends SNI, which would send no certificate otherwise.