]> granicus.if.org Git - ejabberd/log
ejabberd
9 years agoUpdate 'rsm_in' record element types
Holger Weiss [Tue, 17 Mar 2015 23:28:10 +0000 (00:28 +0100)]
Update 'rsm_in' record element types

The jlib:rsm_decode/1 function sets the 'max' and/or 'index' elements of
the returned 'rsm_in' record to 'error' if the parsed strings cannot be
converted to integer values.

9 years agoAdd missing list_to_binary call
Christophe Romain [Fri, 13 Mar 2015 16:59:19 +0000 (17:59 +0100)]
Add missing list_to_binary call

9 years agoAdd contributed modules code path on start
Christophe Romain [Fri, 13 Mar 2015 11:20:25 +0000 (12:20 +0100)]
Add contributed modules code path on start

9 years agoRename module function to keep them grouped on help
Christophe Romain [Fri, 13 Mar 2015 10:54:32 +0000 (11:54 +0100)]
Rename module function to keep them grouped on help

9 years agoMerge pull request #473 from weiss/escape-space-in-options
Christophe Romain [Fri, 13 Mar 2015 10:41:26 +0000 (11:41 +0100)]
Merge pull request #473 from weiss/escape-space-in-options

ejabberdctl: Escape whitespace in ERL_OPTIONS

9 years agoejabberdctl: Escape whitespace in ERL_OPTIONS
Holger Weiss [Fri, 13 Mar 2015 10:40:23 +0000 (11:40 +0100)]
ejabberdctl: Escape whitespace in ERL_OPTIONS

If ERL_OPTIONS="-opt arg" is specified, make sure the space character
between "-opt" and "arg" is retained.

Fixes #143.

9 years agoImprove module structure
Evgeniy Khramtsov [Fri, 13 Mar 2015 10:05:16 +0000 (13:05 +0300)]
Improve module structure

9 years agoDo not fail on badly formed SQL results
Evgeniy Khramtsov [Sat, 9 Nov 2013 14:56:28 +0000 (00:56 +1000)]
Do not fail on badly formed SQL results

9 years agoFix unblock all when Riak is used as a backend
Evgeniy Khramtsov [Fri, 13 Mar 2015 09:47:08 +0000 (12:47 +0300)]
Fix unblock all when Riak is used as a backend

9 years agoExtra arguments to cluster scripts are not mandatory
Christophe Romain [Fri, 13 Mar 2015 08:56:51 +0000 (09:56 +0100)]
Extra arguments to cluster scripts are not mandatory

9 years agoRemove trailing space to get correct arguments
Christophe Romain [Fri, 13 Mar 2015 08:47:12 +0000 (09:47 +0100)]
Remove trailing space to get correct arguments

This allows to remove any argument to joincluster/leavecluster scripts
when no parameters has been added after the ctl command.

9 years agoejabberdctl: Escape whitespace in ERL_OPTIONS
Holger Weiss [Fri, 13 Mar 2015 08:27:55 +0000 (09:27 +0100)]
ejabberdctl: Escape whitespace in ERL_OPTIONS

If ERL_OPTIONS="-opt arg" is specified, make sure the space character
between "-opt" and "arg" is retained.

Fixes #143.

9 years agoReplace bashism in ejabberdctl
Holger Weiss [Thu, 12 Mar 2015 18:29:41 +0000 (19:29 +0100)]
Replace bashism in ejabberdctl

9 years agoUpdate sockmod() type after adding websocket support
Paweł Chmielowski [Thu, 12 Mar 2015 12:14:30 +0000 (13:14 +0100)]
Update sockmod() type after adding websocket support

9 years agoRemove unused clause
Christophe Romain [Thu, 12 Mar 2015 12:15:07 +0000 (13:15 +0100)]
Remove unused clause

9 years agoUpdate types to fix dialyzer warnings
Paweł Chmielowski [Thu, 12 Mar 2015 09:34:23 +0000 (10:34 +0100)]
Update types to fix dialyzer warnings

9 years agomod_offline: Remove a few superfluous newlines
Holger Weiss [Wed, 11 Mar 2015 19:38:22 +0000 (20:38 +0100)]
mod_offline: Remove a few superfluous newlines

9 years agoDon't crash in mod_offline:export/1
Holger Weiss [Wed, 11 Mar 2015 19:35:08 +0000 (20:35 +0100)]
Don't crash in mod_offline:export/1

(Thanks to Christophe Romain.)

9 years agostart ext_mod in later stage at init
Christophe Romain [Wed, 11 Mar 2015 16:39:07 +0000 (17:39 +0100)]
start ext_mod in later stage at init

9 years agoRemove unused code
Christophe Romain [Wed, 11 Mar 2015 16:15:42 +0000 (17:15 +0100)]
Remove unused code

9 years agoCompile contributed module with lager if enabled in ejabberd
Christophe Romain [Wed, 11 Mar 2015 13:35:01 +0000 (14:35 +0100)]
Compile contributed module with lager if enabled in ejabberd

9 years agoAdd packaging support for contributed modules
Christophe Romain [Wed, 11 Mar 2015 13:14:28 +0000 (14:14 +0100)]
Add packaging support for contributed modules

This is a preliminary version that is tested to work with the packaging
branch of ejabberd-modules repository

This version lacks automatic configuration include at runtime

9 years agoAdd Redis backend for SM
Evgeniy Khramtsov [Wed, 11 Mar 2015 11:46:57 +0000 (14:46 +0300)]
Add Redis backend for SM

9 years agoAlways specify room JID for MUC <delay/> elements
Holger Weiss [Mon, 9 Mar 2015 23:02:32 +0000 (00:02 +0100)]
Always specify room JID for MUC <delay/> elements

As per version 1.25 of XEP-0045, use the room JID as the 'from' address
for <delay/> elements also when the room is non-anonymous, and specify
the original JID of the sender as an XEP-0033-style tag instead.

Closes #465.

9 years agoMerge pull request #467 from hamano/mod_offline_restart
badlop [Mon, 9 Mar 2015 18:26:19 +0000 (19:26 +0100)]
Merge pull request #467 from hamano/mod_offline_restart

change mod_offline restart type

9 years agoFix R15B compilation
Evgeniy Khramtsov [Mon, 9 Mar 2015 14:50:14 +0000 (17:50 +0300)]
Fix R15B compilation

9 years agoMake it possible to use SQL as an SM backend
Evgeniy Khramtsov [Mon, 9 Mar 2015 13:41:13 +0000 (16:41 +0300)]
Make it possible to use SQL as an SM backend

9 years agoAdd forgotten header file
Evgeniy Khramtsov [Mon, 9 Mar 2015 13:39:29 +0000 (16:39 +0300)]
Add forgotten header file

9 years agoSeparate db backend from the SM
Evgeniy Khramtsov [Mon, 9 Mar 2015 11:57:33 +0000 (14:57 +0300)]
Separate db backend from the SM

9 years agochange mod_offline restart type
HAMANO Tsukasa [Mon, 9 Mar 2015 11:28:55 +0000 (20:28 +0900)]
change mod_offline restart type

9 years agoMerge pull request #466 from mremond/hooks_refactor
Mickaël Rémond [Mon, 9 Mar 2015 08:34:54 +0000 (09:34 +0100)]
Merge pull request #466 from mremond/hooks_refactor

Hooks module refactor

9 years agoReorganize / clean ejabberd_hooks header
Mickaël Rémond [Sun, 8 Mar 2015 18:03:02 +0000 (19:03 +0100)]
Reorganize / clean ejabberd_hooks header

9 years agoMore ejabberd_hooks refactor
Mickaël Rémond [Sun, 8 Mar 2015 17:44:43 +0000 (18:44 +0100)]
More ejabberd_hooks refactor

9 years agoejabberd_hooks refactor and better types
Mickaël Rémond [Sun, 8 Mar 2015 17:23:22 +0000 (18:23 +0100)]
ejabberd_hooks refactor and better types

9 years agoSuppress warnings in Elixir test
Mickaël Rémond [Sun, 8 Mar 2015 17:22:14 +0000 (18:22 +0100)]
Suppress warnings in Elixir test

9 years agoAdd Elixir test on ejabberd hooks
Mickaël Rémond [Sun, 8 Mar 2015 16:06:43 +0000 (17:06 +0100)]
Add Elixir test on ejabberd hooks

This is to prepare ejabberd_hooks module refactoring.

I also expanded API to help with testing.

9 years agoMerge pull request #462 from mremond/add-meck-tool-dependancy
Mickaël Rémond [Sat, 7 Mar 2015 11:53:47 +0000 (12:53 +0100)]
Merge pull request #462 from mremond/add-meck-tool-dependancy

Add Meck dependency when building for development

9 years agoAdd Meck dependency when building for development
Mickaël Rémond [Sat, 7 Mar 2015 11:44:17 +0000 (12:44 +0100)]
Add Meck dependency when building for development

This allows writing tests with mock functions.

Fixes #439

9 years agoMerge pull request #461 from mremond/fix-r16-tests
Mickaël Rémond [Sat, 7 Mar 2015 11:41:59 +0000 (12:41 +0100)]
Merge pull request #461 from mremond/fix-r16-tests

Test file can be compiled under R16

9 years agoTest file can be compiled under R16
Mickaël Rémond [Sat, 7 Mar 2015 11:31:11 +0000 (12:31 +0100)]
Test file can be compiled under R16

Fixes test failing under R16 due to elixir_suite build syntax error.

The test will never be run under r16 as Elixir requires r17 and map
anyway.

9 years agoMerge pull request #460 from mremond/run-elixir-test
Mickaël Rémond [Sat, 7 Mar 2015 10:59:44 +0000 (11:59 +0100)]
Merge pull request #460 from mremond/run-elixir-test

Fix Elixir tests failure detection

9 years agoFix Elixir tests failure detection
Mickaël Rémond [Sat, 7 Mar 2015 10:49:37 +0000 (11:49 +0100)]
Fix Elixir tests failure detection

We now make sure we have no failure.
Solves #438

9 years agoadd mnesia cluster helper scripts
Christophe Romain [Fri, 6 Mar 2015 14:40:09 +0000 (15:40 +0100)]
add mnesia cluster helper scripts

9 years agoFix: default_host is forgotten between consecutive HTTP requests (#416)
Badlop [Fri, 6 Mar 2015 11:40:48 +0000 (12:40 +0100)]
Fix: default_host is forgotten between consecutive HTTP requests (#416)

9 years agoAccess list editing broken in web_admin (#252)
Badlop [Thu, 5 Mar 2015 10:34:25 +0000 (11:34 +0100)]
Access list editing broken in web_admin (#252)

9 years agoAccept configuration file with .yaml extension (#290)
Badlop [Wed, 4 Mar 2015 16:18:57 +0000 (17:18 +0100)]
Accept configuration file with .yaml extension (#290)

9 years agoMerge branch 'master' of github.com:processone/ejabberd
Mickaël Rémond [Tue, 3 Mar 2015 21:20:08 +0000 (22:20 +0100)]
Merge branch 'master' of github.com:processone/ejabberd

9 years agoFix typo on state reuse
Mickaël Rémond [Tue, 3 Mar 2015 21:19:51 +0000 (22:19 +0100)]
Fix typo on state reuse

It should help with the crash on #453

9 years agoMerge pull request #441 from mremond/test/#438/run-elixir-tests
Mickaël Rémond [Tue, 3 Mar 2015 21:15:24 +0000 (22:15 +0100)]
Merge pull request #441 from mremond/test/#438/run-elixir-tests

Support for running Elixir ExUnit tests from Common Test

9 years agoFix IPv6 loopback address in the guide
Holger Weiss [Tue, 3 Mar 2015 20:23:11 +0000 (21:23 +0100)]
Fix IPv6 loopback address in the guide

Thanks to Erik Huelsmann for spotting this.

9 years agoMerge pull request #448 from hamano/ja
badlop [Mon, 2 Mar 2015 10:09:06 +0000 (11:09 +0100)]
Merge pull request #448 from hamano/ja

update japanese translation.

9 years agoMerge pull request #384 from weiss/fix-last-item-type
Christophe Romain [Fri, 27 Feb 2015 10:40:12 +0000 (11:40 +0100)]
Merge pull request #384 from weiss/fix-last-item-type

Use correct message type when sending last published PEP/PubSub items

9 years agoadditional japanese translation.
HAMANO Tsukasa [Fri, 27 Feb 2015 10:21:47 +0000 (19:21 +0900)]
additional japanese translation.

9 years agoUpdate Spanish translation
Badlop [Thu, 26 Feb 2015 16:57:51 +0000 (17:57 +0100)]
Update Spanish translation

9 years agoRun "make translations" to update PO and MSG files
Badlop [Thu, 26 Feb 2015 16:16:27 +0000 (17:16 +0100)]
Run "make translations" to update PO and MSG files

9 years agoMerge pull request #445 from hamano/ja
badlop [Thu, 26 Feb 2015 16:13:35 +0000 (17:13 +0100)]
Merge pull request #445 from hamano/ja

improve japanese translation

9 years agoimprove japanese translation
HAMANO Tsukasa [Thu, 26 Feb 2015 14:42:52 +0000 (23:42 +0900)]
improve japanese translation

9 years agoUpdate remanining old RFC links (EJAB-1728)(#444)
Badlop [Thu, 26 Feb 2015 11:18:51 +0000 (12:18 +0100)]
Update remanining old RFC links (EJAB-1728)(#444)

9 years agoMerge pull request #443 from mojolingo/feature/muc_admin/affiliation-change-propogate...
badlop [Thu, 26 Feb 2015 10:48:17 +0000 (11:48 +0100)]
Merge pull request #443 from mojolingo/feature/muc_admin/affiliation-change-propogate-xmpp

Permit modifying affiliations via an event

9 years agoset-dep-versions: Cope with branches
Holger Weiss [Wed, 25 Feb 2015 23:02:11 +0000 (00:02 +0100)]
set-dep-versions: Cope with branches

Handle the case where a branch name is specified for a rebar dependency,
as we now do for Elixir.

9 years agoPermit modifying affiliations via an event
Ben Langfeld [Wed, 25 Feb 2015 15:31:27 +0000 (12:31 -0300)]
Permit modifying affiliations via an event

Allows us to implement mod_muc_admin:set_room_addiliation properly

9 years agoUpdate FSF address
Badlop [Wed, 25 Feb 2015 14:19:33 +0000 (15:19 +0100)]
Update FSF address

9 years agoFix processing POST messages after changes from adding websocket handling
Paweł Chmielowski [Wed, 25 Feb 2015 13:36:48 +0000 (14:36 +0100)]
Fix processing POST messages after changes from adding websocket handling

9 years agoTry not to use c2s:send_text, it causes problem with websocket
Paweł Chmielowski [Wed, 25 Feb 2015 09:46:03 +0000 (10:46 +0100)]
Try not to use c2s:send_text, it causes problem with websocket

9 years agoAdd support for websocket connections
Paweł Chmielowski [Wed, 25 Feb 2015 09:42:59 +0000 (10:42 +0100)]
Add support for websocket connections

9 years agoMerge pull request #442 from weiss/use-stable-elixir
Mickaël Rémond [Tue, 24 Feb 2015 11:46:56 +0000 (12:46 +0100)]
Merge pull request #442 from weiss/use-stable-elixir

Use Elixir's 'v1.0' branch

9 years agoUse Elixir's 'v1.0' branch
Holger Weiss [Tue, 24 Feb 2015 11:12:22 +0000 (12:12 +0100)]
Use Elixir's 'v1.0' branch

The stable Elixir releases are currently built from the 'v1.0' branch,
so let's use that.

9 years agoMerge branch 'master' of github.com:processone/ejabberd
Christophe Romain [Mon, 23 Feb 2015 14:52:23 +0000 (15:52 +0100)]
Merge branch 'master' of github.com:processone/ejabberd

9 years agoAdd script for systemd (Guthub #434)
Christophe Romain [Mon, 23 Feb 2015 14:52:18 +0000 (15:52 +0100)]
Add script for systemd (Guthub #434)

9 years agoIncrease common test timeout
Mickaël Rémond [Mon, 23 Feb 2015 10:03:15 +0000 (11:03 +0100)]
Increase common test timeout

This is needed to cope with long launch time on small / slow VM.
Fixes #440

9 years agoAdd compatibility macros for deprecated types (thanks to Alexey)
Christophe Romain [Wed, 11 Feb 2015 11:08:16 +0000 (12:08 +0100)]
Add compatibility macros for deprecated types (thanks to Alexey)

9 years agoImprove comments for running Elixir tests
Mickaël Rémond [Sun, 22 Feb 2015 16:45:25 +0000 (17:45 +0100)]
Improve comments for running Elixir tests

9 years agoSupport for running Elixir ExUnit tests from Common Test
Mickaël Rémond [Sun, 22 Feb 2015 16:41:17 +0000 (17:41 +0100)]
Support for running Elixir ExUnit tests from Common Test

9 years agoUpdate links
Mickaël Rémond [Thu, 19 Feb 2015 11:17:39 +0000 (12:17 +0100)]
Update links

9 years agoDisplay build status
Mickaël Rémond [Thu, 19 Feb 2015 11:10:25 +0000 (12:10 +0100)]
Display build status

9 years agoUpdate mod_vcard_ldap Guide documentation from Erlang to YAML format (Github #274...
Badlop [Tue, 17 Feb 2015 12:40:37 +0000 (13:40 +0100)]
Update mod_vcard_ldap Guide documentation from Erlang to YAML format (Github #274 #394)

9 years agomod_carboncopy: Apply small code simplification 15.02
Holger Weiss [Wed, 11 Feb 2015 23:14:57 +0000 (00:14 +0100)]
mod_carboncopy: Apply small code simplification

9 years agoCheck availability before carbon copying
Holger Weiss [Wed, 11 Feb 2015 15:12:08 +0000 (16:12 +0100)]
Check availability before carbon copying

Before generating a carbon copy for a resource, make sure it's actually
available.  This handles the case where, for some reason, the
'unset_presence_hook' wasn't called during logout of a resource.  Carbon
copies sent to that resource would otherwise be re-routed to another
resource (which might've received a copy of that message already).

9 years agoDon't crash if 'request_path' has unexpected type
Holger Weiss [Wed, 11 Feb 2015 14:38:55 +0000 (15:38 +0100)]
Don't crash if 'request_path' has unexpected type

9 years agoFix incorrect Elixir name
Mickaël Rémond [Wed, 11 Feb 2015 09:19:40 +0000 (10:19 +0100)]
Fix incorrect Elixir name

9 years agoRemove unused function clause in mod_carboncopy
Holger Weiss [Tue, 10 Feb 2015 23:52:47 +0000 (00:52 +0100)]
Remove unused function clause in mod_carboncopy

9 years agoFix "make install" without Elixir support
Holger Weiss [Tue, 10 Feb 2015 23:23:40 +0000 (00:23 +0100)]
Fix "make install" without Elixir support

Don't bail out during "make install" when ./configure was called without
"--enable-elixir".

9 years agoDisable elixir support in travis tests
Paweł Chmielowski [Tue, 10 Feb 2015 17:22:54 +0000 (18:22 +0100)]
Disable elixir support in travis tests

9 years agoMerge pull request #429 from mremond/master
Mickaël Rémond [Tue, 10 Feb 2015 17:10:27 +0000 (18:10 +0100)]
Merge pull request #429 from mremond/master

Add Elixir support to ejabberd

9 years agoAdd Elixir support to ejabberd
Mickaël Rémond [Thu, 29 Jan 2015 17:43:47 +0000 (18:43 +0100)]
Add Elixir support to ejabberd

9 years agoDocument EJABBERD_CONFIG_PATH in ejabberdctl.cfg
Holger Weiss [Mon, 9 Feb 2015 23:15:06 +0000 (00:15 +0100)]
Document EJABBERD_CONFIG_PATH in ejabberdctl.cfg

9 years agoREADME: Mention commands in the right order
Holger Weiss [Mon, 9 Feb 2015 13:57:23 +0000 (14:57 +0100)]
README: Mention commands in the right order

9 years agoREADME: Mention how to create "configure" script
Holger Weiss [Mon, 9 Feb 2015 13:31:59 +0000 (14:31 +0100)]
README: Mention how to create "configure" script

9 years agoDon't convert configuration values to strings
Holger Weiss [Mon, 9 Feb 2015 00:08:01 +0000 (01:08 +0100)]
Don't convert configuration values to strings

9 years agoFix typo in debug message
Holger Weiss [Sun, 8 Feb 2015 22:49:17 +0000 (23:49 +0100)]
Fix typo in debug message

10 years agoList all available commands in the guide (EJAB-1735)
Badlop [Wed, 28 Jan 2015 16:54:05 +0000 (17:54 +0100)]
List all available commands in the guide (EJAB-1735)

10 years agoSupport for "> ." in YAML configuration files
Badlop [Wed, 28 Jan 2015 16:16:10 +0000 (17:16 +0100)]
Support for "> ." in YAML configuration files

10 years agoMerge pull request #414 from weiss/fix-function-specs
Evgeny Khramtsov [Fri, 23 Jan 2015 13:44:48 +0000 (16:44 +0300)]
Merge pull request #414 from weiss/fix-function-specs

Fix a few jlib function specifications

10 years agoFix a few function specifications
Holger Weiss [Thu, 22 Jan 2015 23:42:18 +0000 (00:42 +0100)]
Fix a few function specifications

10 years agoFix integer parameter which can be set to 0
Christophe Romain [Thu, 22 Jan 2015 11:40:27 +0000 (12:40 +0100)]
Fix integer parameter which can be set to 0

10 years agoMerge pull request #413 from weiss/fix-timestamp-overflow
Evgeny Khramtsov [Thu, 22 Jan 2015 08:00:41 +0000 (11:00 +0300)]
Merge pull request #413 from weiss/fix-timestamp-overflow

Fix timestamp formatting

10 years agoNew command to reload config (EJAB-1140)
Badlop [Wed, 21 Jan 2015 14:18:46 +0000 (15:18 +0100)]
New command to reload config (EJAB-1140)

10 years agoFix missing copyright dates to 2015 (EJAB-1733)
Christophe Romain [Wed, 21 Jan 2015 13:52:37 +0000 (14:52 +0100)]
Fix missing copyright dates to 2015 (EJAB-1733)

10 years agoIncrement number of seconds on timestamp overflow
Holger Weiss [Wed, 21 Jan 2015 10:20:26 +0000 (11:20 +0100)]
Increment number of seconds on timestamp overflow

Increment the number of seconds and set the fractional part to zero if
the latter is too large.

10 years agoDon't match integer() against float() value
Holger Weiss [Wed, 21 Jan 2015 10:06:06 +0000 (11:06 +0100)]
Don't match integer() against float() value