Badlop
ac4f240261
Produce module names with specific syntax, docs Makefile will convert to links
2021-08-23 14:04:52 +02:00
Badlop
506e2f3b97
Use specific syntax so modules and top-level will be links
...
If we use _`whatever`_ here in ejabberd man pages,
it is converted to *`whatever`* in markdown,
and docs.ejabberd.im/Makefile converts to the proper links
2021-08-23 14:04:49 +02:00
Badlop
30ae66e99e
Improve formatting and add sections links
2021-08-23 14:04:46 +02:00
Badlop
f5038b86f8
Copy log_rotate_count explanation from docs site
2021-08-23 14:04:44 +02:00
Badlop
9446b251fd
Export function, so ACME API commands are listed in the documentation
2021-08-23 14:04:42 +02:00
Badlop
94fb0a65b0
Change set_master command tag from mnesia to cluster
2021-08-23 14:04:40 +02:00
Badlop
69d362595e
Remove obsolete mod_register_web ideas and improve documentation
2021-08-23 14:04:37 +02:00
Badlop
b7f7713fae
Add example config to mod_http_api documentation
2021-08-23 14:04:35 +02:00
Badlop
8af66b0831
Update API Reference page menu name and order
2021-08-23 14:04:31 +02:00
Holger Weiss
8d5025076f
PubSub: Add delete_old_pubsub_items command
...
Add a command for keeping only the specified number of items on each
node and removing all older items. This might be especially useful if
nodes may be configured to have no 'max_items' limit.
Thanks to Ammonit Measurement GmbH for sponsoring this work.
2021-08-22 12:44:50 +02:00
Holger Weiss
29751a6174
PubSub: Optimize publishing on large nodes (SQL)
...
Avoid an unnecessary SQL query while publishing an item on a PubSub node
without 'max_items' limit. The query in question can be expensive if
the node has a large number of items.
Thanks to Ammonit Measurement GmbH for sponsoring this work.
2021-08-21 20:02:58 +02:00
Holger Weiss
1b0e59bb13
PubSub: Support unlimited number of items
...
Allow for setting the mod_pubsub option 'max_items_node' to 'unlimited'.
If clients then request a 'max_items' limit of 'max', old items aren't
deleted when publishing new ones.
Thanks to Ammonit Measurement GmbH for sponsoring this work.
2021-08-21 12:29:37 +02:00
Holger Weiss
8f8de0403b
PubSub: Support 'max_items=max' node configuration
...
Let clients request the maximum limit for the node configuration option
'max_items' by specifying the special value 'max' instead of an integer.
This was added to XEP-0060, revision 1.17.0 (and clarified in revision
1.20.0).
Thanks to Ammonit Measurement GmbH for sponsoring this work.
2021-08-20 20:30:11 +02:00
Holger Weiss
3e942bf4ac
mod_mam_sql: Remove duplicated functions
2021-08-07 12:57:57 +02:00
Badlop
fdfd202a30
Determine the default handlerid at runtime
...
Apparently Elixir's default is not called 'default'
2021-08-05 13:53:12 +02:00
Paweł Chmielowski
d7e330c8ef
Allow storing non-composing x:events in offline
2021-08-04 15:30:29 +02:00
Holger Weiss
99ffd9bb95
mod_pubsub: Fix check_opt_range/3 spec
2021-08-02 21:09:55 +02:00
Badlop
ab5e726176
Use the most specific tag for ejabberd commands with several ones
2021-07-30 01:14:36 +02:00
Badlop
b22779f018
Show tags and definer module in generated API document when it's a gen_mod
2021-07-30 01:14:34 +02:00
Badlop
41808a63a0
Show definer module in "ejabberdctl help" when it's a gen_mod
2021-07-30 01:14:31 +02:00
Badlop
ccb4328d06
Store who defines a command, specially when defined by ejabberd modules
2021-07-30 01:14:27 +02:00
Holger Weiss
2050cdffb4
PubSub: Use configured 'max_items' by default
...
If clients don't ask for a specific 'max_items' limit, use the value of
mod_pubsub's 'max_items_node' option as default, rather than the
hard-coded ?MAXITEMS value. This makes sure clients cannot circumvent a
smaller, configured limit.
2021-07-28 18:53:15 +02:00
Holger Weiss
103e98b8da
mod_push: Fix handling of MUC/Sub messages
...
Don't fail to include the sender/body of MUC/Sub messages if the
recipient is offline.
Closes #3651 .
2021-07-28 18:22:39 +02:00
Paweł Chmielowski
6e4e5a0190
Add missing fields from config inside mod_muc_admin:change_options
2021-07-23 10:14:45 +02:00
Badlop
50242cec78
Annotate the srg_create command as changed in 21.07
2021-07-21 13:11:09 +02:00
Paweł Chmielowski
c3169e9eea
Typo
2021-07-20 17:07:40 +02:00
Badlop
e0c9a6308d
erlang:phash is deprecated in OTP 24, let's use phash2
2021-07-16 13:57:08 +02:00
Badlop
3afaacab76
With the recent changes it seems mod_mix supports 0.14.1 ( #3634 )
2021-07-15 17:19:32 +02:00
badlop
57be0e38d8
Merge pull request #3634 from lnjX/mix-identity-conf-mix
...
mod_mix: Use disco identity conference/mix
2021-07-15 17:15:48 +02:00
Paweł Chmielowski
27c69f263c
Allow multicast hook registering by host
2021-07-14 13:58:53 +02:00
Badlop
e22ed8081a
Provide proper error message when create_room fails with invalid_service
2021-07-13 20:43:52 +02:00
Badlop
5beaf50c67
Fix spec: xmpp:set_from_to/3 allows undefined as second argument
2021-07-13 20:43:44 +02:00
Paweł Chmielowski
a07029dcad
Fix previous commit to pass all tests
2021-07-13 17:56:16 +02:00
Paweł Chmielowski
0de6f1c538
Use multicast routing for more packets generated by muc
2021-07-13 16:01:25 +02:00
Badlop
2e2667bbd7
Update documentation: mod_muc ram_db_type supports SQL since 17.04 ( #3632 )
2021-07-08 12:29:16 +02:00
Badlop
271a9f097d
After create_room, store in DB if it's persistent ( #3632 )
2021-07-08 12:29:13 +02:00
Emmet McPoland
509331a563
Correctly strip only other bcc addresses i.e. bcc receiver should still be able to see their bcc address element and no other bcc address element
2021-07-07 16:44:58 +01:00
Badlop
bb0c6e1e02
Show messages with next configuration steps when installing a module
2021-07-06 13:37:04 +02:00
badlop
331a67f5f8
Merge pull request #3566 from Robbilie/feature/mqtt-shared-roster-groups-placeholder
...
allow shared roster group placeholder in mqtt topic
2021-07-06 13:36:41 +02:00
Paweł Chmielowski
e3e4dae583
Yet another dialyzer warning fix
2021-06-28 12:53:30 +02:00
Paweł Chmielowski
b669e4499c
Fix dialyzer warning
2021-06-28 12:18:19 +02:00
Paweł Chmielowski
6e900d6a8f
Add send_timeout option to listener
2021-06-28 11:31:45 +02:00
Paweł Chmielowski
795addca7d
Try to limit serial access when checking api permissions
2021-06-28 11:31:43 +02:00
Linus Jahn
d7c9809c59
mod_mix: Use disco identity conference/mix
...
Probably someone has forgotten to update it here.
https://xmpp.org/extensions/xep-0369.html#example-5
Fixes #2901 .
2021-06-27 01:20:45 +02:00
Badlop
d5adcaea61
Add support for rebar3 to "make rel"
2021-06-25 12:53:22 +02:00
Holger Weiss
9d4c01d425
mod_push_keepalive: Fix 'resume_timeout' docs
...
The default 'resume_timeout' value is 72 hours, not 72 minutes.
2021-06-25 01:30:10 +02:00
badlop
1ef9f28f2d
Merge pull request #3622 from pouriya/fix-ws-typos
...
ref: fix WS typos
2021-06-14 17:21:33 +02:00
Badlop
4ee10c155d
Fix reverse order of items when using <before/> in Pubsub with RSM ( #3621 )
2021-06-14 12:22:37 +02:00
Pouriya Jahanbakhsh
b5bafca640
ref: fix WS typos
2021-06-12 20:27:30 +04:30
Badlop
bf8b4acf01
Return proper index when using after of before in PubSub with RSM ( #3618 )
...
This fixes Index attribute in examples from:
https://xmpp.org/extensions/xep-0059.html#forwards
https://xmpp.org/extensions/xep-0059.html#backwards
2021-06-08 19:00:44 +02:00