]> granicus.if.org Git - ejabberd/log
ejabberd
5 years agoMake misc:add_delay_info properly handle multiple delay tags in element
Paweł Chmielowski [Fri, 29 Mar 2019 10:25:35 +0000 (11:25 +0100)]
Make misc:add_delay_info properly handle multiple delay tags in element

5 years agoAdd option user_mucsub_from_muc_archive to mod_muc
Paweł Chmielowski [Thu, 28 Mar 2019 16:42:25 +0000 (17:42 +0100)]
Add option user_mucsub_from_muc_archive to mod_muc

This option disable storing separate mucsub message for each individual
subscriber but instead when user fetches archive virtual mucsub messages
are generated from muc archives.

5 years agoInclude id in mucsub notification message
Paweł Chmielowski [Thu, 28 Mar 2019 13:43:22 +0000 (14:43 +0100)]
Include id in mucsub notification message

5 years agoAdd 'config' tag to the reload_config command
Badlop [Wed, 27 Mar 2019 10:51:43 +0000 (11:51 +0100)]
Add 'config' tag to the reload_config command

5 years agoFix Register command to respect mod_register's Access option (#2837)
Badlop [Fri, 22 Mar 2019 13:02:03 +0000 (14:02 +0100)]
Fix Register command to respect mod_register's Access option (#2837)

5 years agoUpdate mysql driver in mix.lock also
Christophe Romain [Wed, 20 Mar 2019 12:46:43 +0000 (13:46 +0100)]
Update mysql driver in mix.lock also

5 years agoUpdate mysql driver
Paweł Chmielowski [Wed, 20 Mar 2019 12:28:13 +0000 (13:28 +0100)]
Update mysql driver

5 years agoFix crash in mod_muc_admin:web_page_main/2 caused by just_created (#2830)
Badlop [Mon, 18 Mar 2019 16:08:53 +0000 (17:08 +0100)]
Fix crash in mod_muc_admin:web_page_main/2 caused by just_created (#2830)

5 years agoOrigin header validation on websocket connection (#2821)
Paweł Dorofiejczyk [Fri, 15 Mar 2019 11:19:14 +0000 (12:19 +0100)]
Origin header validation on websocket connection (#2821)

5 years agoUpdate mysql dependency
Paweł Chmielowski [Fri, 15 Mar 2019 10:59:18 +0000 (11:59 +0100)]
Update mysql dependency

5 years agoAdd newline to error_logger log format
Christophe Romain [Fri, 15 Mar 2019 10:51:48 +0000 (11:51 +0100)]
Add newline to error_logger log format

5 years agoAdd check for ljid when setting up subscribers
Paweł Chmielowski [Thu, 14 Mar 2019 14:54:51 +0000 (15:54 +0100)]
Add check for ljid when setting up subscribers

5 years agoFlip default bounce_groupchat flag value, muc will drop bounces anyway
Paweł Chmielowski [Thu, 14 Mar 2019 14:40:34 +0000 (15:40 +0100)]
Flip default bounce_groupchat flag value, muc will drop bounces anyway

5 years agoAdd option to mod_offline to make it not bounce mucsub/groupchat messages
Paweł Chmielowski [Thu, 14 Mar 2019 14:12:39 +0000 (15:12 +0100)]
Add option to mod_offline to make it not bounce mucsub/groupchat messages

5 years agoUse jid() instead of ljid()
Evgeny Khramtsov [Thu, 14 Mar 2019 11:34:15 +0000 (14:34 +0300)]
Use jid() instead of ljid()

5 years agoImprove formatting of hook crashes
Evgeny Khramtsov [Thu, 14 Mar 2019 09:28:37 +0000 (12:28 +0300)]
Improve formatting of hook crashes

5 years agoDelete the ping timer only when timeout_action=kill (#2820)
Badlop [Wed, 13 Mar 2019 10:07:13 +0000 (11:07 +0100)]
Delete the ping timer only when timeout_action=kill (#2820)

5 years agomod_muc: Simplify room creation checks
Holger Weiss [Mon, 11 Mar 2019 23:05:59 +0000 (00:05 +0100)]
mod_muc: Simplify room creation checks

5 years agoMerge remote-tracking branch 'processone/pr/2811'
Holger Weiss [Mon, 11 Mar 2019 22:30:22 +0000 (23:30 +0100)]
Merge remote-tracking branch 'processone/pr/2811'

* processone/pr/2811:
  allow room recreate for admins even if nonempty

5 years agomod_push: Check for payload in encrypted messages
Holger Weiss [Mon, 11 Mar 2019 21:58:53 +0000 (22:58 +0100)]
mod_push: Check for payload in encrypted messages

While distinguishing actual chat messages from other message types,
don't classify all <encrypted/> messages as chat messages, but only
those that have a <payload/> element.

5 years agoFix cond_options with new options
Christophe Romain [Mon, 11 Mar 2019 15:58:26 +0000 (16:58 +0100)]
Fix cond_options with new options

5 years agoFix transaction aborting and restarting in ejabberd_sql
Alexey Shchepin [Thu, 7 Mar 2019 19:14:13 +0000 (22:14 +0300)]
Fix transaction aborting and restarting in ejabberd_sql

5 years agoallow room recreate for admins even if nonempty
Christoph Scholz [Fri, 1 Mar 2019 20:41:53 +0000 (21:41 +0100)]
allow room recreate for admins even if nonempty

5 years agoHandle info log level when using MySQL (#2541)
Badlop [Mon, 4 Mar 2019 17:02:02 +0000 (18:02 +0100)]
Handle info log level when using MySQL (#2541)

5 years agoFix incorrect capitalization in German translation
Holger Weiss [Thu, 28 Feb 2019 23:17:29 +0000 (00:17 +0100)]
Fix incorrect capitalization in German translation

5 years agoDocument required Erlang/OTP version bump
Holger Weiss [Thu, 28 Feb 2019 00:08:52 +0000 (01:08 +0100)]
Document required Erlang/OTP version bump

5 years agoBump required Erlang/OTP version to 19.1
Holger Weiss [Thu, 28 Feb 2019 00:00:05 +0000 (01:00 +0100)]
Bump required Erlang/OTP version to 19.1

Since 538f35d05a9bb25f24b30ea43b07a36cfc043e12, Erlang/OTP 19.1 is
required.

5 years agomod_http_upload: Log nicer warning on unknown host
Holger Weiss [Wed, 27 Feb 2019 23:28:46 +0000 (00:28 +0100)]
mod_http_upload: Log nicer warning on unknown host

If an HTTP client issues a request against an unknown host, log a
readable warning (rather than an unreadable error) and respond with a
404 (rather than a 500) status.

5 years agoAdd mqtree in included_applications
Christophe Romain [Wed, 27 Feb 2019 13:35:07 +0000 (14:35 +0100)]
Add mqtree in included_applications

5 years agoAdd SQL schemas for MQTT tables
Evgeny Khramtsov [Wed, 27 Feb 2019 10:06:17 +0000 (13:06 +0300)]
Add SQL schemas for MQTT tables

5 years agoCopy p1_time_compat:unique_timestamp() to misc and make use of it
Paweł Chmielowski [Wed, 27 Feb 2019 10:00:02 +0000 (11:00 +0100)]
Copy p1_time_compat:unique_timestamp() to misc and make use of it

5 years agoReplace code using p1_time_compat wrapper with native functions
Paweł Chmielowski [Wed, 27 Feb 2019 08:56:20 +0000 (09:56 +0100)]
Replace code using p1_time_compat wrapper with native functions

Since we now require R19, we shouldn't need that anymore.

There are still couple places where p1_time_compat:unique_timestamp() is
used as there is no direct equivalent.

5 years agoRemove now() calls that sneaked in in pull requests
Paweł Chmielowski [Tue, 26 Feb 2019 17:48:46 +0000 (18:48 +0100)]
Remove now() calls that sneaked in in pull requests

5 years agoAdd MQTT listener and module in example config 19.02
Christophe Romain [Tue, 26 Feb 2019 13:53:05 +0000 (14:53 +0100)]
Add MQTT listener and module in example config

5 years agoPrepare 19.02
Christophe Romain [Tue, 26 Feb 2019 13:40:21 +0000 (14:40 +0100)]
Prepare 19.02

5 years agoMySQL: Increase index prefix length for PEP nodes
Holger Weiss [Tue, 26 Feb 2019 12:13:04 +0000 (13:13 +0100)]
MySQL: Increase index prefix length for PEP nodes

For PEP nodes, the "host" column holds the user JID, where the first 20
characters may well not be unique.

5 years agoUpdate mqtree
Paweł Chmielowski [Tue, 26 Feb 2019 11:05:10 +0000 (12:05 +0100)]
Update mqtree

5 years agoCommit back, change reverted by mistake
Paweł Chmielowski [Tue, 26 Feb 2019 10:52:00 +0000 (11:52 +0100)]
Commit back, change reverted by mistake

5 years agoUpdate deps in mix.lock
Paweł Chmielowski [Tue, 26 Feb 2019 10:34:56 +0000 (11:34 +0100)]
Update deps in mix.lock

5 years agoUpdate mod_mqtt_mnesia.erl
Evgeny Khramtsov [Tue, 26 Feb 2019 10:45:53 +0000 (13:45 +0300)]
Update mod_mqtt_mnesia.erl

5 years agoUpdate deps
Paweł Chmielowski [Tue, 26 Feb 2019 09:31:50 +0000 (10:31 +0100)]
Update deps

5 years agoImprove update-deps-releases
Paweł Chmielowski [Tue, 26 Feb 2019 09:31:41 +0000 (10:31 +0100)]
Improve update-deps-releases

5 years agoMerge branch 'pr/2764'
Holger Weiss [Mon, 25 Feb 2019 21:22:02 +0000 (22:22 +0100)]
Merge branch 'pr/2764'

* pr/2764:
  acl for mam_preferences

5 years agoacl for mam_preferences
Christoph Scholz [Sun, 13 Jan 2019 10:37:08 +0000 (11:37 +0100)]
acl for mam_preferences

5 years agoUpdated fast_tls
Paweł Chmielowski [Mon, 25 Feb 2019 15:42:38 +0000 (16:42 +0100)]
Updated fast_tls

5 years agoAdd Accept header to requests issued by rest.erl
Paweł Chmielowski [Mon, 25 Feb 2019 15:18:13 +0000 (16:18 +0100)]
Add Accept header to requests issued by rest.erl

5 years agoPull never fast_tls version
Paweł Chmielowski [Mon, 25 Feb 2019 15:10:48 +0000 (16:10 +0100)]
Pull never fast_tls version

5 years agoRun "make translations"
Badlop [Mon, 25 Feb 2019 14:22:56 +0000 (15:22 +0100)]
Run "make translations"

5 years agoUpdate the Catalan translation
Badlop [Mon, 25 Feb 2019 14:19:55 +0000 (15:19 +0100)]
Update the Catalan translation

5 years agoUpdate the Spanish translation
Badlop [Mon, 25 Feb 2019 14:19:30 +0000 (15:19 +0100)]
Update the Spanish translation

5 years agoAdd MQTT support
Evgeny Khramtsov [Mon, 25 Feb 2019 08:42:09 +0000 (11:42 +0300)]
Add MQTT support

5 years agomod_muc_admin: Fix indentation
Holger Weiss [Sat, 23 Feb 2019 22:50:14 +0000 (23:50 +0100)]
mod_muc_admin: Fix indentation

5 years agoMerge remote-tracking branch 'processone/pr/2805'
Holger Weiss [Sat, 23 Feb 2019 22:46:08 +0000 (23:46 +0100)]
Merge remote-tracking branch 'processone/pr/2805'

* processone/pr/2805:
  only destroy rooms if mam is enabled

5 years agoonly destroy rooms if mam is enabled
Christoph Scholz [Sat, 23 Feb 2019 21:48:15 +0000 (22:48 +0100)]
only destroy rooms if mam is enabled

when using ejabberdctl rooms_empty_list or rooms_empty_destroy only
select rooms that are have mam enabled. Otherwise you may accidently
destroy rooms which seem to be unsused due to archive being empty

5 years agoProvide source code filename in *.po, so editors can show the source code
Badlop [Fri, 22 Feb 2019 10:57:47 +0000 (11:57 +0100)]
Provide source code filename in *.po, so editors can show the source code

5 years agoFix "make translations", got broken in 446e6e6f3
Badlop [Fri, 22 Feb 2019 10:39:41 +0000 (11:39 +0100)]
Fix "make translations", got broken in 446e6e6f3

5 years agomod_mam_sql: Improve check for empty archive
Holger Weiss [Thu, 21 Feb 2019 22:50:16 +0000 (23:50 +0100)]
mod_mam_sql: Improve check for empty archive

Avoid counting the messages of an archive to check whether it's empty.

5 years agomod_mam_mnesia: Fix check for empty archive
Holger Weiss [Thu, 21 Feb 2019 21:19:29 +0000 (22:19 +0100)]
mod_mam_mnesia: Fix check for empty archive

Don't return 'true' if the key exists but points to an empty archive.
Also, avoid looking up all keys.

5 years agoMerge branch 'mix'
Evgeny Khramtsov [Thu, 21 Feb 2019 09:36:33 +0000 (12:36 +0300)]
Merge branch 'mix'

5 years agoTravis CI: Update MySQL APT repository key
Holger Weiss [Wed, 20 Feb 2019 16:09:56 +0000 (17:09 +0100)]
Travis CI: Update MySQL APT repository key

The old key expired on February 17, 2019.

5 years agoMerge remote-tracking branch 'processone/pr/2763'
Holger Weiss [Wed, 20 Feb 2019 16:01:34 +0000 (17:01 +0100)]
Merge remote-tracking branch 'processone/pr/2763'

* processone/pr/2763:
  disallow room creation if archive not empty and clear_archive_on_room_destroy is false
  check if mod_mam is loaded before calling mod_mam:is_empty_for_room
  added cmds to list and destroy empty rooms by ejabberdctl
  allow check if archive is empty for or user or room
  option to prevent archive removal on room destroy

5 years agoDon't crash on malformed 'modules' section
Evgeny Khramtsov [Tue, 19 Feb 2019 09:31:18 +0000 (12:31 +0300)]
Don't crash on malformed 'modules' section

5 years agodisallow room creation if archive not empty and
Christoph Scholz [Sun, 27 Jan 2019 16:40:43 +0000 (17:40 +0100)]
disallow room creation if archive not empty and
clear_archive_on_room_destroy is false

5 years agocheck if mod_mam is loaded before calling mod_mam:is_empty_for_room
Christoph Scholz [Mon, 18 Feb 2019 11:03:16 +0000 (12:03 +0100)]
check if mod_mam is loaded before calling mod_mam:is_empty_for_room

5 years agoadded cmds to list and destroy empty rooms by ejabberdctl
Christoph Scholz [Fri, 1 Feb 2019 18:48:58 +0000 (19:48 +0100)]
added cmds to list and destroy empty rooms by ejabberdctl

5 years agoallow check if archive is empty for or user or room
Christoph Scholz [Sun, 27 Jan 2019 14:35:06 +0000 (15:35 +0100)]
allow check if archive is empty for or user or room

5 years agooption to prevent archive removal on room destroy
Christoph Scholz [Sun, 13 Jan 2019 09:35:03 +0000 (10:35 +0100)]
option to prevent archive removal on room destroy

5 years agoDon't perform roster push for non-local contacts in mod_shared_roster
Paweł Chmielowski [Mon, 18 Feb 2019 11:37:29 +0000 (12:37 +0100)]
Don't perform roster push for non-local contacts in mod_shared_roster

If group have member with jid from external server we tried to make
mod_roster sent roster push to it, and it sometimes didn't like to get
bogus data like that, so let's check if it's local user before doing this.

5 years agomod_push: Improve notification error handling
Holger Weiss [Mon, 11 Feb 2019 21:29:49 +0000 (22:29 +0100)]
mod_push: Improve notification error handling

Don't disable push notifications if the app server returned a temporary
error, and log the app server's notification response.

5 years agoOnce just_created isn't true, use it to keep room process creation (#2787)
Badlop [Wed, 6 Feb 2019 15:13:30 +0000 (16:13 +0100)]
Once just_created isn't true, use it to keep room process creation (#2787)

5 years agoSend mucsub subscriber notification events with from set to room jid
Paweł Chmielowski [Mon, 11 Feb 2019 12:03:57 +0000 (13:03 +0100)]
Send mucsub subscriber notification events with from set to room jid

5 years agoAdd notice about rooms_unused_destroy using the room history (#2787)
Badlop [Wed, 6 Feb 2019 15:33:36 +0000 (16:33 +0100)]
Add notice about rooms_unused_destroy using the room history (#2787)

5 years agoDon't consider room's lack of history when history_size is zero (#2787)
Badlop [Tue, 5 Feb 2019 22:12:49 +0000 (23:12 +0100)]
Don't consider room's lack of history when history_size is zero (#2787)

5 years agoFix support to restart module with live options in WebAdmin
Badlop [Wed, 6 Feb 2019 12:30:30 +0000 (13:30 +0100)]
Fix support to restart module with live options in WebAdmin

5 years agoHandle versioning result when shared roster group has remote account (#2692)
Badlop [Wed, 6 Feb 2019 11:35:09 +0000 (12:35 +0100)]
Handle versioning result when shared roster group has remote account (#2692)

5 years agoMerge branch 'mod_ping_no_kill' of https://github.com/fdie/ejabberd into 3
Badlop [Fri, 1 Feb 2019 15:21:58 +0000 (16:21 +0100)]
Merge branch 'mod_ping_no_kill' of https://github.com/fdie/ejabberd into 3

5 years agocatch badarg exceptions on invalid callback procs
Frank Diebolt [Thu, 31 Jan 2019 17:14:36 +0000 (18:14 +0100)]
catch badarg exceptions on invalid callback procs

5 years agoFix argument name consistency
Christophe Romain [Thu, 31 Jan 2019 17:05:39 +0000 (18:05 +0100)]
Fix argument name consistency

5 years ago! may raise exceptions on invalid proc
Frank Diebolt [Thu, 31 Jan 2019 16:44:11 +0000 (17:44 +0100)]
! may raise exceptions on invalid proc

5 years agoDo not overwrite odbc config file (#2295)
Christophe Romain [Thu, 31 Jan 2019 12:25:56 +0000 (13:25 +0100)]
Do not overwrite odbc config file (#2295)

5 years agoProduce better error for http_api request with extra parameters
Paweł Chmielowski [Wed, 30 Jan 2019 15:35:06 +0000 (16:35 +0100)]
Produce better error for http_api request with extra parameters

5 years agoReject request http_api request that have malformed Authentication header
Paweł Chmielowski [Wed, 30 Jan 2019 15:34:29 +0000 (16:34 +0100)]
Reject request http_api request that have malformed Authentication header

5 years agoRequire that both tag and module matched in from of api_permission
Paweł Chmielowski [Wed, 30 Jan 2019 12:09:06 +0000 (13:09 +0100)]
Require that both tag and module matched in from of api_permission

5 years agoAllow specifying tag for listener for api_permission purposes
Paweł Chmielowski [Wed, 30 Jan 2019 11:56:52 +0000 (12:56 +0100)]
Allow specifying tag for listener for api_permission purposes

This commit will allow adding tag to http listeners:

listener:
  - port: 4000
  - module: ejabberd_http
  - tag: "magic_listener"

that later can be used to have special api_permission just for it:

api_permissions:
  "magic_access":
    from:
      - tag: "magic_listener"
    who: all
    what: "*"

5 years agoRevert "Apply shaping to websocket connections"
Frank Diebolt [Wed, 30 Jan 2019 09:37:26 +0000 (10:37 +0100)]
Revert "Apply shaping to websocket connections"

This reverts commit dda89aeda070d03d9cb19dcdbba8b6ad033b2d45.

5 years agoApply shaping to websocket connections
Frank Diebolt [Wed, 30 Jan 2019 08:57:17 +0000 (09:57 +0100)]
Apply shaping to websocket connections

5 years agoFix ping IQ reply/timeout processing ("mod_ping" regression since 17.x that may cause...
Frank Diebolt [Tue, 29 Jan 2019 17:13:28 +0000 (18:13 +0100)]
Fix ping IQ reply/timeout processing ("mod_ping" regression since 17.x that may cause resources leakage)

5 years agoMerge pull request #2622 from aquarhead/rename-functions
Evgeny Khramtsov [Sun, 27 Jan 2019 20:06:21 +0000 (23:06 +0300)]
Merge pull request #2622 from aquarhead/rename-functions

Rename two presence functions

5 years agoRename two presence functions
AquarHEAD Lou [Mon, 1 Oct 2018 20:03:11 +0000 (20:03 +0000)]
Rename two presence functions

send_self_presence is actually implementing XEP-0115, while
send_initial_presence is implementing the "self-presence" step as
described in XEP-0045

5 years agoMake last commit compile on R19
Paweł Chmielowski [Tue, 22 Jan 2019 13:40:01 +0000 (14:40 +0100)]
Make last commit compile on R19

5 years agoMake sure that room_destroyed is called even when some code throws in terminate
Paweł Chmielowski [Tue, 22 Jan 2019 13:22:15 +0000 (14:22 +0100)]
Make sure that room_destroyed is called even when some code throws in terminate

We observed that some code was throwing exception in muc_room:terminate()
and that make this room not properly unregister itself from muc_online
table.

5 years agoFix crash when running reload_config and sql_pool_size option is used
Badlop [Mon, 21 Jan 2019 12:31:13 +0000 (13:31 +0100)]
Fix crash when running reload_config and sql_pool_size option is used

Fixes #2541

5 years agoImprove validation of configured language options
Evgeny Khramtsov [Sat, 19 Jan 2019 08:29:45 +0000 (11:29 +0300)]
Improve validation of configured language options

5 years agoAdd os_mon to included_application, but start it in ej_system_monitor
Paweł Chmielowski [Wed, 16 Jan 2019 14:40:10 +0000 (15:40 +0100)]
Add os_mon to included_application, but start it in ej_system_monitor

5 years agoMove some apps back to included_applications
Paweł Chmielowski [Wed, 16 Jan 2019 14:01:32 +0000 (15:01 +0100)]
Move some apps back to included_applications

5 years agoUpdate xmpp in mix
Paweł Chmielowski [Wed, 16 Jan 2019 08:58:24 +0000 (09:58 +0100)]
Update xmpp in mix

5 years agoStart ejabberd_mnesia before starting mnesia
Paweł Chmielowski [Tue, 15 Jan 2019 17:34:19 +0000 (18:34 +0100)]
Start ejabberd_mnesia before starting mnesia

5 years agoAnd another typo...
Paweł Chmielowski [Tue, 15 Jan 2019 15:25:23 +0000 (16:25 +0100)]
And another typo...

5 years agoTypo
Paweł Chmielowski [Tue, 15 Jan 2019 15:23:38 +0000 (16:23 +0100)]
Typo

5 years agoReintroduce change removed in last commit by mistake
Paweł Chmielowski [Tue, 15 Jan 2019 15:22:58 +0000 (16:22 +0100)]
Reintroduce change removed in last commit by mistake