]> granicus.if.org Git - ejabberd/log
ejabberd
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

6 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

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

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

6 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

6 years agoUse tag for xmpp dependency
Paweł Chmielowski [Tue, 15 Jan 2019 15:18:10 +0000 (16:18 +0100)]
Use tag for xmpp dependency

6 years agoUpdate list of applications in mix.exs
Paweł Chmielowski [Tue, 15 Jan 2019 15:17:45 +0000 (16:17 +0100)]
Update list of applications in mix.exs

We now use normal application for starting dependencies, so we no longer
should put them in included_applications

6 years agoUpdate xmpp dep
Paweł Chmielowski [Tue, 15 Jan 2019 14:15:56 +0000 (15:15 +0100)]
Update xmpp dep

6 years agoGuard agains sm:get_user_info returning offline
Paweł Chmielowski [Tue, 15 Jan 2019 09:04:15 +0000 (10:04 +0100)]
Guard agains sm:get_user_info returning offline

This fixes issue #2765

6 years agoImprove private and MAM tests in order to reflect
Evgeny Khramtsov [Mon, 14 Jan 2019 16:33:23 +0000 (19:33 +0300)]
Improve private and MAM tests in order to reflect
database backends with limited capabilities

6 years agoDon't produce a crash on config reload when SQL is not configured
Evgeny Khramtsov [Sat, 12 Jan 2019 20:40:33 +0000 (23:40 +0300)]
Don't produce a crash on config reload when SQL is not configured

6 years agoUpdate muc room state after adding extra access field to it
Paweł Chmielowski [Thu, 10 Jan 2019 14:07:10 +0000 (15:07 +0100)]
Update muc room state after adding extra access field to it

6 years agoMerge pull request #2748 from area-42/add_acl_for_mam_in_mod_muc
Christophe Romain [Thu, 10 Jan 2019 13:29:02 +0000 (14:29 +0100)]
Merge pull request #2748 from area-42/add_acl_for_mam_in_mod_muc

add acl for mam in mod_muc

6 years agoFix typo in comment
Christophe Romain [Thu, 10 Jan 2019 10:07:24 +0000 (11:07 +0100)]
Fix typo in comment

6 years agoStart ejabberd_logger also when ejabberd:start() is not called
Paweł Chmielowski [Wed, 9 Jan 2019 18:03:36 +0000 (19:03 +0100)]
Start ejabberd_logger also when ejabberd:start() is not called

6 years agoChange a way that tests start ejabberd
Paweł Chmielowski [Wed, 9 Jan 2019 17:33:39 +0000 (18:33 +0100)]
Change a way that tests start ejabberd

6 years agoUse OTP application startup infrastructure for starting dependencies
Paweł Chmielowski [Wed, 9 Jan 2019 17:14:50 +0000 (18:14 +0100)]
Use OTP application startup infrastructure for starting dependencies

6 years agoMerge pull request #2680 from Iperity/fix-privacy-check-on-presence-probe
badlop [Wed, 9 Jan 2019 15:31:14 +0000 (16:31 +0100)]
Merge pull request #2680 from Iperity/fix-privacy-check-on-presence-probe

Privacy lists: set from/to on packet *before* calling privacy_check_p…

6 years agoRemove slash producing url /admin//additions.js
Christophe Romain [Wed, 9 Jan 2019 10:55:42 +0000 (11:55 +0100)]
Remove slash producing url /admin//additions.js

6 years agoUpdate copyright to 2019 (#2756)
Badlop [Tue, 8 Jan 2019 21:53:27 +0000 (22:53 +0100)]
Update copyright to 2019 (#2756)

6 years agoManually update 2017 copyright dates (#2756)
Badlop [Tue, 8 Jan 2019 21:51:30 +0000 (22:51 +0100)]
Manually update 2017 copyright dates (#2756)

6 years agomod_private: Hardcode item ID for PEP bookmarks
Holger Weiss [Tue, 8 Jan 2019 20:23:21 +0000 (21:23 +0100)]
mod_private: Hardcode item ID for PEP bookmarks

Set the item ID to "current" when publishing bookmarks via PEP.
XEP-0060 says: For singleton nodes, "it is RECOMMENDED for the publisher
to specify an ItemID of 'current' to ensure that the publication of a
new item will overwrite the existing item."

6 years agomod_offline: make some database callbacks optional
Evgeny Khramtsov [Tue, 8 Jan 2019 10:41:16 +0000 (13:41 +0300)]
mod_offline: make some database callbacks optional

6 years agoFix decompressing of custom elements with custom namespace
Paweł Chmielowski [Mon, 7 Jan 2019 15:08:58 +0000 (16:08 +0100)]
Fix decompressing of custom elements with custom namespace

6 years agoadd acl for mam in mod_muc
Christoph Scholz [Wed, 2 Jan 2019 16:35:01 +0000 (17:35 +0100)]
add acl for mam in mod_muc

6 years agoMerge pull request #2599 from gardenia/master
badlop [Fri, 4 Jan 2019 11:20:50 +0000 (12:20 +0100)]
Merge pull request #2599 from gardenia/master

Eliminate some repeated SQL queries [Issue #1656]

6 years agomod_mam: more checks for database failure
Evgeny Khramtsov [Wed, 2 Jan 2019 18:11:22 +0000 (21:11 +0300)]
mod_mam: more checks for database failure

6 years agoTry to remove syntax error on old elixir
Paweł Chmielowski [Wed, 2 Jan 2019 12:22:35 +0000 (13:22 +0100)]
Try to remove syntax error on old elixir

6 years agoRemove iconv from vars.config.in
Paweł Chmielowski [Wed, 2 Jan 2019 12:11:34 +0000 (13:11 +0100)]
Remove iconv from vars.config.in

6 years agoRemove no longer used deps
Paweł Chmielowski [Wed, 2 Jan 2019 12:02:08 +0000 (13:02 +0100)]
Remove no longer used deps

6 years agoUpdate distillery
Christophe Romain [Wed, 2 Jan 2019 09:30:29 +0000 (10:30 +0100)]
Update distillery

6 years agoRemove most Elixir warnings
Mickael Remond [Wed, 26 Dec 2018 16:32:39 +0000 (17:32 +0100)]
Remove most Elixir warnings

6 years agoUpdate ejabberd version for mix
Mickael Remond [Wed, 26 Dec 2018 15:49:01 +0000 (16:49 +0100)]
Update ejabberd version for mix

6 years agoAdd no-store hint to CAPTCHA challenge stanzas (#2730)
Badlop [Fri, 21 Dec 2018 14:32:23 +0000 (15:32 +0100)]
Add no-store hint to CAPTCHA challenge stanzas (#2730)

6 years agoTravis CI: Bump Erlang/OTP 21.x version
Holger Weiss [Sat, 22 Dec 2018 18:45:28 +0000 (19:45 +0100)]
Travis CI: Bump Erlang/OTP 21.x version

6 years agomod_mam: Additional checks for database failures
Evgeny Khramtsov [Fri, 21 Dec 2018 19:29:20 +0000 (22:29 +0300)]
mod_mam: Additional checks for database failures

6 years agoRemove elixir tests
Paweł Chmielowski [Fri, 21 Dec 2018 14:56:56 +0000 (15:56 +0100)]
Remove elixir tests

Our regular suite cover most of those cases, and it get trickier and
tricker to keep those working after changes in ejabberd.

6 years agoHandle Prosody storage attributes key, when, with (#2724)
Badlop [Fri, 21 Dec 2018 14:00:54 +0000 (15:00 +0100)]
Handle Prosody storage attributes key, when, with (#2724)

6 years agoHandle persist=false in roster items (#2722)
Badlop [Fri, 21 Dec 2018 13:46:54 +0000 (14:46 +0100)]
Handle persist=false in roster items (#2722)

6 years agoWe are handling groupchat in other branch now
Paweł Chmielowski [Thu, 20 Dec 2018 12:51:05 +0000 (13:51 +0100)]
We are handling groupchat in other branch now