]>
granicus.if.org Git - ejabberd/log
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
Evgeny Khramtsov [Tue, 19 Feb 2019 09:31:18 +0000 (12:31 +0300)]
Don't crash on malformed 'modules' section
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
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
Christoph Scholz [Fri, 1 Feb 2019 18:48:58 +0000 (19:48 +0100)]
added cmds to list and destroy empty rooms by ejabberdctl
Christoph Scholz [Sun, 27 Jan 2019 14:35:06 +0000 (15:35 +0100)]
allow check if archive is empty for or user or room
Christoph Scholz [Sun, 13 Jan 2019 09:35:03 +0000 (10:35 +0100)]
option to prevent archive removal on room destroy
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.
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.
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)
Paweł Chmielowski [Mon, 11 Feb 2019 12:03:57 +0000 (13:03 +0100)]
Send mucsub subscriber notification events with from set to room jid
Badlop [Wed, 6 Feb 2019 15:33:36 +0000 (16:33 +0100)]
Add notice about rooms_unused_destroy using the room history (#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)
Badlop [Wed, 6 Feb 2019 12:30:30 +0000 (13:30 +0100)]
Fix support to restart module with live options in WebAdmin
Badlop [Wed, 6 Feb 2019 11:35:09 +0000 (12:35 +0100)]
Handle versioning result when shared roster group has remote account (#2692)
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
Frank Diebolt [Thu, 31 Jan 2019 17:14:36 +0000 (18:14 +0100)]
catch badarg exceptions on invalid callback procs
Christophe Romain [Thu, 31 Jan 2019 17:05:39 +0000 (18:05 +0100)]
Fix argument name consistency
Frank Diebolt [Thu, 31 Jan 2019 16:44:11 +0000 (17:44 +0100)]
! may raise exceptions on invalid proc
Christophe Romain [Thu, 31 Jan 2019 12:25:56 +0000 (13:25 +0100)]
Do not overwrite odbc config file (#2295)
Paweł Chmielowski [Wed, 30 Jan 2019 15:35:06 +0000 (16:35 +0100)]
Produce better error for http_api request with extra parameters
Paweł Chmielowski [Wed, 30 Jan 2019 15:34:29 +0000 (16:34 +0100)]
Reject request http_api request that have malformed Authentication header
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
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: "*"
Frank Diebolt [Wed, 30 Jan 2019 09:37:26 +0000 (10:37 +0100)]
Revert "Apply shaping to websocket connections"
This reverts commit
dda89aeda070d03d9cb19dcdbba8b6ad033b2d45 .
Frank Diebolt [Wed, 30 Jan 2019 08:57:17 +0000 (09:57 +0100)]
Apply shaping to websocket connections
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)
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
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
Paweł Chmielowski [Tue, 22 Jan 2019 13:40:01 +0000 (14:40 +0100)]
Make last commit compile on R19
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.
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
Evgeny Khramtsov [Sat, 19 Jan 2019 08:29:45 +0000 (11:29 +0300)]
Improve validation of configured language options
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
Paweł Chmielowski [Wed, 16 Jan 2019 14:01:32 +0000 (15:01 +0100)]
Move some apps back to included_applications
Paweł Chmielowski [Wed, 16 Jan 2019 08:58:24 +0000 (09:58 +0100)]
Update xmpp in mix
Paweł Chmielowski [Tue, 15 Jan 2019 17:34:19 +0000 (18:34 +0100)]
Start ejabberd_mnesia before starting mnesia
Paweł Chmielowski [Tue, 15 Jan 2019 15:25:23 +0000 (16:25 +0100)]
And another typo...
Paweł Chmielowski [Tue, 15 Jan 2019 15:23:38 +0000 (16:23 +0100)]
Typo
Paweł Chmielowski [Tue, 15 Jan 2019 15:22:58 +0000 (16:22 +0100)]
Reintroduce change removed in last commit by mistake
Paweł Chmielowski [Tue, 15 Jan 2019 15:18:10 +0000 (16:18 +0100)]
Use tag for xmpp dependency
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
Paweł Chmielowski [Tue, 15 Jan 2019 14:15:56 +0000 (15:15 +0100)]
Update xmpp dep
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
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
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
Paweł Chmielowski [Thu, 10 Jan 2019 14:07:10 +0000 (15:07 +0100)]
Update muc room state after adding extra access field to it
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
Christophe Romain [Thu, 10 Jan 2019 10:07:24 +0000 (11:07 +0100)]
Fix typo in comment
Paweł Chmielowski [Wed, 9 Jan 2019 18:03:36 +0000 (19:03 +0100)]
Start ejabberd_logger also when ejabberd:start() is not called
Paweł Chmielowski [Wed, 9 Jan 2019 17:33:39 +0000 (18:33 +0100)]
Change a way that tests start ejabberd
Paweł Chmielowski [Wed, 9 Jan 2019 17:14:50 +0000 (18:14 +0100)]
Use OTP application startup infrastructure for starting dependencies
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…
Christophe Romain [Wed, 9 Jan 2019 10:55:42 +0000 (11:55 +0100)]
Remove slash producing url /admin//additions.js
Badlop [Tue, 8 Jan 2019 21:53:27 +0000 (22:53 +0100)]
Update copyright to 2019 (#2756)
Badlop [Tue, 8 Jan 2019 21:51:30 +0000 (22:51 +0100)]
Manually update 2017 copyright dates (#2756)
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."
Evgeny Khramtsov [Tue, 8 Jan 2019 10:41:16 +0000 (13:41 +0300)]
mod_offline: make some database callbacks optional
Paweł Chmielowski [Mon, 7 Jan 2019 15:08:58 +0000 (16:08 +0100)]
Fix decompressing of custom elements with custom namespace
Christoph Scholz [Wed, 2 Jan 2019 16:35:01 +0000 (17:35 +0100)]
add acl for mam in mod_muc
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]
Evgeny Khramtsov [Wed, 2 Jan 2019 18:11:22 +0000 (21:11 +0300)]
mod_mam: more checks for database failure
Paweł Chmielowski [Wed, 2 Jan 2019 12:22:35 +0000 (13:22 +0100)]
Try to remove syntax error on old elixir
Paweł Chmielowski [Wed, 2 Jan 2019 12:11:34 +0000 (13:11 +0100)]
Remove iconv from vars.config.in
Paweł Chmielowski [Wed, 2 Jan 2019 12:02:08 +0000 (13:02 +0100)]
Remove no longer used deps
Christophe Romain [Wed, 2 Jan 2019 09:30:29 +0000 (10:30 +0100)]
Update distillery
Mickael Remond [Wed, 26 Dec 2018 16:32:39 +0000 (17:32 +0100)]
Remove most Elixir warnings
Mickael Remond [Wed, 26 Dec 2018 15:49:01 +0000 (16:49 +0100)]
Update ejabberd version for mix
Badlop [Fri, 21 Dec 2018 14:32:23 +0000 (15:32 +0100)]
Add no-store hint to CAPTCHA challenge stanzas (#2730)
Holger Weiss [Sat, 22 Dec 2018 18:45:28 +0000 (19:45 +0100)]
Travis CI: Bump Erlang/OTP 21.x version
Evgeny Khramtsov [Fri, 21 Dec 2018 19:29:20 +0000 (22:29 +0300)]
mod_mam: Additional checks for database failures
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.
Badlop [Fri, 21 Dec 2018 14:00:54 +0000 (15:00 +0100)]
Handle Prosody storage attributes key, when, with (#2724)
Badlop [Fri, 21 Dec 2018 13:46:54 +0000 (14:46 +0100)]
Handle persist=false in roster items (#2722)
Paweł Chmielowski [Thu, 20 Dec 2018 12:51:05 +0000 (13:51 +0100)]
We are handling groupchat in other branch now
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
Badlop [Wed, 19 Dec 2018 11:33:46 +0000 (12:33 +0100)]
Fix PIEFXIS export of user when password is scrammed (#2721)
Badlop [Wed, 19 Dec 2018 11:10:07 +0000 (12:10 +0100)]
Search also for _jid when importing room from prosody (#2723)
Badlop [Wed, 19 Dec 2018 10:59:52 +0000 (11:59 +0100)]
Parse persistent and archiving room options importing from prosody (#2720)
Paweł Chmielowski [Thu, 13 Dec 2018 10:46:46 +0000 (11:46 +0100)]
Remove workaround for old erlang versions
Paweł Chmielowski [Thu, 13 Dec 2018 10:45:45 +0000 (11:45 +0100)]
Add code for handling deprecations of get_stacktrace()
Evgeny Khramtsov [Thu, 13 Dec 2018 09:06:29 +0000 (12:06 +0300)]
Add HTTP listener on port 5280 for admin web interface
Badlop [Wed, 12 Dec 2018 15:23:07 +0000 (16:23 +0100)]
Fix a pair of small typos
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
Paul Menzel [Mon, 19 Nov 2018 13:59:12 +0000 (14:59 +0100)]
README: Strip trailing space
Evgeny Khramtsov [Tue, 11 Dec 2018 14:14:51 +0000 (17:14 +0300)]
Remove outdated MIX tests
Christophe Romain [Tue, 11 Dec 2018 10:07:07 +0000 (11:07 +0100)]
Add hook on api call
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.
Holger Weiss [Mon, 10 Dec 2018 21:38:50 +0000 (22:38 +0100)]
Bump xmpp version
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.
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)
Badlop [Mon, 10 Dec 2018 19:30:42 +0000 (20:30 +0100)]
When unknown roster version, return an acceptable version ID binary (#2709)
Evgeny Khramtsov [Mon, 10 Dec 2018 14:06:21 +0000 (17:06 +0300)]
Fix (un)setting of priority
Evgeny Khramtsov [Mon, 10 Dec 2018 13:50:13 +0000 (16:50 +0300)]
Get rid of outdated mod_mix module
Evgeny Khramtsov [Mon, 10 Dec 2018 08:53:27 +0000 (11:53 +0300)]
Don't lose carbons on presence change or session resumption
Paweł Chmielowski [Fri, 7 Dec 2018 13:38:54 +0000 (14:38 +0100)]
Change default ciphers to intermediate
Paweł Chmielowski [Fri, 7 Dec 2018 11:54:18 +0000 (12:54 +0100)]
Define default ciphers/protocol_option in example config
Paweł Chmielowski [Fri, 7 Dec 2018 09:28:56 +0000 (10:28 +0100)]
Add CHANGELOG.md file
Paweł Chmielowski [Thu, 6 Dec 2018 14:12:23 +0000 (15:12 +0100)]
Normalize hostname when processing host_config
Paweł Chmielowski [Thu, 6 Dec 2018 13:09:37 +0000 (14:09 +0100)]
Bump version of xmpp in mix.lock