aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mod_mam: Add test for JID normalization in prefs (see #1275)Kim Alvefur2018-12-232-1/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mod_mam: Only accept valid JIDs in <always/> and <never/> prefs. (fixes #1275)Emmanuel Gil Peyrot2018-12-231-4/+10
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MUC: Allow changing data attached to an only owner (fixes #1273)Kim Alvefur2018-12-202-1/+23
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This previously prevented a single owner from setting their own nickname via admin query. The form method uses `true` as actor so it bypasses this check.
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MUC: Adjust priorities of muc-get-default-role handlers (fixes #1272)Matthew Wild2018-12-192-2/+2
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | spec/scansion: Fix test names of tests added in 0d97768b0ea9Matthew Wild2018-12-192-2/+2
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | spec/scansion: Add tests for members-only roomsMatthew Wild2018-12-192-0/+236
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | prosodyctl check: Add statisticsmanager settings to known global optionsKim Alvefur2018-12-171-0/+1
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | | | | MUC: Fix traceback when requesting voice (fixes #1269) (thanks jonas’)Kim Alvefur2018-12-151-1/+1
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduced by change from add_child to add_direct_child in ce57c69a20e2 Why does add_direct_child not return self like everything else?
* | | | | | | | | | | | | | | | | | | | | | | | | util.datetime: Make sure timezone difference is calculated correctly (fixes ↵Kim Alvefur2018-12-091-1/+2
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #1262) If the two os.date() calls happen at either side of a second ticking over there would be a one second error in the calculation.
* | | | | | | | | | | | | | | | | | | | | | | | util.stanza: Deserialize stanza without mutating input (fixes #711)Kim Alvefur2018-12-011-27/+17
| | | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | | util.stanza: Improve testsKim Alvefur2018-12-021-9/+19
| | | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | | mod_vcard_legacy: Limit injection of XEP-0153 to normal presence (fixes #1252)Kim Alvefur2018-12-011-0/+1
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | server_epoll: Add comments describing config optionsKim Alvefur2018-11-301-0/+15
| | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | net.server_epoll: Remove unused config optionKim Alvefur2018-11-301-1/+0
| | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | server_epoll: Increase write timeoutKim Alvefur2018-11-301-1/+1
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7 may be too low for some slow machines and/or networks
* | | | | | | | | | | | | | | | | | | | | | util-src/makefile: Update with util.poll and util.compat (fixes #1251)Kim Alvefur2018-11-301-1/+2
| | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | net.websocket.frames: Add some brief testsKim Alvefur2018-11-291-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are mostly just recordings of minimal input roundtripped back into tables.
* | | | | | | | | | | | | | | | | | | | | | Added tag 0.11.1 for changeset 91856829f18bMatthew Wild2018-11-280-0/+0
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | mod_csi: Fix copypaste mistake [luacheck]0.11.1Kim Alvefur2018-11-271-1/+1
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | mod_csi: Set session.state to simplify CSI modulesKim Alvefur2018-11-272-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved here from mod_csi_simple
* | | | | | | | | | | | | | | | | | | | mod_csi_simple: Fix autocompletion mistakeKim Alvefur2018-11-271-1/+1
| | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | mod_csi_simple: Bypass importance event in active mode (fixes #1249)Kim Alvefur2018-11-271-1/+3
| | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | mod_csi_simple: Don't set <delay> stamps on <iq> stanzas (fixes #1248)Kim Alvefur2018-11-271-1/+1
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | Merge 0.10->0.11Kim Alvefur2018-11-261-1/+7
|\| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | mod_proxy65: Check what port is used at the time of the query0.10.3Kim Alvefur2018-11-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Could have changed between startup and time of request
| * | | | | | | | | | | | | | | | | | mod_proxy65: Return an error if no port is open (fixes #1240)Kim Alvefur2018-11-251-0/+6
| | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | mod_csi_simple: Use the same event name when firing as when hooking (fixes ↵Kim Alvefur2018-11-251-1/+1
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #1245)
* | | | | | | | | | | | | | | | | | MUC: Fix traceback on muc#admin query with missing <item> child (#1242)Kim Alvefur2018-11-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Caused by a missing return statement introduced in 494938dec5d8
* | | | | | | | | | | | | | | | | | Added tag 0.11.0 for changeset 83f3a05c1b1bMatthew Wild2018-11-180-0/+0
| | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | CHANGES: Update with release date0.11.0Matthew Wild2018-11-181-1/+1
| | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | prosody.cfg.lua.dist: Tidy up some commentsMatthew Wild2018-11-181-11/+1
| | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | prosody.cfg.lua.dist: Add https_certificate optionMatthew Wild2018-11-181-0/+3
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | net.server_select: Fix IP validation to use correct variable (thanks quest)Kim Alvefur2018-11-171-1/+1
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Copy-paste mistake most likely. Not caught because server_select is ignored by luacheck.
* | | | | | | | | | | | | | | | mod_csi_simple: Consider non-stanza objects importantKim Alvefur2018-11-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most cases are for keepalive or stream closing, where it needs to be flushed anyways.
* | | | | | | | | | | | | | | | mod_csi_simple: Skip delay tags on objects other than stanzas (thanks quest)Kim Alvefur2018-11-171-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This may be triggered by sending strings, eg as done by mod_c2s for keepalives, stream errors, "</stream>".
* | | | | | | | | | | | | | | | util.stanza: Validate input to clone() (with brief tests)Kim Alvefur2018-11-172-2/+23
| |_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | |
* | | | | | | | | | | | | | | mod_storage_sql: Catch errors during schema upgrade (thanks Nothing4You)Matthew Wild2018-11-151-4/+4
| |_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | |
* | | | | | | | | | | | | | MUC: Use defaults from config in create_room() if no config providedMatthew Wild2018-11-151-12/+18
| |_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | |
* | | | | | | | | | | | | net.http.server: Move event formation to avoid traceback on missing Host headerMatthew Wild2018-11-131-1/+1
| |_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | |
* | | | | | | | | | | | spec/scansion/prosody.cfg.lua: Add comment about mod_scansion_recordKim Alvefur2018-11-121-1/+3
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was accidentally included in a previous commit, but having it here makes it easier to enable when making new test cases.
* | | | | | | | | | | MUC: Add scanison test case for #1230Kim Alvefur2018-11-122-0/+102
| | | | | | | | | | |
* | | | | | | | | | | mod_scansion_record: Split stanzas into multiple linesKim Alvefur2018-11-121-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not perfect but should improve readability somewhat
* | | | | | | | | | | mod_scansion_record: Discard from/to where these are implicitly the sessions ↵Kim Alvefur2018-11-121-2/+9
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | full JID Makes it easier to clean up recordings and change JIDs etc
* | | | | | | | | | util.sql: Switch from hacky multi-arg xpcall implementation to util.xpcallKim Alvefur2018-11-111-5/+4
| |_|_|_|_|_|_|_|/ |/| | | | | | | |
* | | | | | | | | MUC: Allow anyone read access to all affiliation lists in non-anonymous ↵Kim Alvefur2018-11-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rooms (fixes #1230)
* | | | | | | | | MUC: Clarify condition with parenthesisKim Alvefur2018-11-091-2/+2
| | | | | | | | |
* | | | | | | | | net.http: Manually merge settings (fixes #1231)Kim Alvefur2018-11-091-2/+6
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Metatable table indexing is done raw, so metatables can't be chained
* | | | | | | | mod_storage_memory: Support the purge driver methodKim Alvefur2018-11-071-0/+6
| | | | | | | |
* | | | | | | | mod_register: Move dependency on mod_register_limits into mod_register_ibrKim Alvefur2018-11-072-1/+4
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | issue1224.scs: Fix to expect new affiliation change notificationsMatthew Wild2018-10-311-0/+7
| | | | | | |