Skip to content

Commit 0084a77

Browse files
committed
Last minute updates for 24.07 documentation
1 parent 3b38ed6 commit 0084a77

File tree

6 files changed

+35
-4
lines changed

6 files changed

+35
-4
lines changed

content/admin/configuration/listen.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -536,9 +536,7 @@ It's possible to use OAuth for authentication instead of plain password, see
536536
[OAuth Support](../../developer/ejabberd-api/oauth.md).
537537

538538
In ejabberd [20.03](../../archive/20.03/index.md) and older,
539-
it was possible to configure `ejabberd_xmlrpc` as a
540-
listener, see the old document for reference and example configuration:
541-
[Listening Module](../../archive/old.md#listening_module).
539+
it was possible to configure `ejabberd_xmlrpc` as a listener.
542540

543541
Just for reference, there's also the old
544542
[`ejabberd_xmlrpc documentation`](https://ejabberd.im/ejabberd_xmlrpc)

content/admin/upgrade/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ of the new ejabberd version if you need to update those tables yourself manually
9292
The corresponsing ugprade notes are available in the release notes of each release,
9393
and also available in the [Archive](../../archive/index.md) section:
9494

95+
- [Upgrading from ejabberd 24.06 to 24.07](../../archive/24.07/upgrade.md)
9596
- [Upgrading from ejabberd 24.02 to 24.06](../../archive/24.06/upgrade.md)
9697
- [Upgrading from ejabberd 23.10 to 24.02](../../archive/24.02/upgrade.md)
9798
- [Upgrading from ejabberd 23.04 to 23.10](../../archive/23.10/upgrade.md)

content/archive/24.07/listen.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ It's possible to use OAuth for authentication instead of plain password, see
543543
In ejabberd [20.03](../../archive/20.03/index.md) and older,
544544
it was possible to configure `ejabberd_xmlrpc` as a
545545
listener, see the old document for reference and example configuration:
546-
[Listening Module](../../archive/../../admin/configuration/old.md#listening_module).
546+
[Listening Module](../../archive/old.md#listening_module).
547547

548548
Just for reference, there's also the old
549549
[`ejabberd_xmlrpc documentation`](https://ejabberd.im/ejabberd_xmlrpc)

content/archive/24.07/upgrade.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Upgrade to ejabberd 24.07
2+
3+
If you upgrade ejabberd from a previous release to [24.07](../../archive/24.07/index.md),
4+
please update the ejabberd configuration file:
5+
6+
## <a name="webadmin-config"></a>WebAdmin API permissions configuration
7+
8+
The ejabberd 24.06 release notes announced the [Improved WebAdmin with commands usage](https://www.process-one.net/blog/ejabberd-24-06/#webadmin-commands), and mentioned some [`api_permissions` configuration details](https://www.process-one.net/blog/ejabberd-24-06/#webadmin-config), but it was not explicit enough about this fact: with the default ejabberd configuration, an admin was allowed to login in WebAdmin from any machine, but only was allowed to execute commands from the loopback IP address! The WebAdmin showed the page sections, but all them were empty. Additionally, there was a bug that showed similar symptoms when entering the WebAdmin using a host and then logging in as an account in another host. Both problems and their solutions are described in [#4249](https://github.com/processone/ejabberd/issues/4249).
9+
10+
Please update your configuration accordingly, adding permission from web admin to execute all commands to accounts logged in with admin privilege:
11+
12+
```yaml
13+
api_permissions:
14+
"webadmin commands":
15+
from: ejabberd_web_admin
16+
who: admin
17+
what: "*"
18+
```
19+
20+
Of course you can customize that access as much as you want: only from specific IP addresses, only to certain accounts, only for specific commands...

content/roadmap/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ hide:
1818

1919
### 2024
2020

21+
- [24.07](https://www.process-one.net/blog/ejabberd-24-07/)
22+
- Bugfixes and minor improvements
23+
2124
- [24.06](https://www.process-one.net/blog/ejabberd-24-06/)
2225
- Reworked the [ejabberd Docs](https://docs.ejabberd.im/) and moved to MkDocs+Material
2326
- [Automatic SQL schema](https://www.process-one.net/blog/automatic-schema-update-in-ejabberd/) is now enabled by default

mkdocs.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,15 @@ nav:
264264
- Versioning: developer/ejabberd-api/api_versioning.md
265265
- Archive:
266266
- archive/index.md
267+
- "24.07":
268+
- archive/24.07/index.md
269+
- archive/24.07/admin-api.md
270+
- archive/24.07/admin-tags.md
271+
- archive/24.07/listen.md
272+
- archive/24.07/listen-options.md
273+
- archive/24.07/modules.md
274+
- archive/24.07/toplevel.md
275+
- archive/24.07/upgrade.md
267276
- "24.06":
268277
- archive/24.06/index.md
269278
- archive/24.06/admin-api.md

0 commit comments

Comments
 (0)