| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
?OFFLINE_TABLE_LOCK_THRESHOLD is unused:
definition and usage added in 4103f30812ed99c984a2fdb16aabca139c9255d7
definition copied, and usage moved to mod_offline_mnesia, in 901d2e0aed83d195a4d1cf2929114b07dcac0dd8
definition and usage removed in mod_offline_mnesia in d88e4d495ffc2ae950f77e440aa7c5d06c864309
this definition looks useless
?VERSION_MULTICAST is unused:
added in 0cf8d1fa6e931367b63b133396478593146a8d07
it was never used
?DISCO_QUERY_TIMEOUT is unused:
added in 0cf8d1fa6e931367b63b133396478593146a8d07
it was never used
?FEATURE/1 is unused:
added in 0cf8d1fa6e931367b63b133396478593146a8d07
usage removed in bc33a3873dbb0828714eef69094213575fc979b6
?DEFAULT_MAX_USERS_PRESENCE is unused:
added in f817762cc48c13476a531bc40059cd17aea4cf0b
usage removed in ba2b650464bd3aae2b6b0f3a3177476360cb6d08
?CT_XML is unused:
added in 46568fb9596d8203c635477b30c91d2928847dea
removed in 3dc55c6d47e3093a6147ce275c7269a7d08ffc45
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
|
| |
This caused garbled text in some places in webadmin when using language
that used characters > 128.
Thanks to chengshq for noticing this and providing preliminary patch.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Several documentation callbacks (doc/0 and mod_doc/0) are implemented
and `ejabberdctl man` command is added to generate a man page. Note
that the command requires a2x to be installed (which is a part of
asciidoc package).
|
|
|
|
|
|
|
|
|
| |
This commit removes the 'store_offline_message' hook which didn't allow
mod_push to suppress notifications when storing an offline message
failed (due to the offline spool size limit being exceeded or due to
database issues).
Fixes #3120.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This also replace existing cache for checking if spool is empty with this
cache.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now every such string MUST be encapsulated into ?T() macro.
The macro itself is defined in include/translate.hrl.
Example:
-module(foo).
-export([bar/1]).
-include("translate.hrl").
bar(Lang) ->
translate:translate(Lang, ?T("baz")).
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previous version was trying to determine range of messages that should
be fetched from mam by storing time when last user resource disconnected.
But that had couple edge cases that could cause problems, for example in
case of node crash we could not store information about user disconnect
and with that we didn't have data to initiate mam query.
New version don't track user disconnects, but simply ensure that we have
timestamp of first message that is gonna be put in storage, after some
measurements cost of that check with caching on top is not that costly,
and as much more robust i decided to introduce that change.
|
| |
|
|
|
|
|
|
| |
We already don't store those messages in mam and we don't store messages
that aren't wrapped with that hint in offline, so it make sense to extend
it also to mucsub messages.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This commit introduces `use_mam_for_storage` option that take boolean
argument. Enabling it will make mod_offline not use spool table for storing
offline message, but instead will use mam archive to retrieve messages
stored when offline.
Enabling this option have couple drawback currently, only messages that
were stored in mam will be available, most of flexible message retrieval
queries don't work (those that allow retrieval/deletion of messages by id).
|
| |
|
| |
|
|
|
|
|
|
|
| |
Since we now require R19, we shouldn't need that anymore.
There are still couple places where p1_time_compat:unique_timestamp() is
used as there is no direct equivalent.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
The header consisted of too many unrelated stuff and macros misuse.
Some stuff is moved into scram.hrl and type_compat.hrl.
All macros have been replaced with the corresponding function calls.
TODO: probably type_compat.hrl is not even needed anymore since
we support only Erlang >= OTP 17.5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since we got rid of all bottle-neck processes and we have
a connection pool for every database, the option is no longer
needed and in fact is detrimental: in practice what you get
is just a bunch of overloaded processes in the IQ handlers pool
no matter how much you increase the `iqdisc` value.
Given that there are close to zero operators understanding
the meaning of the option and, hence, not using it all,
it's not simply deprecated but completely removed.
The commit also deprecates the following functions:
- gen_iq_handler:add_iq_handler/6
- gen_iq_handler:handle/5
- gen_iq_handler:iqdisc/1
|