aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | | | | | | | | | | | | mod_limits: Fix typoKim Alvefur2019-04-021-1/+1
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | mod_limits: Allow configuring a list of unrestricted JIDs (fixes #1323)Kim Alvefur2019-04-021-0/+17
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | mod_limits: Fix indentationKim Alvefur2019-04-021-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Appears to have been messed up in 60e113f3682f
| | * | | | | | | | | | | | | | | | .luacheckrc: Correct indentation of 'exclude_files' listKim Alvefur2019-04-011-30/+30
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | doc/coding_style: apply consistent semi-colon usagemarc0s2019-03-301-61/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make all "good" statements in the coding style document use consistent statement-separator semi-colon
| | * | | | | | | | | | | | | | | | core.s2smanager: Fix previous commit (Thanks Martin)Kim Alvefur2019-03-301-1/+1
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | core.sessionmanager: Use util.session to create sessionsKim Alvefur2019-03-291-1/+7
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | core.s2smanager: Use util.session to create sessionsKim Alvefur2019-03-291-17/+15
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | core.s2smanager: Spread out session tables over multiple linesKim Alvefur2019-03-291-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improves readability
| | * | | | | | | | | | | | | | | | core.s2smanager: Rename variable to be same in two functionsKim Alvefur2019-03-291-4/+4
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Merge 0.11->trunkKim Alvefur2019-03-281-6/+9
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | | | | moduleapi: Log suppressed status priority and message when not overridingMatthew Wild2019-03-261-1/+1
| | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | moduleapi: Remove overly-verbose debug logging on module status changeMatthew Wild2019-03-261-1/+0
| | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | mod_posix: Remove unnecessary import of util.format (thanks luacheck and ↵Matthew Wild2019-03-261-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | buildbot)
| | * | | | | | | | | | | | | | | | | loggingmanager, mod_posix: Move syslog to core, fixes #541 (in a way)Matthew Wild2019-03-262-13/+19
| | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | util.queue: Update :items() to consistently use private data directlyMatthew Wild2019-03-261-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It will perform better this way, and we were accessing private variables already within the iterator. Replaces 3eea63a68e0f
| | * | | | | | | | | | | | | | | | | Backed out changeset 3eea63a68e0fMatthew Wild2019-03-262-24/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit included intended changes to loggingmanager
| | * | | | | | | | | | | | | | | | | util.stanza: Fix :top_tag() handling of namespaced attributesMatthew Wild2019-03-252-32/+61
| | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | mod_csi_simple: Include queue size in debug messagesKim Alvefur2019-03-251-5/+5
| | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | mod_csi_simple: Fix type in function nameMatthew Wild2019-03-251-4/+3
| | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | mod_csi_simple: Improve debug logs by mentioing why the buffer gets flushedKim Alvefur2019-03-241-1/+5
| | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | mod_csi_simple: Add some debug loggingKim Alvefur2019-03-241-0/+2
| | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | mod_csi_simple: Disable optimizations on unload and re-enable on loadKim Alvefur2019-03-241-0/+21
| | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | mod_csi_simple: Separate out functions to enable/disable optimizationsKim Alvefur2019-03-241-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows reusing this logic outside the events. Letting the functions be module globals makes it easier to access from eg the telnet console.
| | * | | | | | | | | | | | | | | | | mod_csi_simple: Remove old "pump" queue/buffer method, handled in net.server nowKim Alvefur2019-03-241-61/+2
| | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | net.server_select: Fix write pause/resume functionsKim Alvefur2019-03-241-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Nothing would happen if the write buffer was empty. Also simplified the code because it took too long to understand what `if _sendlistlen ~= tmp then` did.
| | * | | | | | | | | | | | | | | | | net.server_event: Allow writing into buffer of write-locked connectionsKim Alvefur2019-03-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check for 'nointerface' flag instead, whatever that means.
| | * | | | | | | | | | | | | | | | | 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
| | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | sessionmanager: Split byte-level sending into separate session.rawsendKim Alvefur2019-03-241-8/+14
| | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | util.x509: Add function that extracts usable names from a certificateKim Alvefur2019-01-041-0/+28
| | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | 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-252-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | contact
| | * | | | | | | | | | | | | | | | | 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