]> granicus.if.org Git - ejabberd/log
ejabberd
7 years agoRewrite pubsub export to sql (#1571)
Christophe Romain [Mon, 13 Nov 2017 16:34:37 +0000 (17:34 +0100)]
Rewrite pubsub export to sql (#1571)

7 years agoAssign failed_auth ETS table to another owner
Evgeniy Khramtsov [Mon, 13 Nov 2017 11:34:59 +0000 (14:34 +0300)]
Assign failed_auth ETS table to another owner

7 years agoFix a record default
Evgeniy Khramtsov [Mon, 13 Nov 2017 08:29:03 +0000 (11:29 +0300)]
Fix a record default

7 years agoGet rid of forgotten debug message
Evgeniy Khramtsov [Mon, 13 Nov 2017 08:26:49 +0000 (11:26 +0300)]
Get rid of forgotten debug message

7 years agoProperly store <subject/> element
Evgeniy Khramtsov [Mon, 13 Nov 2017 08:25:35 +0000 (11:25 +0300)]
Properly store <subject/> element

Fixes #2099

7 years agoImprove some type specs
Evgeniy Khramtsov [Sat, 11 Nov 2017 06:33:42 +0000 (09:33 +0300)]
Improve some type specs

7 years agoImprove a diagnostic text
Evgeniy Khramtsov [Sat, 11 Nov 2017 06:30:19 +0000 (09:30 +0300)]
Improve a diagnostic text

7 years agoFix a test related to mod_caps
Evgeniy Khramtsov [Fri, 10 Nov 2017 17:58:13 +0000 (20:58 +0300)]
Fix a test related to mod_caps

7 years agomod_mam: Make sure archived message isn't bounced
Holger Weiss [Fri, 10 Nov 2017 17:09:33 +0000 (18:09 +0100)]
mod_mam: Make sure archived message isn't bounced

If mod_offline is disabled but a message is archived by mod_mam, no
error bounce should be generated.  This functionality got lost when
mod_mam stopped using the 'offline_message_hook'.

7 years agoCleanup some headers
Christophe Romain [Fri, 10 Nov 2017 16:51:22 +0000 (17:51 +0100)]
Cleanup some headers

7 years agoAdd forgotten type specs
Evgeniy Khramtsov [Fri, 10 Nov 2017 15:11:04 +0000 (18:11 +0300)]
Add forgotten type specs

7 years agoUse new API for IQ routing
Evgeniy Khramtsov [Fri, 10 Nov 2017 15:02:22 +0000 (18:02 +0300)]
Use new API for IQ routing

Functions ejabberd_local:route_iq/2,3 are now depecated:
ejabberd_router:route_iq/2,3,4 should be used instead.

7 years agoMerge pull request #2096 from weiss/always-add-stanza-id
Evgeny Khramtsov [Fri, 10 Nov 2017 05:34:49 +0000 (09:34 +0400)]
Merge pull request #2096 from weiss/always-add-stanza-id

Tag all archived messages with a stanza ID

7 years agomod_push: Avoid notification duplicates (again)
Holger Weiss [Fri, 10 Nov 2017 00:11:24 +0000 (01:11 +0100)]
mod_push: Avoid notification duplicates (again)

Now that mod_mam no longer uses the 'offline_message_hook', avoid
duplicating notifications for messages written to both MAM and offline
storage in another way.

7 years agoAdd fs as dep in mix.exs
Paweł Chmielowski [Thu, 9 Nov 2017 08:59:40 +0000 (09:59 +0100)]
Add fs as dep in mix.exs

7 years agomod_mam: Always strip stanza IDs
Holger Weiss [Thu, 9 Nov 2017 00:10:24 +0000 (01:10 +0100)]
mod_mam: Always strip stanza IDs

XEP-0359 v0.5.0 says: "Stanza ID generating entities, which encounter a
<stanza-id/> element where the 'by' attribute matches the 'by' attribute
they would otherwise set, MUST delete that element even if they are not
adding their own stanza ID."

7 years agomod_mam: Fix indentation
Holger Weiss [Thu, 9 Nov 2017 00:00:15 +0000 (01:00 +0100)]
mod_mam: Fix indentation

7 years agomod_mam: Ignore non-message stanzas earlier
Holger Weiss [Wed, 8 Nov 2017 23:48:19 +0000 (00:48 +0100)]
mod_mam: Ignore non-message stanzas earlier

Let mod_mam's hook callbacks ignore non-message stanzas using pattern
matching.

7 years agomod_mam: Make sure a stanza ID is always added
Holger Weiss [Wed, 8 Nov 2017 23:21:40 +0000 (00:21 +0100)]
mod_mam: Make sure a stanza ID is always added

Let mod_mam store incoming messages from a new hook in ejabberd_sm.
This makes sure all messages are tagged with a stanza ID, including
those that are forked to multiple resources in ejabberd_sm.

Closes #1344.

7 years agoPrepare version 0.6.1 of XEP-0313 (MAM) support
Evgeniy Khramtsov [Wed, 8 Nov 2017 12:15:39 +0000 (15:15 +0300)]
Prepare version 0.6.1 of XEP-0313 (MAM) support

7 years agoejabberdctl: Fix 'read' syntax for non-bash shells
Holger Weiss [Tue, 7 Nov 2017 20:23:48 +0000 (21:23 +0100)]
ejabberdctl: Fix 'read' syntax for non-bash shells

7 years agoErase transient certificates on exit
Evgeniy Khramtsov [Tue, 7 Nov 2017 06:04:20 +0000 (09:04 +0300)]
Erase transient certificates on exit

7 years agoejabberdctl: Fix paths for release build
Holger Weiss [Mon, 6 Nov 2017 20:35:44 +0000 (21:35 +0100)]
ejabberdctl: Fix paths for release build

The ejabberdctl version generated by "make rel" relies on the SCRIPT_DIR
variable which got lost in commit cbe6553baa6f.

7 years agoUnregister commands when stopping node only if it's last one (#2083)
Badlop [Mon, 6 Nov 2017 15:53:49 +0000 (16:53 +0100)]
Unregister commands when stopping node only if it's last one (#2083)

7 years agoDefine flags that depend on erlang version in mix.exs
Paweł Chmielowski [Mon, 6 Nov 2017 10:29:42 +0000 (11:29 +0100)]
Define flags that depend on erlang version in mix.exs

7 years agomod_push: Avoid notification duplicates
Holger Weiss [Sun, 5 Nov 2017 23:26:20 +0000 (00:26 +0100)]
mod_push: Avoid notification duplicates

Don't let mod_mam and mod_offline both trigger push notifications for
the same message.

Closes #2078.

7 years agoRemove code left from debugging
Paweł Chmielowski [Fri, 3 Nov 2017 15:04:19 +0000 (16:04 +0100)]
Remove code left from debugging

7 years agoSimulate vars usage in ejabberd_sql_pt to avoid unused var warnings
Alexey Shchepin [Fri, 3 Nov 2017 14:42:53 +0000 (17:42 +0300)]
Simulate vars usage in ejabberd_sql_pt to avoid unused var warnings

7 years agoDon't start hosts for disabled backends from CT_BACKENDS passed to make test
Paweł Chmielowski [Fri, 3 Nov 2017 13:44:13 +0000 (14:44 +0100)]
Don't start hosts for disabled backends from CT_BACKENDS passed to make test

7 years agoUse correct table field name in sql query
Paweł Chmielowski [Fri, 3 Nov 2017 11:17:34 +0000 (12:17 +0100)]
Use correct table field name in sql query

7 years agoRemember previous German translator
Badlop [Fri, 3 Nov 2017 09:16:21 +0000 (10:16 +0100)]
Remember previous German translator

7 years agoMerge pull request #2081 from nekoswag/master
badlop [Fri, 3 Nov 2017 08:56:19 +0000 (09:56 +0100)]
Merge pull request #2081 from nekoswag/master

updated German translation

7 years agoLog warnings for c2s/s2s certfile option
Evgeniy Khramtsov [Fri, 3 Nov 2017 05:32:34 +0000 (08:32 +0300)]
Log warnings for c2s/s2s certfile option

7 years agoDisable server_host warnings
Alexey Shchepin [Thu, 2 Nov 2017 16:48:35 +0000 (19:48 +0300)]
Disable server_host warnings

7 years agoAdd SQL_INSERT macro and update SQL queries to use server_host field
Alexey Shchepin [Thu, 2 Nov 2017 14:03:30 +0000 (17:03 +0300)]
Add SQL_INSERT macro and update SQL queries to use server_host field

7 years agoFix pkix:validate() return value
Paweł Chmielowski [Thu, 2 Nov 2017 10:28:23 +0000 (11:28 +0100)]
Fix pkix:validate() return value

7 years agoupdated de.po
Maximilian Trummer [Wed, 1 Nov 2017 17:22:27 +0000 (18:22 +0100)]
updated de.po

7 years agoRemove -include() directive for unused header
Evgeniy Khramtsov [Wed, 1 Nov 2017 07:59:28 +0000 (10:59 +0300)]
Remove -include() directive for unused header

7 years agoClarify some error/warning messages
Evgeniy Khramtsov [Wed, 1 Nov 2017 07:14:34 +0000 (10:14 +0300)]
Clarify some error/warning messages

7 years agoAvoid using "bag" ETS type for certificate storage
Evgeniy Khramtsov [Wed, 1 Nov 2017 05:47:07 +0000 (08:47 +0300)]
Avoid using "bag" ETS type for certificate storage

7 years agoStart even if there are problems with fs application
Evgeniy Khramtsov [Wed, 1 Nov 2017 05:34:14 +0000 (08:34 +0300)]
Start even if there are problems with fs application

7 years agoLower log level
Evgeniy Khramtsov [Tue, 31 Oct 2017 21:55:05 +0000 (00:55 +0300)]
Lower log level

7 years agoIntroduce 'certfiles' global option
Evgeniy Khramtsov [Tue, 31 Oct 2017 21:20:27 +0000 (00:20 +0300)]
Introduce 'certfiles' global option

The option is supposed to replace existing options 'c2s_certfile',
's2s_certfile' and 'domain_certfile'. The option accepts a list
of file paths (optionally with wildcards "*") containing either
PEM certificates or PEM private keys. At startup, ejabberd sorts
the certificates, finds matching private keys and rebuilds full
certificates chains which can be used by fast_tls. Example:

certfiles:
  - "/etc/letsencrypt/live/example.org/*.pem"
  - "/etc/letsencrypt/live/example.com/*.pem"

7 years agoFix sql query
Paweł Chmielowski [Tue, 31 Oct 2017 16:59:55 +0000 (17:59 +0100)]
Fix sql query

7 years agoTypo
Paweł Chmielowski [Tue, 31 Oct 2017 16:11:17 +0000 (17:11 +0100)]
Typo

7 years agoUse store_room where possible
Paweł Chmielowski [Tue, 31 Oct 2017 15:12:35 +0000 (16:12 +0100)]
Use store_room where possible

7 years agoFix sql syntax error in lite.sql
Paweł Chmielowski [Tue, 31 Oct 2017 13:43:36 +0000 (14:43 +0100)]
Fix sql syntax error in lite.sql

7 years agoDon't use depraced functions
Paweł Chmielowski [Tue, 31 Oct 2017 13:21:34 +0000 (14:21 +0100)]
Don't use depraced functions

7 years agoOptimize muc subscriptions handling
Christophe Romain [Tue, 31 Oct 2017 13:00:41 +0000 (14:00 +0100)]
Optimize muc subscriptions handling

7 years agoEnforce module_name/1
Christophe Romain [Tue, 31 Oct 2017 11:06:40 +0000 (12:06 +0100)]
Enforce module_name/1

7 years agoAdd missing type conversion from 675cc3e
Christophe Romain [Tue, 31 Oct 2017 10:59:53 +0000 (11:59 +0100)]
Add missing type conversion from 675cc3e

7 years agoDo not bind unused tail from 675cc3e
Christophe Romain [Tue, 31 Oct 2017 10:25:01 +0000 (11:25 +0100)]
Do not bind unused tail from 675cc3e

7 years agoAllow auth and pubsub plugin to use Elixir module
Christophe Romain [Tue, 31 Oct 2017 10:04:32 +0000 (11:04 +0100)]
Allow auth and pubsub plugin to use Elixir module

7 years agoShow real jid in mucsub subscription change events
Paweł Chmielowski [Mon, 30 Oct 2017 16:54:55 +0000 (17:54 +0100)]
Show real jid in mucsub subscription change events

7 years agoImprove --enable-system-deps
Paweł Chmielowski [Mon, 30 Oct 2017 12:55:10 +0000 (13:55 +0100)]
Improve --enable-system-deps

7 years agoFix last commit
Paweł Chmielowski [Mon, 30 Oct 2017 12:27:37 +0000 (13:27 +0100)]
Fix last commit

7 years agoAdd mucsub event for subscribers list changes
Paweł Chmielowski [Mon, 30 Oct 2017 11:05:18 +0000 (12:05 +0100)]
Add mucsub event for subscribers list changes

7 years agoMerge pull request #2028 from weiss/increase-queue-sizes
Evgeny Khramtsov [Sun, 29 Oct 2017 08:18:23 +0000 (12:18 +0400)]
Merge pull request #2028 from weiss/increase-queue-sizes

Increase max_fsm_queue and max_ack_queue sizes

7 years agoOmit "ProtectSystem" option from systemd unit
Holger Weiss [Sat, 28 Oct 2017 19:31:04 +0000 (21:31 +0200)]
Omit "ProtectSystem" option from systemd unit

With "ProtectSystem", /usr is mounted read-only, so things will fail
when e.g. /usr/local is used as the installation prefix.  Whether such
options make sense depends on the environment, so they should rather be
set by package maintainers and/or admins.

7 years agoDelete cached item on node removal (#2071)
Christophe Romain [Fri, 27 Oct 2017 19:16:25 +0000 (21:16 +0200)]
Delete cached item on node removal (#2071)

7 years agoUpdate Greek translation (thanks to James Iakovos Mandelis)
Badlop [Fri, 27 Oct 2017 13:39:48 +0000 (15:39 +0200)]
Update Greek translation (thanks to James Iakovos Mandelis)

7 years agoUpdate SQL archive index to match mysql.sql
Alexey Shchepin [Fri, 27 Oct 2017 12:20:29 +0000 (15:20 +0300)]
Update SQL archive index to match mysql.sql

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

7 years agoDon't store xdata() in Mnesia table
Evgeniy Khramtsov [Fri, 27 Oct 2017 08:46:37 +0000 (11:46 +0300)]
Don't store xdata() in Mnesia table

7 years agoSimplify backend interface for mod_push
Evgeniy Khramtsov [Fri, 27 Oct 2017 07:55:48 +0000 (10:55 +0300)]
Simplify backend interface for mod_push

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 agoupdated and extended German translation
Maximilian Trummer [Wed, 11 Oct 2017 14:56:05 +0000 (16:56 +0200)]
updated and extended German translation

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