Skip to content

Commit c8f7b66

Browse files
committed
Update documentation to 23.10
1 parent 500c8cc commit c8f7b66

File tree

4 files changed

+122
-22
lines changed

4 files changed

+122
-22
lines changed

content/admin/configuration/modules.md

Lines changed: 41 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1394,6 +1394,12 @@ else can use that nickname in any room in the MUC service. To register a
13941394
nickname, open the Service Discovery in your XMPP client and register in
13951395
the MUC service.
13961396

1397+
It is also possible to register a nickname in a room, so nobody else can
1398+
use that nickname in that room. If a nick is registered in the MUC
1399+
service, that nick cannot be registered in any room, and vice versa: a
1400+
nick that is registered in a room cannot be registered at the MUC
1401+
service.
1402+
13971403
This module supports clustering and load balancing. One module can be
13981404
started per cluster node. Rooms are distributed at creation time on all
13991405
available MUC module instances. The multi-user chat module is clustered
@@ -1430,11 +1436,13 @@ To configure who is allowed to modify the *persistent* room option. The
14301436
default value is *all*, which means everyone is allowed to modify that
14311437
option.
14321438

1439+
<div class="note-left">improved in <a href="/archive/23_10/">23.10</a></div>
1440+
14331441
- **access\_register**: *AccessName*
14341442
This option specifies who is allowed to register nickname within the
1435-
Multi-User Chat service. The default is *all* for backward
1443+
Multi-User Chat service and rooms. The default is *all* for backward
14361444
compatibility, which means that any user is allowed to register any free
1437-
nick.
1445+
nick in the MUC service and in the rooms.
14381446

14391447
<div class="note-left">added in <a href="/archive/22_05/">22.05</a></div>
14401448

@@ -1457,10 +1465,6 @@ using an XMPP client with MUC capability. The *Options* are:
14571465
Allow occupants to change
14581466
the subject. The default value is *true*.
14591467

1460-
- **allow\_private\_messages**: *true | false*
1461-
Occupants can send
1462-
private messages to other occupants. The default value is *true*.
1463-
14641468
- **allow\_private\_messages\_from\_visitors**: *anyone | moderators |
14651469
nobody* Visitors can send private messages to other occupants. The
14661470
default value is *anyone* which means visitors can send private
@@ -1494,6 +1498,10 @@ using an XMPP client with MUC capability. The *Options* are:
14941498
Allow visitors in a
14951499
moderated room to request voice. The default value is *true*.
14961500

1501+
- **allowpm**: *anyone | participants | moderators | none*
1502+
Who can
1503+
send private messages. The default value is *anyone*.
1504+
14971505
- **anonymous**: *true | false*
14981506
The room is anonymous: occupants don’t
14991507
see the real JIDs of other occupants. Note that the room moderators
@@ -1885,6 +1893,19 @@ conference. The conference name is appended to the URL if *dirname*
18851893
option is set to *room\_name* or a conference JID is appended to the
18861894
*URL* otherwise. There is no default value.
18871895

1896+
mod\_muc\_occupantid
1897+
--------------------
1898+
1899+
This module implements [XEP-0421: Anonymous unique occupant identifiers
1900+
for MUCs](https://xmpp.org/extensions/xep-0421.html).
1901+
1902+
When the module is enabled, the feature is enabled in all semi-anonymous
1903+
rooms.
1904+
1905+
This module is available since ejabberd <a href="/archive/23_10/">23.10</a>.
1906+
1907+
The module has no options.
1908+
18881909
mod\_muc\_rtbl
18891910
--------------
18901911

@@ -2211,6 +2232,11 @@ it is a valid XML. One typical usage is storing a bookmark of all user’s
22112232
conferences ([XEP-0048:
22122233
Bookmarks](https://xmpp.org/extensions/xep-0048.html)).
22132234

2235+
It also implements the bookmark conversion described in [XEP-0402: PEP
2236+
Native Bookmarks](https://xmpp.org/extensions/xep-0402.html), see the
2237+
command
2238+
[bookmarks\_to\_pep](https://docs.ejabberd.im/developer/ejabberd-api/admin-api/#bookmarks-to-pep).
2239+
22142240
__Available options:__
22152241

22162242
- **cache\_life\_time**: *timeout()*
@@ -2682,6 +2708,15 @@ If this option is set to *true*, the sender’s JID is included with push
26822708
notifications generated for incoming messages with a body. The default
26832709
value is *false*.
26842710

2711+
<div class="note-left">added in <a href="/archive/23_10/">23.10</a></div>
2712+
2713+
- **notify\_on**: *messages | all*
2714+
If this option is set to *messages*, notifications are generated only
2715+
for actual chat messages with a body text (or some encrypted payload).
2716+
If it’s set to *all*, any kind of XMPP stanza will trigger a
2717+
notification. If unsure, it’s strongly recommended to stick to *all*,
2718+
which is the default value.
2719+
26852720
- **use\_cache**: *true | false*
26862721
Same as top-level [use_cache](/admin/configuration/toplevel/#use-cache) option, but applied to this module only.
26872722

content/admin/configuration/toplevel.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,18 @@ not set, the value from [cache_missed](/admin/configuration/toplevel/#cache-miss
233233
Same as [cache_size](/admin/configuration/toplevel/#cache-size), but applied to authentication cache only. If not
234234
set, the value from [cache_size](/admin/configuration/toplevel/#cache-size) will be used.
235235

236+
<div class="note-down">added in <a href="/archive/23_10/">23.10</a></div>
237+
238+
## auth\_external\_user\_exists\_check
239+
240+
*true | false*
241+
242+
Supplement check for user existence based on *mod\_last* data, for
243+
authentication methods that don’t have a way to reliable tell if user
244+
exists (like is the case for *jwt* and certificate based
245+
authentication). This helps with processing offline message for those
246+
users. The default value is *true*.
247+
236248
## auth\_method
237249

238250
*\[mnesia | sql | anonymous | external | jwt | ldap | pam, ...\]*
@@ -680,6 +692,16 @@ following:
680692
options in the included file *Filename*. The options that match this
681693
criteria are not accepted. The default value is an empty list.
682694

695+
<div class="note-down">added in <a href="/archive/23_10/">23.10</a></div>
696+
697+
## install\_contrib\_modules
698+
699+
*\[Module, ...\]*
700+
701+
Modules to install from
702+
[ejabberd-contrib](https://docs.ejabberd.im/developer/extending-ejabberd/modules/#ejabberd-contrib)
703+
at start time. The default value is an empty list of modules: *\[\]*.
704+
683705
## jwt\_auth\_only\_rule
684706

685707
*AccessName*
@@ -956,7 +978,7 @@ default value is *1 minute*.
956978
*true | false*
957979

958980
Whether to use *new* SQL schema. All schemas are located at
959-
<https://github.com/processone/ejabberd/tree/23.04/sql>. There are two
981+
<https://github.com/processone/ejabberd/tree/23.10/sql>. There are two
960982
schemas available. The default legacy schema allows to store one XMPP
961983
domain into one ejabberd database. The *new* schema allows to handle
962984
several XMPP domains in a single ejabberd database. Using this *new*

content/developer/ejabberd-api/admin-api.md

Lines changed: 55 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1552,7 +1552,7 @@ __Examples:__
15521552
Export virtual host information from Mnesia tables to SQL file
15531553

15541554

1555-
Configure the modules to use SQL, then call this command. After correctly exported the database of a vhost, you may want to delete from mnesia with the [`delete_mnesia`](/developer/ejabberd-api/admin-api/#delete-mnesia) command.
1555+
Configure the modules to use SQL, then call this command. After correctly exported the database of a vhost, you may want to delete from mnesia with the [delete_mnesia](/developer/ejabberd-api/admin-api/#delete-mnesia) command.
15561556

15571557
__Arguments:__
15581558

@@ -2233,12 +2233,15 @@ __Examples:__
22332233
~~~
22342234

22352235

2236-
2236+
<div class='note-down'>improved in <a href="/archive/23_10/">23.10</a></div>
22372237

22382238
## get_roster
22392239

22402240

2241-
Get roster of a local user
2241+
Get list of contacts in a local user roster
2242+
2243+
2244+
Subscription can be: "none", "from", "to", "both". Pending can be: "in", "out", "none".
22422245

22432246
__Arguments:__
22442247

@@ -2247,7 +2250,7 @@ __Arguments:__
22472250

22482251
__Result:__
22492252

2250-
- *contacts* :: [{jid::string, nick::string, subscription::string, ask::string, group::string}]
2253+
- *contacts* :: [{jid::string, nick::string, subscription::string, pending::string, groups::[group::string]}]
22512254

22522255
__Tags:__
22532256
[roster](/developer/ejabberd-api/admin-tags/#roster)
@@ -2271,15 +2274,21 @@ __Examples:__
22712274
"jid": "aaaaa",
22722275
"nick": "bbbbb",
22732276
"subscription": "ccccc",
2274-
"ask": "ddddd",
2275-
"group": "eeeee"
2277+
"pending": "ddddd",
2278+
"groups": [
2279+
"eeeee",
2280+
"fffff"
2281+
]
22762282
},
22772283
{
2278-
"jid": "fffff",
2279-
"nick": "ggggg",
2280-
"subscription": "hhhhh",
2281-
"ask": "iiiii",
2282-
"group": "jjjjj"
2284+
"jid": "ggggg",
2285+
"nick": "hhhhh",
2286+
"subscription": "iiiii",
2287+
"pending": "jjjjj",
2288+
"groups": [
2289+
"kkkkk",
2290+
"lllll"
2291+
]
22832292
}
22842293
]
22852294
~~~
@@ -2581,6 +2590,37 @@ __Examples:__
25812590
~~~
25822591

25832592

2593+
<div class='note-down'>added in <a href="/archive/23_10/">23.10</a></div>
2594+
2595+
## halt
2596+
2597+
2598+
Halt ejabberd abruptly with status code 1
2599+
2600+
__Arguments:__
2601+
2602+
2603+
__Result:__
2604+
2605+
- *res* :: integer : Status code (0 on success, 1 otherwise)
2606+
2607+
__Tags:__
2608+
[server](/developer/ejabberd-api/admin-tags/#server)
2609+
2610+
__Examples:__
2611+
2612+
2613+
~~~ json
2614+
POST /api/halt
2615+
{
2616+
2617+
}
2618+
2619+
HTTP/1.1 200 OK
2620+
""
2621+
~~~
2622+
2623+
25842624

25852625

25862626
## import_dir
@@ -2751,7 +2791,7 @@ __Examples:__
27512791
Install Mnesia database from a binary backup file
27522792

27532793

2754-
The binary backup file is installed as fallback: it will be used to restore the database at the next ejabberd start. This means that, after running this command, you have to restart ejabberd. This command requires less memory than [`restore`](/developer/ejabberd-api/admin-api/#restore).
2794+
The binary backup file is installed as fallback: it will be used to restore the database at the next ejabberd start. This means that, after running this command, you have to restart ejabberd. This command requires less memory than [restore](/developer/ejabberd-api/admin-api/#restore).
27552795

27562796
__Arguments:__
27572797

@@ -3007,7 +3047,7 @@ __Examples:__
30073047
Restore Mnesia database from a text dump file
30083048

30093049

3010-
Restore immediately. This is not recommended for big databases, as it will consume much time, memory and processor. In that case it's preferable to use [`install_fallback`](/developer/ejabberd-api/admin-api/#backup[backup] and http://./#install-fallback).
3050+
Restore immediately. This is not recommended for big databases, as it will consume much time, memory and processor. In that case it's preferable to use [install_fallback](/developer/ejabberd-api/admin-api/#backup[backup] and http://./#install-fallback).
30113051

30123052
__Arguments:__
30133053

@@ -4578,7 +4618,7 @@ __Examples:__
45784618
Restore the Mnesia database from a binary backup file
45794619

45804620

4581-
This restores immediately from a binary backup file the internal Mnesia database. This will consume a lot of memory if you have a large database, you may prefer [`install_fallback`](/developer/ejabberd-api/admin-api/#install-fallback).
4621+
This restores immediately from a binary backup file the internal Mnesia database. This will consume a lot of memory if you have a large database, you may prefer [install_fallback](/developer/ejabberd-api/admin-api/#install-fallback).
45824622

45834623
__Arguments:__
45844624

@@ -4977,7 +5017,7 @@ __Examples:__
49775017
Send a stanza from an existing C2S session
49785018

49795019

4980-
`user`@`host`/`resource` must be an existing C2S session. As an alternative, use [`send_stanza`](/developer/ejabberd-api/admin-api/#send-stanza) instead.
5020+
`user`@`host`/`resource` must be an existing C2S session. As an alternative, use [send_stanza](/developer/ejabberd-api/admin-api/#send-stanza) instead.
49815021

49825022
__Arguments:__
49835023

content/developer/ejabberd-api/admin-tags.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,9 @@ This section enumerates the tags and their associated API.
441441
* [gc](/developer/ejabberd-api/admin-api/#gc)
442442

443443

444+
* [halt](/developer/ejabberd-api/admin-api/#halt)
445+
446+
444447
* [registered_vhosts](/developer/ejabberd-api/admin-api/#registered-vhosts)
445448

446449

0 commit comments

Comments
 (0)