]> granicus.if.org Git - ejabberd/log
ejabberd
9 years agoChanged mam iq get to set as specified by XEP-0313 v0.3
Jerome Sautret [Mon, 6 Jul 2015 13:39:23 +0000 (15:39 +0200)]
Changed mam iq get to set as specified by XEP-0313 v0.3

9 years agoFix dialyzer warning
Mickael Remond [Sun, 5 Jul 2015 11:33:34 +0000 (13:33 +0200)]
Fix dialyzer warning

The function is call with binary format from ejabberd_c2s.

9 years agoRemove ehyperloglog dependency
Evgeniy Khramtsov [Fri, 3 Jul 2015 10:18:35 +0000 (13:18 +0300)]
Remove ehyperloglog dependency

9 years agoLet Travis grab MySQL 5.6 from repo.mysql.com
Holger Weiss [Thu, 2 Jul 2015 23:21:22 +0000 (01:21 +0200)]
Let Travis grab MySQL 5.6 from repo.mysql.com

We need MySQL 5.6 or newer in order to get support for InnoDB FULLTEXT
Indexes.

Closes #624.

9 years agoSend notifications on MUC configuration changes
Holger Weiss [Wed, 1 Jul 2015 22:36:16 +0000 (00:36 +0200)]
Send notifications on MUC configuration changes

Notify clients when the room configuration changes, as mandated by
XEP-0045, #10.2.1.

Closes #623.

9 years agoMerge pull request #628 from joudinet/master
Evgeny Khramtsov [Tue, 30 Jun 2015 09:06:49 +0000 (12:06 +0300)]
Merge pull request #628 from joudinet/master

configure.ac: add AC_CONFIG_MACRO_DIR

9 years agoconfigure.ac: add AC_CONFIG_MACRO_DIR
Johan Oudinet [Tue, 30 Jun 2015 08:53:45 +0000 (10:53 +0200)]
configure.ac: add AC_CONFIG_MACRO_DIR

Otherwise, autoconf fails to find extra macros defined in the m4
directory.

9 years agoVersion number must be SemVersion in mix
Mickael Remond [Mon, 29 Jun 2015 21:32:00 +0000 (23:32 +0200)]
Version number must be SemVersion in mix

Semantic version expects versioning with 3 components

9 years agoUse https url for git dependencies for consistency
Mickael Remond [Mon, 29 Jun 2015 21:23:31 +0000 (23:23 +0200)]
Use https url for git dependencies for consistency

9 years agoKeep the version hardcoded in mix.exs file
Mickael Remond [Mon, 29 Jun 2015 21:14:18 +0000 (23:14 +0200)]
Keep the version hardcoded in mix.exs file

Generated the mix.exs file through configure is not possible when using mix, as
it does not run configure after having downloaded the dependencies.
#621

9 years agoDo not rely on behaviour info when doing config validation
Evgeniy Khramtsov [Mon, 29 Jun 2015 19:50:15 +0000 (22:50 +0300)]
Do not rely on behaviour info when doing config validation

9 years agoMerge pull request #620 from weiss/omit-non-anon-msg
badlop [Mon, 29 Jun 2015 13:18:04 +0000 (15:18 +0200)]
Merge pull request #620 from weiss/omit-non-anon-msg

Omit warning message regarding non-anonymous MUC room

9 years agoOmit warning message regarding non-anonymous room
Holger Weiss [Sun, 28 Jun 2015 12:05:55 +0000 (14:05 +0200)]
Omit warning message regarding non-anonymous room

Previous versions of XEP-0045 suggested sending a warning message to new
occupants of a non-anonymous MUC room.  The current revision (1.25) says
that a status code of "100" must be returned with the user's initial
presence, instead.  We already do this (in addition to generating the
warning message).

Receiving the warning message each time the client joins the room can
become annoying, especially when reconnections occur frequently (e.g.,
on mobile devices).  So, we omit it, now.

9 years agoWhen passwords are scrammed, report check_password_hash cannot work (#559)
Badlop [Thu, 25 Jun 2015 11:39:45 +0000 (13:39 +0200)]
When passwords are scrammed, report check_password_hash cannot work (#559)

9 years agoAdd xep definition to mod_mam 15.06
Badlop [Wed, 24 Jun 2015 09:58:37 +0000 (11:58 +0200)]
Add xep definition to mod_mam

9 years agoAdd MAM (XEP-0313) support
Evgeniy Khramtsov [Mon, 22 Jun 2015 13:56:08 +0000 (16:56 +0300)]
Add MAM (XEP-0313) support

9 years agoDocument a few more supported protocols
Badlop [Mon, 22 Jun 2015 11:11:11 +0000 (13:11 +0200)]
Document a few more supported protocols

9 years agoAdd s2s_dhfile to list of known options
Holger Weiss [Fri, 19 Jun 2015 22:14:54 +0000 (00:14 +0200)]
Add s2s_dhfile to list of known options

9 years agoUpdate comment that explains how to set up node_mb
Holger Weiss [Fri, 19 Jun 2015 21:13:36 +0000 (23:13 +0200)]
Update comment that explains how to set up node_mb

Specify settings that make sense with current ejabberd versions, and use
the YAML configuration format.  Also, specify the "urn:xmpp:microblog:0"
namespace, as that's the microblogging node name currently defined by
XEP-0277.

9 years agoAllow several ';' passed in commands (#599)
Christophe Romain [Thu, 18 Jun 2015 12:59:00 +0000 (14:59 +0200)]
Allow several ';' passed in commands (#599)

9 years agochange_room_option misses handling some room options #604
Badlop [Thu, 18 Jun 2015 11:13:49 +0000 (13:13 +0200)]
change_room_option misses handling some room options #604

9 years agoDon't force persistence if cache enabled (fix previous commit)
Christophe Romain [Thu, 18 Jun 2015 10:54:46 +0000 (12:54 +0200)]
Don't force persistence if cache enabled (fix previous commit)

9 years agoFix max_items and don't let PEP depends on item cache
Christophe Romain [Thu, 18 Jun 2015 10:06:29 +0000 (12:06 +0200)]
Fix max_items and don't let PEP depends on item cache

9 years agoNew hide_sensitive_log_data option to hide client IP in log (#452 #471)
Badlop [Wed, 17 Jun 2015 09:32:42 +0000 (11:32 +0200)]
New hide_sensitive_log_data option to hide client IP in log (#452 #471)

9 years agoAllow password with ';' passed in ejabberdctl (#599)
Christophe Romain [Wed, 17 Jun 2015 06:59:09 +0000 (08:59 +0200)]
Allow password with ';' passed in ejabberdctl (#599)

9 years agoAdd s2s_dhfile option to configuration validator
Holger Weiss [Tue, 16 Jun 2015 13:18:34 +0000 (15:18 +0200)]
Add s2s_dhfile option to configuration validator

9 years agoMerge pull request #581 from weiss/dh-param-file
Alexey Shchepin [Tue, 16 Jun 2015 08:59:06 +0000 (11:59 +0300)]
Merge pull request #581 from weiss/dh-param-file

New options: dhfile and s2s_dhfile

9 years agoAdd option to set net_ticktime (EJAB-1742)
Paweł Chmielowski [Mon, 15 Jun 2015 12:57:07 +0000 (14:57 +0200)]
Add option to set net_ticktime (EJAB-1742)

9 years agoFix bug introduced in commit b88fa6f6174
Badlop [Thu, 4 Jun 2015 13:47:02 +0000 (15:47 +0200)]
Fix bug introduced in commit b88fa6f6174

9 years agoUse https instead of git in rebar file for dependencies url (#589)
Badlop [Thu, 4 Jun 2015 11:12:49 +0000 (13:12 +0200)]
Use https instead of git in rebar file for dependencies url (#589)

9 years agoPick first local multicast service, otherwise remote (ejabberd-contrib#105)
Badlop [Thu, 4 Jun 2015 10:13:10 +0000 (12:13 +0200)]
Pick first local multicast service, otherwise remote (ejabberd-contrib#105)

9 years agoMerge pull request #592 from weiss/omit-subject-body
badlop [Thu, 4 Jun 2015 09:04:05 +0000 (11:04 +0200)]
Merge pull request #592 from weiss/omit-subject-body

Don't add body element to MUC subject messages

9 years agoDon't add body element to MUC subject messages
Holger Weiss [Thu, 4 Jun 2015 07:55:38 +0000 (09:55 +0200)]
Don't add body element to MUC subject messages

9 years agoMerge pull request #591 from jpegger/patch-1
Evgeny Khramtsov [Wed, 3 Jun 2015 17:42:00 +0000 (20:42 +0300)]
Merge pull request #591 from jpegger/patch-1

Anonymous authmodule not registering correctly anonymous users in DB

9 years agoAuthmodule using old style XML:get_attr_s()
jpegger [Wed, 3 Jun 2015 16:11:35 +0000 (18:11 +0200)]
Authmodule using old style XML:get_attr_s()

9 years agoDo not ignore unknown options so far
Evgeniy Khramtsov [Wed, 3 Jun 2015 13:21:07 +0000 (16:21 +0300)]
Do not ignore unknown options so far

9 years agoRemove unused validation code
Evgeniy Khramtsov [Wed, 3 Jun 2015 13:05:17 +0000 (16:05 +0300)]
Remove unused validation code

9 years agoMove opt_type/1 function out of if-else block
Evgeniy Khramtsov [Wed, 3 Jun 2015 12:52:19 +0000 (15:52 +0300)]
Move opt_type/1 function out of if-else block

9 years agoFix typo
Evgeniy Khramtsov [Wed, 3 Jun 2015 12:45:15 +0000 (15:45 +0300)]
Fix typo

9 years agoAdd missing options of ejabberd_logger to validator
Evgeniy Khramtsov [Wed, 3 Jun 2015 12:25:20 +0000 (15:25 +0300)]
Add missing options of ejabberd_logger to validator

9 years agoAdd missing options of mod_muc to validator
Evgeniy Khramtsov [Wed, 3 Jun 2015 12:18:09 +0000 (15:18 +0300)]
Add missing options of mod_muc to validator

9 years agoFix commands export2odbc, connected_users_vhost and push_alltoall (#586)
Badlop [Tue, 2 Jun 2015 10:52:15 +0000 (12:52 +0200)]
Fix commands export2odbc, connected_users_vhost and push_alltoall (#586)

9 years agoMerge pull request #585 from CorCornelisse/master
badlop [Tue, 2 Jun 2015 10:24:46 +0000 (12:24 +0200)]
Merge pull request #585 from CorCornelisse/master

push_roster* not updated on binarification

9 years agoMerge branch 'master' of github.com:processone/ejabberd
Evgeniy Khramtsov [Mon, 1 Jun 2015 12:38:37 +0000 (15:38 +0300)]
Merge branch 'master' of github.com:processone/ejabberd

9 years agoAdd config validation at startup
Evgeniy Khramtsov [Mon, 1 Jun 2015 12:38:27 +0000 (15:38 +0300)]
Add config validation at startup

9 years agoFix anonymous user login, it wasn't stored in anonymous mnesia table
Badlop [Mon, 1 Jun 2015 12:34:49 +0000 (14:34 +0200)]
Fix anonymous user login, it wasn't stored in anonymous mnesia table

9 years agoDo not try to fetch module options via eldap_utils
Evgeniy Khramtsov [Sun, 31 May 2015 13:14:57 +0000 (16:14 +0300)]
Do not try to fetch module options via eldap_utils

9 years agoReorganize get_opt() code in some modules
Evgeniy Khramtsov [Mon, 1 Jun 2015 10:19:01 +0000 (13:19 +0300)]
Reorganize get_opt() code in some modules

9 years agoGet rid of some fuzzy macros as it makes syntax tools getting mad
Evgeniy Khramtsov [Sun, 31 May 2015 14:56:16 +0000 (17:56 +0300)]
Get rid of some fuzzy macros as it makes syntax tools getting mad

9 years agoThese arguments should be binary instead of strings, otherwise it won't work properly
Cor Cornelisse [Mon, 1 Jun 2015 11:30:26 +0000 (13:30 +0200)]
These arguments should be binary instead of strings, otherwise it won't work properly

9 years agoIn xmlrpc use process_unicode_codepoints instead of list_to_binary
Badlop [Fri, 29 May 2015 13:48:43 +0000 (15:48 +0200)]
In xmlrpc use process_unicode_codepoints instead of list_to_binary

9 years agoFix MUC room options vaildation
Evgeniy Khramtsov [Fri, 29 May 2015 09:08:13 +0000 (12:08 +0300)]
Fix MUC room options vaildation

9 years agoAdd correct package version for mix (#577)
Christophe Romain [Fri, 29 May 2015 07:30:16 +0000 (09:30 +0200)]
Add correct package version for mix (#577)

9 years agoValidate MUC room options from the configuration file
Evgeniy Khramtsov [Thu, 28 May 2015 08:37:27 +0000 (11:37 +0300)]
Validate MUC room options from the configuration file

9 years agoMerge pull request #582 from badlop/master-badlop-578
badlop [Wed, 27 May 2015 11:49:20 +0000 (13:49 +0200)]
Merge pull request #582 from badlop/master-badlop-578

An auth external module requires ext_mod to be started first (#578)

9 years agoAn auth external module requires ext_mod to be started first (#578)
Badlop [Wed, 27 May 2015 11:10:15 +0000 (13:10 +0200)]
An auth external module requires ext_mod to be started first (#578)

9 years agoNew options: dhfile and s2s_dhfile
Holger Weiss [Tue, 26 May 2015 19:06:04 +0000 (21:06 +0200)]
New options: dhfile and s2s_dhfile

Let admins specify a file that contains custom parameters for
Diffie-Hellman key exchange.

9 years agoFix pubsub/odbc crash on remote user unsubscribe (EJAB-1483)
Christophe Romain [Tue, 26 May 2015 17:19:57 +0000 (19:19 +0200)]
Fix pubsub/odbc crash on remote user unsubscribe (EJAB-1483)

9 years agoMerge pull request #569 from weiss/send-element-error-checking
Alexey Shchepin [Tue, 26 May 2015 12:59:50 +0000 (15:59 +0300)]
Merge pull request #569 from weiss/send-element-error-checking

Update send_element error checking (EJAB-1739)

9 years agoInclude session record from header file instead of duplicating it
Mickael Remond [Tue, 26 May 2015 08:08:46 +0000 (10:08 +0200)]
Include session record from header file instead of duplicating it

9 years agoFix merging of not yaml config files
Paweł Chmielowski [Mon, 25 May 2015 13:23:38 +0000 (15:23 +0200)]
Fix merging of not yaml config files

9 years agoFix use of publish_only affiliation with odbc backend
Christophe Romain [Fri, 22 May 2015 16:47:17 +0000 (18:47 +0200)]
Fix use of publish_only affiliation with odbc backend

9 years agoMinor cosmetic changes and add ping command
Christophe Romain [Fri, 22 May 2015 15:28:40 +0000 (17:28 +0200)]
Minor cosmetic changes and add ping command

9 years agoAdd fold markers to config file for Vim editors
Badlop [Fri, 22 May 2015 10:42:24 +0000 (12:42 +0200)]
Add fold markers to config file for Vim editors

9 years agoA few more... Fix epmd not in PATH (#484)(thanks to acediac)
Badlop [Fri, 22 May 2015 08:40:24 +0000 (10:40 +0200)]
A few more... Fix epmd not in PATH (#484)(thanks to acediac)

9 years agoUse namespace definitions when possible
Badlop [Thu, 21 May 2015 15:03:06 +0000 (17:03 +0200)]
Use namespace definitions when possible

9 years agoDocument protocol support (EJABS-1620)
Badlop [Thu, 21 May 2015 15:02:36 +0000 (17:02 +0200)]
Document protocol support (EJABS-1620)

9 years agoFix dialyzer warning in mod_muc_admin:206
Badlop [Thu, 21 May 2015 10:00:41 +0000 (12:00 +0200)]
Fix dialyzer warning in mod_muc_admin:206

9 years agoMerge pull request #573 from sezuan/fix_odbc
badlop [Thu, 21 May 2015 09:31:47 +0000 (11:31 +0200)]
Merge pull request #573 from sezuan/fix_odbc

Fix some string/binary issues with non-native ODBC drivers

9 years agoAdd minor robustness on cluster scripts
Christophe Romain [Wed, 20 May 2015 12:06:03 +0000 (14:06 +0200)]
Add minor robustness on cluster scripts

9 years agoAdd missing sm table (thanks to Rasim Kalimullin)(EJAB-1740)
Christophe Romain [Wed, 20 May 2015 11:50:59 +0000 (13:50 +0200)]
Add missing sm table (thanks to Rasim Kalimullin)(EJAB-1740)

9 years agoMerge pull request #576 from processone/revert-570-fix_added_sm_table_to_pg
Evgeny Khramtsov [Wed, 20 May 2015 10:59:04 +0000 (13:59 +0300)]
Merge pull request #576 from processone/revert-570-fix_added_sm_table_to_pg

Revert "added sm table to pg.sql"

9 years agoRevert "added sm table to pg.sql"
Evgeny Khramtsov [Wed, 20 May 2015 10:57:44 +0000 (13:57 +0300)]
Revert "added sm table to pg.sql"

9 years agoMerge pull request #570 from sezuan/fix_added_sm_table_to_pg
Evgeny Khramtsov [Wed, 20 May 2015 10:46:02 +0000 (13:46 +0300)]
Merge pull request #570 from sezuan/fix_added_sm_table_to_pg

added sm table to pg.sql

9 years agoFix function specification
Holger Weiss [Wed, 20 May 2015 10:13:15 +0000 (12:13 +0200)]
Fix function specification

9 years agoRemove obsolete doc and win32 files (EJAB-1738)
Christophe Romain [Wed, 20 May 2015 09:43:29 +0000 (11:43 +0200)]
Remove obsolete doc and win32 files (EJAB-1738)

9 years agoDo not bounce normal messages sent to unavailable resource
Evgeniy Khramtsov [Tue, 19 May 2015 07:51:49 +0000 (10:51 +0300)]
Do not bounce normal messages sent to unavailable resource

9 years agoSimplify XEP-0203 (Delayed Delivery) code a bit
Holger Weiss [Mon, 18 May 2015 19:26:51 +0000 (21:26 +0200)]
Simplify XEP-0203 (Delayed Delivery) code a bit

Now that XEP-0091 support is removed, the XEP-0203 code can be
simplified a little further.  This doesn't change the behavior.

9 years agoCall integer_to_binary using jlib (#554)
Christophe Romain [Mon, 18 May 2015 15:30:25 +0000 (17:30 +0200)]
Call integer_to_binary using jlib (#554)

9 years agoRemove XEP-0091 tags from test suite
Holger Weiss [Mon, 18 May 2015 12:38:57 +0000 (14:38 +0200)]
Remove XEP-0091 tags from test suite

9 years agoRemove deprecated XEP-0090 Entity Time and 91 Delayed Delivery (EJAB-849)
Badlop [Mon, 18 May 2015 10:38:07 +0000 (12:38 +0200)]
Remove deprecated XEP-0090 Entity Time and 91 Delayed Delivery (EJAB-849)

9 years agoFixed some string()/binary() issues in ejabberd_odbc
Matthias Rieber [Mon, 18 May 2015 10:14:56 +0000 (12:14 +0200)]
Fixed some string()/binary() issues in ejabberd_odbc

9 years agoRevert "Fix EJABBERD_OPTS quoting for Elixir"
Holger Weiss [Sun, 17 May 2015 22:48:56 +0000 (00:48 +0200)]
Revert "Fix EJABBERD_OPTS quoting for Elixir"

This reverts commit 2a15453d98425c72ae24e9da4d56ad295a57be1d.

The commit broke the case where 'log_rotate_date' is set to "$D0", for
example.

9 years agoMerge pull request #571 from sezuan/fix_export_term
Evgeny Khramtsov [Sun, 17 May 2015 19:44:14 +0000 (22:44 +0300)]
Merge pull request #571 from sezuan/fix_export_term

fixed erl_prettypr in encode_term

9 years agopg - added sm table
Matthias Rieber [Sun, 17 May 2015 15:45:49 +0000 (17:45 +0200)]
pg - added sm table

9 years agofixed erl_prettypr in encode_term
Matthias Rieber [Sun, 17 May 2015 17:15:52 +0000 (19:15 +0200)]
fixed erl_prettypr in encode_term

9 years agoNew command get_room_options (#567)
Badlop [Fri, 15 May 2015 15:47:10 +0000 (17:47 +0200)]
New command get_room_options (#567)

9 years agoFix indentation
Holger Weiss [Fri, 15 May 2015 13:50:43 +0000 (15:50 +0200)]
Fix indentation

9 years agoLoad config snippets for modules installed with ext_mod (EJAB-1741)
Paweł Chmielowski [Fri, 15 May 2015 10:30:15 +0000 (12:30 +0200)]
Load config snippets for modules installed with ext_mod (EJAB-1741)

9 years agoExport modules_dir/0
Paweł Chmielowski [Fri, 15 May 2015 10:27:59 +0000 (12:27 +0200)]
Export modules_dir/0

9 years agoCosmetic change: Simplify error checking
Holger Weiss [Wed, 13 May 2015 23:04:23 +0000 (01:04 +0200)]
Cosmetic change: Simplify error checking

Let send_stanza_and_ack_req/2 update the #state instead of propagating
the value returned by send_element/2.  This doesn't change the behavior.

9 years agoDon't assume send_element/2 returns ok or error
Holger Weiss [Wed, 13 May 2015 22:58:36 +0000 (00:58 +0200)]
Don't assume send_element/2 returns ok or error

Let send_text/2 and (therefore) send_element/2 return {error, Reason}
instead of error for consistency, and let send_stanza_and_ack_req/2
interpret any non-ok value as an error.  (EJAB-1739)

9 years agoAllow run joincluster as non root when ejabberd installed as root (#497)
Christophe Romain [Wed, 13 May 2015 13:54:28 +0000 (15:54 +0200)]
Allow run joincluster as non root when ejabberd installed as root (#497)

9 years agoMerge pull request #503 from weiss/fix-quoting-for-elixir
Christophe Romain [Wed, 13 May 2015 13:46:40 +0000 (15:46 +0200)]
Merge pull request #503 from weiss/fix-quoting-for-elixir

Fix EJABBERD_OPTS quoting for Elixir

9 years agoFix setting 'description' with change_room_option command (#567)
Badlop [Tue, 12 May 2015 15:37:39 +0000 (17:37 +0200)]
Fix setting 'description' with change_room_option command (#567)

9 years agoMerge pull request #560 from benlangfeld/feature/dev-vm
Mickaël Rémond [Tue, 12 May 2015 07:52:12 +0000 (09:52 +0200)]
Merge pull request #560 from benlangfeld/feature/dev-vm

Point out availability of development environment

9 years agoNew max_users_presence mod_muc option (thanks to anhcoi123)(#562)
Badlop [Fri, 8 May 2015 11:09:13 +0000 (13:09 +0200)]
New max_users_presence mod_muc option (thanks to anhcoi123)(#562)

9 years agoFix check_password_hash argument parsing (#559)
Badlop [Fri, 8 May 2015 10:04:04 +0000 (12:04 +0200)]
Fix check_password_hash argument parsing (#559)

9 years agoTry to support access_commands in YAML (ejabberd-contrib#45)
Badlop [Thu, 7 May 2015 16:34:05 +0000 (18:34 +0200)]
Try to support access_commands in YAML (ejabberd-contrib#45)

9 years agoRevert "Add private and roster local handlers (EJAB-682)" due to #556
Badlop [Thu, 7 May 2015 15:07:49 +0000 (17:07 +0200)]
Revert "Add private and roster local handlers (EJAB-682)" due to #556

This reverts commit 2e194bd997132f4fde5959b54e6bfe269d4de433.