aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * | | | | | | | | | | | | | | mod_csi_simple: Remove old "pump" queue/buffer method, handled in net.server nowKim Alvefur2019-03-241-61/+2
| | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | mod_csi_simple: Also flush buffer in "pump" modeKim Alvefur2019-03-241-0/+7
| | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | mod_csi_simple: Trigger buffer flush on seeing incoming dataKim Alvefur2019-03-241-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I.e. the client sent us something, which means its network / radio is active.
| | | * | | | | | | | | | | | | | | mod_csi_simple: Count buffered items and flush when it reaches configured limitKim Alvefur2019-03-241-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In this mode, stanzas have been serialized to strings in the internal net.server buffer, so it is difficult to count them after the fact.
| | | * | | | | | | | | | | | | | | mod_csi_simple: Break out stanza timestamping into a function for future reuseKim Alvefur2019-03-241-5/+9
| | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | mod_c2s: Fire an event when outgoing buffers have been emptiedKim Alvefur2019-03-241-0/+7
| | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | mod_csi_simple: Use write locks in net.server if availableKim Alvefur2018-11-241-1/+5
| | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | mod_storage_memory: Fix copypaste mistakeKim Alvefur2019-03-231-1/+1
| | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | mod_storage_memory: Implement archive summary APIKim Alvefur2019-03-231-0/+10
| | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | mod_storage_sql: Implement archive summary APIKim Alvefur2019-02-251-0/+35
| | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | mod_storage_internal: Implement a summary API returning message counts per ↵Kim Alvefur2019-02-251-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | contact
| | | * | | | | | | | | | | | | | | 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_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
| | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | mod_admin_telnet: Show module status in module:list()Matthew Wild2019-03-191-1/+6
| | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | MUC: Update error message for consistencyMatthew Wild2019-03-181-1/+1
| | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | 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.
| | | * | | | | | | | | | | | | | | | core.certmanager: Do not ask for client certificates by defaultKim Alvefur2019-03-102-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | * | | | | | | | | | | | | | | | Merge 0.11->trunkKim Alvefur2019-03-041-1/+4
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * | | | | | | | | | | | | | | | | mod_muc_mam: Validate that the FORM_TYPE of a query is as expectedKim Alvefur2019-03-041-1/+6
| | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | Merge 0.11->trunkKim Alvefur2019-03-021-1/+2
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge 0.11->trunkKim Alvefur2019-02-271-31/+51
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * | | | | | | | | | | | | | | | | | | MUC: Fire an event to allow affecting decision of whether to allow a role changeKim Alvefur2019-02-241-0/+12
| | | | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | | | MUC: Factor out role change permission check into its own methodKim Alvefur2019-02-241-18/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I would like to invert this logic so that it checks if the role change is allowed instead of checking if it is not allowed as it does now, in order to make it easier to understand.
| | | * | | | | | | | | | | | | | | | | | | Merge 0.11->trunkKim Alvefur2019-02-222-2/+6
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge 0.11->trunkMatthew Wild2019-02-041-3/+3
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge 0.11->trunkKim Alvefur2019-01-281-3/+9
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge 0.11->trunkKim Alvefur2019-01-261-23/+79
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * | | | | | | | | | | | | | | | | | | | | | | mod_mam: Fix operator precedence (thanks mimi89999)Kim Alvefur2019-01-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | | | | | | | mod_bosh, mod_websocket: Remove accidentally included dependency on ↵Kim Alvefur2019-01-192-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | non-existant module
| | | * | | | | | | | | | | | | | | | | | | | | | | mod_http: Determine CORS methods to whitelist from actual methods usedKim Alvefur2019-01-171-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | | | | | | | mod_http: Set up to handle OPTIONSKim Alvefur2019-01-181-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lower priority to allow http modules to handle it themselves, should they wish to
| | | * | | | | | | | | | | | | | | | | | | | | | | mod_websocket: Drop CORS code in favor of that in mod_httpKim Alvefur2018-10-041-34/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Like for mod_bosh, deprecates consider_websocket_secure and depend on mod_http_crossdomain if it is set.
| | | * | | | | | | | | | | | | | | | | | | | | | | mod_bosh: Drop CORS code in favor of than in mod_httpKim Alvefur2018-10-041-25/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This deprecates the cross_domain_bosh setting. As a compat measure, if it is set, mod_http_crossdomain is loaded.
| | | * | | | | | | | | | | | | | | | | | | | | | | mod_http: Solve CORS problems once and for allKim Alvefur2018-10-041-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This blindly allows any cross-site requests. Future work should add an API to allow each HTTP app some influence over this for each HTTP path