]> granicus.if.org Git - ejabberd/log
ejabberd
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.

7 years agomod_stream_mgmt: Remove outdated TODO comment
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.

7 years agoDon't attempt to access(2) a certificate file
Evgeniy Khramtsov [Thu, 17 Aug 2017 11:33:41 +0000 (14:33 +0300)]
Don't attempt to access(2) a certificate file

Fixes #1375

7 years agoRevert "Temporary remove recent last_item refactor"
Christophe Romain [Mon, 14 Aug 2017 13:25:45 +0000 (15:25 +0200)]
Revert "Temporary remove recent last_item refactor"

This reverts commit 1820b4f63b5c08a7a5fc603a7161d5c5e7e92ab4.

7 years agoMerge remote-tracking branch 'processone/pr/1938'
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

7 years agoTemporary remove recent last_item refactor 17.08
Christophe Romain [Mon, 14 Aug 2017 07:43:02 +0000 (09:43 +0200)]
Temporary remove recent last_item refactor

7 years agoLet 'domain_certfile' take higher precedence
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').

7 years agoApply URL decoding wherever possible
Evgeniy Khramtsov [Sun, 13 Aug 2017 16:18:19 +0000 (19:18 +0300)]
Apply URL decoding wherever possible

Fixes #1936

7 years agoFix typo from 9c5427e0c
Christophe Romain [Fri, 11 Aug 2017 15:54:53 +0000 (17:54 +0200)]
Fix typo from 9c5427e0c

7 years agoProcess on_user_offline only from valid sessions
Christophe Romain [Fri, 11 Aug 2017 10:05:14 +0000 (12:05 +0200)]
Process on_user_offline only from valid sessions

7 years agoFix regression introduced by b82b93f8f0c229e
Evgeniy Khramtsov [Fri, 11 Aug 2017 08:43:16 +0000 (11:43 +0300)]
Fix regression introduced by b82b93f8f0c229e

Fixes #1928

7 years agoRemove temporary debug
Christophe Romain [Fri, 11 Aug 2017 08:53:19 +0000 (10:53 +0200)]
Remove temporary debug

7 years agoUse correct c2s process sending PEP with multi devices
Christophe Romain [Fri, 11 Aug 2017 08:32:36 +0000 (10:32 +0200)]
Use correct c2s process sending PEP with multi devices

7 years agoPubSub: refactor send_last_items remove send_loop
Christophe Romain [Fri, 11 Aug 2017 08:20:33 +0000 (10:20 +0200)]
PubSub: refactor send_last_items remove send_loop

7 years agoMerge pull request #1926 from weiss/import-metronome-pep
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

7 years agoprosody2ejabberd: Support PEP import
Holger Weiss [Thu, 10 Aug 2017 17:49:20 +0000 (19:49 +0200)]
prosody2ejabberd: Support PEP import

7 years agoprosody2ejabberd: Remove superfluous 'catch'
Holger Weiss [Thu, 10 Aug 2017 16:54:00 +0000 (18:54 +0200)]
prosody2ejabberd: Remove superfluous 'catch'

7 years agoRename remove_room hook back
Evgeniy Khramtsov [Thu, 10 Aug 2017 11:49:05 +0000 (14:49 +0300)]
Rename remove_room hook back

7 years agoAdd support of section 4.9.3.16 on rfc6120
Christophe Romain [Thu, 10 Aug 2017 10:17:31 +0000 (12:17 +0200)]
Add support of section 4.9.3.16 on rfc6120

7 years agoFix pubsub send_loop after 3fec7824
Christophe Romain [Wed, 9 Aug 2017 09:34:36 +0000 (11:34 +0200)]
Fix pubsub send_loop after 3fec7824

7 years agoMerge pull request #1912 from mathiasertl/master
badlop [Wed, 9 Aug 2017 07:48:18 +0000 (09:48 +0200)]
Merge pull request #1912 from mathiasertl/master

fix FIREWALL_WINDOW option

7 years agofix typo
Mathias Ertl [Tue, 8 Aug 2017 17:09:55 +0000 (19:09 +0200)]
fix typo

7 years agoIntroduce 'hosts' option
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

7 years agoFix tests for 8679cfd2f
Christophe Romain [Mon, 7 Aug 2017 13:38:17 +0000 (15:38 +0200)]
Fix tests for 8679cfd2f

7 years agoRename stop_all_connections to stop_s2s_connections for consistency
Christophe Romain [Mon, 7 Aug 2017 13:06:07 +0000 (15:06 +0200)]
Rename stop_all_connections to stop_s2s_connections for consistency

7 years agoCompile mod_push early as it defines behaviour
PaweÅ\82 Chmielowski [Mon, 7 Aug 2017 07:32:41 +0000 (09:32 +0200)]
Compile mod_push early as it defines behaviour

7 years agoGet rid of export_all
Evgeniy Khramtsov [Sat, 5 Aug 2017 18:01:29 +0000 (21:01 +0300)]
Get rid of export_all

7 years agoReplace gen_fsm with p1_fsm to avoid warnings in OTP20+
Evgeniy Khramtsov [Sat, 5 Aug 2017 17:58:21 +0000 (20:58 +0300)]
Replace gen_fsm with p1_fsm to avoid warnings in OTP20+

7 years agoMerge remote-tracking branch 'processone/pr/1914'
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

7 years agoejabberd_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.

7 years agofix FIREWALL_WINDOW option
Mathias Ertl [Fri, 4 Aug 2017 16:49:33 +0000 (18:49 +0200)]
fix FIREWALL_WINDOW option

7 years agoFix warning in previous commit
Badlop [Fri, 4 Aug 2017 11:09:17 +0000 (13:09 +0200)]
Fix warning in previous commit

7 years agoMerge pull request #1881 from weiss/push
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

7 years agoRemove unused 'managers' option, related to the deferred XEP-0321 (#1443)
Badlop [Fri, 4 Aug 2017 10:26:07 +0000 (12:26 +0200)]
Remove unused 'managers' option, related to the deferred XEP-0321 (#1443)

7 years agoFix missing validation from 633b68db1 (#1900)
Christophe Romain [Fri, 4 Aug 2017 09:53:32 +0000 (11:53 +0200)]
Fix missing validation from 633b68db1 (#1900)

7 years agoAdd minor details (#1353)
Christophe Romain [Fri, 4 Aug 2017 08:34:13 +0000 (10:34 +0200)]
Add minor details (#1353)

7 years agoPrepare packaging for 17.08
Christophe Romain [Thu, 3 Aug 2017 14:55:56 +0000 (16:55 +0200)]
Prepare packaging for 17.08

7 years agoKeep disco#info on PEP compatible with XEP-0060 (#1717)
Christophe Romain [Thu, 3 Aug 2017 13:48:23 +0000 (15:48 +0200)]
Keep disco#info on PEP compatible with XEP-0060 (#1717)

7 years agoMove pubsub sql export to pubsub_db_sql module
Christophe Romain [Thu, 3 Aug 2017 13:34:01 +0000 (15:34 +0200)]
Move pubsub sql export to pubsub_db_sql module

7 years agoFix Xref from 5dcc97c
Christophe Romain [Thu, 3 Aug 2017 12:54:06 +0000 (14:54 +0200)]
Fix Xref from 5dcc97c

7 years agoChange policy of user_resources command
Paweł Chmielowski [Thu, 3 Aug 2017 11:48:57 +0000 (13:48 +0200)]
Change policy of user_resources command

This fixes issue #1908

7 years agoPreliminary export PubSub data from Mnesia tables to SQL file (#1571)
Badlop [Thu, 3 Aug 2017 08:52:44 +0000 (10:52 +0200)]
Preliminary export PubSub data from Mnesia tables to SQL file (#1571)

7 years agoMerge branch 'master' of github.com:processone/ejabberd
Christophe Romain [Wed, 2 Aug 2017 12:36:43 +0000 (14:36 +0200)]
Merge branch 'master' of github.com:processone/ejabberd

7 years agoFix clustering table reg_users_counter (#1889)
Christophe Romain [Wed, 2 Aug 2017 12:36:32 +0000 (14:36 +0200)]
Fix clustering table reg_users_counter (#1889)

7 years agoMerge pull request #1837 from marcphilipp/feature/set_room_affiliation_test
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

7 years agoMerge branch 'master' of github.com:processone/ejabberd
Christophe Romain [Wed, 2 Aug 2017 10:25:50 +0000 (12:25 +0200)]
Merge branch 'master' of github.com:processone/ejabberd

7 years agoFix getting cached last item (#1814)
Christophe Romain [Wed, 2 Aug 2017 10:22:13 +0000 (12:22 +0200)]
Fix getting cached last item (#1814)

7 years agoMerge pull request #1903 from himawri/fix_pubsub_spec
Evgeny Khramtsov [Wed, 2 Aug 2017 09:52:21 +0000 (13:52 +0400)]
Merge pull request #1903 from himawri/fix_pubsub_spec

Fix spec for mod_pubsub:subscribe_node

7 years agoFix spec for mod_pubsub:subscribe_node
Jing Sun [Wed, 2 Aug 2017 08:31:42 +0000 (10:31 +0200)]
Fix spec for mod_pubsub:subscribe_node

7 years agoFix PubSub send last published items (#1572)
Christophe Romain [Tue, 1 Aug 2017 15:00:52 +0000 (17:00 +0200)]
Fix PubSub send last published items (#1572)

7 years agoFix PEP node removal (#1839)
Christophe Romain [Tue, 1 Aug 2017 13:40:34 +0000 (15:40 +0200)]
Fix PEP node removal (#1839)

7 years agoFix disco#items on PEP service
Christophe Romain [Tue, 1 Aug 2017 13:15:01 +0000 (15:15 +0200)]
Fix disco#items on PEP service

7 years agoFix PEP node identity (#1717)
Christophe Romain [Tue, 1 Aug 2017 12:41:16 +0000 (14:41 +0200)]
Fix PEP node identity (#1717)

7 years agoUpdate spec from custom and allow modules dependencies (#1740)
Christophe Romain [Tue, 1 Aug 2017 11:33:14 +0000 (13:33 +0200)]
Update spec from custom and allow modules dependencies (#1740)

7 years agoFix extauth.py so support : in passwords (thanks to jmberg)(#1676)
Badlop [Mon, 31 Jul 2017 20:51:12 +0000 (22:51 +0200)]
Fix extauth.py so support : in passwords (thanks to jmberg)(#1676)

7 years agoRequest basic auth dialog from browser
Paweł Chmielowski [Fri, 28 Jul 2017 14:07:54 +0000 (16:07 +0200)]
Request basic auth dialog from browser

7 years agoRevert "Fix get_module_opt call in mod_block_strangers"
Christophe Romain [Thu, 27 Jul 2017 16:23:10 +0000 (18:23 +0200)]
Revert "Fix get_module_opt call in mod_block_strangers"

This reverts commit e5f64bc24af581b7e8ffd73e7490cc93423d960b.

7 years agoGenerate log messages when websocket is closed due timeouts
Paweł Chmielowski [Thu, 13 Jul 2017 08:49:35 +0000 (10:49 +0200)]
Generate log messages when websocket is closed due timeouts

7 years agoFix get_module_opt call in mod_block_strangers
Alexey Shchepin [Mon, 10 Jul 2017 13:05:09 +0000 (16:05 +0300)]
Fix get_module_opt call in mod_block_strangers

7 years agoSet high water mark in lager for all backends
Paweł Chmielowski [Tue, 4 Jul 2017 18:37:25 +0000 (20:37 +0200)]
Set high water mark in lager for all backends

7 years agoFix nick bug with MUC on riak
Jérôme Sautret [Thu, 1 Jun 2017 10:12:46 +0000 (12:12 +0200)]
Fix nick bug with MUC on riak

7 years agoAdd muc related hooks
Christophe Romain [Thu, 27 Jul 2017 15:02:06 +0000 (17:02 +0200)]
Add muc related hooks

7 years agoUpdate OTP version check by configure
Christophe Romain [Thu, 27 Jul 2017 13:31:38 +0000 (15:31 +0200)]
Update OTP version check by configure

7 years agoAbility to filter passwords from the log in mod_http_api (#1888)
Marco Adkins [Thu, 27 Jul 2017 13:30:56 +0000 (09:30 -0400)]
Ability to filter passwords from the log in mod_http_api (#1888)

* Ability to filter passwords from the log when creating users through the mod_http_api

7 years agoUpdate oauth2 dependency
Paweł Chmielowski [Tue, 25 Jul 2017 15:59:32 +0000 (17:59 +0200)]
Update oauth2 dependency

7 years agoFix errors from 1a0db3d
Christophe Romain [Fri, 21 Jul 2017 09:42:03 +0000 (11:42 +0200)]
Fix errors from 1a0db3d

7 years agoDescribe commands arguments and results in ejabberd_sm, ext_mod, mod_mam
Badlop [Fri, 21 Jul 2017 09:18:44 +0000 (11:18 +0200)]
Describe commands arguments and results in ejabberd_sm, ext_mod, mod_mam

7 years agoFix indentation of commands lines
Badlop [Thu, 20 Jul 2017 09:15:02 +0000 (11:15 +0200)]
Fix indentation of commands lines

7 years agoAdd mod_push_keepalive
Holger Weiss [Thu, 20 Jul 2017 23:07:36 +0000 (01:07 +0200)]
Add mod_push_keepalive

This module tries to keep pending stream management sessions of push
clients alive (as long as the disconnected clients are reachable via
push notifications).

7 years agoSupport XEP-0357: Push Notifications
Holger Weiss [Thu, 20 Jul 2017 18:22:50 +0000 (20:22 +0200)]
Support XEP-0357: Push Notifications

Closes #1379.

7 years agoFix errors when running ejabberdctl as root
Christophe Romain [Thu, 20 Jul 2017 12:40:50 +0000 (14:40 +0200)]
Fix errors when running ejabberdctl as root

7 years agoAdd ability to update changelog in update-deps-releases
Paweł Chmielowski [Thu, 20 Jul 2017 09:43:25 +0000 (11:43 +0200)]
Add ability to update changelog in update-deps-releases

7 years agoUpdate cache_tab and xmpp dep
Paweł Chmielowski [Thu, 20 Jul 2017 09:43:06 +0000 (11:43 +0200)]
Update cache_tab and xmpp dep

7 years agoMerge pull request #1869 from wahjava/master
Christophe Romain [Wed, 19 Jul 2017 09:33:38 +0000 (11:33 +0200)]
Merge pull request #1869 from wahjava/master

Fix ERLANG_OPTS when setting INET_DIST_INTERFACE

7 years agoUpdate fast_tls
Paweł Chmielowski [Wed, 19 Jul 2017 08:58:10 +0000 (10:58 +0200)]
Update fast_tls

7 years agoDon't add indentation after single item result in docs
Paweł Chmielowski [Tue, 18 Jul 2017 15:19:57 +0000 (17:19 +0200)]
Don't add indentation after single item result in docs

7 years agoUse string:join instead of lists:join
Christophe Romain [Tue, 18 Jul 2017 13:43:46 +0000 (15:43 +0200)]
Use string:join instead of lists:join

7 years agoImprove formatting of documented API parameters
Christophe Romain [Tue, 18 Jul 2017 13:01:01 +0000 (15:01 +0200)]
Improve formatting of documented API parameters

7 years agoMerge pull request #1871 from rstgroup/master
Evgeny Khramtsov [Mon, 17 Jul 2017 13:56:39 +0000 (17:56 +0400)]
Merge pull request #1871 from rstgroup/master

Fix old route record in mnesia's route table haven't been remove when restarting in some cases (#1184)

7 years agoFix old route record in mnesia's route table haven't been remove when restarting...
Paweł Dorofiejczyk [Mon, 17 Jul 2017 13:14:30 +0000 (15:14 +0200)]
Fix old route record in mnesia's route table haven't been remove when restarting in some cases (#1184)

7 years agoFix ERLANG_OPTS when setting INET_DIST_INTERFACE
Ashish SHUKLA [Sat, 15 Jul 2017 11:12:47 +0000 (16:42 +0530)]
Fix ERLANG_OPTS when setting INET_DIST_INTERFACE

7 years agoExpand catch block used to report errors in doc generator
Paweł Chmielowski [Fri, 14 Jul 2017 15:18:07 +0000 (17:18 +0200)]
Expand catch block used to report errors in doc generator

7 years agoFix args_examples from last commit
Paweł Chmielowski [Fri, 14 Jul 2017 15:17:26 +0000 (17:17 +0200)]
Fix args_examples from last commit

7 years agoDescribe even more command arguments and results in mod_admin_extra
Badlop [Fri, 14 Jul 2017 14:43:22 +0000 (16:43 +0200)]
Describe even more command arguments and results in mod_admin_extra

7 years agoAdd refresh repos option in update-deps-releases
Paweł Chmielowski [Fri, 14 Jul 2017 13:08:06 +0000 (15:08 +0200)]
Add refresh repos option in update-deps-releases

7 years agoUpdate fast_tls
Paweł Chmielowski [Fri, 14 Jul 2017 13:07:46 +0000 (15:07 +0200)]
Update fast_tls

7 years agoFix ERLANG_OPTS end lines when setting FIREWALL_WINDOW (#1856)
Badlop [Wed, 12 Jul 2017 12:43:28 +0000 (14:43 +0200)]
Fix ERLANG_OPTS end lines when setting FIREWALL_WINDOW (#1856)

7 years agomod_privacy: Don't crash while copying c2s state
Holger Weiss [Fri, 7 Jul 2017 12:28:22 +0000 (14:28 +0200)]
mod_privacy: Don't crash while copying c2s state

Don't assume 'privacy_active_list' is set when c2s_copy_session/2 is
called.

7 years agomod_privacy: Apply cosmetic change to type spec
Holger Weiss [Fri, 7 Jul 2017 12:25:55 +0000 (14:25 +0200)]
mod_privacy: Apply cosmetic change to type spec

7 years agoFix set_presence command to work in recent ejabberd
Badlop [Fri, 7 Jul 2017 08:55:08 +0000 (10:55 +0200)]
Fix set_presence command to work in recent ejabberd

7 years agoAdd copyright and fix description for some sources
Evgeniy Khramtsov [Thu, 6 Jul 2017 18:27:04 +0000 (21:27 +0300)]
Add copyright and fix description for some sources

7 years agoStart gen_mod from elixir tests
Paweł Chmielowski [Thu, 6 Jul 2017 15:57:46 +0000 (17:57 +0200)]
Start gen_mod from elixir tests

7 years agoImprove elixir tests
Paweł Chmielowski [Thu, 6 Jul 2017 15:19:05 +0000 (17:19 +0200)]
Improve elixir tests