]>
granicus.if.org Git - ejabberd/log
Evgeniy Khramtsov [Fri, 6 Oct 2017 20:44:50 +0000 (23:44 +0300)]
Update Russian translation
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
Christophe Romain [Fri, 6 Oct 2017 15:48:56 +0000 (17:48 +0200)]
Update French translation
Badlop [Fri, 6 Oct 2017 11:23:10 +0000 (13:23 +0200)]
Update Czech translation (thanks to Jan Pinkas)
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)
Paweł Chmielowski [Fri, 6 Oct 2017 09:35:38 +0000 (11:35 +0200)]
Update pl.po
Badlop [Fri, 6 Oct 2017 08:54:36 +0000 (10:54 +0200)]
Update Spanish translation
Badlop [Fri, 6 Oct 2017 08:02:16 +0000 (10:02 +0200)]
Updated all translation files
Simply running:
make; make translations
Evgeniy Khramtsov [Thu, 5 Oct 2017 08:33:29 +0000 (11:33 +0300)]
Improve logging of mismatched Hosts
Evgeniy Khramtsov [Thu, 5 Oct 2017 08:16:05 +0000 (11:16 +0300)]
Log request in access.log even when Host doesn't match
Evgeniy Khramtsov [Thu, 5 Oct 2017 08:08:58 +0000 (11:08 +0300)]
Don't report Host mismatch as an error
Evgeniy Khramtsov [Thu, 5 Oct 2017 08:03:36 +0000 (11:03 +0300)]
Correctly handle mod_client_state (re)load
Evgeniy Khramtsov [Thu, 5 Oct 2017 07:26:10 +0000 (10:26 +0300)]
Accept routes in Host header and map them to vhosts
Christophe Romain [Wed, 4 Oct 2017 10:03:36 +0000 (12:03 +0200)]
Fix warning when compile with newer elixir
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)
Paweł Chmielowski [Mon, 2 Oct 2017 09:51:15 +0000 (11:51 +0200)]
Install binaries with 755 permissions
Paweł Chmielowski [Mon, 2 Oct 2017 09:49:34 +0000 (11:49 +0200)]
Remove find-outdated-deps script, we have better replacement for it
Evgeniy Khramtsov [Mon, 2 Oct 2017 07:47:03 +0000 (10:47 +0300)]
Generate more readable code for run_fold hooks
Paweł Chmielowski [Thu, 28 Sep 2017 16:34:27 +0000 (18:34 +0200)]
Install eimp binary with +x attribute
Christophe Romain [Thu, 28 Sep 2017 13:21:11 +0000 (15:21 +0200)]
Prepare mix for 17.09
Christophe Romain [Thu, 28 Sep 2017 13:14:11 +0000 (15:14 +0200)]
Fix race introduced by
ffdaff374 on ejabberd_mnesia init
Evgeniy Khramtsov [Thu, 28 Sep 2017 09:25:06 +0000 (12:25 +0300)]
Make sure Riak gets compiled on OTP20
Evgeniy Khramtsov [Thu, 28 Sep 2017 09:24:24 +0000 (12:24 +0300)]
Fix function clause introduced by
c17ec50e3a
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
Christophe Romain [Wed, 27 Sep 2017 18:54:50 +0000 (20:54 +0200)]
Pubsub: implment '6.5.7 Requesting the Most Recent Items'
Christophe Romain [Wed, 27 Sep 2017 18:40:07 +0000 (20:40 +0200)]
Remove useless condition
Christophe Romain [Wed, 27 Sep 2017 18:39:54 +0000 (20:39 +0200)]
PubSub: add RSM support for mnesia backend
Christophe Romain [Wed, 27 Sep 2017 15:37:38 +0000 (17:37 +0200)]
PubSub: enforce controls on publish and delete
Holger Weiss [Wed, 27 Sep 2017 13:30:23 +0000 (15:30 +0200)]
mysql.sql: Use multi-column index on username/ID
Christophe Romain [Wed, 27 Sep 2017 13:04:57 +0000 (15:04 +0200)]
harden ejabberdctl (#1977)
Christophe Romain [Wed, 27 Sep 2017 10:34:40 +0000 (12:34 +0200)]
Fix xref error
Christophe Romain [Wed, 27 Sep 2017 10:13:45 +0000 (12:13 +0200)]
Unbind unused variable
Christophe Romain [Wed, 27 Sep 2017 09:43:59 +0000 (11:43 +0200)]
Remove calls to deprecated functions
Paweł Chmielowski [Wed, 27 Sep 2017 09:39:16 +0000 (11:39 +0200)]
Update dependences
Christophe Romain [Wed, 27 Sep 2017 09:18:12 +0000 (11:18 +0200)]
PubSub: fix get_items behaviour with mnesia
Christophe Romain [Wed, 27 Sep 2017 09:12:09 +0000 (11:12 +0200)]
Merge branch 'master' of github.com:processone/ejabberd
Christophe Romain [Wed, 27 Sep 2017 09:12:01 +0000 (11:12 +0200)]
PubSub: add correct order when requesting all items
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.
Badlop [Wed, 27 Sep 2017 08:30:17 +0000 (10:30 +0200)]
When running "make translations", use the new tools/prepare-tr.sh
Badlop [Wed, 27 Sep 2017 08:30:09 +0000 (10:30 +0200)]
Remove remaining files of old contrib/ dir
Badlop [Wed, 27 Sep 2017 08:25:27 +0000 (10:25 +0200)]
Simplify prepare-tr.sh to work with new extract-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
Evgeniy Khramtsov [Wed, 27 Sep 2017 08:56:22 +0000 (11:56 +0300)]
Remove forgotten export_all
Christophe Romain [Wed, 27 Sep 2017 08:51:37 +0000 (10:51 +0200)]
PubSub: fix RSM support (#1994)(#2Â014)
Christophe Romain [Wed, 27 Sep 2017 07:29:04 +0000 (09:29 +0200)]
PubSub: fix node_options, default options only apply on first plugin
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.
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".
Paweł Chmielowski [Tue, 26 Sep 2017 15:32:37 +0000 (17:32 +0200)]
Call earlier deps configure scripts durring compilation
Badlop [Mon, 25 Sep 2017 16:43:24 +0000 (18:43 +0200)]
Fix command set_last that always returned code 1, error (#2010)
Christophe Romain [Mon, 25 Sep 2017 15:48:57 +0000 (17:48 +0200)]
Sync containers from rroemhild and add instructions in README (#1655)
Evgeniy Khramtsov [Mon, 25 Sep 2017 13:23:02 +0000 (16:23 +0300)]
Add mod_avatar to the example configuration
Evgeniy Khramtsov [Mon, 25 Sep 2017 10:01:00 +0000 (13:01 +0300)]
Catch all p1_fsm errors
Fixes #2012
Evgeniy Khramtsov [Mon, 25 Sep 2017 09:41:12 +0000 (12:41 +0300)]
Use eimp instead of ImageMagick calls for thumbnails creation
Evgeniy Khramtsov [Mon, 25 Sep 2017 08:19:49 +0000 (11:19 +0300)]
Pre-install libgd and libwebp
Evgeniy Khramtsov [Mon, 25 Sep 2017 08:17:46 +0000 (11:17 +0300)]
Remove OTP20 from Travis tests for now
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.
Evgeniy Khramtsov [Sun, 24 Sep 2017 11:32:37 +0000 (14:32 +0300)]
Reuse some translation strings
Evgeniy Khramtsov [Sun, 24 Sep 2017 09:42:35 +0000 (12:42 +0300)]
Replace translate:mark/1 with ?T() macro
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.
Evgeniy Khramtsov [Sat, 23 Sep 2017 21:08:01 +0000 (00:08 +0300)]
Add script to extract translation strings
Holger Weiss [Fri, 22 Sep 2017 21:36:51 +0000 (23:36 +0200)]
mod_push_mnesia: Fix typo in error message
Badlop [Thu, 21 Sep 2017 14:28:17 +0000 (16:28 +0200)]
Add some recommended TLSOPTS as comments in the default config (#2004)
Evgeniy Khramtsov [Mon, 18 Sep 2017 11:17:34 +0000 (14:17 +0300)]
Also replace vcard-x-update in direct presences
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
Christophe Romain [Mon, 18 Sep 2017 10:59:18 +0000 (12:59 +0200)]
Fix iexdebug and iexlive commands (#1981)
Christophe Romain [Mon, 18 Sep 2017 10:48:20 +0000 (12:48 +0200)]
PubSub: broadcast updated configuration (#1945)
Evgeniy Khramtsov [Mon, 18 Sep 2017 06:33:57 +0000 (09:33 +0300)]
Add 'width' and 'height' to avatar info
Evgeniy Khramtsov [Sun, 17 Sep 2017 14:34:31 +0000 (17:34 +0300)]
Add GIF support
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.
Christophe Romain [Tue, 5 Sep 2017 08:10:45 +0000 (10:10 +0200)]
Add riakc dependency version
Holger Weiss [Mon, 11 Sep 2017 21:48:25 +0000 (23:48 +0200)]
mod_push_keepalive: Remove unused 'db_type' option
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
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.
Badlop [Thu, 7 Sep 2017 18:24:56 +0000 (20:24 +0200)]
The redis_reconnect_timeout was no longer used (#1983)
Badlop [Thu, 7 Sep 2017 16:32:26 +0000 (18:32 +0200)]
Simple optimization in get_room_occupants_number command (#1964)
Evgeniy Khramtsov [Thu, 7 Sep 2017 16:27:48 +0000 (19:27 +0300)]
Really delete cache on set_data()
Fixes #1991
Evgeniy Khramtsov [Thu, 7 Sep 2017 10:53:42 +0000 (13:53 +0300)]
Always accept messages from local (sub)domains
Evgeniy Khramtsov [Thu, 7 Sep 2017 10:41:51 +0000 (13:41 +0300)]
Fix a typo and improve logging message
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)
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
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.
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
Badlop [Fri, 25 Aug 2017 10:44:53 +0000 (12:44 +0200)]
Fix deletion of multiple offline messages using WebAdmin (#1962)
Evgeniy Khramtsov [Fri, 25 Aug 2017 09:47:33 +0000 (12:47 +0300)]
Fix a typo
Evgeniy Khramtsov [Thu, 24 Aug 2017 18:40:54 +0000 (21:40 +0300)]
Add forgotten caching options to the validator (thanks to Jan Pinkas)
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
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
Evgeniy Khramtsov [Wed, 23 Aug 2017 08:45:10 +0000 (11:45 +0300)]
Recompile rebar script with OTP17.5
Evgeniy Khramtsov [Wed, 23 Aug 2017 07:35:39 +0000 (10:35 +0300)]
Use forked repo of Riak Erlang client
Evgeniy Khramtsov [Wed, 23 Aug 2017 06:00:13 +0000 (09:00 +0300)]
Explicitly match against <domain/resource>
Fixes #1958
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
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)
Badlop [Mon, 21 Aug 2017 13:57:48 +0000 (15:57 +0200)]
Fix crash when destroying room without providing reason (#1954)
Holger Weiss [Fri, 18 Aug 2017 14:50:08 +0000 (16:50 +0200)]
Apply cosmetic changes to previous commit
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.
Badlop [Fri, 18 Aug 2017 12:09:49 +0000 (14:09 +0200)]
Fix mod_multicast start and reading of configured limits (#1949)
Evgeniy Khramtsov [Fri, 18 Aug 2017 07:20:27 +0000 (10:20 +0300)]
Preserve correct order of deserialized XML elements
Fixes #1939
Evgeniy Khramtsov [Thu, 17 Aug 2017 19:14:54 +0000 (22:14 +0300)]
Add OTP 20.0 to Travis testsing platforms
Evgeniy Khramtsov [Thu, 17 Aug 2017 16:32:15 +0000 (19:32 +0300)]
Get rid of deprecated crypto functions
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.