Commit graph

8454 commits

Author SHA1 Message Date
Kim Alvefur
c42b40b07d mod_carbons: Synthesize a 'to' attribute for carbons of stanzas to "self" (fixes #956) 2017-10-26 22:22:14 +02:00
Kim Alvefur
5841c8c064 mod_mam: Load archiving preferes for offline users (fixes #1024) 2017-10-17 12:42:20 +02:00
Kim Alvefur
32a1219188 mod_mam: Log a message when not archiving because it only had ignored tags 2017-09-18 18:35:01 +02:00
Kim Alvefur
d578e7d08f prosodyctl: cert import: Use env variable set by certbot if invoked as post-renew hook 2017-09-18 18:28:29 +02:00
Kim Alvefur
e7f9f1976b prosodyctl: Only demand a hostname argument to cert commands other than import 2017-09-18 17:08:31 +02:00
Kim Alvefur
b70edb66cf prosodyctl: Use all enabled hosts if no hostnames passed to cert import 2017-09-18 17:06:35 +02:00
Waqas Hussain
8cb654ff63 util_throttle_spec: Slight stylistic update for function test group titles 2017-09-17 13:33:38 -04:00
Waqas Hussain
4cc9079746 util.throttle: Fix initial time setting (double accounting the first time) and fractional balance updates (0.1*10 was not the same as 1*1) 2017-09-17 13:29:14 -04:00
Waqas Hussain
f093a68045 util.throttle: Fix initial time setting (double accounting the first time) and fractional balance updates (0.1*10 was not the same as 1*1) 2017-09-17 13:29:14 -04:00
Waqas Hussain
af950b88c7 .hgignore: Add luacov.report.out, luacov.report.out.index and luacov.stats.out 2017-09-17 11:17:45 -04:00
Kim Alvefur
8178f6a7ae Merge 0.10->trunk 2017-09-16 17:24:56 +02:00
Kim Alvefur
6ab32342b2 util.random: Add a _source field to match util.crand 2017-09-16 17:24:13 +02:00
Kim Alvefur
880a7c3e32 util.random: Remove obsolete noop seed function 2017-09-16 17:22:51 +02:00
Matthew Wild
1a74016edf spec/util_queue: Add iterator and peek tests for 100% line coverage 2017-09-16 10:16:08 +01:00
Matthew Wild
44e570d5fe .luacheckrc: Add busted globals for spec/* (thanks av6!) 2017-09-16 10:13:39 +01:00
Waqas Hussain
94c243d8e6 Makefile: Update make test to use the "busted" test runner 2017-09-16 03:46:55 -04:00
Waqas Hussain
e31d31312f util.async: Fix documentation URL 2017-09-15 17:17:07 -04:00
Waqas Hussain
67293fc09f Port tests to the busted test runner 2017-09-15 17:07:57 -04:00
Kim Alvefur
4c6c255113 Merge 0.10->trunk 2017-09-14 02:48:34 +02:00
Kim Alvefur
989c0783cb Merge 0.9->0.10 2017-09-14 02:47:40 +02:00
Kim Alvefur
5dee36d838 mod_component, mod_s2s: Iterate over child tags instead of child nodes (can include text) in stream error (same as 176b7f4e4ac9) 2017-09-14 01:27:36 +02:00
Kim Alvefur
4cfc3d05d5 mod_pubsub: Comment out data persistence for now (weird without config persistence) 2017-09-13 18:46:39 +02:00
Kim Alvefur
12cdea49b3 mod_c2s: Iterate over child tags instead of child nodes in stream error (fixes traceback from #987) 2017-09-13 18:18:57 +02:00
Kim Alvefur
015bc6ad59 mod_mam: Log a message in case archive deletion is not supported by the storage module in use 2017-09-12 14:59:52 +02:00
Kim Alvefur
863374e164 mod_mam: Use a FIFO queue for scheduling archive expiry 2017-09-12 14:42:56 +02:00
Kim Alvefur
a5f43007f1 core.loggingmanager: Remove now unused locals [luacheck] 2017-09-11 19:32:51 +02:00
Kim Alvefur
35717a1e41 loggingmanager, mod_posix: Import util.format correctly (fixes #985) 2017-09-11 19:32:12 +02:00
Waqas Hussain
f4aebb575e loggingmanager: Slight cleanup and optimization of file sink 2017-09-10 13:13:24 -04:00
Waqas Hussain
00cb31f022 loggingmanager, mod_posix: Replace the old inconsistent log formatting with the new util.format 2017-09-10 13:05:45 -04:00
Waqas Hussain
347f3ab6a3 util.format: A string.format wrapper that gracefully handles invalid arguments 2017-09-10 12:42:05 -04:00
Kim Alvefur
3888136262 mod_mam: Factor out <stanza-id> stripping so it can be reused in two places 2017-09-03 17:13:30 +02:00
Kim Alvefur
a9333c4f4b mod_mam: Clone stanza before stripping stanza id after carbons 2017-09-03 12:42:25 +02:00
Kim Alvefur
0edbfe8c0b man/prosodyctl.markdown: Reflow 2017-09-02 10:05:50 +02:00
Kim Alvefur
e95a1649ea man prosodyctl: Add text about the cert import command 2017-09-02 10:04:32 +02:00
Kim Alvefur
0147d39460 prosody, prosodyctl: Fix traceback if ssl config is missing (thanks lookshe and sol) 2017-08-29 15:23:39 +02:00
Kim Alvefur
280a866186 util.pubsub: Don't record publisher when superuser privileges are used (eg by modules) 2017-07-29 13:09:57 +02:00
Kim Alvefur
9437d97a37 util.dependencies: Add comment about LuaSec compat 2017-07-25 13:25:49 +02:00
Kim Alvefur
255073d6c9 util.dependencies: Add compatibility code for LuaSocket no longer exporting as a global 2017-07-25 13:16:31 +02:00
Kim Alvefur
e8872af8a0 mod_saslauth: Use correct varible name (thanks Roi) 2017-07-08 18:21:45 +02:00
Kim Alvefur
7e28119b3d net.http: Add option for disabling TLS certifictate validation 2017-07-07 21:04:46 +02:00
Kim Alvefur
e605ac0987 net.http: Validate HTTPS certificates (fixes #659) 2017-07-07 21:04:30 +02:00
Kim Alvefur
cb0a2ffe81 prosody, prosodyctl: Set up TLS settings for HTTPS requests in net.http (part of fix for #659) 2017-07-07 20:42:35 +02:00
Kim Alvefur
708ce26bc8 net.http: Move default SSL/TLS settings into options, allowing them to be overriden in new() 2017-07-07 20:31:52 +02:00
Kim Alvefur
450544aad0 net.http: Expose defaults 2017-07-07 20:30:52 +02:00
Kim Alvefur
10d48f1bad net.http: Remove duplicate 'request' entry 2017-07-07 20:16:00 +02:00
Kim Alvefur
a15830f378 mod_register: Add comments saying which section handles password change, account deletion and which is in-band registration 2017-08-24 21:51:11 +02:00
Kim Alvefur
88bd13d98b mod_mam: Clone stanzas before mutating (thanks waqas) (fixes #961) 2017-07-25 22:01:16 +02:00
Kim Alvefur
73b75571e6 core.usermanager, various modules: Disconnect other resources on password change (thanks waqas) (fixes #512) 2017-07-28 13:15:29 +02:00
Kim Alvefur
cc8653d31c MUC: Use variable that actually exists (thanks Martin) 2017-08-06 13:27:47 +02:00
Kim Alvefur
ef1f75a9dd prosodyctl: Skip certificate checks for hosts of the form node@host (fixes #779) 2017-08-04 20:27:43 +02:00