]> granicus.if.org Git - ejabberd/log
ejabberd
7 years agoUpdate Russian translation
Evgeniy Khramtsov [Fri, 6 Oct 2017 20:44:50 +0000 (23:44 +0300)]
Update Russian translation

7 years agoDon't crash when 'from' is undefined
Evgeniy Khramtsov [Fri, 6 Oct 2017 18:48:54 +0000 (21:48 +0300)]
Don't crash when 'from' is undefined

c2s_filter_send hook may pass a stanza with undefined from/to (due to
legacy auth for example). Work around this problem.

Fixes #2036

7 years agoUpdate French translation
Christophe Romain [Fri, 6 Oct 2017 15:48:56 +0000 (17:48 +0200)]
Update French translation

7 years agoUpdate Czech translation (thanks to Jan Pinkas)
Badlop [Fri, 6 Oct 2017 11:23:10 +0000 (13:23 +0200)]
Update Czech translation (thanks to Jan Pinkas)

7 years agoMore fix in mod_http_fileserver to log URLs with/out query elements (#2021)
Badlop [Fri, 6 Oct 2017 11:15:47 +0000 (13:15 +0200)]
More fix in mod_http_fileserver to log URLs with/out query elements (#2021)

7 years agoUpdate pl.po
Paweł Chmielowski [Fri, 6 Oct 2017 09:35:38 +0000 (11:35 +0200)]
Update pl.po

7 years agoUpdate Spanish translation
Badlop [Fri, 6 Oct 2017 08:54:36 +0000 (10:54 +0200)]
Update Spanish translation

7 years agoUpdated all translation files
Badlop [Fri, 6 Oct 2017 08:02:16 +0000 (10:02 +0200)]
Updated all translation files

Simply running:
 make; make translations

7 years agoImprove logging of mismatched Hosts
Evgeniy Khramtsov [Thu, 5 Oct 2017 08:33:29 +0000 (11:33 +0300)]
Improve logging of mismatched Hosts

7 years agoLog request in access.log even when Host doesn't match
Evgeniy Khramtsov [Thu, 5 Oct 2017 08:16:05 +0000 (11:16 +0300)]
Log request in access.log even when Host doesn't match

7 years agoDon't report Host mismatch as an error
Evgeniy Khramtsov [Thu, 5 Oct 2017 08:08:58 +0000 (11:08 +0300)]
Don't report Host mismatch as an error

7 years agoCorrectly handle mod_client_state (re)load
Evgeniy Khramtsov [Thu, 5 Oct 2017 08:03:36 +0000 (11:03 +0300)]
Correctly handle mod_client_state (re)load

7 years agoAccept routes in Host header and map them to vhosts
Evgeniy Khramtsov [Thu, 5 Oct 2017 07:26:10 +0000 (10:26 +0300)]
Accept routes in Host header and map them to vhosts

7 years agoFix warning when compile with newer elixir
Christophe Romain [Wed, 4 Oct 2017 10:03:36 +0000 (12:03 +0200)]
Fix warning when compile with newer elixir

7 years agoFix crash in mod_http_fileserver when logging URL with query elements (#2021)
Badlop [Mon, 2 Oct 2017 13:36:38 +0000 (15:36 +0200)]
Fix crash in mod_http_fileserver when logging URL with query elements (#2021)

7 years agoInstall binaries with 755 permissions
Paweł Chmielowski [Mon, 2 Oct 2017 09:51:15 +0000 (11:51 +0200)]
Install binaries with 755 permissions

7 years agoRemove find-outdated-deps script, we have better replacement for it
Paweł Chmielowski [Mon, 2 Oct 2017 09:49:34 +0000 (11:49 +0200)]
Remove find-outdated-deps script, we have better replacement for it

7 years agoGenerate more readable code for run_fold hooks
Evgeniy Khramtsov [Mon, 2 Oct 2017 07:47:03 +0000 (10:47 +0300)]
Generate more readable code for run_fold hooks

7 years agoInstall eimp binary with +x attribute
Paweł Chmielowski [Thu, 28 Sep 2017 16:34:27 +0000 (18:34 +0200)]
Install eimp binary with +x attribute

7 years agoPrepare mix for 17.09 17.09
Christophe Romain [Thu, 28 Sep 2017 13:21:11 +0000 (15:21 +0200)]
Prepare mix for 17.09

7 years agoFix race introduced by ffdaff374 on ejabberd_mnesia init
Christophe Romain [Thu, 28 Sep 2017 13:14:11 +0000 (15:14 +0200)]
Fix race introduced by ffdaff374 on ejabberd_mnesia init

7 years agoMake sure Riak gets compiled on OTP20
Evgeniy Khramtsov [Thu, 28 Sep 2017 09:25:06 +0000 (12:25 +0300)]
Make sure Riak gets compiled on OTP20

7 years agoFix function clause introduced by c17ec50e3a
Evgeniy Khramtsov [Thu, 28 Sep 2017 09:24:24 +0000 (12:24 +0300)]
Fix function clause introduced by c17ec50e3a

7 years agoDon't forget to route presence-unavailable
Evgeniy Khramtsov [Thu, 28 Sep 2017 08:56:46 +0000 (11:56 +0300)]
Don't forget to route presence-unavailable

When a user has several resources joined to a room using the same
nick attempts to leave the room from a single resource, route
presence-unavailable back to this (and only this) resource.

Fixes #2007

7 years agoPubsub: implment '6.5.7 Requesting the Most Recent Items'
Christophe Romain [Wed, 27 Sep 2017 18:54:50 +0000 (20:54 +0200)]
Pubsub: implment '6.5.7 Requesting the Most Recent Items'

7 years agoRemove useless condition
Christophe Romain [Wed, 27 Sep 2017 18:40:07 +0000 (20:40 +0200)]
Remove useless condition

7 years agoPubSub: add RSM support for mnesia backend
Christophe Romain [Wed, 27 Sep 2017 18:39:54 +0000 (20:39 +0200)]
PubSub: add RSM support for mnesia backend

7 years agoPubSub: enforce controls on publish and delete
Christophe Romain [Wed, 27 Sep 2017 15:37:38 +0000 (17:37 +0200)]
PubSub: enforce controls on publish and delete

7 years agomysql.sql: Use multi-column index on username/ID
Holger Weiss [Wed, 27 Sep 2017 13:30:23 +0000 (15:30 +0200)]
mysql.sql: Use multi-column index on username/ID

7 years agoharden ejabberdctl (#1977)
Christophe Romain [Wed, 27 Sep 2017 13:04:57 +0000 (15:04 +0200)]
harden ejabberdctl (#1977)

7 years agoFix xref error
Christophe Romain [Wed, 27 Sep 2017 10:34:40 +0000 (12:34 +0200)]
Fix xref error

7 years agoUnbind unused variable
Christophe Romain [Wed, 27 Sep 2017 10:13:45 +0000 (12:13 +0200)]
Unbind unused variable

7 years agoRemove calls to deprecated functions
Christophe Romain [Wed, 27 Sep 2017 09:43:59 +0000 (11:43 +0200)]
Remove calls to deprecated functions

7 years agoUpdate dependences
Paweł Chmielowski [Wed, 27 Sep 2017 09:39:16 +0000 (11:39 +0200)]
Update dependences

7 years agoPubSub: fix get_items behaviour with mnesia
Christophe Romain [Wed, 27 Sep 2017 09:18:12 +0000 (11:18 +0200)]
PubSub: fix get_items behaviour with mnesia

7 years agoMerge branch 'master' of github.com:processone/ejabberd
Christophe Romain [Wed, 27 Sep 2017 09:12:09 +0000 (11:12 +0200)]
Merge branch 'master' of github.com:processone/ejabberd

7 years agoPubSub: add correct order when requesting all items
Christophe Romain [Wed, 27 Sep 2017 09:12:01 +0000 (11:12 +0200)]
PubSub: add correct order when requesting all items

7 years agoAdd support for XEP-0368: SRV records for XMPP over TLS
Evgeniy Khramtsov [Wed, 27 Sep 2017 09:03:05 +0000 (12:03 +0300)]
Add support for XEP-0368: SRV records for XMPP over TLS

Currently this is only supported for outgoing s2s connections.
For such connections ejabberd is now able to resolve SRV records
of type "_xmpps-server._tcp". Also, SNI and ALPN fields are set
during TLS handshake. No additional configuration is required.

7 years agoWhen running "make translations", use the new tools/prepare-tr.sh
Badlop [Wed, 27 Sep 2017 08:30:17 +0000 (10:30 +0200)]
When running "make translations", use the new tools/prepare-tr.sh

7 years agoRemove remaining files of old contrib/ dir
Badlop [Wed, 27 Sep 2017 08:30:09 +0000 (10:30 +0200)]
Remove remaining files of old contrib/ dir

7 years agoSimplify prepare-tr.sh to work with new extract-tr.sh
Badlop [Wed, 27 Sep 2017 08:25:27 +0000 (10:25 +0200)]
Simplify prepare-tr.sh to work with new extract-tr.sh

7 years agoMove prepare-translations.sh from contrib to tools/prepare-tr.sh
Badlop [Wed, 27 Sep 2017 08:24:26 +0000 (10:24 +0200)]
Move prepare-translations.sh from contrib to tools/prepare-tr.sh

7 years agoRemove forgotten export_all
Evgeniy Khramtsov [Wed, 27 Sep 2017 08:56:22 +0000 (11:56 +0300)]
Remove forgotten export_all

7 years agoPubSub: fix RSM support (#1994)(#2Â014)
Christophe Romain [Wed, 27 Sep 2017 08:51:37 +0000 (10:51 +0200)]
PubSub: fix RSM support (#1994)(#2Â014)

7 years agoPubSub: fix node_options, default options only apply on first plugin
Christophe Romain [Wed, 27 Sep 2017 07:29:04 +0000 (09:29 +0200)]
PubSub: fix node_options, default options only apply on first plugin

7 years agomod_http_upload: Don't ignore 'custom_headers'
Holger Weiss [Tue, 26 Sep 2017 19:40:56 +0000 (21:40 +0200)]
mod_http_upload: Don't ignore 'custom_headers'

Don't ignore the 'custom_headers' option if the domain part of the
'put_url' doesn't match the XMPP domain.

Closes #1482.

7 years agoImprove presence-error processing
Evgeniy Khramtsov [Tue, 26 Sep 2017 16:01:54 +0000 (19:01 +0300)]
Improve presence-error processing

When a presence-error is received from a participant in a MUC, kick
only this particular participant's full JID, leaving other resources
untouched. This will prevent from erroneous kicking all user's resources
in the presence of "multi-session nicks".

7 years agoCall earlier deps configure scripts durring compilation
Paweł Chmielowski [Tue, 26 Sep 2017 15:32:37 +0000 (17:32 +0200)]
Call earlier deps configure scripts durring compilation

7 years agoFix command set_last that always returned code 1, error (#2010)
Badlop [Mon, 25 Sep 2017 16:43:24 +0000 (18:43 +0200)]
Fix command set_last that always returned code 1, error (#2010)

7 years agoSync containers from rroemhild and add instructions in README (#1655)
Christophe Romain [Mon, 25 Sep 2017 15:48:57 +0000 (17:48 +0200)]
Sync containers from rroemhild and add instructions in README (#1655)

7 years agoAdd mod_avatar to the example configuration
Evgeniy Khramtsov [Mon, 25 Sep 2017 13:23:02 +0000 (16:23 +0300)]
Add mod_avatar to the example configuration

7 years agoCatch all p1_fsm errors
Evgeniy Khramtsov [Mon, 25 Sep 2017 10:01:00 +0000 (13:01 +0300)]
Catch all p1_fsm errors

Fixes #2012

7 years agoUse eimp instead of ImageMagick calls for thumbnails creation
Evgeniy Khramtsov [Mon, 25 Sep 2017 09:41:12 +0000 (12:41 +0300)]
Use eimp instead of ImageMagick calls for thumbnails creation

7 years agoPre-install libgd and libwebp
Evgeniy Khramtsov [Mon, 25 Sep 2017 08:19:49 +0000 (11:19 +0300)]
Pre-install libgd and libwebp

7 years agoRemove OTP20 from Travis tests for now
Evgeniy Khramtsov [Mon, 25 Sep 2017 08:17:46 +0000 (11:17 +0300)]
Remove OTP20 from Travis tests for now

7 years agomod_mam: Simplify check for anon MUC JID filtering
Holger Weiss [Sun, 24 Sep 2017 13:04:09 +0000 (15:04 +0200)]
mod_mam: Simplify check for anon MUC JID filtering

Refuse filtering anon MUC MAM queries by JID even if it's the client's
own JID.  Clients probably won't perform such queries in practice, so
the additional complexity is unnecessary.

7 years agoReuse some translation strings
Evgeniy Khramtsov [Sun, 24 Sep 2017 11:32:37 +0000 (14:32 +0300)]
Reuse some translation strings

7 years agoReplace translate:mark/1 with ?T() macro
Evgeniy Khramtsov [Sun, 24 Sep 2017 09:42:35 +0000 (12:42 +0300)]
Replace translate:mark/1 with ?T() macro

7 years agomod_mam: Refuse filtering anon MUC queries by JID
Holger Weiss [Sun, 24 Sep 2017 00:05:50 +0000 (02:05 +0200)]
mod_mam: Refuse filtering anon MUC queries by JID

Return an empty result set if a non-moderator attempts to filter by JID
while querying the archive of an anonymous MUC room.

7 years agoAdd script to extract translation strings
Evgeniy Khramtsov [Sat, 23 Sep 2017 21:08:01 +0000 (00:08 +0300)]
Add script to extract translation strings

7 years agomod_push_mnesia: Fix typo in error message
Holger Weiss [Fri, 22 Sep 2017 21:36:51 +0000 (23:36 +0200)]
mod_push_mnesia: Fix typo in error message

7 years agoAdd some recommended TLSOPTS as comments in the default config (#2004)
Badlop [Thu, 21 Sep 2017 14:28:17 +0000 (16:28 +0200)]
Add some recommended TLSOPTS as comments in the default config (#2004)

7 years agoAlso replace vcard-x-update in direct presences
Evgeniy Khramtsov [Mon, 18 Sep 2017 11:17:34 +0000 (14:17 +0300)]
Also replace vcard-x-update in direct presences

7 years agoMerge pull request #1996 from nosnilmot/ejabberdctl-quote-peer
Christophe Romain [Mon, 18 Sep 2017 11:09:16 +0000 (13:09 +0200)]
Merge pull request #1996 from nosnilmot/ejabberdctl-quote-peer

Quote $PEER in ping command to avoid hostnames containing "-" being interpreted as arithmetic

7 years agoFix iexdebug and iexlive commands (#1981)
Christophe Romain [Mon, 18 Sep 2017 10:59:18 +0000 (12:59 +0200)]
Fix iexdebug and iexlive commands (#1981)

7 years agoPubSub: broadcast updated configuration (#1945)
Christophe Romain [Mon, 18 Sep 2017 10:48:20 +0000 (12:48 +0200)]
PubSub: broadcast updated configuration (#1945)

7 years agoAdd 'width' and 'height' to avatar info
Evgeniy Khramtsov [Mon, 18 Sep 2017 06:33:57 +0000 (09:33 +0300)]
Add 'width' and 'height' to avatar info

7 years agoAdd GIF support
Evgeniy Khramtsov [Sun, 17 Sep 2017 14:34:31 +0000 (17:34 +0300)]
Add GIF support

7 years agoIntroduce mod_avatar
Evgeniy Khramtsov [Sun, 17 Sep 2017 07:26:48 +0000 (10:26 +0300)]
Introduce mod_avatar

The purpose of the module is to cope with legacy and modern
XMPP clients posting avatars. It automatically converts vCard based
avatars (XEP-0153) to PEP based avatars (XEP-0084) and vice versa.
Also, the module supports convertation between avatar image formats on
the fly: this is controlled by `convert` option. For example, to
convert all avatars into PNG format, configure the module as:

mod_avatar:
  convert:
    default: png

In order to convert only `webp` format to `jpeg`, set the following:

mod_avatar:
  convert:
    webp: jpeg

Note: the module depends on mod_vcard, mod_vcard_xupdate and mod_pubsub.
Also, ejabberd should be built with --enable-graphics option.

7 years agoAdd riakc dependency version
Christophe Romain [Tue, 5 Sep 2017 08:10:45 +0000 (10:10 +0200)]
Add riakc dependency version

7 years agomod_push_keepalive: Remove unused 'db_type' option
Holger Weiss [Mon, 11 Sep 2017 21:48:25 +0000 (23:48 +0200)]
mod_push_keepalive: Remove unused 'db_type' option

7 years agoQuote $PEER in ping command to avoid hostnames containing "-" being interpreted as...
Stu Tomlinson [Mon, 11 Sep 2017 14:00:00 +0000 (15:00 +0100)]
Quote $PEER in ping command to avoid hostnames containing "-" being interpreted as arithmetic

7 years agoIntroduce option 'allow_transports'
Evgeniy Khramtsov [Fri, 8 Sep 2017 20:10:01 +0000 (23:10 +0300)]
Introduce option 'allow_transports'

This is a boolean option. If set to `true` and some server's JID
is in user's roster, then messages from any user of this server are
accepted even if no subscription present.

The option is enabled by default.

7 years agoThe redis_reconnect_timeout was no longer used (#1983)
Badlop [Thu, 7 Sep 2017 18:24:56 +0000 (20:24 +0200)]
The redis_reconnect_timeout was no longer used (#1983)

7 years agoSimple optimization in get_room_occupants_number command (#1964)
Badlop [Thu, 7 Sep 2017 16:32:26 +0000 (18:32 +0200)]
Simple optimization in get_room_occupants_number command (#1964)

7 years agoReally delete cache on set_data()
Evgeniy Khramtsov [Thu, 7 Sep 2017 16:27:48 +0000 (19:27 +0300)]
Really delete cache on set_data()

Fixes #1991

7 years agoAlways accept messages from local (sub)domains
Evgeniy Khramtsov [Thu, 7 Sep 2017 10:53:42 +0000 (13:53 +0300)]
Always accept messages from local (sub)domains

7 years agoFix a typo and improve logging message
Evgeniy Khramtsov [Thu, 7 Sep 2017 10:41:51 +0000 (13:41 +0300)]
Fix a typo and improve logging message

7 years agoReplace example config of drop_chat_states with queue_* in mod_client_state (#1985)
Badlop [Wed, 6 Sep 2017 11:48:33 +0000 (13:48 +0200)]
Replace example config of drop_chat_states with queue_* in mod_client_state (#1985)

7 years agoBlock messages from strangers before mod_mam/mod_offline processing
Evgeniy Khramtsov [Sat, 2 Sep 2017 19:54:46 +0000 (22:54 +0300)]
Block messages from strangers before mod_mam/mod_offline processing

Fixes #1713

7 years agoDeprecate `s2s_use_starttls: required_trusted`
Evgeniy Khramtsov [Sat, 2 Sep 2017 08:44:11 +0000 (11:44 +0300)]
Deprecate `s2s_use_starttls: required_trusted`

The functionality can be now obtained by using
`s2s_use_starttls: required` with `mod_s2s_dialback`
being unloaded.

7 years agoIntroduce 'redirect_url' option for mod_register
Evgeniy Khramtsov [Fri, 1 Sep 2017 09:14:01 +0000 (12:14 +0300)]
Introduce 'redirect_url' option for mod_register

The option enables registration redirection as described in
https://xmpp.org/extensions/xep-0077.html#redirect

Fixes #1976

7 years agoFix deletion of multiple offline messages using WebAdmin (#1962)
Badlop [Fri, 25 Aug 2017 10:44:53 +0000 (12:44 +0200)]
Fix deletion of multiple offline messages using WebAdmin (#1962)

7 years agoFix a typo
Evgeniy Khramtsov [Fri, 25 Aug 2017 09:47:33 +0000 (12:47 +0300)]
Fix a typo

7 years agoAdd forgotten caching options to the validator (thanks to Jan Pinkas)
Evgeniy Khramtsov [Thu, 24 Aug 2017 18:40:54 +0000 (21:40 +0300)]
Add forgotten caching options to the validator (thanks to Jan Pinkas)

7 years agoFix 'make install' to work with new output from rebar list-deps
Paweł Chmielowski [Thu, 24 Aug 2017 09:43:47 +0000 (11:43 +0200)]
Fix 'make install' to work with new output from rebar list-deps

7 years agoRewrite muc_register_nick and muc_unregister_nick to be DB independent (#1954)
Badlop [Thu, 24 Aug 2017 08:40:24 +0000 (10:40 +0200)]
Rewrite muc_register_nick and muc_unregister_nick to be DB independent (#1954)

Notice: The arguments expected have changed, instead of
  muc_register_nick Tim tim@example.org muc.example.org
  muc_unregister_nick Tim
it expects now:
  muc_register_nick Tim tim@example.org example.org
  muc_unregister_nick tim@example.org example.org

7 years agoRecompile rebar script with OTP17.5
Evgeniy Khramtsov [Wed, 23 Aug 2017 08:45:10 +0000 (11:45 +0300)]
Recompile rebar script with OTP17.5

7 years agoUse forked repo of Riak Erlang client
Evgeniy Khramtsov [Wed, 23 Aug 2017 07:35:39 +0000 (10:35 +0300)]
Use forked repo of Riak Erlang client

7 years agoExplicitly match against <domain/resource>
Evgeniy Khramtsov [Wed, 23 Aug 2017 06:00:13 +0000 (09:00 +0300)]
Explicitly match against <domain/resource>

Fixes #1958

7 years agoIgnore some options from rebar.config
Evgeniy Khramtsov [Tue, 22 Aug 2017 12:26:35 +0000 (15:26 +0300)]
Ignore some options from rebar.config

Namely, the following options are ignored in dependency packets:
require_erts_vsn, require_otp_vsn and require_min_otp_vsn

7 years agoWhen creating room, set option to ensure config is set in muc_room table (#1954)
Badlop [Mon, 21 Aug 2017 13:58:10 +0000 (15:58 +0200)]
When creating room, set option to ensure config is set in muc_room table (#1954)

7 years agoFix crash when destroying room without providing reason (#1954)
Badlop [Mon, 21 Aug 2017 13:57:48 +0000 (15:57 +0200)]
Fix crash when destroying room without providing reason (#1954)

7 years agoApply cosmetic changes to previous commit
Holger Weiss [Fri, 18 Aug 2017 14:50:08 +0000 (16:50 +0200)]
Apply cosmetic changes to previous commit

7 years agoSuppress push notifications for online clients
Holger Weiss [Fri, 18 Aug 2017 14:44:32 +0000 (16:44 +0200)]
Suppress push notifications for online clients

When a client enabled push notifications during the current session,
notifications should be suppressed as long as the client is online.
Suppressing the notification didn't work for the case where the
notification was triggered by MAM, but this is now fixed.

7 years agoFix mod_multicast start and reading of configured limits (#1949)
Badlop [Fri, 18 Aug 2017 12:09:49 +0000 (14:09 +0200)]
Fix mod_multicast start and reading of configured limits (#1949)

7 years agoPreserve correct order of deserialized XML elements
Evgeniy Khramtsov [Fri, 18 Aug 2017 07:20:27 +0000 (10:20 +0300)]
Preserve correct order of deserialized XML elements

Fixes #1939

7 years agoAdd OTP 20.0 to Travis testsing platforms
Evgeniy Khramtsov [Thu, 17 Aug 2017 19:14:54 +0000 (22:14 +0300)]
Add OTP 20.0 to Travis testsing platforms

7 years agoGet rid of deprecated crypto functions
Evgeniy Khramtsov [Thu, 17 Aug 2017 16:32:15 +0000 (19:32 +0300)]
Get rid of deprecated crypto functions

7 years agomod_stream_mgmt: Delete 'c2s_init' hook
Holger Weiss [Thu, 17 Aug 2017 16:25:06 +0000 (18:25 +0200)]
mod_stream_mgmt: Delete 'c2s_init' hook

Delete the 'c2s_init' hook when the last 'mod_stream_mgmt' instance is
stopped.