]>
granicus.if.org Git - ejabberd/log
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.
Holger Weiss [Thu, 17 Aug 2017 16:19:04 +0000 (18:19 +0200)]
mod_stream_mgmt: Remove outdated TODO comment
The CSI queue is now flushed from mod_client_state.
Evgeniy Khramtsov [Thu, 17 Aug 2017 11:33:41 +0000 (14:33 +0300)]
Don't attempt to access(2) a certificate file
Fixes #1375
Christophe Romain [Mon, 14 Aug 2017 13:25:45 +0000 (15:25 +0200)]
Revert "Temporary remove recent last_item refactor"
This reverts commit
1820b4f63b5c08a7a5fc603a7161d5c5e7e92ab4 .
Holger Weiss [Mon, 14 Aug 2017 12:43:03 +0000 (14:43 +0200)]
Merge remote-tracking branch 'processone/pr/1938'
* processone/pr/1938:
Let 'domain_certfile' take higher precedence
Christophe Romain [Mon, 14 Aug 2017 07:43:02 +0000 (09:43 +0200)]
Temporary remove recent last_item refactor
Holger Weiss [Sun, 13 Aug 2017 18:31:03 +0000 (20:31 +0200)]
Let 'domain_certfile' take higher precedence
If a 'domain_certfile' is specified, use that instead of the
's2s_certfile' (or 'c2s_certfile').
Evgeniy Khramtsov [Sun, 13 Aug 2017 16:18:19 +0000 (19:18 +0300)]
Apply URL decoding wherever possible
Fixes #1936
Christophe Romain [Fri, 11 Aug 2017 15:54:53 +0000 (17:54 +0200)]
Christophe Romain [Fri, 11 Aug 2017 10:05:14 +0000 (12:05 +0200)]
Process on_user_offline only from valid sessions
Evgeniy Khramtsov [Fri, 11 Aug 2017 08:43:16 +0000 (11:43 +0300)]
Fix regression introduced by
b82b93f8f0c229e
Fixes #1928
Christophe Romain [Fri, 11 Aug 2017 08:53:19 +0000 (10:53 +0200)]
Remove temporary debug
Christophe Romain [Fri, 11 Aug 2017 08:32:36 +0000 (10:32 +0200)]
Use correct c2s process sending PEP with multi devices
Christophe Romain [Fri, 11 Aug 2017 08:20:33 +0000 (10:20 +0200)]
PubSub: refactor send_last_items remove send_loop
Christophe Romain [Fri, 11 Aug 2017 08:19:17 +0000 (10:19 +0200)]
Merge pull request #1926 from weiss/import-metronome-pep
prosody2ejabberd: Support PEP import
Holger Weiss [Thu, 10 Aug 2017 17:49:20 +0000 (19:49 +0200)]
prosody2ejabberd: Support PEP import
Holger Weiss [Thu, 10 Aug 2017 16:54:00 +0000 (18:54 +0200)]
prosody2ejabberd: Remove superfluous 'catch'
Evgeniy Khramtsov [Thu, 10 Aug 2017 11:49:05 +0000 (14:49 +0300)]
Rename remove_room hook back
Christophe Romain [Thu, 10 Aug 2017 10:17:31 +0000 (12:17 +0200)]
Add support of section 4.9.3.16 on rfc6120
Christophe Romain [Wed, 9 Aug 2017 09:34:36 +0000 (11:34 +0200)]
Fix pubsub send_loop after
3fec7824
badlop [Wed, 9 Aug 2017 07:48:18 +0000 (09:48 +0200)]
Merge pull request #1912 from mathiasertl/master
fix FIREWALL_WINDOW option
Mathias Ertl [Tue, 8 Aug 2017 17:09:55 +0000 (19:09 +0200)]
fix typo
Evgeniy Khramtsov [Tue, 8 Aug 2017 14:46:26 +0000 (17:46 +0300)]
Introduce 'hosts' option
The option can be used as a replacement of 'host' option
when several (sub)domains are needed to be registered for the module.
Note that you cannot combine both 'host' and 'hosts' in the config
because 'host' option is of a higher priority. Example:
mod_pubsub:
...
hosts:
- "pubsub1.@HOST@"
- "pubsub2.@HOST@"
Fixes #1883
Christophe Romain [Mon, 7 Aug 2017 13:38:17 +0000 (15:38 +0200)]
Christophe Romain [Mon, 7 Aug 2017 13:06:07 +0000 (15:06 +0200)]
Rename stop_all_connections to stop_s2s_connections for consistency
PaweÅ\82 Chmielowski [Mon, 7 Aug 2017 07:32:41 +0000 (09:32 +0200)]
Compile mod_push early as it defines behaviour
Evgeniy Khramtsov [Sat, 5 Aug 2017 18:01:29 +0000 (21:01 +0300)]
Get rid of export_all
Evgeniy Khramtsov [Sat, 5 Aug 2017 17:58:21 +0000 (20:58 +0300)]
Replace gen_fsm with p1_fsm to avoid warnings in OTP20+
Holger Weiss [Sat, 5 Aug 2017 17:27:43 +0000 (19:27 +0200)]
Merge remote-tracking branch 'processone/pr/1914'
* processone/pr/1914:
ejabberd_c2s: Fix priority of 'certfile' option
Holger Weiss [Sat, 5 Aug 2017 16:59:32 +0000 (18:59 +0200)]
ejabberd_c2s: Fix priority of 'certfile' option
Use the 'certfile' listener option rather than a 'domain_certfile' for
ejabberd_c2s listeners that have "tls: true" configured. A
'domain_certfile' should only be preferred for STARTTLS connections.
Closes #1911.
Mathias Ertl [Fri, 4 Aug 2017 16:49:33 +0000 (18:49 +0200)]
fix FIREWALL_WINDOW option
Badlop [Fri, 4 Aug 2017 11:09:17 +0000 (13:09 +0200)]
Fix warning in previous commit
Christophe Romain [Fri, 4 Aug 2017 10:58:06 +0000 (12:58 +0200)]
Merge pull request #1881 from weiss/push
Support XEP-0357: Push Notifications
Badlop [Fri, 4 Aug 2017 10:26:07 +0000 (12:26 +0200)]
Remove unused 'managers' option, related to the deferred XEP-0321 (#1443)
Christophe Romain [Fri, 4 Aug 2017 09:53:32 +0000 (11:53 +0200)]
Fix missing validation from
633b68db1 (#1900)
Christophe Romain [Fri, 4 Aug 2017 08:34:13 +0000 (10:34 +0200)]
Add minor details (#1353)
Christophe Romain [Thu, 3 Aug 2017 14:55:56 +0000 (16:55 +0200)]
Prepare packaging for 17.08
Christophe Romain [Thu, 3 Aug 2017 13:48:23 +0000 (15:48 +0200)]
Keep disco#info on PEP compatible with XEP-0060 (#1717)
Christophe Romain [Thu, 3 Aug 2017 13:34:01 +0000 (15:34 +0200)]
Move pubsub sql export to pubsub_db_sql module
Christophe Romain [Thu, 3 Aug 2017 12:54:06 +0000 (14:54 +0200)]
Paweł Chmielowski [Thu, 3 Aug 2017 11:48:57 +0000 (13:48 +0200)]
Change policy of user_resources command
This fixes issue #1908
Badlop [Thu, 3 Aug 2017 08:52:44 +0000 (10:52 +0200)]
Preliminary export PubSub data from Mnesia tables to SQL file (#1571)
Christophe Romain [Wed, 2 Aug 2017 12:36:43 +0000 (14:36 +0200)]
Merge branch 'master' of github.com:processone/ejabberd
Christophe Romain [Wed, 2 Aug 2017 12:36:32 +0000 (14:36 +0200)]
Fix clustering table reg_users_counter (#1889)
Christophe Romain [Wed, 2 Aug 2017 12:34:30 +0000 (14:34 +0200)]
Merge pull request #1837 from marcphilipp/feature/set_room_affiliation_test
Add integration test for set_room_affiliation