Alexey Shchepin
a26c9d2475
Optimize user removal handling in mod_muc
2021-12-20 09:42:02 +03:00
Alexey Shchepin
536beedeb6
Accept more types of ejabberdctl commands arguments as JSON-encoded
2021-12-20 09:42:02 +03:00
Linus Jahn
7196f46730
node_pep: Add config-node and multi-items features
...
Fixes #3714 .
2021-12-19 21:06:33 +01:00
Holger Weiss
42bdb501ca
mod_stun_disco: Fix parsing of IPv6 listeners
...
Don't crash if `mod_stun_disco` is used with `offer_local_services`
and an IPv6 listener has an explicit `ip:` address configured.
Thanks to Daniel Kenzelmann for reporting the issue.
2021-12-18 17:50:26 +01:00
Badlop
24742031e9
Revert "Github Actions: use MD5 pass encryption to support PostgreSQL 14 ( #3691 )"
...
This workaround is not needed anymore, thanks to p1_pgsql 3bf645b,
included in p1_pgsql 1.1.13, and used in ejabberd 21.12.
This reverts commit 964cb3aaca
.
2021-12-15 00:50:52 +01:00
Badlop
7e07cba406
Let get_all_rooms handle "global" argument, fixes rooms_unsued_... ( #3726 )
2021-12-15 00:50:17 +01:00
Alexey Shchepin
8b7da70b57
Handle user removal in mod_muc
2021-12-14 09:55:55 +03:00
Paweł Chmielowski
a94209a0e0
Update stun and esip dependencies
2021-12-09 12:13:48 +01:00
Badlop
ed5ba1f645
Update CHANGELOG.md to 21.12
2021-12-09 11:07:43 +01:00
Badlop
1915f29d4b
Update Chinese translation (thanks to Eric and 52871299hzy)
2021-12-09 10:55:26 +01:00
Badlop
333eaef6dc
Update French translation (thanks to Éfrit and ButterflyOfFire)
2021-12-09 10:55:23 +01:00
Badlop
d1bfd6c90d
Annotate modules, options and command major changes in 21.12
2021-12-09 10:55:21 +01:00
Badlop
ca143c1873
Update man page
2021-12-09 10:55:19 +01:00
Badlop
e10f2a9e47
OTP 24 means whatever version provided by Actions... nowadays it's 24.1
2021-12-09 10:55:16 +01:00
Badlop
0f9a0156c6
Handle mix version when running docker-ejabberd/ecs/build.sh latest
2021-12-08 16:31:36 +01:00
Badlop
68ea5834c8
Relax strictness in mix dependency versions
2021-12-08 16:31:34 +01:00
Holger Weiss
4a52042435
Merge remote-tracking branch 'processone/pr/3724'
...
* processone/pr/3724:
Remove CTLLOCKDIR (/var/lock/ejabberdctl) from Makefile.in
2021-12-07 10:19:59 +01:00
Florian Schmaus
6b1f78e87a
Remove CTLLOCKDIR (/var/lock/ejabberdctl) from Makefile.in
...
Flock'ing /var/lock/ejabberdctl by ejabberdctl was removed with
f7d4aae64d
("Use UUID for ctl node name (#1021 )"), however the
according recipies in the Makefile where never removed. This commit
does that.
2021-12-07 10:15:47 +01:00
Badlop
3f4423e996
Use P1's coveralls-erl fork to handle unicode in git commit author
2021-12-07 01:33:16 +01:00
Paweł Chmielowski
8d8a3177e1
Eliminate xref warning from last commit
2021-12-06 15:46:52 +01:00
Paweł Chmielowski
7897c3d0e1
Add workaround for bug in older erlang version in rest module
2021-12-06 15:08:10 +01:00
badlop
b173ec0a78
Merge pull request #3652 from weiss/bump-max-items
...
PubSub: Bump default value for 'max_items' limit
2021-12-03 16:11:18 +01:00
Badlop
7fd0eefa30
Run make options
2021-12-03 16:09:58 +01:00
Badlop
dab4c0cc10
New allow_modules option to restrict registration modules
2021-12-03 16:09:55 +01:00
Badlop
0372878ba5
Minor improvements in conversejs documentation
2021-12-03 16:09:10 +01:00
Paweł Chmielowski
ad3c91b86e
Update mix deps
2021-11-29 15:36:57 +01:00
Paweł Chmielowski
75b133d968
Update deps
2021-11-29 15:20:10 +01:00
Alexey Shchepin
89ad8a5502
Add mod_conversejs
2021-11-23 08:43:54 +03:00
Badlop
15d3ebb842
Fix Dialyzer warning, old passwd tuple don't match current tuple definition
2021-11-17 17:26:44 +01:00
Badlop
689749a563
Update Jose to 1.11.1 (the last in hex.pm correctly versioned)
2021-11-17 13:22:34 +01:00
Badlop
a590e81922
Add DIAGNOSTIC to rebar3 coveralls, this fails since some days ago
2021-11-17 13:20:33 +01:00
Paweł Chmielowski
405a5172d5
Improve mod_multicast
2021-11-17 11:32:42 +01:00
Paweł Chmielowski
97b8373fd2
Better version of dialyzer fix
2021-11-16 10:59:53 +01:00
Paweł Chmielowski
bdd4e52699
Make dialyzer happy
2021-11-16 10:57:15 +01:00
Paweł Chmielowski
03817de827
Make s2s connection table cleanup more robust
...
Using monitors instead of doint that from terminate() makes us immune to
s2s handler processes being forcefully killed.
2021-11-16 10:25:03 +01:00
Paweł Chmielowski
132ebb8f2d
Fix exception in mucsub {un}subscription events multicast handler
...
While those event are wrapped in mucsub envelope they doesn't
contain regular messages that require updating 'to' attribute,
so don't process in that same way as events with wrapped
message in them.
2021-11-10 17:04:50 +01:00
Holger Weiss
2cdda4cf49
mod_caps: Don't forget caps on XEP-0198 resumption
...
Many thanks to Thilo Molitor for spotting the issue and testing the fix.
2021-11-06 23:48:49 +01:00
Badlop
4e014d23bd
Improve documentation of some commands
2021-11-05 15:58:00 +01:00
Badlop
b6a2eeebeb
Mention "help" as an available ejabberdctl command
2021-11-05 15:57:57 +01:00
Badlop
684ef60ec3
Annotate support for XEP-0317: Hats, since commit 5d0e599f1
2021-11-05 15:57:53 +01:00
Holger Weiss
6e3df8e80b
Update 'stun' dependency
...
The new 'stun' release should improve UDP performance quite a bit.
2021-11-02 12:34:19 +01:00
Holger Weiss
c4f6c9dfe7
mod_muc_room.hrl: Work around old Dialyzer bug
...
On Erlang/OTP versions older than 21, Dialyzer stumbles over non-empty
map type specifications for record fields (OTP-15098).
2021-10-31 21:59:00 +01:00
Holger Weiss
13cbd7c35d
mod_pubsub: Remove unused check_opt_range/3 clause
2021-10-31 21:38:49 +01:00
Holger Weiss
65a900668c
node_pep: Fix remove_expired_items/2 argument name
2021-10-31 21:32:45 +01:00
Holger Weiss
2f1611f918
mod_pubsub: Fix get_max_items_node/1 specification
...
Make it explicit that the get_max_items_node/1 function returns
?MAXITEMS if the 'max_items_node' option isn't specified. The function
didn't actually fall back to 'undefined' (but to the 'max_items_node'
default; i.e., ?MAXITEMS) anyway. This change just clarifies the
behavior and adjusts the function specification accordingly.
2021-10-30 13:45:10 +02:00
Holger Weiss
29dcc9b94c
PubSub: Add delete_expired_pubsub_items command
...
Support XEP-0060's pubsub#item_expire feature by adding a command for
deleting expired PubSub items.
Thanks to Ammonit Measurement GmbH for sponsoring this work.
2021-10-30 13:19:30 +02:00
Alexey Shchepin
5d48329a3f
Update 'xmpp' dependency
2021-10-29 05:48:03 +03:00
Alexey Shchepin
5d0e599f17
Support MUC hats (XEP-0317, conversejs/prosody compatible)
2021-10-29 05:35:16 +03:00
Badlop
5462a26a0a
Remove obsolete cookie preparation in spool dir, it's now stored in HOME
2021-10-21 16:12:41 +02:00
Badlop
5f3c8dcca4
Use the configured user in systemd's ejabberd.service
2021-10-21 16:12:38 +02:00