Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | 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 | |
| | | ||||||
* | | util.pposix: Allow _DARWIN_C_SOURCE to be overriden | Kim Alvefur | 2018-09-08 | 1 | -0/+2 | |
| | | | | | | | | Like the others there | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2018-09-08 | 1 | -0/+3 | |
|\| | ||||||
| * | util.pposix: Fix or silence a warning on OS X (#1202) | Kim Alvefur | 2018-09-08 | 1 | -0/+3 | |
| | | ||||||
* | | Merge 0.10->trunk | Kim Alvefur | 2018-09-08 | 1 | -1/+1 | |
|\| | ||||||
| * | util.pposix: Fix building on OS X (#1202) | Kim Alvefur | 2018-08-18 | 1 | -1/+1 | |
| | | ||||||
* | | util.pposix: Restrict use of malloc_info to glibc | Kim Alvefur | 2018-09-07 | 1 | -1/+1 | |
| | | | | | | | | Fixes build on musl based distros like Alpine linux | |||||
* | | util.pposix: Do not attempt to assign to stdio variables [pedantic] | Kim Alvefur | 2018-09-07 | 1 | -3/+3 | |
| | | | | | | | | | | | | Fixes build on gcc 6.4.0 See also https://stackoverflow.com/a/586416 | |||||
* | | mod_auth_insecure: Accept any username/password (import of mod_auth_any from ↵ | Matthew Wild | 2018-09-07 | 1 | -0/+53 | |
| | | | | | | | | prosody-modules) | |||||
* | | mod_pubsub: Exclude value of FORM_TYPE from stored data | Kim Alvefur | 2018-09-07 | 1 | -3/+3 | |
| | | ||||||
* | | mod_vcard_legacy: Include avatar data even if metadata can't be loaded | Kim Alvefur | 2018-09-07 | 1 | -3/+4 | |
| | | | | | | | | | | | | | | | | | | Normally both nodes should have the same configuration and matching items, but we can't depend on it without having some code that enforces it, which does not exist at the time of this commit. Including the avatar itself should be prioritised. The image format can be derived from magic bytes. | |||||
* | | mod_vcard_legacy: Return old vcard if neither vcard4 or avatar available | Kim Alvefur | 2018-09-07 | 1 | -0/+4 | |
| | | ||||||
* | | mod_vcard_legacy: Handle avatar without vcard4 | Kim Alvefur | 2018-09-07 | 1 | -4/+0 | |
| | | | | | | | | | | | | | | Since vcards are just avatar containers in many modern clients, aborting in case of no vcard4 data is not optimal. The upgrade mechanism needs further tweaks. | |||||
* | | mod_vcard_legacy: Rename variable for consistency | Kim Alvefur | 2018-09-07 | 1 | -2/+2 | |
| | | | | | | | | | | The variable holding the PEP service was `pep_service`, except in the XEP-0153 section. | |||||
* | | mod_vcard_legacy: Return error in case saving avatar fails | Kim Alvefur | 2018-09-06 | 1 | -2/+7 | |
| | | ||||||
* | | mod_vcard_legacy: Factor out error handling into a function | Kim Alvefur | 2018-09-06 | 1 | -5/+11 | |
| | | | | | | | | This is a lite version of pubsub_error_reply() in mod_pubsub | |||||
* | | mod_vcard_legacy: Use correct method to clear avatar data | Kim Alvefur | 2018-09-06 | 1 | -1/+1 | |
| | | ||||||
* | | spec/scansion: Add scansion scripts used for testing | Matthew Wild | 2018-09-06 | 13 | -0/+1474 | |
| | | | | | | | | | | | | All past, except issue978-multi which fails randomly based on ordering of elements - this is a scansion issue to be resolved. | |||||
* | | MUC: Initialize room with empty affiliation_data if none stored | Matthew Wild | 2018-09-04 | 1 | -1/+1 | |
| | | ||||||
* | | MUC: Allow vCard4 requests trough | Kim Alvefur | 2018-09-04 | 1 | -1/+1 | |
| | | ||||||
* | | MUC: Allow admins to include a registered nick when setting affiliation | Matthew Wild | 2018-09-04 | 1 | -2/+19 | |
| | | | | | | | | This is defined by XEP-0045 section 9.3 "Granting Membership" | |||||
* | | MUC: Move comment for clarity | Matthew Wild | 2018-09-04 | 1 | -1/+1 | |
| | | ||||||
* | | mod_vcard4: Allow access to the vcard4 PEP node via iq syntax | Kim Alvefur | 2018-08-18 | 2 | -0/+44 | |
| | | ||||||
* | | mod_vcard_legacy: Announce feature on bare JID per XEP | Kim Alvefur | 2018-09-01 | 2 | -2/+4 | |
| | | ||||||
* | | mod_vcard_legacy: Clear avatars on setting a vcard-temp | Kim Alvefur | 2018-09-01 | 1 | -0/+4 | |
| | | | | | | | | Otherwise it is not possible to remove avatars | |||||
* | | mod_vcard_legacy: Support external avatars | Kim Alvefur | 2018-09-01 | 1 | -0/+2 | |
| | |