Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | net.server_epoll: Rename all variables holding TLS contexts for consistency | Kim Alvefur | 2018-09-13 | 1 | -13/+13 |
| | |||||
* | MUC: Fix to correctly return 'node' in disco#info responses (thanks jc) | Matthew Wild | 2018-09-13 | 2 | -3/+17 |
| | |||||
* | MUC: If a user with an existing affiliation registers, preserve that ↵ | Matthew Wild | 2018-09-13 | 2 | -1/+66 |
| | | | | affiliation (thanks jc) | ||||
* | spec/scansion/prosody.cfg.lua: daemonize by default | Matthew Wild | 2018-09-12 | 1 | -0/+1 |
| | |||||
* | spec/scansion/prosody.cfg.lua: Add pidfile option so Prosody can be daemonized | Matthew Wild | 2018-09-12 | 1 | -0/+2 |
| | |||||
* | doc/net.server.lua: Not an actual source file, instruct luacheck to ignore it | Matthew Wild | 2018-09-12 | 1 | -0/+2 |
| | |||||
* | spec/scansion/prosody.cfg.lua: Config file to be used for integration tests | Matthew Wild | 2018-09-12 | 1 | -0/+76 |
| | |||||
* | mod_storage_memory: Import from prosody-modules 4c3230c22c18 | Matthew Wild | 2018-09-12 | 1 | -0/+178 |
| | |||||
* | mod_auth_insecure: Fix module provider name | Matthew Wild | 2018-09-12 | 1 | -1/+1 |
| | |||||
* | spec/scansion: Ensure all scripts have sensible titles | Matthew Wild | 2018-09-11 | 12 | -1/+22 |
| | |||||
* | spec/scansion: Multiple fixes to make all tests pass in latest ↵ | Matthew Wild | 2018-09-10 | 6 | -155/+9 |
| | | | | (c35386e4b456) scansion | ||||
* | GNUmakefile: Tell Mercurial to behave consistenly | Kim Alvefur | 2018-09-09 | 1 | -1/+1 |
| | | | | See `hg help environment.HGPLAIN` | ||||
* | GNUmakefile: Allow overriding path to busted | Kim Alvefur | 2018-09-09 | 1 | -1/+2 |
| | |||||
* | GNUmakefile: Allow overriding path to luacheck | Kim Alvefur | 2018-09-09 | 1 | -1/+3 |
| | |||||
* | mod_vcard_legacy: Add some notes | Kim Alvefur | 2018-09-09 | 1 | -0/+2 |
| | |||||
* | mod_vcard_legacy: Fix EXTVAL conversion (thanks pep.) | Kim Alvefur | 2018-09-09 | 1 | -1/+1 |
| | | | | Good thing uri and url doesn't look similar at all! | ||||
* | mod_vcard_legacy: Fix uppercase tag name (thanks pep.) | Kim Alvefur | 2018-09-09 | 1 | -1/+1 |
| | | | | Must have slipped on my shift key | ||||
* | mod_vcard4: Advertise feature on account instead of host | Kim Alvefur | 2018-09-08 | 1 | -1/+3 |
| |