]> granicus.if.org Git - ejabberd/log
ejabberd
7 years agoMore explicit bosh configuration handler
Mickaël Rémond [Fri, 23 Jun 2017 14:47:14 +0000 (16:47 +0200)]
More explicit bosh configuration handler

I also updated default url from to match URL suggested by XEP-0156

7 years agoMerge pull request #1793 from marcphilipp/bugfix/set_room_affiliation_master
Evgeny Khramtsov [Thu, 22 Jun 2017 14:28:12 +0000 (18:28 +0400)]
Merge pull request #1793 from marcphilipp/bugfix/set_room_affiliation_master

Fix mod_muc_admin:set_room_affiliation

7 years agoDon't let a receiver to crash if a controller is unavailable
Evgeniy Khramtsov [Thu, 22 Jun 2017 13:58:46 +0000 (16:58 +0300)]
Don't let a receiver to crash if a controller is unavailable

Fixes #1796

7 years agoFix mod_muc_admin:set_room_affiliation
Marc Philipp [Wed, 21 Jun 2017 13:44:09 +0000 (15:44 +0200)]
Fix mod_muc_admin:set_room_affiliation

7 years agoFix outgoing_s2s_timeout description (#1684)
Christophe Romain [Wed, 21 Jun 2017 14:30:51 +0000 (16:30 +0200)]
Fix outgoing_s2s_timeout description (#1684)

7 years agomod_client_state: Reset state on session resume
Holger Weiss [Tue, 20 Jun 2017 23:05:46 +0000 (01:05 +0200)]
mod_client_state: Reset state on session resume

Don't restore the previous CSI state when a stream management session is
resumed.

7 years agomod_stream_mgmt: Add missing function specs
Holger Weiss [Tue, 20 Jun 2017 23:00:29 +0000 (01:00 +0200)]
mod_stream_mgmt: Add missing function specs

7 years agoImprove API documentation generator
Christophe Romain [Tue, 20 Jun 2017 12:45:57 +0000 (14:45 +0200)]
Improve API documentation generator

7 years agoMake ext_mod api return rescode
Christophe Romain [Tue, 20 Jun 2017 12:45:31 +0000 (14:45 +0200)]
Make ext_mod api return rescode

7 years agoFix invalid {args,result}_examples in mod_muc_admin
Paweł Chmielowski [Mon, 19 Jun 2017 14:31:07 +0000 (16:31 +0200)]
Fix invalid {args,result}_examples in mod_muc_admin

7 years agoGenerate better errors when not being able to generate documentation
Paweł Chmielowski [Mon, 19 Jun 2017 14:30:45 +0000 (16:30 +0200)]
Generate better errors when not being able to generate documentation

7 years agoAnother tweak to md generator
Paweł Chmielowski [Mon, 19 Jun 2017 13:10:14 +0000 (15:10 +0200)]
Another tweak to md generator

7 years agoUpdate markdown api document generator
Paweł Chmielowski [Mon, 19 Jun 2017 13:01:34 +0000 (15:01 +0200)]
Update markdown api document generator

7 years agoFix srg_user_add/del for non-Mnesia database backends (#1780)
Badlop [Thu, 15 Jun 2017 09:05:41 +0000 (11:05 +0200)]
Fix srg_user_add/del for non-Mnesia database backends (#1780)

7 years agoAdd pubsub import from prosody/metronome
Christophe Romain [Thu, 15 Jun 2017 07:56:05 +0000 (09:56 +0200)]
Add pubsub import from prosody/metronome

7 years agoCatch exception from Elixir.ExUnit.Server.cases_loaded
Paweł Chmielowski [Wed, 14 Jun 2017 12:56:42 +0000 (14:56 +0200)]
Catch exception from Elixir.ExUnit.Server.cases_loaded

7 years agoFix OTP-17.5 support
Christophe Romain [Wed, 14 Jun 2017 12:18:35 +0000 (14:18 +0200)]
Fix OTP-17.5 support

7 years agoShow operations to perform before asking to apply them
PaweÅ\82 Chmielowski [Wed, 14 Jun 2017 11:59:02 +0000 (13:59 +0200)]
Show operations to perform before asking to apply them

7 years agoBump xmpp version
Holger Weiss [Tue, 13 Jun 2017 23:05:15 +0000 (01:05 +0200)]
Bump xmpp version

7 years agoFix IP address parsing for mod_metrics
Evgeniy Khramtsov [Tue, 13 Jun 2017 13:54:29 +0000 (16:54 +0300)]
Fix IP address parsing for mod_metrics

7 years agoFix refactor bug on wait_status
Christophe Romain [Tue, 13 Jun 2017 10:37:27 +0000 (12:37 +0200)]
Fix refactor bug on wait_status

7 years agoPrepare package for 17.06-beta 17.06-beta
Christophe Romain [Tue, 13 Jun 2017 09:02:30 +0000 (11:02 +0200)]
Prepare package for 17.06-beta

7 years agoUpdate esip and stun dependencies
Christophe Romain [Tue, 13 Jun 2017 08:35:00 +0000 (10:35 +0200)]
Update esip and stun dependencies

7 years agoAdd script for managing updates to deps
Paweł Chmielowski [Mon, 12 Jun 2017 17:23:23 +0000 (19:23 +0200)]
Add script for managing updates to deps

7 years agoRemove luerl from floating_deps
Paweł Chmielowski [Mon, 12 Jun 2017 17:10:00 +0000 (19:10 +0200)]
Remove luerl from floating_deps

7 years agoSwitch access rule delete_old_users with protect_old_users (#1772)
Badlop [Fri, 9 Jun 2017 17:18:47 +0000 (19:18 +0200)]
Switch access rule delete_old_users with protect_old_users (#1772)

7 years agoAdd more ipv6 loopback addresses
Paweł Chmielowski [Fri, 9 Jun 2017 12:38:34 +0000 (14:38 +0200)]
Add more ipv6 loopback addresses

7 years agoAllow api access on both ipv4 and 6 loopback addresses
Paweł Chmielowski [Fri, 9 Jun 2017 11:57:26 +0000 (13:57 +0200)]
Allow api access on both ipv4 and 6 loopback addresses

This should fix issue #1769

7 years agoFix elixir tests on elixir 1.4
Paweł Chmielowski [Fri, 9 Jun 2017 10:59:47 +0000 (12:59 +0200)]
Fix elixir tests on elixir 1.4

7 years agoAdd missing ,
Paweł Chmielowski [Fri, 9 Jun 2017 10:10:40 +0000 (12:10 +0200)]
Add missing ,

7 years agoImprove export2sql explanation; remove obsolete and duplicated command
Badlop [Fri, 9 Jun 2017 10:02:49 +0000 (12:02 +0200)]
Improve export2sql explanation; remove obsolete and duplicated command

7 years agoUpdate dependencies
Christophe Romain [Fri, 9 Jun 2017 08:34:35 +0000 (10:34 +0200)]
Update dependencies

7 years agoFix and document push_roster_all command
Badlop [Thu, 8 Jun 2017 17:54:34 +0000 (19:54 +0200)]
Fix and document push_roster_all command

7 years agoMerge pull request #1766 from IRog/master
Christophe Romain [Thu, 8 Jun 2017 08:41:26 +0000 (10:41 +0200)]
Merge pull request #1766 from IRog/master

fixing exec_iex bug with proper --name arguement

7 years agofixing iex bug with proper --name arguement
Ivy Rogatko [Thu, 8 Jun 2017 04:15:17 +0000 (21:15 -0700)]
fixing iex bug with proper --name arguement

7 years agoUpdate elixir
Christophe Romain [Wed, 7 Jun 2017 15:09:06 +0000 (17:09 +0200)]
Update elixir

7 years agoUpdate lager p1_mysql and p1_pgsql dependencies
Christophe Romain [Wed, 7 Jun 2017 14:56:00 +0000 (16:56 +0200)]
Update lager p1_mysql and p1_pgsql dependencies

7 years agoUpdate dependencies
Christophe Romain [Wed, 7 Jun 2017 14:18:41 +0000 (16:18 +0200)]
Update dependencies

7 years agoOverride version of subdeps with version from main rebar.config
Paweł Chmielowski [Wed, 7 Jun 2017 14:06:28 +0000 (16:06 +0200)]
Override version of subdeps with version from main rebar.config

7 years agoAdd missing space separator on EJABBERD_OPTS
Christophe Romain [Tue, 6 Jun 2017 13:41:48 +0000 (15:41 +0200)]
Add missing space separator on EJABBERD_OPTS

7 years agoMerge pull request #1758 from reneklacan/fix-mix-warnings
Evgeny Khramtsov [Sun, 4 Jun 2017 10:25:31 +0000 (14:25 +0400)]
Merge pull request #1758 from reneklacan/fix-mix-warnings

Fix mix warnings

7 years agoFix mix warnings
Rene Klacan [Sun, 4 Jun 2017 01:00:57 +0000 (03:00 +0200)]
Fix mix warnings

7 years agoMerge pull request #1759 from reneklacan/fix-version-to-be-semver
Evgeny Khramtsov [Sun, 4 Jun 2017 10:18:39 +0000 (14:18 +0400)]
Merge pull request #1759 from reneklacan/fix-version-to-be-semver

Fix version to be SemVer compatible

7 years agoFix version to be SemVer compatible
Rene Klacan [Sun, 4 Jun 2017 01:01:51 +0000 (03:01 +0200)]
Fix version to be SemVer compatible

7 years agoFix EJABBERD_OPTS
Christophe Romain [Fri, 2 Jun 2017 15:56:31 +0000 (17:56 +0200)]
Fix EJABBERD_OPTS

7 years agoFix rooms list in WebAdmin (#1753)
Badlop [Thu, 1 Jun 2017 17:27:28 +0000 (19:27 +0200)]
Fix rooms list in WebAdmin (#1753)

7 years agoRespect INSTALLUSER when creating spool directory
Christophe Romain [Thu, 1 Jun 2017 15:48:44 +0000 (17:48 +0200)]
Respect INSTALLUSER when creating spool directory

7 years agoCreate spool directory at start if not exists
Christophe Romain [Thu, 1 Jun 2017 15:44:23 +0000 (17:44 +0200)]
Create spool directory at start if not exists

7 years agoRemove use of getopt to support simpler shells
Christophe Romain [Thu, 1 Jun 2017 10:10:06 +0000 (12:10 +0200)]
Remove use of getopt to support simpler shells

7 years agoImprove ejabberdctl parameters parsing
Christophe Romain [Thu, 1 Jun 2017 09:48:11 +0000 (11:48 +0200)]
Improve ejabberdctl parameters parsing

7 years agoMinor ejabberdctl improvements
Christophe Romain [Thu, 1 Jun 2017 06:04:11 +0000 (08:04 +0200)]
Minor ejabberdctl improvements

7 years agoMerge branch 'joudinet-master'
Christophe Romain [Wed, 31 May 2017 16:12:26 +0000 (18:12 +0200)]
Merge branch 'joudinet-master'

7 years agoRefactor ejabberdctl
Christophe Romain [Wed, 31 May 2017 16:11:45 +0000 (18:11 +0200)]
Refactor ejabberdctl

7 years agoAdd --enable-system-deps configure option
Paweł Chmielowski [Wed, 31 May 2017 09:30:34 +0000 (11:30 +0200)]
Add --enable-system-deps configure option

7 years agoAdd license files into lib and deps directories
Christophe Romain [Tue, 30 May 2017 13:02:53 +0000 (15:02 +0200)]
Add license files into lib and deps directories

7 years agoMerge branch 'master' of https://github.com/joudinet/ejabberd into joudinet-master
Christophe Romain [Tue, 30 May 2017 10:37:27 +0000 (12:37 +0200)]
Merge branch 'master' of https://github.com/joudinet/ejabberd into joudinet-master

7 years agoParse correctly presence_broadcast option in change_room_option command
Badlop [Mon, 29 May 2017 10:46:59 +0000 (12:46 +0200)]
Parse correctly presence_broadcast option in change_room_option command

7 years agoFix case clause
Evgeniy Khramtsov [Thu, 25 May 2017 10:46:17 +0000 (13:46 +0300)]
Fix case clause

Fixes #1746

7 years agoCosmetic change: Fix indentation errors
Holger Weiss [Wed, 24 May 2017 15:16:16 +0000 (17:16 +0200)]
Cosmetic change: Fix indentation errors

7 years agoIntroduce --enable-stun and --enable-sip configure options
Evgeniy Khramtsov [Tue, 23 May 2017 10:12:48 +0000 (13:12 +0300)]
Introduce --enable-stun and --enable-sip configure options

STUN/TURN and SIP is not compiled by default anymore.
Use --enable-stun, --enable-sip or --enable-all to enable them.

7 years agoGet rid of sql_queries.erl
Evgeniy Khramtsov [Tue, 23 May 2017 09:25:13 +0000 (12:25 +0300)]
Get rid of sql_queries.erl

7 years agoDeprecate misc:encode_base64/1 and misc:decode_base64/1
Evgeniy Khramtsov [Tue, 23 May 2017 07:43:26 +0000 (10:43 +0300)]
Deprecate misc:encode_base64/1 and misc:decode_base64/1

7 years agoValidate all certfiles on startup
Evgeniy Khramtsov [Tue, 23 May 2017 06:27:52 +0000 (09:27 +0300)]
Validate all certfiles on startup

7 years agoImplement cache for mod_announce
Evgeniy Khramtsov [Mon, 22 May 2017 13:14:28 +0000 (16:14 +0300)]
Implement cache for mod_announce

7 years agoDescribe command arguments and results in mod_muc_admin
Badlop [Mon, 22 May 2017 10:55:32 +0000 (12:55 +0200)]
Describe command arguments and results in mod_muc_admin

7 years agoDon't leak with UDP sockets
Evgeniy Khramtsov [Mon, 22 May 2017 08:29:53 +0000 (11:29 +0300)]
Don't leak with UDP sockets

7 years agoImplement cache for mod_private
Evgeniy Khramtsov [Mon, 22 May 2017 07:34:57 +0000 (10:34 +0300)]
Implement cache for mod_private

7 years agoDon't store messages via a single process
Evgeniy Khramtsov [Sun, 21 May 2017 20:21:13 +0000 (23:21 +0300)]
Don't store messages via a single process

7 years agoImprove mod_metrics
Evgeniy Khramtsov [Sun, 21 May 2017 11:24:57 +0000 (14:24 +0300)]
Improve mod_metrics

* Do not spawn a process per event
* Avoid UDP socket creation on every event
* Get rid of calls to str.erl module
* Add options 'ip' and 'port'

7 years agoGet rid of a workaround against old Erlang bug
Evgeniy Khramtsov [Sun, 21 May 2017 10:30:46 +0000 (13:30 +0300)]
Get rid of a workaround against old Erlang bug

7 years agoGet rid of db_type warning for mod_vcard_xupdate
Evgeniy Khramtsov [Sun, 21 May 2017 08:40:24 +0000 (11:40 +0300)]
Get rid of db_type warning for mod_vcard_xupdate

7 years agoGet rid of detection of modules' db_type detection
Evgeniy Khramtsov [Sun, 21 May 2017 08:33:16 +0000 (11:33 +0300)]
Get rid of detection of modules' db_type detection

The detection sometimes leads to errorneous warnings.
We need to improve it later. For now I just remove the
detection as it doesn't fully work anyway.

7 years agoDeclare ejabberd_oauth behaviour
Evgeniy Khramtsov [Sun, 21 May 2017 08:31:30 +0000 (11:31 +0300)]
Declare ejabberd_oauth behaviour

7 years agoImplement cache for mod_privacy/mod_blocking
Evgeniy Khramtsov [Sat, 20 May 2017 19:36:32 +0000 (22:36 +0300)]
Implement cache for mod_privacy/mod_blocking

7 years agoexport_all is not needed here
Paweł Chmielowski [Fri, 19 May 2017 15:03:41 +0000 (17:03 +0200)]
export_all is not needed here

7 years agoFix values put in args_examples
Paweł Chmielowski [Fri, 19 May 2017 14:56:37 +0000 (16:56 +0200)]
Fix values put in args_examples

7 years agoGet rid of Mnesia transaction in get_vcard/2
Evgeniy Khramtsov [Thu, 18 May 2017 18:24:47 +0000 (21:24 +0300)]
Get rid of Mnesia transaction in get_vcard/2

7 years agoThe default 'iqdisc' is now 'no_queue'
Evgeniy Khramtsov [Thu, 18 May 2017 16:13:18 +0000 (19:13 +0300)]
The default 'iqdisc' is now 'no_queue'

7 years agoImplement cache for mod_last
Evgeniy Khramtsov [Thu, 18 May 2017 10:21:17 +0000 (13:21 +0300)]
Implement cache for mod_last

7 years ago?SQL_UPSERT returns 'ok' on success
Evgeniy Khramtsov [Thu, 18 May 2017 09:10:36 +0000 (12:10 +0300)]
?SQL_UPSERT returns 'ok' on success

7 years agoAvoid erroneous usage of ?MODULE macro
Evgeniy Khramtsov [Thu, 18 May 2017 09:09:28 +0000 (12:09 +0300)]
Avoid erroneous usage of ?MODULE macro

7 years agoFix function_clause after authentication refactoring
Evgeniy Khramtsov [Thu, 18 May 2017 06:51:04 +0000 (09:51 +0300)]
Fix function_clause after authentication refactoring

Fixes https://github.com/processone/ejabberd-contrib/issues/213

7 years agoReplace 'if_version_above' directive with 'if_have_fun'
Evgeniy Khramtsov [Wed, 17 May 2017 16:37:06 +0000 (19:37 +0300)]
Replace 'if_version_above' directive with 'if_have_fun'

7 years agoClean up database code related to mod_vcard_xupdate
Evgeniy Khramtsov [Wed, 17 May 2017 16:29:19 +0000 (19:29 +0300)]
Clean up database code related to mod_vcard_xupdate

7 years agoUse disc_only_copies for oauth_token Mnesia table
Evgeniy Khramtsov [Wed, 17 May 2017 14:42:22 +0000 (17:42 +0300)]
Use disc_only_copies for oauth_token Mnesia table

7 years agoIncrease gen_mod's supervisor shutdown time
Evgeniy Khramtsov [Wed, 17 May 2017 14:33:07 +0000 (17:33 +0300)]
Increase gen_mod's supervisor shutdown time

7 years agoGet rid of deprecated option 'resume_timeout' in test config
Evgeniy Khramtsov [Wed, 17 May 2017 14:21:59 +0000 (17:21 +0300)]
Get rid of deprecated option 'resume_timeout' in test config

7 years agoImplement cache for mod_vcard and mod_vcard_xupdate
Evgeniy Khramtsov [Wed, 17 May 2017 14:13:34 +0000 (17:13 +0300)]
Implement cache for mod_vcard and mod_vcard_xupdate

7 years agoAdd cache options to the validator
Evgeniy Khramtsov [Wed, 17 May 2017 13:03:41 +0000 (16:03 +0300)]
Add cache options to the validator

7 years agoCiphers should be a binary string
Evgeniy Khramtsov [Wed, 17 May 2017 12:42:18 +0000 (15:42 +0300)]
Ciphers should be a binary string

7 years agoGet rid of unused variable
Evgeniy Khramtsov [Wed, 17 May 2017 12:24:32 +0000 (15:24 +0300)]
Get rid of unused variable

7 years agoImplement cache for roster
Evgeniy Khramtsov [Wed, 17 May 2017 11:47:35 +0000 (14:47 +0300)]
Implement cache for roster

7 years agoFix use_cache/1 callback
Evgeniy Khramtsov [Mon, 15 May 2017 05:58:37 +0000 (08:58 +0300)]
Fix use_cache/1 callback

7 years agoShut up dialyzer/xref if public_key:short_name_hash/1 is not available
Evgeniy Khramtsov [Sat, 13 May 2017 10:11:08 +0000 (13:11 +0300)]
Shut up dialyzer/xref if public_key:short_name_hash/1 is not available

7 years agoOnly validate certfiles if public_key:short_name_hash/1 is available
Evgeniy Khramtsov [Fri, 12 May 2017 14:51:17 +0000 (17:51 +0300)]
Only validate certfiles if public_key:short_name_hash/1 is available

7 years agoIntroduce Certficate Manager
Evgeniy Khramtsov [Fri, 12 May 2017 13:27:09 +0000 (16:27 +0300)]
Introduce Certficate Manager

The major goal is to simplify certificate management in ejabberd.
Currently it requires some effort from a user to configure certficates,
especially in the situation where a lot of virtual domains are hosted.

The task is splitted in several sub-tasks:
* Implement basic certificate validator. The validator should check all
configured certificates for existence, validity, duration and so on. The
validator should not perform any actions in the case of errors except
logging an error message. This is actually implemented by this commit.
* All certificates should be configured inside a single section (something
like 'certfiles') where ejabberd should parse them, check the full-chain,
find the corresponding private keys and, if needed, resort chains and
split the certficates into separate files for easy to use by fast_tls.
* Options like 'domain_certfile', 'c2s_certfile' or 's2s_certfile' should
probably be deprecated, since the process of matching certificates with the
corresponding virtual hosts should be done automatically and these options
only introduce configuration errors without any meaningful purpose.

7 years agoCheck presence of some files during option validation
Evgeniy Khramtsov [Fri, 12 May 2017 06:34:57 +0000 (09:34 +0300)]
Check presence of some files during option validation

7 years agoGracefully process malformed passwords during password change
Evgeniy Khramtsov [Thu, 11 May 2017 14:15:23 +0000 (17:15 +0300)]
Gracefully process malformed passwords during password change

7 years agoGracefully process malformed passwords during registration
Evgeniy Khramtsov [Thu, 11 May 2017 14:09:26 +0000 (17:09 +0300)]
Gracefully process malformed passwords during registration

7 years agoAdd 'access_remove' ACL to mod_register
Evgeniy Khramtsov [Thu, 11 May 2017 13:36:52 +0000 (16:36 +0300)]
Add 'access_remove' ACL to mod_register