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

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

5 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

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

5 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

5 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

5 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

5 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

5 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

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

5 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

5 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

5 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

5 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…

5 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

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

5 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)

5 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."

5 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

5 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

5 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

5 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]

5 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

5 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

5 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

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

5 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

6 years agoAdd option to mod_offline that would allow storing group chat messages
Paweł Chmielowski [Thu, 20 Dec 2018 12:25:53 +0000 (13:25 +0100)]
Add option to mod_offline that would allow storing group chat messages

6 years agoFix PIEFXIS export of user when password is scrammed (#2721)
Badlop [Wed, 19 Dec 2018 11:33:46 +0000 (12:33 +0100)]
Fix PIEFXIS export of user when password is scrammed (#2721)

6 years agoSearch also for _jid when importing room from prosody (#2723)
Badlop [Wed, 19 Dec 2018 11:10:07 +0000 (12:10 +0100)]
Search also for _jid when importing room from prosody (#2723)

6 years agoParse persistent and archiving room options importing from prosody (#2720)
Badlop [Wed, 19 Dec 2018 10:59:52 +0000 (11:59 +0100)]
Parse persistent and archiving room options importing from prosody (#2720)

6 years agoRemove workaround for old erlang versions
Paweł Chmielowski [Thu, 13 Dec 2018 10:46:46 +0000 (11:46 +0100)]
Remove workaround for old erlang versions

6 years agoAdd code for handling deprecations of get_stacktrace()
Paweł Chmielowski [Thu, 13 Dec 2018 10:45:45 +0000 (11:45 +0100)]
Add code for handling deprecations of get_stacktrace()

6 years agoAdd HTTP listener on port 5280 for admin web interface
Evgeny Khramtsov [Thu, 13 Dec 2018 09:06:29 +0000 (12:06 +0300)]
Add HTTP listener on port 5280 for admin web interface

6 years agoFix a pair of small typos
Badlop [Wed, 12 Dec 2018 15:23:07 +0000 (16:23 +0100)]
Fix a pair of small typos

6 years agoMerge pull request #2718 from paulmenzel/strip-trailing-space-in-readme
Evgeny Khramtsov [Wed, 12 Dec 2018 14:32:41 +0000 (17:32 +0300)]
Merge pull request #2718 from paulmenzel/strip-trailing-space-in-readme

README: Strip trailing space

6 years agoREADME: Strip trailing space
Paul Menzel [Mon, 19 Nov 2018 13:59:12 +0000 (14:59 +0100)]
README: Strip trailing space

6 years agoRemove outdated MIX tests
Evgeny Khramtsov [Tue, 11 Dec 2018 14:14:51 +0000 (17:14 +0300)]
Remove outdated MIX tests

6 years agoAdd hook on api call
Christophe Romain [Tue, 11 Dec 2018 10:07:07 +0000 (11:07 +0100)]
Add hook on api call

6 years agoIncrease MAX_PAYLOAD_SIZE for PubSub items
Holger Weiss [Mon, 10 Dec 2018 21:54:18 +0000 (22:54 +0100)]
Increase MAX_PAYLOAD_SIZE for PubSub items

Some PubSub payloads (such as PEP avatars) can easily exceed the old
MAX_PAYLOAD_SIZE.  Use a higher limit, but stay below the default
max_stanza_size value.

6 years agoBump xmpp version
Holger Weiss [Mon, 10 Dec 2018 21:38:50 +0000 (22:38 +0100)]
Bump xmpp version

6 years agomod_roster: Don't set version to "not_found"
Holger Weiss [Mon, 10 Dec 2018 20:38:14 +0000 (21:38 +0100)]
mod_roster: Don't set version to "not_found"

Don't include a "ver" attribute with roster pushes if no roster version
is available.

6 years agoDon't require a full JID as argument, instead set a dummy resource (#2710)
Badlop [Mon, 10 Dec 2018 20:06:26 +0000 (21:06 +0100)]
Don't require a full JID as argument, instead set a dummy resource (#2710)

6 years agoWhen unknown roster version, return an acceptable version ID binary (#2709)
Badlop [Mon, 10 Dec 2018 19:30:42 +0000 (20:30 +0100)]
When unknown roster version, return an acceptable version ID binary (#2709)

6 years agoFix (un)setting of priority
Evgeny Khramtsov [Mon, 10 Dec 2018 14:06:21 +0000 (17:06 +0300)]
Fix (un)setting of priority

6 years agoGet rid of outdated mod_mix module
Evgeny Khramtsov [Mon, 10 Dec 2018 13:50:13 +0000 (16:50 +0300)]
Get rid of outdated mod_mix module

6 years agoDon't lose carbons on presence change or session resumption
Evgeny Khramtsov [Mon, 10 Dec 2018 08:53:27 +0000 (11:53 +0300)]
Don't lose carbons on presence change or session resumption

6 years agoChange default ciphers to intermediate
Paweł Chmielowski [Fri, 7 Dec 2018 13:38:54 +0000 (14:38 +0100)]
Change default ciphers to intermediate

6 years agoDefine default ciphers/protocol_option in example config
Paweł Chmielowski [Fri, 7 Dec 2018 11:54:18 +0000 (12:54 +0100)]
Define default ciphers/protocol_option in example config

6 years agoAdd CHANGELOG.md file
Paweł Chmielowski [Fri, 7 Dec 2018 09:28:56 +0000 (10:28 +0100)]
Add CHANGELOG.md file

6 years agoNormalize hostname when processing host_config
Paweł Chmielowski [Thu, 6 Dec 2018 14:12:23 +0000 (15:12 +0100)]
Normalize hostname when processing host_config

6 years agoBump version of xmpp in mix.lock
Paweł Chmielowski [Thu, 6 Dec 2018 13:09:37 +0000 (14:09 +0100)]
Bump version of xmpp in mix.lock

6 years agoStart fast_tls before pkix
Paweł Chmielowski [Thu, 6 Dec 2018 12:42:08 +0000 (13:42 +0100)]
Start fast_tls before pkix

6 years agoBump xmpp dep
Paweł Chmielowski [Thu, 6 Dec 2018 12:40:08 +0000 (13:40 +0100)]
Bump xmpp dep

6 years agoconfigure.ac: Bump required Erlang/OTP version
Holger Weiss [Thu, 6 Dec 2018 11:43:20 +0000 (12:43 +0100)]
configure.ac: Bump required Erlang/OTP version

6 years agoUpdate mix packaging 18.12
Paweł Chmielowski [Thu, 6 Dec 2018 09:18:43 +0000 (10:18 +0100)]
Update mix packaging

6 years agomod_private: Add "bookmarks_to_pep" command
Holger Weiss [Wed, 5 Dec 2018 21:04:40 +0000 (22:04 +0100)]
mod_private: Add "bookmarks_to_pep" command

The "bookmarks_to_pep" command exports the bookmarks of the specified
user from private XML storage to PEP.

6 years agomod_pubsub: Improve PEP behavior for 'whitelist'
Holger Weiss [Wed, 5 Dec 2018 17:25:40 +0000 (18:25 +0100)]
mod_pubsub: Improve PEP behavior for 'whitelist'

If a PEP node's access_model is set to 'whitelist' (or 'authorize'),
send last PEP notifications to the node owner.

6 years agoRemove useless config file (#2665)
Christophe Romain [Wed, 5 Dec 2018 16:17:52 +0000 (17:17 +0100)]
Remove useless config file (#2665)

Config file should be generated at packaging/installation stage
/ejabberd.yml.example is the default template which can be used
as default configuration

6 years agoAdd auth:which_user_exist to bulk checking existence of list of users
Paweł Chmielowski [Wed, 5 Dec 2018 13:22:09 +0000 (14:22 +0100)]
Add auth:which_user_exist to bulk checking existence of list of users

6 years agoAdd list types to sql_pt
Paweł Chmielowski [Wed, 5 Dec 2018 12:11:52 +0000 (13:11 +0100)]
Add list types to sql_pt

6 years agoRevert "Let deliver unsubscribe stanza when no roster push is required (#2598)"
Badlop [Wed, 5 Dec 2018 11:17:16 +0000 (12:17 +0100)]
Revert "Let deliver unsubscribe stanza when no roster push is required (#2598)"

This reverts commit 86048f8a25ea820113a35350936b59ea9083c59f.

6 years agoLet deliver unsubscribe stanza when no roster push is required (#2598)
Badlop [Mon, 19 Nov 2018 16:31:35 +0000 (17:31 +0100)]
Let deliver unsubscribe stanza when no roster push is required (#2598)

6 years agoUse tagged version of pkix dependency
Paweł Chmielowski [Wed, 5 Dec 2018 09:11:37 +0000 (10:11 +0100)]
Use tagged version of pkix dependency

6 years agoFix PostgreSQL compatibility in mod_offline_sql:remove_old_messages (#2695)
Alexey Shchepin [Tue, 4 Dec 2018 22:56:39 +0000 (01:56 +0300)]
Fix PostgreSQL compatibility in mod_offline_sql:remove_old_messages (#2695)