Badlop
a05dbcc2b2
Add some XEPs support that was forgotten
2024-05-24 13:21:00 +02:00
Badlop
01f2697faf
mod_muc_admin: Update module to the new gen_mod API
2024-05-24 13:20:58 +02:00
Badlop
fba915e04e
gen_mod: Add support to specify a hook global, not vhost-specific
2024-05-24 13:20:56 +02:00
Badlop
0d1cbc62d4
mod_muc_rtbl: Change this module attribute name to the main one: behaviour
...
https://erlang.org/documentation/doc-15.0-rc3/doc/system/modules.html#behaviour-module-attribute
2024-05-24 13:20:52 +02:00
Alexey Shchepin
cb49fcf459
Fix handling of mqtt_pub table definition from mysql.sql and fix should_update_schema/1 in ejabberd_sql_schema.erl
2024-05-18 05:18:24 +03:00
Badlop
38fd9a3ed2
Update URLs of module documentations
2024-05-10 16:04:28 +02:00
Badlop
696e42b5b4
Use json module when Erlang/OTP 27, jiffy with older ones
2024-05-07 11:28:17 +02:00
Badlop
0ad1d315e8
Use maps instead of tuple+list+tuple as arguments in jiffy functions
2024-05-07 11:28:16 +02:00
Badlop
13ebe89fdc
Remove unused format_status/2 callback that is deprecated in OTP 27
2024-04-30 18:00:32 +02:00
Badlop
0da767f568
ban_account/unban: When mod_private is disabled, return meaningful error ( #4201 )
2024-04-30 18:00:21 +02:00
Badlop
395a73bbe0
Handle case when mod_private is not enabled ( #4201 )
2024-04-30 18:00:18 +02:00
Badlop
94a0aa6967
Add support to provide ban detail when account logins ( #4201 )
2024-04-30 18:00:14 +02:00
Badlop
2bfc4b0f5d
Use "jabber:" namespace that clients cannot use ( #4201 )
...
As mentioned in:
Certain namespaces are reserved in Jabber (namespaces beginning with
'jabber:' or 'http://jabber.org/ ', as well as 'vcard-temp').
If a user attempts to get or set jabber:iq:private data in a reserved
namespace, historically some server implementations have chosen to
return an error (commonly "Not Acceptable") to the sender.
https://xmpp.org/extensions/xep-0049.html#example-5
2024-04-30 18:00:12 +02:00
Badlop
374f6b8e7d
Improve recent commit so users cannot prevent banning, fixes 44bafa4
( #4201 )
2024-04-30 18:00:11 +02:00
Badlop
33c6b3700e
Ammend ejabberd_admin:update/0 from adbccbe
to be used by Rebar3 Sync
2024-04-30 18:00:08 +02:00
Badlop
5c6a399f5b
Update links to some moved content in docs.ejabberd.im
2024-04-25 02:55:02 +02:00
Badlop
0b16cbddde
Remove vcard example config in mod_proxy65, it breaks PDF Docs generation
2024-04-24 13:20:47 +02:00
Badlop
45ca11ecd0
Improve markdown of generated documentation
2024-04-24 13:20:44 +02:00
Badlop
d8cdd82bf8
Rewrite vcard example configuration to not require extended format
2024-04-24 13:20:43 +02:00
Badlop
345af5a535
Remove ... in example configuration: it is assumed and reduces verbosity
2024-04-24 13:20:42 +02:00
Badlop
6e5895ce45
Update some modules doc to use the note field
2024-04-24 13:20:41 +02:00
Badlop
b70a2fe4cf
Support for version note in modules too
2024-04-24 13:20:40 +02:00
Badlop
da01d932ea
Add some text to examples, so docs Makefile can find and update its syntax
2024-04-24 13:20:39 +02:00
Badlop
7cd5808766
Mark toplevel options, commands and modules that changed in latest version
2024-04-24 13:20:37 +02:00
Badlop
c98302b3c0
Now modules themselves can have version annotations in 'note'
...
This was already supported in module options, toplevel options
and ejabberd_commands.
2024-04-24 13:20:36 +02:00
Badlop
cd7eedf589
Update API to mkdocs
2024-04-24 13:20:35 +02:00
Badlop
27bd8852a1
Update name of API section
2024-04-24 13:20:34 +02:00
Badlop
effcf0b7cf
Update markdown text for version notes, to work with mkdocs
2024-04-24 13:20:33 +02:00
Badlop
71b9db688a
Fix markdown indentation of JSON examples
2024-04-24 13:20:32 +02:00
Badlop
8be6dc7758
Use new shorthand to provide URLs relative to ejabberd Docs
2024-04-24 13:20:30 +02:00
Badlop
569f0b303b
Use same module shorthand in API documentation than in module docs
2024-04-24 13:20:29 +02:00
Badlop
68c0c4d94f
Update doc headers to MkDocs and mention ejabberd version used
2024-04-24 13:20:27 +02:00
Badlop
a550a1c55c
Fix documentation links to new URLs generated by MkDocs
2024-04-24 13:20:26 +02:00
Paweł Chmielowski
73bcabd2fa
Replace muc.example.com with conference.example.com in commands docs
...
Second form matches what we use by default, and we seen some confusion
between those two when people try to adopt commands from docs to real
usage.
2024-04-23 14:33:34 +02:00
Badlop
44bafa478e
New ban commands use private storage to keep ban information ( #4201 )
2024-04-22 18:28:15 +02:00
Paweł Chmielowski
0fdf58b1ec
Add ability to use additional custom errors when parsing options
2024-04-17 14:01:21 +02:00
Badlop
4fd83631ec
Mention in what ejabberd version was added update_sql_schema option
2024-04-12 16:41:25 +02:00
Badlop
ed6762b8ee
Don't name integer and string results in API examples ( #4198 )
...
Since ejabberd 24.02, mod_http_api does not name any results,
previously integer and strings were named, but other results were not.
And ejabberdctl obviously does not name results either.
Only ejabberd_xmlrpc does.
Consequently, the documentation should not name results in the examples.
2024-04-12 12:08:03 +02:00
Badlop
b6a0c7e57f
mod_configure: Retract 'Get User Password' command to update XEP-0133 1.3.0
...
https://github.com/xsf/xeps/pull/1314
2024-04-12 12:07:50 +02:00
Badlop
ef5a435480
sql_server option: Mention in what version it was last updated
2024-04-12 12:07:40 +02:00
Paweł Chmielowski
61ad808d26
Fix validation of user field in get_user_subscriptions command
...
I made it test for valid muc room, instead of just valid username.
This should fix issue #4197
2024-04-11 12:17:02 +02:00
Badlop
7c76f2b764
Handle the "approved" attribute. As feature isn't implemented, discard it ( #4188 )
...
Reference:
https://xmpp.org/rfcs/rfc6121.html#roster-syntax-items-approved
Additionally, when roster contains unknown attribute, discard it and
show a warning
2024-04-04 13:42:09 +02:00
Paweł Chmielowski
735516ed37
Don't start sql connection pools for unknown hosts
...
It's possible to trigger that by passing wrong domain to some ctl commands,
and if you don't have default credentials for sql connections, you get
repeating errors when this pools tries to reconnect from error.
2024-04-04 11:05:34 +02:00
Badlop
50c74ab821
Fix code:lib_dir call to work with Erlang/OTP 27.0-rc2
2024-04-01 14:26:55 +02:00
Paweł Chmielowski
9ab60935a4
Add update_primary_key command to sql schema updater
2024-03-21 10:58:06 +01:00
Paweł Chmielowski
c5437235f3
Make mod_vcard_xupdate send hash after avatar get set for first time
...
We need to remove info about empty photo in session stored presence after
avatar get set, otherwise as we don't modify presences like that in
mod_vcard_xupdate, we will send presence with updated hash.
This fixes issue #4182
2024-03-20 10:57:12 +01:00
Paweł Chmielowski
537aac24f7
Improve detection of types in odbc
...
This should fix issue with dialyzer on erlang 26.2.3+
2024-03-18 14:54:32 +01:00
Badlop
1639471250
Fix crash running export2sql when MAM enabled but MUC disabled
...
Problem introduced in cfc393a
2024-03-07 18:38:32 +01:00
Badlop
2c1b0bb77b
Use shorthands provided by docs.ejabberd.im Makefile, fix markdown syntax
2024-03-07 18:38:32 +01:00
Badlop
5bb94f1d9e
Result of running "make options"
2024-03-06 15:25:38 +01:00