]> granicus.if.org Git - ejabberd/log
ejabberd
7 years agoImprove ejd2sql logging
Evgeniy Khramtsov [Fri, 27 Oct 2017 05:59:49 +0000 (08:59 +0300)]
Improve ejd2sql logging

7 years agoFix typo
Evgeniy Khramtsov [Fri, 27 Oct 2017 05:12:24 +0000 (08:12 +0300)]
Fix typo

7 years agoMake it possible to export push_session table to SQL
Evgeniy Khramtsov [Thu, 26 Oct 2017 18:05:09 +0000 (21:05 +0300)]
Make it possible to export push_session table to SQL

7 years agoAdd SQL support for mod_push
Evgeniy Khramtsov [Thu, 26 Oct 2017 17:11:43 +0000 (20:11 +0300)]
Add SQL support for mod_push

7 years agoAdopt 'make install' to updated output from 'rebar list-deps'
PaweÅ\82 Chmielowski [Thu, 26 Oct 2017 09:20:48 +0000 (11:20 +0200)]
Adopt 'make install' to updated output from 'rebar list-deps'

7 years agoDon't forget to convert ljid() to jid()
Evgeniy Khramtsov [Thu, 26 Oct 2017 07:29:23 +0000 (10:29 +0300)]
Don't forget to convert ljid() to jid()

7 years agoMake it possible to convert to SQL for any current db_type
Evgeniy Khramtsov [Wed, 25 Oct 2017 18:21:52 +0000 (21:21 +0300)]
Make it possible to convert to SQL for any current db_type

It is now possible to run `export` command even when the current `db_type` is not `sql`

7 years agoAllow dynamic node options on sql backends
Christophe Romain [Wed, 25 Oct 2017 13:40:42 +0000 (15:40 +0200)]
Allow dynamic node options on sql backends

7 years agoGet next record before deleting previous on, in case it's last one (#2069)
Badlop [Wed, 25 Oct 2017 10:58:07 +0000 (12:58 +0200)]
Get next record before deleting previous on, in case it's last one (#2069)

7 years agoCosmetic change, remove useless case
Christophe Romain [Wed, 25 Oct 2017 09:48:56 +0000 (11:48 +0200)]
Cosmetic change, remove useless case

7 years agoFix pubsub test, title not mandatory
Christophe Romain [Wed, 25 Oct 2017 09:41:45 +0000 (11:41 +0200)]
Fix pubsub test, title not mandatory

7 years agoFix delete item from unregistered user (#2067)
Christophe Romain [Wed, 25 Oct 2017 09:16:54 +0000 (11:16 +0200)]
Fix delete item from unregistered user (#2067)

7 years agoFix another typo ;)
Evgeniy Khramtsov [Wed, 25 Oct 2017 08:47:02 +0000 (11:47 +0300)]
Fix another typo ;)

7 years agoFix typo
Evgeniy Khramtsov [Wed, 25 Oct 2017 08:44:53 +0000 (11:44 +0300)]
Fix typo

7 years agoMix _xmpp-server and _xmpps-server SRV records
Evgeniy Khramtsov [Wed, 25 Oct 2017 08:39:14 +0000 (11:39 +0300)]
Mix _xmpp-server and _xmpps-server SRV records

XEP-0368 describes this procedure as following:
> Both 'xmpp-' and 'xmpps-' records SHOULD be treated as
> the same record with regard to connection order as specified
> by RFC 2782 [3], in that all priorities and weights are mixed.
> This enables the server operator to decide if they would
> rather clients connect with STARTTLS or direct TLS.

7 years agoAdd basic PubSub meta-data support (#1421)
Christophe Romain [Wed, 25 Oct 2017 08:34:11 +0000 (10:34 +0200)]
Add basic PubSub meta-data support (#1421)

7 years agoMention XEP-0368 support
Evgeniy Khramtsov [Wed, 25 Oct 2017 07:01:05 +0000 (10:01 +0300)]
Mention XEP-0368 support

7 years agoAdd missing fix from 07a193d4d, Fix purge_offline (#2057)
Christophe Romain [Tue, 24 Oct 2017 13:35:01 +0000 (15:35 +0200)]
Add missing fix from 07a193d4d, Fix purge_offline (#2057)

7 years agoMerge pull request #2065 from jorjeb/mix-enable-graphics
Evgeny Khramtsov [Tue, 24 Oct 2017 10:35:47 +0000 (14:35 +0400)]
Merge pull request #2065 from jorjeb/mix-enable-graphics

Support for --enable-graphics in mix.exs

7 years agoSupport for --enable-graphics in mix.exs
Jorje Barrera [Tue, 24 Oct 2017 10:02:52 +0000 (18:02 +0800)]
Support for --enable-graphics in mix.exs

7 years agoUpdate Hebrew translation (thanks to Genghis Khan)
Badlop [Mon, 23 Oct 2017 14:14:01 +0000 (16:14 +0200)]
Update Hebrew translation (thanks to Genghis Khan)

7 years agoMerge pull request #2023 from rom1dep/endings
badlop [Mon, 16 Oct 2017 10:59:04 +0000 (12:59 +0200)]
Merge pull request #2023 from rom1dep/endings

Line endings consistency edits in the example config file

7 years agoMerge pull request #2052 from suchatorg/patch-1
badlop [Mon, 16 Oct 2017 08:16:54 +0000 (10:16 +0200)]
Merge pull request #2052 from suchatorg/patch-1

Update gl.po

7 years agoUpdate gl.po
Carlos [Sat, 14 Oct 2017 09:06:03 +0000 (11:06 +0200)]
Update gl.po

7 years agoReflect changes in the xmpp lib
Evgeniy Khramtsov [Fri, 13 Oct 2017 17:48:21 +0000 (20:48 +0300)]
Reflect changes in the xmpp lib

7 years agoSend presence-unavailable when expulsing a participant
Evgeniy Khramtsov [Fri, 13 Oct 2017 06:17:22 +0000 (09:17 +0300)]
Send presence-unavailable when expulsing a participant

7 years agoFix ZH translation
Badlop [Thu, 12 Oct 2017 10:09:42 +0000 (12:09 +0200)]
Fix ZH translation

7 years agoMerge pull request #2047 from fotock/patch-1
badlop [Thu, 12 Oct 2017 09:44:12 +0000 (11:44 +0200)]
Merge pull request #2047 from fotock/patch-1

Update zh translations

7 years agoUpdate zh.po
Shelley Shyan [Thu, 12 Oct 2017 05:17:32 +0000 (00:17 -0500)]
Update zh.po

7 years agoDon't crash when Host header is missing
Evgeniy Khramtsov [Wed, 11 Oct 2017 15:53:53 +0000 (18:53 +0300)]
Don't crash when Host header is missing

7 years agoUpdate Catalan translation
Badlop [Wed, 11 Oct 2017 14:21:28 +0000 (16:21 +0200)]
Update Catalan translation

7 years agoUpdate zh.po
Shelley Shyan [Wed, 11 Oct 2017 09:33:14 +0000 (04:33 -0500)]
Update zh.po

7 years agoUpdate zh.po
Shelley Shyan [Wed, 11 Oct 2017 06:47:43 +0000 (01:47 -0500)]
Update zh.po

7 years agoFix a typo: meta -> viewport
Evgeniy Khramtsov [Tue, 10 Oct 2017 10:25:38 +0000 (13:25 +0300)]
Fix a typo: meta -> viewport

7 years agoDon't include CSS, javascript and image data directly in the code
Evgeniy Khramtsov [Mon, 9 Oct 2017 20:35:42 +0000 (23:35 +0300)]
Don't include CSS, javascript and image data directly in the code

7 years agoBetter handle mobile devices in CSS of mod_register_web
Evgeniy Khramtsov [Mon, 9 Oct 2017 18:46:38 +0000 (21:46 +0300)]
Better handle mobile devices in CSS of mod_register_web

Thanks to Marek Foss. Fixes #2039

7 years agoResend presences and history if presence possesses <x/> MUC element
Evgeniy Khramtsov [Mon, 9 Oct 2017 14:59:22 +0000 (17:59 +0300)]
Resend presences and history if presence possesses <x/> MUC element

Behave according to the new rule from XEP-0045, section 7.2.2:

> When a MUC service receives an <x/> tagged join stanza from an
> already-joined client (as identified by the client's full JID),
> the service should assume that the client lost its synchronization,
> and therefore it SHOULD send exactly the same stanzas to the client
> as if it actually just joined the MUC.

7 years agoUpdate Russian translation
Evgeniy Khramtsov [Fri, 6 Oct 2017 20:44:50 +0000 (23:44 +0300)]
Update Russian translation

7 years agoDon't crash when 'from' is undefined
Evgeniy Khramtsov [Fri, 6 Oct 2017 18:48:54 +0000 (21:48 +0300)]
Don't crash when 'from' is undefined

c2s_filter_send hook may pass a stanza with undefined from/to (due to
legacy auth for example). Work around this problem.

Fixes #2036

7 years agoUpdate French translation
Christophe Romain [Fri, 6 Oct 2017 15:48:56 +0000 (17:48 +0200)]
Update French translation

7 years agoUpdate Czech translation (thanks to Jan Pinkas)
Badlop [Fri, 6 Oct 2017 11:23:10 +0000 (13:23 +0200)]
Update Czech translation (thanks to Jan Pinkas)

7 years agoMore fix in mod_http_fileserver to log URLs with/out query elements (#2021)
Badlop [Fri, 6 Oct 2017 11:15:47 +0000 (13:15 +0200)]
More fix in mod_http_fileserver to log URLs with/out query elements (#2021)

7 years agoUpdate pl.po
Paweł Chmielowski [Fri, 6 Oct 2017 09:35:38 +0000 (11:35 +0200)]
Update pl.po

7 years agoUpdate Spanish translation
Badlop [Fri, 6 Oct 2017 08:54:36 +0000 (10:54 +0200)]
Update Spanish translation

7 years agoUpdated all translation files
Badlop [Fri, 6 Oct 2017 08:02:16 +0000 (10:02 +0200)]
Updated all translation files

Simply running:
 make; make translations

7 years agoImprove logging of mismatched Hosts
Evgeniy Khramtsov [Thu, 5 Oct 2017 08:33:29 +0000 (11:33 +0300)]
Improve logging of mismatched Hosts

7 years agoLog request in access.log even when Host doesn't match
Evgeniy Khramtsov [Thu, 5 Oct 2017 08:16:05 +0000 (11:16 +0300)]
Log request in access.log even when Host doesn't match

7 years agoDon't report Host mismatch as an error
Evgeniy Khramtsov [Thu, 5 Oct 2017 08:08:58 +0000 (11:08 +0300)]
Don't report Host mismatch as an error

7 years agoCorrectly handle mod_client_state (re)load
Evgeniy Khramtsov [Thu, 5 Oct 2017 08:03:36 +0000 (11:03 +0300)]
Correctly handle mod_client_state (re)load

7 years agoAccept routes in Host header and map them to vhosts
Evgeniy Khramtsov [Thu, 5 Oct 2017 07:26:10 +0000 (10:26 +0300)]
Accept routes in Host header and map them to vhosts

7 years agoFix warning when compile with newer elixir
Christophe Romain [Wed, 4 Oct 2017 10:03:36 +0000 (12:03 +0200)]
Fix warning when compile with newer elixir

7 years agoFix crash in mod_http_fileserver when logging URL with query elements (#2021)
Badlop [Mon, 2 Oct 2017 13:36:38 +0000 (15:36 +0200)]
Fix crash in mod_http_fileserver when logging URL with query elements (#2021)

7 years agoInstall binaries with 755 permissions
Paweł Chmielowski [Mon, 2 Oct 2017 09:51:15 +0000 (11:51 +0200)]
Install binaries with 755 permissions

7 years agoRemove find-outdated-deps script, we have better replacement for it
Paweł Chmielowski [Mon, 2 Oct 2017 09:49:34 +0000 (11:49 +0200)]
Remove find-outdated-deps script, we have better replacement for it

7 years agoGenerate more readable code for run_fold hooks
Evgeniy Khramtsov [Mon, 2 Oct 2017 07:47:03 +0000 (10:47 +0300)]
Generate more readable code for run_fold hooks

7 years agoconfig: makes line endings consistent when followed by '-'
Romain DEP. [Sat, 30 Sep 2017 09:12:20 +0000 (11:12 +0200)]
config: makes line endings consistent when followed by '-'

7 years agoconfig: makes line endings consistent when followed by ':'
Romain DEP. [Sat, 30 Sep 2017 09:10:34 +0000 (11:10 +0200)]
config: makes line endings consistent when followed by ':'

7 years agoInstall eimp binary with +x attribute
Paweł Chmielowski [Thu, 28 Sep 2017 16:34:27 +0000 (18:34 +0200)]
Install eimp binary with +x attribute

7 years agoPrepare mix for 17.09 17.09
Christophe Romain [Thu, 28 Sep 2017 13:21:11 +0000 (15:21 +0200)]
Prepare mix for 17.09

7 years agoFix race introduced by ffdaff374 on ejabberd_mnesia init
Christophe Romain [Thu, 28 Sep 2017 13:14:11 +0000 (15:14 +0200)]
Fix race introduced by ffdaff374 on ejabberd_mnesia init

7 years agoMake sure Riak gets compiled on OTP20
Evgeniy Khramtsov [Thu, 28 Sep 2017 09:25:06 +0000 (12:25 +0300)]
Make sure Riak gets compiled on OTP20

7 years agoFix function clause introduced by c17ec50e3a
Evgeniy Khramtsov [Thu, 28 Sep 2017 09:24:24 +0000 (12:24 +0300)]
Fix function clause introduced by c17ec50e3a

7 years agoDon't forget to route presence-unavailable
Evgeniy Khramtsov [Thu, 28 Sep 2017 08:56:46 +0000 (11:56 +0300)]
Don't forget to route presence-unavailable

When a user has several resources joined to a room using the same
nick attempts to leave the room from a single resource, route
presence-unavailable back to this (and only this) resource.

Fixes #2007

7 years agoPubsub: implment '6.5.7 Requesting the Most Recent Items'
Christophe Romain [Wed, 27 Sep 2017 18:54:50 +0000 (20:54 +0200)]
Pubsub: implment '6.5.7 Requesting the Most Recent Items'

7 years agoRemove useless condition
Christophe Romain [Wed, 27 Sep 2017 18:40:07 +0000 (20:40 +0200)]
Remove useless condition

7 years agoPubSub: add RSM support for mnesia backend
Christophe Romain [Wed, 27 Sep 2017 18:39:54 +0000 (20:39 +0200)]
PubSub: add RSM support for mnesia backend

7 years agoPubSub: enforce controls on publish and delete
Christophe Romain [Wed, 27 Sep 2017 15:37:38 +0000 (17:37 +0200)]
PubSub: enforce controls on publish and delete

7 years agomysql.sql: Use multi-column index on username/ID
Holger Weiss [Wed, 27 Sep 2017 13:30:23 +0000 (15:30 +0200)]
mysql.sql: Use multi-column index on username/ID

7 years agoharden ejabberdctl (#1977)
Christophe Romain [Wed, 27 Sep 2017 13:04:57 +0000 (15:04 +0200)]
harden ejabberdctl (#1977)

7 years agoFix xref error
Christophe Romain [Wed, 27 Sep 2017 10:34:40 +0000 (12:34 +0200)]
Fix xref error

7 years agoUnbind unused variable
Christophe Romain [Wed, 27 Sep 2017 10:13:45 +0000 (12:13 +0200)]
Unbind unused variable

7 years agoRemove calls to deprecated functions
Christophe Romain [Wed, 27 Sep 2017 09:43:59 +0000 (11:43 +0200)]
Remove calls to deprecated functions

7 years agoUpdate dependences
Paweł Chmielowski [Wed, 27 Sep 2017 09:39:16 +0000 (11:39 +0200)]
Update dependences

7 years agoPubSub: fix get_items behaviour with mnesia
Christophe Romain [Wed, 27 Sep 2017 09:18:12 +0000 (11:18 +0200)]
PubSub: fix get_items behaviour with mnesia

7 years agoMerge branch 'master' of github.com:processone/ejabberd
Christophe Romain [Wed, 27 Sep 2017 09:12:09 +0000 (11:12 +0200)]
Merge branch 'master' of github.com:processone/ejabberd

7 years agoPubSub: add correct order when requesting all items
Christophe Romain [Wed, 27 Sep 2017 09:12:01 +0000 (11:12 +0200)]
PubSub: add correct order when requesting all items

7 years agoAdd support for XEP-0368: SRV records for XMPP over TLS
Evgeniy Khramtsov [Wed, 27 Sep 2017 09:03:05 +0000 (12:03 +0300)]
Add support for XEP-0368: SRV records for XMPP over TLS

Currently this is only supported for outgoing s2s connections.
For such connections ejabberd is now able to resolve SRV records
of type "_xmpps-server._tcp". Also, SNI and ALPN fields are set
during TLS handshake. No additional configuration is required.

7 years agoWhen running "make translations", use the new tools/prepare-tr.sh
Badlop [Wed, 27 Sep 2017 08:30:17 +0000 (10:30 +0200)]
When running "make translations", use the new tools/prepare-tr.sh

7 years agoRemove remaining files of old contrib/ dir
Badlop [Wed, 27 Sep 2017 08:30:09 +0000 (10:30 +0200)]
Remove remaining files of old contrib/ dir

7 years agoSimplify prepare-tr.sh to work with new extract-tr.sh
Badlop [Wed, 27 Sep 2017 08:25:27 +0000 (10:25 +0200)]
Simplify prepare-tr.sh to work with new extract-tr.sh

7 years agoMove prepare-translations.sh from contrib to tools/prepare-tr.sh
Badlop [Wed, 27 Sep 2017 08:24:26 +0000 (10:24 +0200)]
Move prepare-translations.sh from contrib to tools/prepare-tr.sh

7 years agoRemove forgotten export_all
Evgeniy Khramtsov [Wed, 27 Sep 2017 08:56:22 +0000 (11:56 +0300)]
Remove forgotten export_all

7 years agoPubSub: fix RSM support (#1994)(#2Â014)
Christophe Romain [Wed, 27 Sep 2017 08:51:37 +0000 (10:51 +0200)]
PubSub: fix RSM support (#1994)(#2Â014)

7 years agoPubSub: fix node_options, default options only apply on first plugin
Christophe Romain [Wed, 27 Sep 2017 07:29:04 +0000 (09:29 +0200)]
PubSub: fix node_options, default options only apply on first plugin

7 years agomod_http_upload: Don't ignore 'custom_headers'
Holger Weiss [Tue, 26 Sep 2017 19:40:56 +0000 (21:40 +0200)]
mod_http_upload: Don't ignore 'custom_headers'

Don't ignore the 'custom_headers' option if the domain part of the
'put_url' doesn't match the XMPP domain.

Closes #1482.

7 years agoImprove presence-error processing
Evgeniy Khramtsov [Tue, 26 Sep 2017 16:01:54 +0000 (19:01 +0300)]
Improve presence-error processing

When a presence-error is received from a participant in a MUC, kick
only this particular participant's full JID, leaving other resources
untouched. This will prevent from erroneous kicking all user's resources
in the presence of "multi-session nicks".

7 years agoCall earlier deps configure scripts durring compilation
Paweł Chmielowski [Tue, 26 Sep 2017 15:32:37 +0000 (17:32 +0200)]
Call earlier deps configure scripts durring compilation

7 years agoFix command set_last that always returned code 1, error (#2010)
Badlop [Mon, 25 Sep 2017 16:43:24 +0000 (18:43 +0200)]
Fix command set_last that always returned code 1, error (#2010)

7 years agoSync containers from rroemhild and add instructions in README (#1655)
Christophe Romain [Mon, 25 Sep 2017 15:48:57 +0000 (17:48 +0200)]
Sync containers from rroemhild and add instructions in README (#1655)

7 years agoAdd mod_avatar to the example configuration
Evgeniy Khramtsov [Mon, 25 Sep 2017 13:23:02 +0000 (16:23 +0300)]
Add mod_avatar to the example configuration

7 years agoCatch all p1_fsm errors
Evgeniy Khramtsov [Mon, 25 Sep 2017 10:01:00 +0000 (13:01 +0300)]
Catch all p1_fsm errors

Fixes #2012

7 years agoUse eimp instead of ImageMagick calls for thumbnails creation
Evgeniy Khramtsov [Mon, 25 Sep 2017 09:41:12 +0000 (12:41 +0300)]
Use eimp instead of ImageMagick calls for thumbnails creation

7 years agoPre-install libgd and libwebp
Evgeniy Khramtsov [Mon, 25 Sep 2017 08:19:49 +0000 (11:19 +0300)]
Pre-install libgd and libwebp

7 years agoRemove OTP20 from Travis tests for now
Evgeniy Khramtsov [Mon, 25 Sep 2017 08:17:46 +0000 (11:17 +0300)]
Remove OTP20 from Travis tests for now

7 years agomod_mam: Simplify check for anon MUC JID filtering
Holger Weiss [Sun, 24 Sep 2017 13:04:09 +0000 (15:04 +0200)]
mod_mam: Simplify check for anon MUC JID filtering

Refuse filtering anon MUC MAM queries by JID even if it's the client's
own JID.  Clients probably won't perform such queries in practice, so
the additional complexity is unnecessary.

7 years agoReuse some translation strings
Evgeniy Khramtsov [Sun, 24 Sep 2017 11:32:37 +0000 (14:32 +0300)]
Reuse some translation strings

7 years agoReplace translate:mark/1 with ?T() macro
Evgeniy Khramtsov [Sun, 24 Sep 2017 09:42:35 +0000 (12:42 +0300)]
Replace translate:mark/1 with ?T() macro

7 years agomod_mam: Refuse filtering anon MUC queries by JID
Holger Weiss [Sun, 24 Sep 2017 00:05:50 +0000 (02:05 +0200)]
mod_mam: Refuse filtering anon MUC queries by JID

Return an empty result set if a non-moderator attempts to filter by JID
while querying the archive of an anonymous MUC room.

7 years agoAdd script to extract translation strings
Evgeniy Khramtsov [Sat, 23 Sep 2017 21:08:01 +0000 (00:08 +0300)]
Add script to extract translation strings

7 years agomod_push_mnesia: Fix typo in error message
Holger Weiss [Fri, 22 Sep 2017 21:36:51 +0000 (23:36 +0200)]
mod_push_mnesia: Fix typo in error message