Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | mod_scansion_record: Remove extra " | Kim Alvefur | 2018-09-22 | 1 | -1/+1 | |
| | ||||||
* | mod_scansion_record: Add missing ) | Kim Alvefur | 2018-09-22 | 1 | -1/+1 | |
| | ||||||
* | mod_scansion_record: Finish function for writing data | Kim Alvefur | 2018-09-22 | 1 | -1/+2 | |
| | ||||||
* | mod_scansion_record: and close it on shutdown | Kim Alvefur | 2018-09-22 | 1 | -0/+3 | |
| | ||||||
* | mod_scansion_record: Open log file | Kim Alvefur | 2018-09-22 | 1 | -0/+2 | |
| | ||||||
* | mod_scansion_record: Have datamanager generate a filename for output | Kim Alvefur | 2018-09-22 | 1 | -1/+1 | |
| | ||||||
* | mod_scansion_record: Unfinished code dump from Matthew | Kim Alvefur | 2018-09-22 | 1 | -0/+54 | |
| | ||||||
* | util.serialization: Use deserialize instead of envload directly | Kim Alvefur | 2018-09-23 | 1 | -4/+2 | |
| | ||||||
* | util.serialization: Add brief initial tests | Kim Alvefur | 2018-09-23 | 1 | -0/+33 | |
| | ||||||
* | util.serialization: Stricter type check | Kim Alvefur | 2018-09-23 | 1 | -1/+1 | |
| | ||||||
* | mod_storage_memory: Fix saving of remaining items during deletion | Kim Alvefur | 2018-09-22 | 1 | -1/+1 | |
| | | | | | | | | | All data is compiled into functions that return new copies in order to prevent mutation of stored data. This has downsides. Also an ugly hack. | |||||
* | mod_pep: Add test publishing a nickname | Kim Alvefur | 2018-09-22 | 1 | -0/+72 | |
| | ||||||
* | Revert 2dc7490899ae::5d6b252bc36f: Unfinished and broken | Kim Alvefur | 2018-09-21 | 2 | -14/+4 | |
| | ||||||
* | net.http.server: Fix default host logic | Kim Alvefur | 2018-09-21 | 1 | -1/+1 | |
| | | | | This was used to construct the event name previously | |||||
* | mod_http: Hook the host-less event if hooked from a global module | Kim Alvefur | 2018-09-21 | 1 | -1/+5 | |
| | ||||||
* | net.http.server: Move handling of hosts to mod_http | Kim Alvefur | 2018-09-21 | 2 | -2/+8 | |
| | | | | | Now an event like `GET /path` is fired at first, and mod\_http dispatches the old `GET host/path` events. | |||||
* | mod_server_contact_info: Update copyright header | Kim Alvefur | 2018-09-21 | 1 | -2/+3 | |
| | ||||||
* | mod_server_contact_info: Simplify | Kim Alvefur | 2018-09-16 | 1 | -36/+14 | |
| | | | | This relies on the new name mapping in util.dataforms | |||||
* | mod_admin_telnet: Split out sort function for clarity | Matthew Wild | 2018-09-21 | 1 | -5/+7 | |
| | ||||||
* | mod_adhoc: Use util.iterators.sorted_pairs() to sort commands | Matthew Wild | 2018-09-21 | 1 | -5/+2 | |
| | ||||||
* | mod_admin_telnet: Make use of util.iterators.sorted_pairs() | Matthew Wild | 2018-09-21 | 1 | -10/+7 | |
| | ||||||
* | util.json: Use util.iterators.sorted_pairs() in ordered mode | Matthew Wild | 2018-09-21 | 1 | -21/+8 | |
| | ||||||
* | util.iterators tests: Check value matches expected [luacheck] | Matthew Wild | 2018-09-21 | 1 | -0/+2 | |
| | ||||||
* | util.iterators: Add sorted_pairs() method | Matthew Wild | 2018-09-21 | 2 | -0/+43 | |
| | ||||||
* | util.json tests: Add [luacheck] annotation to mark intentionally-empty if branch | Matthew Wild | 2018-09-17 | 2 | -2/+1 | |
| | ||||||
* | .luacheckrc: Remove util_cache_spec.lua from the ignore list | Matthew Wild | 2018-09-17 | 1 | -1/+0 | |
| | ||||||
* | util.jid: Add missing semicolon | Kim Alvefur | 2018-09-21 | 1 | -1/+1 | |
| | ||||||
* | util.cache tests: Add annotation to fix [luacheck] warning | Matthew Wild | 2018-09-17 | 1 | -1/+1 | |
| | ||||||
* | scansion: muc_register.scs: Test to ensure MUC registration by unaffiliated ↵ | Matthew Wild | 2018-09-17 | 1 | -0/+36 | |
| | | | | users is disabled by default | |||||
* | net.server_epoll: Simplify minimal string representation | Kim Alvefur | 2018-09-15 | 1 | -1/+1 | |
| | | | | .conn might just be the FD sometimes | |||||
* | net.server_epoll: Add back setflags API for compat | Kim Alvefur | 2018-09-15 | 1 | -0/+13 | |
| | ||||||
* | net.server_epoll: Fix write signal handling in watchfd API | Kim Alvefur | 2018-09-15 | 1 | -3/+3 | |
| | | | | The main loop calls :onwritable but here it was spelled :onwriteable | |||||
* | util.poll: Lua 5.1 compat | Kim Alvefur | 2018-09-15 | 1 | -0/+6 | |
| | ||||||
* | util.poll: Remove 'inline' from function declaration | Kim Alvefur | 2018-09-15 | 1 | -1/+1 | |
| | | | | Why does this fix building? | |||||
* | util.poll: Test that it loads after being compiled | Kim Alvefur | 2018-09-15 | 1 | -0/+6 | |
| | ||||||
* | MUC: Don't kick user of a reserved nick if it's theirs (thanks pep.) | Matthew Wild | 2018-09-14 | 2 | -1/+66 | |
| | ||||||
* | net.server_epoll: Use util.poll | Kim Alvefur | 2018-05-16 | 1 | -69/+74 | |
| | ||||||
* | util.poll: Import poll library with epoll and select support | Kim Alvefur | 2018-05-16 | 2 | -1/+425 | |
| | ||||||
* | MUC: Include 'nick' attribute in affiliation lists (thanks jc) | Matthew Wild | 2018-09-14 | 2 | -1/+18 | |
| | ||||||
* | net.server_epoll: Make read_size a server-wide option | Kim Alvefur | 2018-09-13 | 1 | -1/+2 | |
| | | | | Can still be overriden per connection | |||||
* | net.server_epoll: Rename pattern to read_size | Kim Alvefur | 2018-09-13 | 1 | -10/+10 | |
| | ||||||
* | net.server_epoll: Refactor Direct TLS assumptions outwards | Kim Alvefur | 2018-09-13 | 1 | -8/+17 | |
| | | | | | | | | | | The assumption that connections are "Direct TLS" when a TLS context is supplided should be broken. The goal is to make it easy to add a new API that can be given a TLS context at creation even if it should do STARTTLS. With this commit, only the exposed server_select-compatible API assumes Direct TLS when a TLS context is included. | |||||
* | util.stanza tests: Remove unused variable #luacheck | Matthew Wild | 2018-09-13 | 1 | -2/+2 | |
| | ||||||
* | util.stanza: Don't automatically generate ids for iq stanzas | Matthew Wild | 2018-09-13 | 2 | -12/+18 | |
| | | | | | | | | | | Users of this API should provide their own id attribute that meets their uniqueness requirements. The current implementation leaks information (i.e. how many iq stanzas have been sent by the server to other JIDs). Providing any strong guarantees of randomness here would need to pull in additional dependencies that we don't want in this simple library. | |||||
* | net.server_epoll: Factor Direct TLS handling out of connection initialization | Kim Alvefur | 2018-09-13 | 1 | -6/+6 | |
| | | | | | Eventually it should be possible to create a socket that has a TLS context but that does not automatically start TLS on connect. | |||||
* | spec/scansion/basic_roster.scs: Add tests for actually modifying the roster | Matthew Wild | 2018-09-13 | 1 | -8/+40 | |
| | ||||||
* | .luacheckrc: Remove aspirational goals from strict check, keep it simple for now | Matthew Wild | 2018-09-13 | 1 | -3/+0 | |
| | ||||||
* | rostermanager: Use util.id to generate ids for roster pushed | Matthew Wild | 2018-09-13 | 1 | -1/+3 | |
| | ||||||
* | util.stanza tests: Fix test name (copy/paste error?) | Matthew Wild | 2018-09-13 | 1 | -1/+1 | |
| | ||||||
* | net.server_epoll: Remove coercion of connections to strings | Kim Alvefur | 2018-09-13 | 1 | -8/+8 | |
| | | | | No longer needed since util.logger does this now |