]>
granicus.if.org Git - ejabberd/log
Christophe Romain [Mon, 13 Nov 2017 16:34:37 +0000 (17:34 +0100)]
Rewrite pubsub export to sql (#1571)
Evgeniy Khramtsov [Mon, 13 Nov 2017 11:34:59 +0000 (14:34 +0300)]
Assign failed_auth ETS table to another owner
Evgeniy Khramtsov [Mon, 13 Nov 2017 08:29:03 +0000 (11:29 +0300)]
Fix a record default
Evgeniy Khramtsov [Mon, 13 Nov 2017 08:26:49 +0000 (11:26 +0300)]
Get rid of forgotten debug message
Evgeniy Khramtsov [Mon, 13 Nov 2017 08:25:35 +0000 (11:25 +0300)]
Properly store <subject/> element
Fixes #2099
Evgeniy Khramtsov [Sat, 11 Nov 2017 06:33:42 +0000 (09:33 +0300)]
Improve some type specs
Evgeniy Khramtsov [Sat, 11 Nov 2017 06:30:19 +0000 (09:30 +0300)]
Improve a diagnostic text
Evgeniy Khramtsov [Fri, 10 Nov 2017 17:58:13 +0000 (20:58 +0300)]
Fix a test related to mod_caps
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'.
Christophe Romain [Fri, 10 Nov 2017 16:51:22 +0000 (17:51 +0100)]
Cleanup some headers
Evgeniy Khramtsov [Fri, 10 Nov 2017 15:11:04 +0000 (18:11 +0300)]
Add forgotten type specs
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.
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
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.
Paweł Chmielowski [Thu, 9 Nov 2017 08:59:40 +0000 (09:59 +0100)]
Add fs as dep in mix.exs
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."
Holger Weiss [Thu, 9 Nov 2017 00:00:15 +0000 (01:00 +0100)]
mod_mam: Fix indentation
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.
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.
Evgeniy Khramtsov [Wed, 8 Nov 2017 12:15:39 +0000 (15:15 +0300)]
Prepare version 0.6.1 of XEP-0313 (MAM) support
Holger Weiss [Tue, 7 Nov 2017 20:23:48 +0000 (21:23 +0100)]
ejabberdctl: Fix 'read' syntax for non-bash shells
Evgeniy Khramtsov [Tue, 7 Nov 2017 06:04:20 +0000 (09:04 +0300)]
Erase transient certificates on exit
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 .
Badlop [Mon, 6 Nov 2017 15:53:49 +0000 (16:53 +0100)]
Unregister commands when stopping node only if it's last one (#2083)
Paweł Chmielowski [Mon, 6 Nov 2017 10:29:42 +0000 (11:29 +0100)]
Define flags that depend on erlang version in mix.exs
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.
Paweł Chmielowski [Fri, 3 Nov 2017 15:04:19 +0000 (16:04 +0100)]
Remove code left from debugging
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
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
Paweł Chmielowski [Fri, 3 Nov 2017 11:17:34 +0000 (12:17 +0100)]
Use correct table field name in sql query
Badlop [Fri, 3 Nov 2017 09:16:21 +0000 (10:16 +0100)]
Remember previous German translator
badlop [Fri, 3 Nov 2017 08:56:19 +0000 (09:56 +0100)]
Merge pull request #2081 from nekoswag/master
updated German translation
Evgeniy Khramtsov [Fri, 3 Nov 2017 05:32:34 +0000 (08:32 +0300)]
Log warnings for c2s/s2s certfile option
Alexey Shchepin [Thu, 2 Nov 2017 16:48:35 +0000 (19:48 +0300)]
Disable server_host warnings
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
Paweł Chmielowski [Thu, 2 Nov 2017 10:28:23 +0000 (11:28 +0100)]
Fix pkix:validate() return value
Maximilian Trummer [Wed, 1 Nov 2017 17:22:27 +0000 (18:22 +0100)]
updated de.po
Evgeniy Khramtsov [Wed, 1 Nov 2017 07:59:28 +0000 (10:59 +0300)]
Remove -include() directive for unused header
Evgeniy Khramtsov [Wed, 1 Nov 2017 07:14:34 +0000 (10:14 +0300)]
Clarify some error/warning messages
Evgeniy Khramtsov [Wed, 1 Nov 2017 05:47:07 +0000 (08:47 +0300)]
Avoid using "bag" ETS type for certificate storage
Evgeniy Khramtsov [Wed, 1 Nov 2017 05:34:14 +0000 (08:34 +0300)]
Start even if there are problems with fs application
Evgeniy Khramtsov [Tue, 31 Oct 2017 21:55:05 +0000 (00:55 +0300)]
Lower log level
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"
Paweł Chmielowski [Tue, 31 Oct 2017 16:59:55 +0000 (17:59 +0100)]
Fix sql query
Paweł Chmielowski [Tue, 31 Oct 2017 16:11:17 +0000 (17:11 +0100)]
Typo
Paweł Chmielowski [Tue, 31 Oct 2017 15:12:35 +0000 (16:12 +0100)]
Use store_room where possible
Paweł Chmielowski [Tue, 31 Oct 2017 13:43:36 +0000 (14:43 +0100)]
Fix sql syntax error in lite.sql
Paweł Chmielowski [Tue, 31 Oct 2017 13:21:34 +0000 (14:21 +0100)]
Don't use depraced functions
Christophe Romain [Tue, 31 Oct 2017 13:00:41 +0000 (14:00 +0100)]
Optimize muc subscriptions handling
Christophe Romain [Tue, 31 Oct 2017 11:06:40 +0000 (12:06 +0100)]
Enforce module_name/1
Christophe Romain [Tue, 31 Oct 2017 10:59:53 +0000 (11:59 +0100)]
Add missing type conversion from
675cc3e
Christophe Romain [Tue, 31 Oct 2017 10:25:01 +0000 (11:25 +0100)]
Do not bind unused tail from
675cc3e
Christophe Romain [Tue, 31 Oct 2017 10:04:32 +0000 (11:04 +0100)]
Allow auth and pubsub plugin to use Elixir module
Paweł Chmielowski [Mon, 30 Oct 2017 16:54:55 +0000 (17:54 +0100)]
Show real jid in mucsub subscription change events
Paweł Chmielowski [Mon, 30 Oct 2017 12:55:10 +0000 (13:55 +0100)]
Improve --enable-system-deps
Paweł Chmielowski [Mon, 30 Oct 2017 12:27:37 +0000 (13:27 +0100)]
Fix last commit
Paweł Chmielowski [Mon, 30 Oct 2017 11:05:18 +0000 (12:05 +0100)]
Add mucsub event for subscribers list changes
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
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.
Christophe Romain [Fri, 27 Oct 2017 19:16:25 +0000 (21:16 +0200)]
Delete cached item on node removal (#2071)
Badlop [Fri, 27 Oct 2017 13:39:48 +0000 (15:39 +0200)]
Update Greek translation (thanks to James Iakovos Mandelis)
Alexey Shchepin [Fri, 27 Oct 2017 12:20:29 +0000 (15:20 +0300)]
Update SQL archive index to match mysql.sql
Evgeniy Khramtsov [Fri, 27 Oct 2017 09:05:05 +0000 (12:05 +0300)]
Fix typespec
Evgeniy Khramtsov [Fri, 27 Oct 2017 08:46:37 +0000 (11:46 +0300)]
Don't store xdata() in Mnesia table
Evgeniy Khramtsov [Fri, 27 Oct 2017 07:55:48 +0000 (10:55 +0300)]
Simplify backend interface for mod_push
Evgeniy Khramtsov [Fri, 27 Oct 2017 05:59:49 +0000 (08:59 +0300)]
Improve ejd2sql logging
Evgeniy Khramtsov [Fri, 27 Oct 2017 05:12:24 +0000 (08:12 +0300)]
Fix typo
Evgeniy Khramtsov [Thu, 26 Oct 2017 18:05:09 +0000 (21:05 +0300)]
Make it possible to export push_session table to SQL
Evgeniy Khramtsov [Thu, 26 Oct 2017 17:11:43 +0000 (20:11 +0300)]
Add SQL support for mod_push
PaweÅ\82 Chmielowski [Thu, 26 Oct 2017 09:20:48 +0000 (11:20 +0200)]
Adopt 'make install' to updated output from 'rebar list-deps'
Evgeniy Khramtsov [Thu, 26 Oct 2017 07:29:23 +0000 (10:29 +0300)]
Don't forget to convert ljid() to jid()
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`
Christophe Romain [Wed, 25 Oct 2017 13:40:42 +0000 (15:40 +0200)]
Allow dynamic node options on sql backends
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)
Christophe Romain [Wed, 25 Oct 2017 09:48:56 +0000 (11:48 +0200)]
Cosmetic change, remove useless case
Christophe Romain [Wed, 25 Oct 2017 09:41:45 +0000 (11:41 +0200)]
Fix pubsub test, title not mandatory
Christophe Romain [Wed, 25 Oct 2017 09:16:54 +0000 (11:16 +0200)]
Fix delete item from unregistered user (#2067)
Evgeniy Khramtsov [Wed, 25 Oct 2017 08:47:02 +0000 (11:47 +0300)]
Fix another typo ;)
Evgeniy Khramtsov [Wed, 25 Oct 2017 08:44:53 +0000 (11:44 +0300)]
Fix typo
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.
Christophe Romain [Wed, 25 Oct 2017 08:34:11 +0000 (10:34 +0200)]
Add basic PubSub meta-data support (#1421)
Evgeniy Khramtsov [Wed, 25 Oct 2017 07:01:05 +0000 (10:01 +0300)]
Mention XEP-0368 support
Christophe Romain [Tue, 24 Oct 2017 13:35:01 +0000 (15:35 +0200)]
Add missing fix from
07a193d4d , Fix purge_offline (#2057)
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
Jorje Barrera [Tue, 24 Oct 2017 10:02:52 +0000 (18:02 +0800)]
Support for --enable-graphics in mix.exs
Badlop [Mon, 23 Oct 2017 14:14:01 +0000 (16:14 +0200)]
Update Hebrew translation (thanks to Genghis Khan)
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
badlop [Mon, 16 Oct 2017 08:16:54 +0000 (10:16 +0200)]
Merge pull request #2052 from suchatorg/patch-1
Update gl.po
Carlos [Sat, 14 Oct 2017 09:06:03 +0000 (11:06 +0200)]
Update gl.po
Evgeniy Khramtsov [Fri, 13 Oct 2017 17:48:21 +0000 (20:48 +0300)]
Reflect changes in the xmpp lib
Evgeniy Khramtsov [Fri, 13 Oct 2017 06:17:22 +0000 (09:17 +0300)]
Send presence-unavailable when expulsing a participant
Badlop [Thu, 12 Oct 2017 10:09:42 +0000 (12:09 +0200)]
Fix ZH translation
badlop [Thu, 12 Oct 2017 09:44:12 +0000 (11:44 +0200)]
Merge pull request #2047 from fotock/patch-1
Update zh translations
Shelley Shyan [Thu, 12 Oct 2017 05:17:32 +0000 (00:17 -0500)]
Update zh.po
Evgeniy Khramtsov [Wed, 11 Oct 2017 15:53:53 +0000 (18:53 +0300)]
Don't crash when Host header is missing
Maximilian Trummer [Wed, 11 Oct 2017 14:56:05 +0000 (16:56 +0200)]
updated and extended German translation
Badlop [Wed, 11 Oct 2017 14:21:28 +0000 (16:21 +0200)]
Update Catalan translation
Shelley Shyan [Wed, 11 Oct 2017 09:33:14 +0000 (04:33 -0500)]
Update zh.po
Shelley Shyan [Wed, 11 Oct 2017 06:47:43 +0000 (01:47 -0500)]
Update zh.po
Evgeniy Khramtsov [Tue, 10 Oct 2017 10:25:38 +0000 (13:25 +0300)]
Fix a typo: meta -> viewport