Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util.poll: Minimize scope of methods | Kim Alvefur | 2019-04-13 | 1 | -9/+9 |
| | | | | File scope is enough | ||||
* | Merge 0.11->trunk | Kim Alvefur | 2019-04-13 | 1 | -0/+1 |
|\ | |||||
| * | net.dns: Close resolv.conf handle when done (fixes #1342) | Kim Alvefur | 2019-04-13 | 1 | -0/+1 |
| | | |||||
* | | mod_http_files: Try to determine which module using serve() needs updating | Kim Alvefur | 2019-04-05 | 1 | -2/+8 |
| | | |||||
* | | mod_http_files: Use net.http.files | Kim Alvefur | 2019-04-05 | 1 | -136/+33 |
| | | |||||
* | | net.http.files: Make into standalone library | Kim Alvefur | 2019-04-05 | 1 | -64/+14 |
| | | |||||
* | | net.http.files: Copy of mod_http_files | Kim Alvefur | 2019-04-05 | 1 | -0/+198 |
| | | | | | | | | | | | | | | | | | | The intent is to make it easier to reuse and simplify mod_http_files. Currently modules will use the serve() function exported by mod_http_files in order to serve their own files. This makes it unclear whether mod_http_files should be doing anything on its own. Moving the logic into a separate module should help here, as well as make re-use outside of prosody easier. | ||||
* | | util.session: Fix session id not include unauthed forever | Kim Alvefur | 2019-04-03 | 1 | -1/+2 |
| | | |||||
* | | CONTRIBUTING: Add a short file referencing the online doc/contributing page | Kim Alvefur | 2019-04-03 | 1 | -0/+9 |
| | | |||||
* | | README: Add link to current issue tracker | Kim Alvefur | 2019-04-03 | 1 | -0/+1 |
| | | |||||
* | | README: Remove mailing list where issue tracker changes went in the Google ↵ | Kim Alvefur | 2019-04-03 | 1 | -3/+0 |
| | | | | | | | | Code days | ||||
* | | mod_limits: Fix typo | Kim Alvefur | 2019-04-02 | 1 | -1/+1 |
| | | |||||
* | | mod_limits: Allow configuring a list of unrestricted JIDs (fixes #1323) | Kim Alvefur | 2019-04-02 | 1 | -0/+17 |
| | | |||||
* | | mod_limits: Fix indentation | Kim Alvefur | 2019-04-02 | 1 | -5/+5 |
| | | | | | | | | Appears to have been messed up in 60e113f3682f | ||||
* | | .luacheckrc: Correct indentation of 'exclude_files' list | Kim Alvefur | 2019-04-01 | 1 | -30/+30 |
| | | |||||
* | | doc/coding_style: apply consistent semi-colon usage | marc0s | 2019-03-30 | 1 | -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 Alvefur | 2019-03-30 | 1 | -1/+1 |
| | | |||||
* | | core.sessionmanager: Use util.session to create sessions | Kim Alvefur | 2019-03-29 | 1 | -1/+7 |
| | | |||||
* | | core.s2smanager: Use util.session to create sessions | Kim Alvefur | 2019-03-29 | 1 | -17/+15 |
| | | |||||
* | | core.s2smanager: Spread out session tables over multiple lines | Kim Alvefur | 2019-03-29 | 1 | -3/+14 |
| | | | | | | | | Improves readability | ||||
* | | core.s2smanager: Rename variable to be same in two functions | Kim Alvefur | 2019-03-29 | 1 | -4/+4 |
| | | |||||
* | | Merge 0.11->trunk | Kim Alvefur | 2019-03-28 | 1 | -6/+9 |
|\| | |||||
| * | net.server_epoll: Skip delayed continuation read on paused connections | Kim Alvefur | 2019-03-28 | 1 | -1/+1 |
| | | | | | | | | | | | | This should prevent #1333 in cases where LuaSockets buffer is "dirty", i.e. contains more data after a read, where it gets resumed with a short delay. | ||||
| * | net.server_epoll: Handle LuaSec wantread/wantwrite conditions before ↵ | Kim Alvefur | 2019-03-28 | 1 | -5/+8 |
| | | | | | | | | | | | | | | callbacks (fixes #1333) This prevents the :set(true) call from resuming a connection that was paused in the onincoming callback. | ||||
* | | moduleapi: Log suppressed status priority and message when not overriding | Matthew Wild | 2019-03-26 | 1 | -1/+1 |
| | | |||||
* | | moduleapi: Remove overly-verbose debug logging on module status change | Matthew Wild | 2019-03-26 | 1 | -1/+0 |
| | | |||||
* | | mod_posix: Remove unnecessary import of util.format (thanks luacheck and ↵ | Matthew Wild | 2019-03-26 | 1 | -1/+0 |
| | | | | | | | | buildbot) | ||||
* | | loggingmanager, mod_posix: Move syslog to core, fixes #541 (in a way) | Matthew Wild | 2019-03-26 | 2 | -13/+19 |
| | | |||||
* | | util.queue: Update :items() to consistently use private data directly | Matthew Wild | 2019-03-26 | 1 | -5/+4 |
| | | | | | | | | | | | | It will perform better this way, and we were accessing private variables already within the iterator. Replaces 3eea63a68e0f | ||||
* | | Backed out changeset 3eea63a68e0f | Matthew Wild | 2019-03-26 | 2 | -24/+6 |
| | | | | | | | | Commit included intended changes to loggingmanager | ||||
* | | util.stanza: Fix :top_tag() handling of namespaced attributes | Matthew Wild | 2019-03-25 | 2 | -32/+61 |
| | | |||||
* | | mod_csi_simple: Include queue size in debug messages | Kim Alvefur | 2019-03-25 | 1 | -5/+5 |
| | | |||||
* | | mod_csi_simple: Fix type in function name | Matthew Wild | 2019-03-25 | 1 | -4/+3 |
| | | |||||
* | | mod_csi_simple: Improve debug logs by mentioing why the buffer gets flushed | Kim Alvefur | 2019-03-24 | 1 | -1/+5 |
| | | |||||
* | | mod_csi_simple: Add some debug logging | Kim Alvefur | 2019-03-24 | 1 | -0/+2 |
| | | |||||
* | | mod_csi_simple: Disable optimizations on unload and re-enable on load | Kim Alvefur | 2019-03-24 | 1 | -0/+21 |
| | | |||||
* | | mod_csi_simple: Separate out functions to enable/disable optimizations | Kim Alvefur | 2019-03-24 | 1 | -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 now | Kim Alvefur | 2019-03-24 | 1 | -61/+2 |
| | | |||||
* | | net.server_select: Fix write pause/resume functions | Kim Alvefur | 2019-03-24 | 1 | -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 connections | Kim Alvefur | 2019-03-24 | 1 | -2/+2 |
| | | | | | | | | Check for 'nointerface' flag instead, whatever that means. | ||||
* | | mod_csi_simple: Also flush buffer in "pump" mode | Kim Alvefur | 2019-03-24 | 1 | -0/+7 |
| | | |||||
* | | mod_csi_simple: Trigger buffer flush on seeing incoming data | Kim Alvefur | 2019-03-24 | 1 | -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 limit | Kim Alvefur | 2019-03-24 | 1 | -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 reuse | Kim Alvefur | 2019-03-24 | 1 | -5/+9 |
| | | |||||
* | | mod_c2s: Fire an event when outgoing buffers have been emptied | Kim Alvefur | 2019-03-24 | 1 | -0/+7 |
| | | |||||
* | | mod_csi_simple: Use write locks in net.server if available | Kim Alvefur | 2018-11-24 | 1 | -1/+5 |
| | | |||||
* | | sessionmanager: Split byte-level sending into separate session.rawsend | Kim Alvefur | 2019-03-24 | 1 | -8/+14 |
| | | |||||
* | | util.x509: Add function that extracts usable names from a certificate | Kim Alvefur | 2019-01-04 | 1 | -0/+28 |
| | | |||||
* | | mod_storage_memory: Fix copypaste mistake | Kim Alvefur | 2019-03-23 | 1 | -1/+1 |
| | | |||||
* | | mod_storage_memory: Implement archive summary API | Kim Alvefur | 2019-03-23 | 1 | -0/+10 |
| | |