]> granicus.if.org Git - ejabberd/log
ejabberd
9 years agoLog failed SQL requests
Evgeniy Khramtsov [Wed, 13 Jan 2016 09:59:00 +0000 (12:59 +0300)]
Log failed SQL requests

9 years agoFix MAM MUC for v0.4.1
Evgeniy Khramtsov [Wed, 13 Jan 2016 08:45:08 +0000 (11:45 +0300)]
Fix MAM MUC for v0.4.1

9 years agoMerge pull request #900 from weiss/suppress-groupchat-error 16.01
Evgeny Khramtsov [Tue, 12 Jan 2016 11:07:58 +0000 (14:07 +0300)]
Merge pull request #900 from weiss/suppress-groupchat-error

Don't return error for blocked headlines and MUC messages

9 years agoDon't return error for blocked MUC messages
Holger Weiß [Tue, 12 Jan 2016 09:20:35 +0000 (10:20 +0100)]
Don't return error for blocked MUC messages

If a message stanza is blocked as per XEP-0016 or XEP-0191, return an
error only if the type of the blocked message is "normal" or "chat".
This makes sure users won't be kicked from MUC rooms when blocking other
participants.

Closes #897.

9 years agoMerge remote-tracking branch 'processone/pr/899'
Holger Weiss [Mon, 11 Jan 2016 11:38:51 +0000 (12:38 +0100)]
Merge remote-tracking branch 'processone/pr/899'

* processone/pr/899:
  mod_http_upload: Use application/octet-stream instead of text/html for security reasons

9 years agoDo not fail on incorrect data coming from SQL (898)
Evgeniy Khramtsov [Mon, 11 Jan 2016 11:35:11 +0000 (14:35 +0300)]
Do not fail on incorrect data coming from SQL (898)

9 years agoCVE-2016-1232: Add Dialback Key Generation and Validation support (XEP-0185)
Evgeniy Khramtsov [Mon, 11 Jan 2016 11:22:17 +0000 (14:22 +0300)]
CVE-2016-1232: Add Dialback Key Generation and Validation support (XEP-0185)

9 years agomod_http_upload: Use application/octet-stream instead of text/html for security reasons
Matthias Rieber [Mon, 11 Jan 2016 11:11:24 +0000 (12:11 +0100)]
mod_http_upload: Use application/octet-stream instead of text/html for security reasons

9 years agoUpdate Hebrew translation (thanks to Genghis Khan)
Badlop [Fri, 8 Jan 2016 12:14:10 +0000 (13:14 +0100)]
Update Hebrew translation (thanks to Genghis Khan)

9 years agoClarify a little more room error string (thanks to Genghis Khan)
Badlop [Fri, 8 Jan 2016 12:13:30 +0000 (13:13 +0100)]
Clarify a little more room error string (thanks to Genghis Khan)

9 years agoFix 'make install' to work on osx
Christophe Romain [Fri, 8 Jan 2016 10:22:59 +0000 (11:22 +0100)]
Fix 'make install' to work on osx

9 years agoAdd version sufixes to application locations in 'make install'
Paweł Chmielowski [Thu, 7 Jan 2016 17:49:55 +0000 (18:49 +0100)]
Add version sufixes to application locations in 'make install'

9 years agoExtract deps from rebar.config to use in reltool.config.script
Paweł Chmielowski [Thu, 7 Jan 2016 13:10:54 +0000 (14:10 +0100)]
Extract deps from rebar.config to use in reltool.config.script

9 years agoWe need to checkout elixir first when elixir enabled
Christophe Romain [Wed, 6 Jan 2016 15:03:10 +0000 (16:03 +0100)]
We need to checkout elixir first when elixir enabled

9 years agoUpdate mix deps
Christophe Romain [Wed, 6 Jan 2016 11:27:43 +0000 (12:27 +0100)]
Update mix deps

9 years agoUpdate deps in reltool.config.scripts
Paweł Chmielowski [Wed, 6 Jan 2016 11:06:28 +0000 (12:06 +0100)]
Update deps in reltool.config.scripts

9 years agomod_http_upload: Use full PUT URL for process name
Holger Weiss [Tue, 5 Jan 2016 23:12:36 +0000 (00:12 +0100)]
mod_http_upload: Use full PUT URL for process name

Don't just use the "put_url" domain name, but also any path components
of the specified URL, to generate a mod_http_upload process name.  This
way, a single domain name can be used for multiple virtual hosts by
specifying a "put_url" such as "https://example.com/@HOST@/".

9 years agomod_http_upload: Rename variable for clarity
Holger Weiss [Tue, 5 Jan 2016 21:06:34 +0000 (22:06 +0100)]
mod_http_upload: Rename variable for clarity

9 years agoUpdate dependencies
Christophe Romain [Tue, 5 Jan 2016 15:00:47 +0000 (16:00 +0100)]
Update dependencies

9 years agoError converting times in mod_fail2ban (#889)
Badlop [Tue, 5 Jan 2016 11:29:13 +0000 (12:29 +0100)]
Error converting times in mod_fail2ban (#889)

9 years agoFix handling of some options in old style configs
Paweł Chmielowski [Mon, 4 Jan 2016 21:06:19 +0000 (22:06 +0100)]
Fix handling of some options in old style configs

This fixes issue #893.

9 years agoImprove escaping of arguments passed to ejabberdctl
Paweł Chmielowski [Mon, 4 Jan 2016 11:13:18 +0000 (12:13 +0100)]
Improve escaping of arguments passed to ejabberdctl

This fixes issue #804

9 years agoUse crypto:rand_uniform instead of random:uniform
Alexey Shchepin [Mon, 4 Jan 2016 10:55:25 +0000 (13:55 +0300)]
Use crypto:rand_uniform instead of random:uniform

9 years agomod_http_upload: Fix logging of file size mismatch
Holger Weiss [Mon, 4 Jan 2016 00:01:14 +0000 (01:01 +0100)]
mod_http_upload: Fix logging of file size mismatch

9 years agoejabberdctl: Call erl without -pa argument
Holger Weiss [Sun, 3 Jan 2016 22:35:41 +0000 (23:35 +0100)]
ejabberdctl: Call erl without -pa argument

The path to ejabberd's ebin directories is now specified by setting the
ERL_LIBS variable.

9 years agomod_admin_extra: Replace deprecated function calls
Holger Weiss [Sat, 2 Jan 2016 20:27:48 +0000 (21:27 +0100)]
mod_admin_extra: Replace deprecated function calls

9 years agomod_muc_admin: Allow for setting MAM option
Holger Weiss [Sat, 2 Jan 2016 19:57:01 +0000 (20:57 +0100)]
mod_muc_admin: Allow for setting MAM option

Fixes #890.

9 years agoNew send_stanza command (ejabberd_contrib#142)
Badlop [Wed, 30 Dec 2015 11:53:40 +0000 (12:53 +0100)]
New send_stanza command (ejabberd_contrib#142)

9 years agomod_muc_room: Replace deprecated function call
Holger Weiss [Tue, 29 Dec 2015 10:11:50 +0000 (11:11 +0100)]
mod_muc_room: Replace deprecated function call

9 years agomod_mam: Use <stanza-id/> tags for deduplication
Holger Weiss [Tue, 29 Dec 2015 08:54:48 +0000 (09:54 +0100)]
mod_mam: Use <stanza-id/> tags for deduplication

Use <stanza-id/> elements instead of <delay/> tags to check for messages
resent by the stream management code.  The <stanza-id/> element is
preferable, as it is added by mod_mam itself.

9 years agoUpdate translations
Badlop [Mon, 28 Dec 2015 14:09:49 +0000 (15:09 +0100)]
Update translations

9 years agoImprove explanation in registration page (#876)
Badlop [Mon, 28 Dec 2015 14:08:59 +0000 (15:08 +0100)]
Improve explanation in registration page (#876)

9 years agoAdd commands for generating html or markdown documentation for commands
Paweł Chmielowski [Mon, 28 Dec 2015 11:19:49 +0000 (12:19 +0100)]
Add commands for generating html or markdown documentation for commands

9 years agoRestrict access to MAM archives for members-only rooms
Evgeniy Khramtsov [Thu, 24 Dec 2015 12:01:33 +0000 (15:01 +0300)]
Restrict access to MAM archives for members-only rooms

9 years agoSupport binary strings in extract_translations
Badlop [Wed, 23 Dec 2015 19:54:40 +0000 (20:54 +0100)]
Support binary strings in extract_translations

9 years agoDegenderise room error message (#747)
Badlop [Wed, 23 Dec 2015 18:34:23 +0000 (19:34 +0100)]
Degenderise room error message (#747)

9 years agoUpdate set-dep-versions script to work with new rebar.config
Paweł Chmielowski [Wed, 23 Dec 2015 13:11:49 +0000 (14:11 +0100)]
Update set-dep-versions script to work with new rebar.config

9 years agoRevert "mod_mam: Keep 'to' attribute for MUC MAM messages"
Holger Weiss [Tue, 22 Dec 2015 12:20:23 +0000 (13:20 +0100)]
Revert "mod_mam: Keep 'to' attribute for MUC MAM messages"

This reverts commit 0e330da2a631aad97ab634014c7a272a5c0a0b71.  XEP-0313
says: "When sending out the archives to a requesting client, the 'to' of
the forwarded stanza MUST be empty".

9 years agoUse built-in nif for integer_to_binary/binary_to_integer
Paweł Chmielowski [Tue, 22 Dec 2015 10:48:25 +0000 (11:48 +0100)]
Use built-in nif for integer_to_binary/binary_to_integer

9 years agoAdding WEBIRC, custom realname & ident, ISO-8859-15 (thanks to iwalkalone69)(#877)
Badlop [Mon, 21 Dec 2015 15:19:24 +0000 (16:19 +0100)]
Adding WEBIRC, custom realname & ident, ISO-8859-15 (thanks to iwalkalone69)(#877)

9 years agoSupport presence_broadcast in default_room_options mod_muc option
Alexey Shchepin [Sun, 20 Dec 2015 23:23:50 +0000 (02:23 +0300)]
Support presence_broadcast in default_room_options mod_muc option

9 years agoejabberd_http: Cope with large POST/PUT requests
Holger Weiss [Sun, 20 Dec 2015 22:30:11 +0000 (23:30 +0100)]
ejabberd_http: Cope with large POST/PUT requests

gen_tcp returns 'enomem' if we try to receive more than 64 MiB.

9 years agoejabberd_http: Log debug message on receive errors
Holger Weiss [Sun, 20 Dec 2015 22:26:57 +0000 (23:26 +0100)]
ejabberd_http: Log debug message on receive errors

9 years agoAdd --enable-latest-deps to configure
Paweł Chmielowski [Fri, 18 Dec 2015 16:20:18 +0000 (17:20 +0100)]
Add --enable-latest-deps to configure

This option make 'rebar get-deps' command to always fetch latest versions
of deps that are developed together with ejabberd instead of using frozen
commit/branch/tag.

9 years agoConvert rebar.config.script to more declarative format
Paweł Chmielowski [Fri, 18 Dec 2015 16:17:13 +0000 (17:17 +0100)]
Convert rebar.config.script to more declarative format

9 years agoFix pubsub virtual nodetree plugin
Christophe Romain [Thu, 17 Dec 2015 09:16:17 +0000 (10:16 +0100)]
Fix pubsub virtual nodetree plugin

9 years agoFix last item message type as message attribute
Christophe Romain [Wed, 16 Dec 2015 16:04:45 +0000 (17:04 +0100)]
Fix last item message type as message attribute

9 years agoUse correct notification_type for last items (#827)
Christophe Romain [Wed, 16 Dec 2015 15:19:35 +0000 (16:19 +0100)]
Use correct notification_type for last items (#827)

9 years agoAdd accept_interval option in ejabberd_listener
Alexey Shchepin [Wed, 16 Dec 2015 14:26:44 +0000 (17:26 +0300)]
Add accept_interval option in ejabberd_listener

9 years agoMerge branch 'master' of github.com:processone/ejabberd
Christophe Romain [Wed, 16 Dec 2015 12:01:12 +0000 (13:01 +0100)]
Merge branch 'master' of github.com:processone/ejabberd

9 years agoDon't read pubsub options when plugin does not use them
Christophe Romain [Wed, 16 Dec 2015 11:56:06 +0000 (12:56 +0100)]
Don't read pubsub options when plugin does not use them

This also revert commit 6052f7b

9 years agoRemove "--enable-nif" flag
Holger Weiss [Sun, 12 Jul 2015 18:58:22 +0000 (20:58 +0200)]
Remove "--enable-nif" flag

Specifying "--enable-nif" or "--disable-nif" when running ejabberd's
configure script has no effect anymore: NIF support is enabled by
default and can only be disabled by building the p1_xml dependency with
"--disable-nif".

9 years agoAdd plugin for passing extra erl_opts flags to deps, and use it for hipe
Paweł Chmielowski [Wed, 16 Dec 2015 11:22:15 +0000 (12:22 +0100)]
Add plugin for passing extra erl_opts flags to deps, and use it for hipe

This fixes #425 in github issue tracker

9 years agoAdvertise MAM in disco info for account/room JID
Holger Weiss [Tue, 15 Dec 2015 23:08:23 +0000 (00:08 +0100)]
Advertise MAM in disco info for account/room JID

As per XEP-0313 version 0.2 and newer, advertise the MAM feature in the
service discovery information for the bare account (or MUC room) JID.

Some clients check the server's discovery information instead, so we'll
continue to advertise the feature there as well.

9 years agoUse MUC domain for 'by' attribute of <stanza-id/>
Holger Weiss [Tue, 15 Dec 2015 20:37:41 +0000 (21:37 +0100)]
Use MUC domain for 'by' attribute of <stanza-id/>

Let mod_mam specify only the domain part of the room JID in the 'by'
attribute of <stanza-id/> tags.

9 years agomod_mam: Keep 'to' attribute for MUC MAM messages
Holger Weiss [Tue, 15 Dec 2015 20:05:04 +0000 (21:05 +0100)]
mod_mam: Keep 'to' attribute for MUC MAM messages

9 years agoFix mod_carboncopy configuration for test suite
Holger Weiss [Tue, 15 Dec 2015 20:02:12 +0000 (21:02 +0100)]
Fix mod_carboncopy configuration for test suite

The mod_carboncopy module doesn't have the "db_type" option.

9 years agoPubSub plugin for online users only
Christophe Romain [Tue, 15 Dec 2015 15:19:54 +0000 (16:19 +0100)]
PubSub plugin for online users only

9 years agoFix pubsub headers
Christophe Romain [Tue, 15 Dec 2015 15:11:29 +0000 (16:11 +0100)]
Fix pubsub headers

9 years agoRestore header in Hebrew translation file
Badlop [Mon, 14 Dec 2015 13:08:44 +0000 (14:08 +0100)]
Restore header in Hebrew translation file

9 years agoMerge pull request #875 from GreenLunar/patch-1
badlop [Mon, 14 Dec 2015 13:04:45 +0000 (14:04 +0100)]
Merge pull request #875 from GreenLunar/patch-1

Update hebrew translation

9 years agoUpdate hebrew translation
GreenLunar [Mon, 14 Dec 2015 12:39:18 +0000 (14:39 +0200)]
Update hebrew translation

Minor corrections, enhancements, and refinements

9 years agoFix pubsub test error
Paweł Chmielowski [Mon, 14 Dec 2015 09:21:23 +0000 (10:21 +0100)]
Fix pubsub test error

9 years agoUse UTF8MB4 character set in MySQL tables
Evgeniy Khramtsov [Tue, 8 Dec 2015 12:56:43 +0000 (15:56 +0300)]
Use UTF8MB4 character set in MySQL tables

9 years agoUse BLOB instead of TEXT on mysql in stanza storage
Pablo Polvorin [Wed, 13 Nov 2013 17:30:29 +0000 (14:30 -0300)]
Use BLOB instead of TEXT on mysql in stanza storage

Mysql 'utf8' do not support 4-bytes UTF8 chars.
Characters like 'KISS MARK' (U+1F48B) causes mysql
to cut the string at that point.
There is utf8mb4 encoding available on newer mysql
versions that do support 4-bytes utf8. But for storing
stanzas, that doesn't need to be indexed or searched or
inspected in any way,  it was easier to use BLOB
(the bytes stored are utf8 encoded anyway, like all XMPP),
and avoids the need to redefine indexes (as allowed size
is shorter on utf8mb4) or having mixed utf8 and utf8mb4
encodings on the same table.

9 years agoRemove undefined macro injected in 3bdd5d0d
Christophe Romain [Fri, 11 Dec 2015 14:33:22 +0000 (15:33 +0100)]
Remove undefined macro injected in 3bdd5d0d

9 years agoRemove http supervisors
Christophe Romain [Wed, 9 Dec 2015 14:40:20 +0000 (15:40 +0100)]
Remove http supervisors

9 years agoRemove receiver's supervisor
Christophe Romain [Wed, 9 Dec 2015 09:06:57 +0000 (10:06 +0100)]
Remove receiver's supervisor

9 years agoDisable use of multi-subscribe and subscription-option on standard plugins
Christophe Romain [Wed, 9 Dec 2015 15:57:43 +0000 (16:57 +0100)]
Disable use of multi-subscribe and subscription-option on standard plugins

9 years agoLimit number of subscriptions per node and allow custom default node configuration
Christophe Romain [Tue, 10 Nov 2015 15:28:57 +0000 (16:28 +0100)]
Limit number of subscriptions per node and allow custom default node configuration

9 years agoVirtual nodetree is not attached to any backend
Christophe Romain [Mon, 30 Nov 2015 14:20:38 +0000 (15:20 +0100)]
Virtual nodetree is not attached to any backend

9 years agoFollow pubsub configuration when using virtual nodetree
Christophe Romain [Mon, 30 Nov 2015 13:57:21 +0000 (14:57 +0100)]
Follow pubsub configuration when using virtual nodetree

9 years agoDon't force max_items_node to MAXITEMS if not defined
Christophe Romain [Thu, 26 Nov 2015 11:37:18 +0000 (12:37 +0100)]
Don't force max_items_node to MAXITEMS if not defined

9 years agomod_mam: Don't store resent messages
Holger Weiss [Wed, 9 Dec 2015 21:44:45 +0000 (22:44 +0100)]
mod_mam: Don't store resent messages

Make sure messages that were resent by the stream management code aren't
stored in MAM.

9 years agoDocument XEP-0334 support
Holger Weiss [Wed, 9 Dec 2015 21:28:44 +0000 (22:28 +0100)]
Document XEP-0334 support

9 years agoDo not forget to include xmlns in mam prefs response (#859)
Evgeniy Khramtsov [Wed, 9 Dec 2015 09:52:30 +0000 (12:52 +0300)]
Do not forget to include xmlns in mam prefs response (#859)

9 years agoFix problem with handling of old db entries in mod_mam
Paweł Chmielowski [Wed, 9 Dec 2015 08:46:45 +0000 (09:46 +0100)]
Fix problem with handling of old db entries in mod_mam

9 years agoDon't let "reopen_log" rotate files (EJAB-1243)
Holger Weiss [Tue, 8 Dec 2015 21:48:04 +0000 (22:48 +0100)]
Don't let "reopen_log" rotate files (EJAB-1243)

Make sure the "reopen_log" command really just reopens log files without
also rotating them.  For rotating log files, the new "rotate_log"
command can be used.

9 years agomod_mam: Update record field type
Holger Weiss [Tue, 8 Dec 2015 21:21:39 +0000 (22:21 +0100)]
mod_mam: Update record field type

9 years agomod_mam: Remove unused code
Holger Weiss [Tue, 8 Dec 2015 21:15:55 +0000 (22:15 +0100)]
mod_mam: Remove unused code

9 years agomod_offline: Fix outdated comments
Holger Weiss [Tue, 8 Dec 2015 20:58:54 +0000 (21:58 +0100)]
mod_offline: Fix outdated comments

9 years agomod_offline: Honor <store/> hint
Holger Weiss [Tue, 8 Dec 2015 20:46:36 +0000 (21:46 +0100)]
mod_offline: Honor <store/> hint

Ignore the "store_empty_body" option for messages that have a <store/>
hint as described in XEP-0334, version 0.2.

9 years agoImprove muc#roomconfig_presencebroadcast support
Alexey Shchepin [Tue, 8 Dec 2015 18:24:39 +0000 (21:24 +0300)]
Improve muc#roomconfig_presencebroadcast support

9 years agoDon't keep 10 sec timeout that i used for testing...
Paweł Chmielowski [Tue, 8 Dec 2015 10:28:03 +0000 (11:28 +0100)]
Don't keep 10 sec timeout that i used for testing...

9 years agoAdd ability to disable timeout for ejabberdctl command
Paweł Chmielowski [Tue, 8 Dec 2015 10:25:26 +0000 (11:25 +0100)]
Add ability to disable timeout for ejabberdctl command

9 years agomod_mam: Honor Message Processing Hints (XEP-0334)
Holger Weiss [Mon, 7 Dec 2015 23:10:00 +0000 (00:10 +0100)]
mod_mam: Honor Message Processing Hints (XEP-0334)

9 years agoIf mod_register access_from is 'none', then don't advertise IBR (#857)
Badlop [Mon, 7 Dec 2015 17:30:52 +0000 (18:30 +0100)]
If mod_register access_from is 'none', then don't advertise IBR (#857)

9 years agoFix more places where random:seed is used
Paweł Chmielowski [Mon, 7 Dec 2015 15:48:29 +0000 (16:48 +0100)]
Fix more places where random:seed is used

9 years agoFix randoms.erl on R17 that don't have random:seed(integer())
Paweł Chmielowski [Mon, 7 Dec 2015 15:37:40 +0000 (16:37 +0100)]
Fix randoms.erl on R17 that don't have random:seed(integer())

9 years agoRemove now() in pubsub code
Paweł Chmielowski [Mon, 7 Dec 2015 15:16:11 +0000 (16:16 +0100)]
Remove now() in pubsub code

9 years agoMore now() replacements
Paweł Chmielowski [Mon, 7 Dec 2015 15:08:57 +0000 (16:08 +0100)]
More now() replacements

9 years agoFix bug in last commit
Paweł Chmielowski [Mon, 7 Dec 2015 09:26:51 +0000 (10:26 +0100)]
Fix bug in last commit

9 years agoMore now() removal
Paweł Chmielowski [Sun, 6 Dec 2015 14:58:46 +0000 (15:58 +0100)]
More now() removal

9 years agoRemove now() - part 1
Paweł Chmielowski [Fri, 4 Dec 2015 14:08:43 +0000 (15:08 +0100)]
Remove now() - part 1

9 years agotrusted_proxies option not parsed correctly (#860)
Badlop [Fri, 4 Dec 2015 12:14:39 +0000 (13:14 +0100)]
trusted_proxies option not parsed correctly (#860)

9 years agoXEP-0198: Fix stanza counting corner case issue
Holger Weiss [Wed, 2 Dec 2015 18:25:10 +0000 (19:25 +0100)]
XEP-0198: Fix stanza counting corner case issue

Don't forget to count outgoing stanzas that are processed while the
ejabberd_c2s process is already waiting for stream resumption.

9 years agoNo need for a top menu link as there's a top page link
Badlop [Wed, 2 Dec 2015 16:10:23 +0000 (17:10 +0100)]
No need for a top menu link as there's a top page link

9 years agoDon't forget copying files that were compiled during `make install`
Paweł Chmielowski [Wed, 2 Dec 2015 11:39:34 +0000 (12:39 +0100)]
Don't forget copying files that were compiled during `make install`

9 years agoWhen user joins logged room, he must be warned (EJAB-726)
Badlop [Wed, 2 Dec 2015 11:07:29 +0000 (12:07 +0100)]
When user joins logged room, he must be warned (EJAB-726)

9 years agoOnly filter rooms in Service Disco when more than 100 (EJAB-343)
Badlop [Wed, 2 Dec 2015 01:32:14 +0000 (02:32 +0100)]
Only filter rooms in Service Disco when more than 100 (EJAB-343)