Kian-Meng Ang
adf0f87e99
Fix typos
2022-01-24 08:02:04 +08:00
Holger Weiss
0f2d36dc53
mod_pubsub: Allow for limiting item_expire value
...
If mod_pubsub's 'max_item_expire_node' option is specified, reject node
configurations with an 'item_expire' value that exceeds the specified
limit.
2022-01-17 19:08:36 +01:00
Holger Weiss
8e88fa3884
mod_shared_roster: Normalize JID on unset_presence
...
Don't forget to normalize the JID handed over from ejabberd_sm on
presence-unavailable. Without normalization, mod_shared_roster might
fail to look up the storage backend for the given host name, for
example.
Fixes #3752 .
2022-01-15 18:18:24 +01:00
Badlop
a9ac10e876
Document that 'unregister' command deletes data associated with the account
2022-01-13 19:34:37 +01:00
Badlop
1fb908b70f
Document option subscrube_room_many_max_users introduced in fc34661b6
2022-01-13 19:34:10 +01:00
Badlop
1ce3bd256b
Update section URLs in ldap documentation
2022-01-13 19:34:07 +01:00
Badlop
ce14c28faf
Fix version when this command was really updated
2022-01-11 17:28:36 +01:00
Badlop
03a11c63bd
Fix login when generating client id, keep connection record ( #3593 )
2022-01-11 17:19:12 +01:00
Paweł Chmielowski
9ba20d26cb
Add better descripion of subscribe_room_many command
2022-01-05 16:44:05 +01:00
Badlop
cc7ebb86b4
Fix Dialyzer, related to Luerl API update from 0.3 to 1.0
2022-01-04 23:06:30 +01:00
Badlop
79ddde3040
Workaround to support rebar2 git tag "1.0" and rebar3 hex version "1.0.0"
2022-01-04 21:56:31 +01:00
Badlop
61dc89a068
Update Luerl to 1.0.0, now available in Hex.pm ( rvirding/luerl#142 )
2022-01-04 21:32:23 +01:00
Badlop
7c9b47fb78
Fix "make rel" when using mix, broken after 94a733c66
2022-01-04 17:31:30 +01:00
Paweł Chmielowski
dc81966938
Fix 'make update' when used with rebar 3.18
2022-01-03 13:51:58 +01:00
Holger Weiss
59c9500944
mod_muc_room: Fix function name typo
2021-12-30 21:17:11 +01:00
Badlop
8ccad7fada
Publish CT logs and Cover on failure to an external GH Pages repo
2021-12-23 16:39:36 +01:00
Badlop
8a5d90797a
Check dialyzer results in its step when using rebar 2
2021-12-23 16:39:34 +01:00
Badlop
aa580b3f6e
Only care about new-schema results when new-schema tests were ran
2021-12-23 16:39:31 +01:00
Badlop
3841097428
Clean actions steps, remove redundant ones
2021-12-23 16:39:28 +01:00
Holger Weiss
5ff45e0f00
ejabberdctl: Let shellcheck ignore unused ERTS_VSN
...
The ERTS_VSN variable is only used for releases built with Rebar 3.
2021-12-23 14:46:53 +01:00
Holger Weiss
94a733c666
Fix ERTS path in ejabberdctl with rebar3 release
...
Rebar 2 expands {{erts-vsn}} to "erts-$vsn", Rebar 3 expands it to just
"$vsn". Make sure `make rel` doesn't end up with a "$vsn" directory
next to "erts-$vsn" (which happened when using Rebar 3), and make sure
that ejabberdctl expects both "erl" and "epmd" to be installed below
"erts-$vsn" (which it didn't when using Rebar 3).
2021-12-23 14:24:27 +01:00
Badlop
e2b7717dd9
Workaround to support ShellCheck older than 0.8.0
2021-12-23 13:57:16 +01:00
Badlop
694d80b7fa
Test shell scripts in CI ( #3738 )
2021-12-23 13:57:14 +01:00
Badlop
84d23e60d1
In POSIX sh, RANDOM is undefined: use always the other method
2021-12-23 13:57:12 +01:00
Badlop
f4e2d278ba
Dollar is unnecessary on arithmetic variables
2021-12-23 13:57:10 +01:00
Badlop
d8be168cff
Use dollar notation instead of legacy backticked
2021-12-23 13:57:08 +01:00
Badlop
cde089ce9c
Disable some shellcheck warnings
2021-12-23 13:57:06 +01:00
Badlop
fdc664a318
The read value is useless, so use throwaway variable name
2021-12-23 13:57:04 +01:00
Badlop
4deff0513c
Harmless warning, but let's prevent it anyway
2021-12-23 13:57:02 +01:00
Badlop
46324385f2
SCRIPT_DIR is used by relx releases
2021-12-23 13:57:00 +01:00
Badlop
b5d8b22486
In POSIX sh, RANDOM is undefined, use alternative
2021-12-23 13:56:58 +01:00
Badlop
1b22368f6b
In POSIX sh, OSTYPE is undefined. ejabberd doesn't work natively in win anyway
2021-12-23 13:56:56 +01:00
Badlop
f88aa49913
Give hint about what ejabberd.cfg.example sourcing
2021-12-23 13:56:53 +01:00
Badlop
200a842cb0
Configure shellcheck to test with sh POSIX script
2021-12-23 13:56:51 +01:00
Badlop
66bb4cbfa9
Only provide Relx start script in dev profile
...
That script serves a similar purpose to ejabberdctl to start ejabberd,
but we can't guarantee it is completely equivalent to ejabberdctl.
The prod profile must provide only the well-known script.
The test profile provides the Relx script so we can experiment with it.
2021-12-23 13:54:08 +01:00
Holger Weiss
aaa053829f
Revert "rebar.config: Don't create extended start script"
...
This reverts commit 0881c5941a
.
The extended start had been enabled intentionally, as some commands
(such as 'ping', 'status', or 'pid') actually do work.
2021-12-23 07:12:02 +01:00
Holger Weiss
0881c5941a
rebar.config: Don't create extended start script
...
We currently don't use the start script(s) generated by Relx.
2021-12-21 00:01:17 +01:00
Holger Weiss
3c46e6aba5
Merge remote-tracking branch 'processone/pr/3735'
...
* processone/pr/3735:
node_pep: Add config-node and multi-items features
2021-12-20 09:37:37 +01:00
Alexey Shchepin
fc34661b6f
Add subscribe_room_many command
2021-12-20 09:42:02 +03:00
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