]> granicus.if.org Git - ejabberd/log
ejabberd
8 years agoAdd Elixir Logger Backend to bridge logs from lager
Mickael Remond [Wed, 9 Mar 2016 18:12:56 +0000 (19:12 +0100)]
Add Elixir Logger Backend to bridge logs from lager

We will need to support loglevel bridging.
It should help with #966

8 years agoFix escaping of argument in iexlive and iexdebug
Paweł Chmielowski [Wed, 9 Mar 2016 13:25:57 +0000 (14:25 +0100)]
Fix escaping of argument in iexlive and iexdebug

8 years agoDefine mod_opt_type/1 callback
Evgeniy Khramtsov [Wed, 9 Mar 2016 08:19:15 +0000 (11:19 +0300)]
Define mod_opt_type/1 callback

8 years agoUnregister hooks and iq handlers on terminate
Evgeniy Khramtsov [Wed, 9 Mar 2016 08:14:45 +0000 (11:14 +0300)]
Unregister hooks and iq handlers on terminate

8 years agomod_http_upload: Add XEP-0363 v0.2 support
Holger Weiss [Tue, 8 Mar 2016 23:27:06 +0000 (00:27 +0100)]
mod_http_upload: Add XEP-0363 v0.2 support

Include the maximum file size in the service discovery information, as
specified by XEP-0363, version 0.2.

8 years agoExperimental MIX (XEP-0369) support
Evgeniy Khramtsov [Tue, 8 Mar 2016 17:04:29 +0000 (20:04 +0300)]
Experimental MIX (XEP-0369) support

8 years agoMerge pull request #989 from galambalazs/patch-1
badlop [Mon, 7 Mar 2016 18:06:59 +0000 (19:06 +0100)]
Merge pull request #989 from galambalazs/patch-1

fix syntax highlighting by keeping "~s" together

8 years agoMerge pull request #988 from tnull/edoc_fix
badlop [Mon, 7 Mar 2016 17:44:05 +0000 (18:44 +0100)]
Merge pull request #988 from tnull/edoc_fix

Fixed type specifications for 'rebar doc'

8 years agoFix format_result also in xmlrpc, after aa5caa3 (#982)
Badlop [Mon, 7 Mar 2016 16:34:08 +0000 (17:34 +0100)]
Fix format_result also in xmlrpc, after aa5caa3 (#982)

8 years agofix syntax highlighting by keeping "~s" together
Balázs Galambosi [Mon, 7 Mar 2016 15:06:18 +0000 (16:06 +0100)]
fix syntax highlighting by keeping "~s" together

8 years agoFixed type specifications for 'rebar doc'
Elias Rohrer [Mon, 7 Mar 2016 13:47:42 +0000 (14:47 +0100)]
Fixed type specifications for 'rebar doc'

- Fixed type @specs and -specs to remove 'rebar doc' errors
- Removed a lot of wrong and deprecated documentation in ejabberd_piefxis.erl

8 years agoDefine opt_type required be ejabberd_config behaviour.
Paweł Chmielowski [Fri, 4 Mar 2016 10:45:18 +0000 (11:45 +0100)]
Define opt_type required be ejabberd_config behaviour.

8 years agoCompile ejabberd_config early to stop undefined behaviour warnings
Paweł Chmielowski [Fri, 4 Mar 2016 10:32:23 +0000 (11:32 +0100)]
Compile ejabberd_config early to stop undefined behaviour warnings

8 years agoMark get_queue_length obsolete, and use count_offline_messages (#970)
Badlop [Fri, 4 Mar 2016 10:09:14 +0000 (11:09 +0100)]
Mark get_queue_length obsolete, and use count_offline_messages (#970)

8 years agoext_mod: switch to fast_xml and remove old p1_logger reference
Christophe Romain [Thu, 3 Mar 2016 14:46:15 +0000 (15:46 +0100)]
ext_mod: switch to fast_xml and remove old p1_logger reference

8 years agoFix pubsub disco after host/serverhost cleanup
Christophe Romain [Thu, 3 Mar 2016 13:43:56 +0000 (14:43 +0100)]
Fix pubsub disco after host/serverhost cleanup

8 years agoEnable flexible offline on disco#info as well
Evgeniy Khramtsov [Thu, 3 Mar 2016 11:10:06 +0000 (14:10 +0300)]
Enable flexible offline on disco#info as well

8 years agoUse Elixir v1.2.3
Christophe Romain [Thu, 3 Mar 2016 09:36:13 +0000 (10:36 +0100)]
Use Elixir v1.2.3

8 years agoMinor format cleanup
Christophe Romain [Thu, 3 Mar 2016 09:34:45 +0000 (10:34 +0100)]
Minor format cleanup

8 years agoUse upcoming version of ejabberd with Elixir 1.2
Mickael Remond [Wed, 2 Mar 2016 12:35:35 +0000 (13:35 +0100)]
Use upcoming version of ejabberd with Elixir 1.2

8 years agoMissed a few calls in previous commits
Alexey Shchepin [Tue, 1 Mar 2016 23:00:02 +0000 (02:00 +0300)]
Missed a few calls in previous commits

8 years agoRaise an error when there are no fields to set in ?SQL_UPSERT
Alexey Shchepin [Mon, 29 Feb 2016 13:56:25 +0000 (16:56 +0300)]
Raise an error when there are no fields to set in ?SQL_UPSERT

8 years agoUpdate more SQL queries
Alexey Shchepin [Fri, 26 Feb 2016 12:45:28 +0000 (15:45 +0300)]
Update more SQL queries

8 years agoUpdate more SQL queries
Alexey Shchepin [Thu, 25 Feb 2016 17:31:58 +0000 (20:31 +0300)]
Update more SQL queries

8 years agoUpdate p1_pgsql tag
Alexey Shchepin [Tue, 23 Feb 2016 14:27:30 +0000 (17:27 +0300)]
Update p1_pgsql tag

8 years agoUpdate more SQL queries
Alexey Shchepin [Mon, 22 Feb 2016 23:56:43 +0000 (02:56 +0300)]
Update more SQL queries

8 years agoUpdate mod_last SQL queries to the new API
Alexey Shchepin [Thu, 18 Feb 2016 15:49:14 +0000 (18:49 +0300)]
Update mod_last SQL queries to the new API

8 years agoNew parse transform for ?SQL_UPSERT and ?SQL_UPSERT_T
Alexey Shchepin [Thu, 18 Feb 2016 14:38:25 +0000 (17:38 +0300)]
New parse transform for ?SQL_UPSERT and ?SQL_UPSERT_T

8 years agoUpdate mod_roster and ejabberd_auth_odbc SQL queries to the new API
Alexey Shchepin [Mon, 15 Feb 2016 18:02:22 +0000 (21:02 +0300)]
Update mod_roster and ejabberd_auth_odbc SQL queries to the new API

8 years agoAllow balanced expressions inside @(...) in ejabberd_sql_pt
Alexey Shchepin [Fri, 12 Feb 2016 13:26:51 +0000 (16:26 +0300)]
Allow balanced expressions inside @(...) in ejabberd_sql_pt

8 years agoUpdated some mod_offline SQL queries to the new API
Alexey Shchepin [Fri, 12 Feb 2016 13:25:09 +0000 (16:25 +0300)]
Updated some mod_offline SQL queries to the new API

8 years agoUse 'any' to match any DBMS in sql_query
Alexey Shchepin [Thu, 11 Feb 2016 17:05:00 +0000 (20:05 +0300)]
Use 'any' to match any DBMS in sql_query

8 years agoBetter error handling in ejabberd_sql_pt
Alexey Shchepin [Thu, 11 Feb 2016 17:01:32 +0000 (20:01 +0300)]
Better error handling in ejabberd_sql_pt

8 years agoSupport for run-time SQL queries selection depending on DBMS version
Alexey Shchepin [Thu, 11 Feb 2016 17:00:00 +0000 (20:00 +0300)]
Support for run-time SQL queries selection depending on DBMS version

8 years agoNew parse transform for SQL queries, use prepare/execute calls with Postgres
Alexey Shchepin [Tue, 9 Feb 2016 16:23:15 +0000 (19:23 +0300)]
New parse transform for SQL queries, use prepare/execute calls with Postgres

8 years agoUpdate ejabberd version for hex.pm release
Mickael Remond [Mon, 29 Feb 2016 16:51:06 +0000 (17:51 +0100)]
Update ejabberd version for hex.pm release

8 years agoDisable back undefined_function_calls xref check
Paweł Chmielowski [Mon, 29 Feb 2016 13:56:28 +0000 (14:56 +0100)]
Disable back undefined_function_calls xref check

8 years agoDo not call to deprected/undefined functions from mod_shared_roster_ldap 16.02
Evgeniy Khramtsov [Mon, 29 Feb 2016 13:35:45 +0000 (16:35 +0300)]
Do not call to deprected/undefined functions from mod_shared_roster_ldap

8 years agoEnable undefined_function_calls xref option
Paweł Chmielowski [Mon, 29 Feb 2016 12:51:59 +0000 (13:51 +0100)]
Enable undefined_function_calls xref option

8 years agomod_register_web: Choose the right error messages
Holger Weiss [Sun, 28 Feb 2016 23:39:57 +0000 (00:39 +0100)]
mod_register_web: Choose the right error messages

8 years agoImprove LDAP shared roster support (EJAB-1480)
Evgeniy Khramtsov [Fri, 26 Feb 2016 14:27:12 +0000 (17:27 +0300)]
Improve LDAP shared roster support (EJAB-1480)

8 years agoImplementation of pubsub#itemreply (EJAB-1347)(#928)
Christophe Romain [Fri, 26 Feb 2016 09:32:03 +0000 (10:32 +0100)]
Implementation of pubsub#itemreply (EJAB-1347)(#928)

8 years agoFix host/serverhost usage (#902)
Christophe Romain [Fri, 26 Feb 2016 08:33:07 +0000 (09:33 +0100)]
Fix host/serverhost usage (#902)

8 years agoFix for #935
Marek Foss [Thu, 25 Feb 2016 17:56:43 +0000 (18:56 +0100)]
Fix for #935

8 years agoAdd extra items to .gitignore
Paweł Chmielowski [Fri, 29 Jan 2016 10:22:20 +0000 (11:22 +0100)]
Add extra items to .gitignore

8 years agoSplit long lines
Paweł Chmielowski [Thu, 25 Feb 2016 11:19:00 +0000 (12:19 +0100)]
Split long lines

8 years agoElixir want {src_dirs, ["include"]} on top of a config
Paweł Chmielowski [Thu, 25 Feb 2016 11:16:47 +0000 (12:16 +0100)]
Elixir want {src_dirs, ["include"]} on top of a config

8 years agoDon't include empty line after java example
Paweł Chmielowski [Thu, 18 Feb 2016 15:42:57 +0000 (16:42 +0100)]
Don't include empty line after java example

8 years agoUpdate translated files, as there wee many improvements
Badlop [Wed, 24 Feb 2016 11:34:53 +0000 (12:34 +0100)]
Update translated files, as there wee many improvements

8 years agoMake caps warning less confusing (#955)
Christophe Romain [Tue, 23 Feb 2016 13:14:24 +0000 (14:14 +0100)]
Make caps warning less confusing (#955)

8 years agomod_http_upload: Also expand @HOST@ in 'docroot'
Holger Weiss [Sat, 20 Feb 2016 19:13:30 +0000 (20:13 +0100)]
mod_http_upload: Also expand @HOST@ in 'docroot'

In some environments, it might be desirable to use separate document
roots for each virtual host.

8 years agomod_http_upload: Expand 'docroot' before using it
Holger Weiss [Sat, 20 Feb 2016 17:21:38 +0000 (18:21 +0100)]
mod_http_upload: Expand 'docroot' before using it

Expand the @HOME@ keyword within the 'docroot' value before setting the
permissions of the document root directory.

8 years agoMerge pull request #961 from weiss/compression-after-sasl
Alexey Shchepin [Fri, 19 Feb 2016 18:02:26 +0000 (21:02 +0300)]
Merge pull request #961 from weiss/compression-after-sasl

Accept stream compression request after SASL

8 years agoAccept stream compression request after SASL
Holger Weiss [Fri, 19 Feb 2016 17:53:28 +0000 (18:53 +0100)]
Accept stream compression request after SASL

This is an updated version of the patch submitted to EJAB-1382 by
Alexey (thanks!).

8 years agoAdd Redis backend to the test suite
Evgeniy Khramtsov [Fri, 19 Feb 2016 14:06:41 +0000 (17:06 +0300)]
Add Redis backend to the test suite

8 years agoMake it possible to define 'sm_db_type' per virtual host
Evgeniy Khramtsov [Fri, 19 Feb 2016 13:15:11 +0000 (16:15 +0300)]
Make it possible to define 'sm_db_type' per virtual host

8 years agoFix format_result so get_room_options command works again after aa5caa3
Badlop [Wed, 17 Feb 2016 19:43:35 +0000 (20:43 +0100)]
Fix format_result so get_room_options command works again after aa5caa3

8 years agoAnother fix for \n in ejabberdctl arguments
Paweł Chmielowski [Mon, 15 Feb 2016 14:21:20 +0000 (15:21 +0100)]
Another fix for \n in ejabberdctl arguments

8 years agoMerge pull request #953 from cdroege/fix_css
badlop [Mon, 15 Feb 2016 11:52:54 +0000 (12:52 +0100)]
Merge pull request #953 from cdroege/fix_css

Fix the color of links in tables in web admin

8 years agoAllow to pass \n in argument to ejabberdctl
Paweł Chmielowski [Fri, 12 Feb 2016 22:37:48 +0000 (23:37 +0100)]
Allow to pass \n in argument to ejabberdctl

8 years agoFix the color of links in tables in web admin
Christian Dröge [Fri, 12 Feb 2016 17:45:45 +0000 (18:45 +0100)]
Fix the color of links in tables in web admin

8 years agoMerge pull request #951 from rodrigues/master
badlop [Fri, 12 Feb 2016 12:16:46 +0000 (13:16 +0100)]
Merge pull request #951 from rodrigues/master

Update Portuguese (Brazil) translations

8 years agoUpdate Portuguese (Brazil) translations
Victor Rodrigues [Thu, 11 Feb 2016 22:11:16 +0000 (23:11 +0100)]
Update Portuguese (Brazil) translations

8 years agomod_muc_room: Let members see admin/owner JIDs
Holger Weiss [Thu, 11 Feb 2016 21:52:27 +0000 (22:52 +0100)]
mod_muc_room: Let members see admin/owner JIDs

Let members retrieve all affiliation lists in non-anonymous rooms, not
just the list of members.

8 years agomod_muc_room: Don't expose JIDs in anonymous rooms
Holger Weiss [Thu, 11 Feb 2016 21:24:14 +0000 (22:24 +0100)]
mod_muc_room: Don't expose JIDs in anonymous rooms

Don't let room members retrieve the member list unless the room is
non-anonymous.

8 years agoTravis CI: Make sure Riak finds callback module
Holger Weiss [Thu, 11 Feb 2016 20:53:36 +0000 (21:53 +0100)]
Travis CI: Make sure Riak finds callback module

Riak calls back into ejabberd_riak during MapReduce.

8 years agoGet rid of calls to jlib.erl from tests
Evgeniy Khramtsov [Thu, 11 Feb 2016 09:19:23 +0000 (12:19 +0300)]
Get rid of calls to jlib.erl from tests

8 years agoDo not forget sending initial presence in XEP-0013 test
Evgeniy Khramtsov [Thu, 11 Feb 2016 08:53:33 +0000 (11:53 +0300)]
Do not forget sending initial presence in XEP-0013 test

8 years agomod_mam: Send new preferences when they are set
Holger Weiss [Wed, 10 Feb 2016 22:06:31 +0000 (23:06 +0100)]
mod_mam: Send new preferences when they are set

If a client updates the archiving preferences, include the new
preferences with the IQ result (as mandated by XEP-0313).

8 years agoAdd tests for XEP-0013
Evgeniy Khramtsov [Wed, 10 Feb 2016 13:15:43 +0000 (16:15 +0300)]
Add tests for XEP-0013

8 years agoMention new XEP support
Badlop [Mon, 8 Feb 2016 20:35:46 +0000 (21:35 +0100)]
Mention new XEP support

8 years agoPrepare room JID in create_room command
Badlop [Mon, 8 Feb 2016 20:35:26 +0000 (21:35 +0100)]
Prepare room JID in create_room command

8 years agoFix example value for rescode return type
Paweł Chmielowski [Tue, 9 Feb 2016 15:44:57 +0000 (16:44 +0100)]
Fix example value for rescode return type

8 years agoMore documentation of arguments in mod_admin_extra
Paweł Chmielowski [Tue, 9 Feb 2016 15:33:19 +0000 (16:33 +0100)]
More documentation of arguments in mod_admin_extra

8 years agoXEP-0013: Flexible Offline Message Retrieval support
Evgeniy Khramtsov [Tue, 9 Feb 2016 14:59:54 +0000 (17:59 +0300)]
XEP-0013: Flexible Offline Message Retrieval support

8 years agoRemove remanants of pre-binary strings
Paweł Chmielowski [Tue, 9 Feb 2016 14:49:47 +0000 (15:49 +0100)]
Remove remanants of pre-binary strings

8 years agoUse muc_online_room record for pattern matching
Christophe Romain [Tue, 9 Feb 2016 14:33:00 +0000 (15:33 +0100)]
Use muc_online_room record for pattern matching

8 years agoBetter presentation of result description in docs
Paweł Chmielowski [Tue, 9 Feb 2016 12:18:01 +0000 (13:18 +0100)]
Better presentation of result description in docs

8 years agoStart documenting arguments in mod_admin_extra commands
Paweł Chmielowski [Tue, 9 Feb 2016 12:03:33 +0000 (13:03 +0100)]
Start documenting arguments in mod_admin_extra commands

8 years agoTypo in markdown generator
Paweł Chmielowski [Tue, 9 Feb 2016 12:03:04 +0000 (13:03 +0100)]
Typo in markdown generator

8 years agoAdd most status codes only to initial MUC presence
Holger Weiss [Mon, 8 Feb 2016 19:10:20 +0000 (20:10 +0100)]
Add most status codes only to initial MUC presence

8 years agoFix section links to the Guide in the WebAdmin
Badlop [Mon, 8 Feb 2016 15:16:53 +0000 (16:16 +0100)]
Fix section links to the Guide in the WebAdmin

8 years agoMerge pull request #944 from cdroege/configureable_host-mod_register_web
badlop [Mon, 8 Feb 2016 12:48:11 +0000 (13:48 +0100)]
Merge pull request #944 from cdroege/configureable_host-mod_register_web

Allow to modify host when deleting account or changing password over web

8 years agoMerge pull request #945 from nikolauspolak/master
badlop [Mon, 8 Feb 2016 12:41:48 +0000 (13:41 +0100)]
Merge pull request #945 from nikolauspolak/master

Update German translation

8 years agoMerge pull request #914 from weiss/mam-expose-jid
Evgeny Khramtsov [Mon, 8 Feb 2016 11:23:19 +0000 (14:23 +0300)]
Merge pull request #914 from weiss/mam-expose-jid

Expose occupant JID in MUC MAM messages whenever possible

8 years agoAdd link to ProcessOne site
Mickael Remond [Mon, 8 Feb 2016 10:50:04 +0000 (11:50 +0100)]
Add link to ProcessOne site

8 years agoLink to Hex.pm
Mickael Remond [Mon, 8 Feb 2016 10:34:52 +0000 (11:34 +0100)]
Link to Hex.pm

8 years agoPreparing to release beta package on hex.pm
Mickael Remond [Mon, 8 Feb 2016 09:54:05 +0000 (10:54 +0100)]
Preparing to release beta package on hex.pm

8 years agoRemove compile warnings
Mickael Remond [Mon, 8 Feb 2016 09:50:28 +0000 (10:50 +0100)]
Remove compile warnings

8 years agoOmit redundant check for overcrowded MUC room
Holger Weiss [Sun, 7 Feb 2016 23:46:33 +0000 (00:46 +0100)]
Omit redundant check for overcrowded MUC room

The send_update_presence/4 function already checked whether the room is
overcrowded before calling send_update_presence1/4, so there's no need
to have send_new_presence/4 perform the same check.

8 years agomod_mam: Don't let outcasts access MUC archive
Holger Weiss [Sun, 7 Feb 2016 23:16:02 +0000 (00:16 +0100)]
mod_mam: Don't let outcasts access MUC archive

XEP-0313 says: "A MUC archive MUST check that the user requesting the
archive has the right to enter it at the time of the query [...].  In
the case of open MUC rooms, the MUC archives can generally be accessed
by any users [...] who do not have an affiliation of 'outcast'".

8 years agoXEP-0198: Fix session timeout corner case
Holger Weiss [Sat, 6 Feb 2016 21:28:55 +0000 (22:28 +0100)]
XEP-0198: Fix session timeout corner case

If the "resend_on_timeout" option is set to 'if_offline' and a pending
stream management session is terminated because a new session is opened
by the same resource (while no other resource is online), resend
unacknowledged messages rather than bouncing error messages.

8 years agoUpdate German translation
Nikolaus Polak [Sat, 6 Feb 2016 08:25:39 +0000 (09:25 +0100)]
Update German translation

8 years agoRename option to regexp_room_id for consistency with other options (#905)
Badlop [Fri, 5 Feb 2016 11:08:40 +0000 (12:08 +0100)]
Rename option to regexp_room_id for consistency with other options (#905)

8 years agoadd room_id_regexp option
HAMANO Tsukasa [Thu, 14 Jan 2016 14:08:31 +0000 (23:08 +0900)]
add room_id_regexp option

8 years agoAllow to modify host when deleting account or changing password over web
Christian Dröge [Thu, 4 Feb 2016 20:31:16 +0000 (21:31 +0100)]
Allow to modify host when deleting account or changing password over web

8 years agoMake hibernate timeouts configurable
Pablo Polvorin [Thu, 4 Feb 2016 18:45:29 +0000 (15:45 -0300)]
Make hibernate timeouts configurable

Two *global* options added:
c2s_hibernate and receiver_hibernate.

Default if not specified is 90000, the previous hardcoded value.

8 years agoMerge pull request #943 from processone/deps-cleanup
Mickaël Rémond [Thu, 4 Feb 2016 14:48:56 +0000 (15:48 +0100)]
Merge pull request #943 from processone/deps-cleanup

Dependencies rework

8 years agoConvert tests to Fast XML
Mickael Remond [Wed, 3 Feb 2016 18:22:59 +0000 (19:22 +0100)]
Convert tests to Fast XML

8 years agoSwitch to Fast XML module
Mickael Remond [Wed, 3 Feb 2016 18:03:17 +0000 (19:03 +0100)]
Switch to Fast XML module