| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|\
| |
| | |
Let systemd start ejabberd in foreground
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Daemons started by systemd shouldn't fork into the background if
possible, because if multiple forked processes exist, systemd has
a hard time determining the main process ID.
In a memory constrained environment, the OOM killer may cause
ejabberd to exit without any trace. Because epmd keeps running,
systemd wouldn't notice the error condition, and as a result it
won't restart the server.
With ejabberd running in foreground, systemd is able to obtain the
correct exit code (137 in this case, instead of 0) and schedules a
restart. The administrator can then see what happend by looking at
systemctl status ejabberd.
|
| |
|
| |
|
|
|
|
|
|
| |
This together with last history message is used by room_unused_* command
to determine for how long room was not used, this change allow us to skip
checking history, and works even when history is disabled.
|
| |
|
| |
|
|\
| |
| | |
Fix docker DB initialization
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The docker local copies of DB initialization scripts were out of sync
with the master copies. Instead of updating local copies, adjust docker
compose to reference master copies directly.
Also change docker config to use docker volumes instead of mounted
directories for all DB data.
|
| |
| |
| |
| |
| |
| | |
This required adding hibernation time to data stored for room to be able
determine how old was a room, rooms that aren't stored with that
information will use node start time as timestamp for that.
|
|\ \
| | |
| | | |
Improve rebar3 configure-deps plugin output
|
| |/
| |
| |
| |
| | |
Switch to using rebar_utils:sh/2 instead of os:cmd/1 to spawn ./configure
so that output can be monitored and errors detected
|
|\ \
| | |
| | | |
rebar3 support for main build process
|
| | |
| | |
| | |
| | |
| | | |
When running ct under rebar3, add sql dir to extra_src_dirs so sql
scripts are available to run clear_sql_tables
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Correct Makefile clean targets
Fix a few more include() -> include_lib() for depedency includes
Use project_app_dirs to reference elixir app from rebar3 (lib_dirs is
no longer supported)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This adds support for building, and installing, ejabberd using rebar3
A --with-rebar=/path/to/rebar3 option is added to configure to specify
which rebar to use
rebar2 compatibility is maintained, and the bundled rebar2 is still
used by default
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* processone/pr/3396:
Add outbound s2s out interface (ipv4/ipv6)
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
Adding options taking IPs as string:
outgoing_s2s_ipv4_address: "1.2.3.4"
outgoing_s2s_ipv6_address: "2000:1:1:1::1"
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
A call that yields a 'rescode' isn't supposed to return an error tuple.
|
| | | |
|
| | |
| | |
| | |
| | | |
This is clearly typo
|
| | |
| | |
| | |
| | | |
This makes eimp compile correctly agains headers from png12
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
By doing this check_password that returned info about mismatched password
caused user_exists checks performed after that to return wrongly that
account doesn't exist.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Previously we could overwrite existing room options and then later return
error because room was already started.
|
| | |
| | |
| | |
| | | |
EJABS-3593
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously c2s was free to generate data to send in unlimited manner, and
just generate queue of messages that are waiting to be send. This could lead to
hitting timouts in stream management ack handling (if c2s generate lot of
packages, after which <r> request was sent, client could even not receive it
before timeout was triggered on server waiting for corresponding <a>).
This changes makes c2s process wait for data being sent to tcp socket
associated with websocket connection, which should help with this problem.
|
| | |
| | |
| | |
| | |
| | | |
This should first try to unhibernate rooms before trying to send messages
to processes handling them.
|
| | |
| | |
| | |
| | | |
Add an option to choose the ODBC driver when sql_type is set to mssql
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Don't overwrite the Logger filter added by the 'stun' application (which
appends metadata to STUN/TURN log messages).
Closes processone/stun#31.
|
| |/
|/|
| |
| |
| |
| |
| |
| | |
Since commit de91618070473fdf2ecff30c722f0770acd1a912, it was no longer
possible to configure mod_register so that only account removal (i.e.,
no registration) is permitted. Revert to the previous behavior which
allows admins to freely configure account registration and removal via
separate access rules.
|
| | |
|
|/
|
|
|
|
| |
Sometimes we can observer combinations of subscription/ask that shouldn't
happen normally, but can be generated with api calls, let's try to handle
that gracefully instead of crashing.
|
|
|
|
|
|
|
|
|
|
|
| |
* rebar3 plugin to support configure-deps command
To allow running configure on dependencies prior to compilation, add a
rebar3 plugin to support the 'configure-deps' command introduced for
rebar2 in a7639fd4
* Fix compatibility with OTP < 23
binary_to_atom/1 is new to OTP 23
|
|
|
|
|
|
|
| |
Add list of dependencies that should only be built from git, to support
building with rebar3 where deps do not have hex packages (or where the
package versions do not directly map to git tags).
This is required for elixir and luerl deps.
|
|
|
|
|
| |
This timer should correctly work with time warps, and should fix
issue #3390
|
| |
|