]>
granicus.if.org Git - ejabberd/log
Holger Weiss [Wed, 24 Oct 2018 23:05:45 +0000 (01:05 +0200)]
Move some functions from xmpp back into ejabberd
Paweł Chmielowski [Wed, 24 Oct 2018 13:16:32 +0000 (15:16 +0200)]
Do no add 127.0.0.1 address to trusted_proxies list by default
Paweł Chmielowski [Wed, 24 Oct 2018 08:13:05 +0000 (10:13 +0200)]
Use newer fast_tls that fixes some issues with tls1.3
Paweł Chmielowski [Fri, 19 Oct 2018 08:57:22 +0000 (10:57 +0200)]
Use tagged version of p1_mysql
Paweł Chmielowski [Fri, 19 Oct 2018 08:30:05 +0000 (10:30 +0200)]
Recognize not_exists error in http_api
Paweł Chmielowski [Fri, 19 Oct 2018 07:33:26 +0000 (09:33 +0200)]
Update p1_mysql
Badlop [Wed, 17 Oct 2018 10:55:31 +0000 (12:55 +0200)]
Affiliations other than admin and owner cannot invite to members_only rooms
This is explained in the paragraph:
If the room is members-only, the service MAY also add the invitee to the
member list. (Note: Invitation privileges in members-only rooms SHOULD be
restricted to room admins; if a member without privileges to edit the
member list attempts to invite another user, the service SHOULD return
a <forbidden/> error to the occupant; for details, see the Modifying the
Member List section of this document.)
https://xmpp.org/extensions/xep-0045.html#invite-mediated
Holger Weiss [Tue, 16 Oct 2018 07:53:26 +0000 (09:53 +0200)]
Merge remote-tracking branch 'processone/pr/2636'
* processone/pr/2636:
Config template recommend "open" access_model
Licaon_Kter [Mon, 15 Oct 2018 23:15:51 +0000 (23:15 +0000)]
Config template recommend "open" access_model
...instead of "comment out", as many seem to misunderstand what and why should be or not be commented out
Holger Weiss [Mon, 15 Oct 2018 21:09:52 +0000 (23:09 +0200)]
Enable mod_proxy65 by default
Holger Weiss [Mon, 15 Oct 2018 21:03:53 +0000 (23:03 +0200)]
ejabberd_s2s_in: Fix indentation
Paweł Chmielowski [Wed, 10 Oct 2018 16:02:45 +0000 (18:02 +0200)]
Change logic for archiving mucsub messages
This change should apply usual logic for message wrapped in mucsub except
check for groupchat message, so messages without bodies for example
should be rejected
Christophe Romain [Tue, 9 Oct 2018 10:23:27 +0000 (12:23 +0200)]
Fix version in mix.exs
Paweł Chmielowski [Tue, 9 Oct 2018 09:33:39 +0000 (11:33 +0200)]
Add pkix to included_applications
Paweł Chmielowski [Tue, 9 Oct 2018 08:15:10 +0000 (10:15 +0200)]
Add pkix to mix.exs
Paweł Chmielowski [Mon, 8 Oct 2018 13:56:44 +0000 (15:56 +0200)]
Archive messages with type=normal and pubsub payload (like mucsub messages)
Evgeny Khramtsov [Thu, 4 Oct 2018 12:00:43 +0000 (15:00 +0300)]
Avoid using * in 'certfiles' option of default config
Evgeny Khramtsov [Thu, 4 Oct 2018 11:42:11 +0000 (14:42 +0300)]
Bump ejabberd version in the issue template
Evgeny Khramtsov [Thu, 4 Oct 2018 11:31:41 +0000 (14:31 +0300)]
Report available options in lexical order
Evgeny Khramtsov [Sat, 29 Sep 2018 20:06:34 +0000 (23:06 +0300)]
Run ejabberd_started hook earlier
Evgeny Khramtsov [Sat, 29 Sep 2018 20:05:41 +0000 (23:05 +0300)]
Add forgotten TURN options to validator
Fixes #2621
Evgeny Khramtsov [Thu, 27 Sep 2018 21:28:34 +0000 (00:28 +0300)]
Fix bugs introduced by previous commit
Evgeny Khramtsov [Thu, 27 Sep 2018 17:37:27 +0000 (20:37 +0300)]
Move certificates processing code to pkix application
==== WARNING: MUST BE ADDED TO RELEASE NOTES =====
The commit introduces the following incompatibility:
- Option 'ca_path' is deprecated and has no effect anymore:
option 'ca_file' should be used instead if needed.
==================================================
Holger Weiss [Wed, 26 Sep 2018 19:00:52 +0000 (21:00 +0200)]
mod_avatar: Reduce log level for too large avatars
Log a warning rather than an error when publishing an avatar fails due
to its size exceeding the ?MAX_PAYLOAD_SIZE for PubSub items.
Holger Weiss [Wed, 26 Sep 2018 17:10:32 +0000 (19:10 +0200)]
ejabberd_regexp: Support Unicode
Holger Weiss [Wed, 26 Sep 2018 17:01:45 +0000 (19:01 +0200)]
MySQL: Use MEDIUMTEXT for PubSub payload
Let MySQL/MariaDB accept PubSub payloads with a size of up to 16 MiB,
rather than truncating at 64 KiB.
Paweł Chmielowski [Wed, 26 Sep 2018 13:01:01 +0000 (15:01 +0200)]
Update mix.lock
Christophe Romain [Tue, 25 Sep 2018 14:59:49 +0000 (16:59 +0200)]
Add odbc connection robustness (#2428)
Paweł Chmielowski [Tue, 25 Sep 2018 14:18:16 +0000 (16:18 +0200)]
Update xmpp
Paweł Chmielowski [Tue, 25 Sep 2018 12:31:22 +0000 (14:31 +0200)]
Update deps in mix.lock
Badlop [Tue, 25 Sep 2018 08:43:38 +0000 (10:43 +0200)]
Allow a subscribed owner/admin to kick lower-affiliation moderator
Badlop [Tue, 25 Sep 2018 08:27:17 +0000 (10:27 +0200)]
Allow an occupant owner/admin to kick lower-affiliation moderator
Badlop [Mon, 24 Sep 2018 09:20:10 +0000 (11:20 +0200)]
Allow a subscribed owner/admin to kick participants and visitors
Badlop [Thu, 20 Sep 2018 09:14:11 +0000 (11:14 +0200)]
Allow a subscribed owner/admin to change participant<->visitor
Paweł Chmielowski [Mon, 24 Sep 2018 13:49:26 +0000 (15:49 +0200)]
Update deps once more
Paweł Chmielowski [Mon, 24 Sep 2018 13:19:19 +0000 (15:19 +0200)]
Increase validity of generated test ca cert and regenerate all certs
Paweł Chmielowski [Mon, 24 Sep 2018 12:37:42 +0000 (14:37 +0200)]
Update deps
Evgeny Khramtsov [Fri, 21 Sep 2018 16:20:23 +0000 (19:20 +0300)]
Update ISSUE_TEMPLATE
Evgeny Khramtsov [Fri, 21 Sep 2018 16:02:14 +0000 (19:02 +0300)]
Update ISSUE_TEMPLATE
Paweł Chmielowski [Fri, 21 Sep 2018 14:37:52 +0000 (16:37 +0200)]
Allow changing invitation message from muc_invite hook
Paweł Chmielowski [Thu, 20 Sep 2018 16:02:47 +0000 (18:02 +0200)]
Recognize more fields that aren't atom in format_room_option
Evgeny Khramtsov [Wed, 19 Sep 2018 20:17:04 +0000 (23:17 +0300)]
Remove forgotten debug line
Evgeny Khramtsov [Wed, 19 Sep 2018 20:12:14 +0000 (23:12 +0300)]
Switch more log message to warning level
The commit is supposed to improve logging at loglevel 3, which
is the recommended level for high loaded ejabberd servers
Evgeny Khramtsov [Wed, 19 Sep 2018 16:33:33 +0000 (19:33 +0300)]
Switch mod_fail2ban log messages to warning level
Evgeny Khramtsov [Wed, 19 Sep 2018 08:55:40 +0000 (11:55 +0300)]
Resize SQL pool on configuration reload
Fixes #2541
Evgeny Khramtsov [Tue, 18 Sep 2018 22:00:50 +0000 (01:00 +0300)]
Don't hide 'undef' exceptions during config validation
Evgeny Khramtsov [Tue, 18 Sep 2018 15:19:42 +0000 (18:19 +0300)]
Fail early when loading unavailable SIP or STUN modules
Evgeny Khramtsov [Tue, 18 Sep 2018 11:51:42 +0000 (14:51 +0300)]
Report real address of a listener
Evgeny Khramtsov [Tue, 18 Sep 2018 10:24:06 +0000 (13:24 +0300)]
Remove useless type specs
Evgeny Khramtsov [Tue, 18 Sep 2018 10:22:34 +0000 (13:22 +0300)]
Fix listeners child specs creation
Evgeny Khramtsov [Tue, 18 Sep 2018 09:58:29 +0000 (12:58 +0300)]
Remove forgotten debug line
Evgeny Khramtsov [Tue, 18 Sep 2018 09:53:36 +0000 (12:53 +0300)]
Refactor ejabberd_listener
Paweł Chmielowski [Tue, 18 Sep 2018 07:44:41 +0000 (09:44 +0200)]
Add ability to configure test to use new sql schema
Holger Weiss [Mon, 17 Sep 2018 19:46:37 +0000 (21:46 +0200)]
mod_http_upload: Log error if 'put_url' is reused
Log a proper [error] message if a single 'put_url' is used for multiple
virtual hosts.
Badlop [Mon, 17 Sep 2018 10:28:39 +0000 (12:28 +0200)]
Revert "New option tombstone_expiry locks recent room creation after destroy (#2546)"
This reverts commit
efb4fd0d1020faa105bf932c06cf4c67fb389952 .
Evgeny Khramtsov [Mon, 17 Sep 2018 09:08:04 +0000 (12:08 +0300)]
Improve error formatting
Badlop [Mon, 17 Sep 2018 08:42:29 +0000 (10:42 +0200)]
Remove unused variables
Evgeny Khramtsov [Mon, 17 Sep 2018 08:21:02 +0000 (11:21 +0300)]
Refactor ejabberd listener API
Paweł Chmielowski [Mon, 17 Sep 2018 07:34:15 +0000 (09:34 +0200)]
Reintroduce change removed by mistake in 'Improve match macro'
Holger Weiss [Sun, 16 Sep 2018 22:18:38 +0000 (00:18 +0200)]
Increase 'max_stanza_size' limit for c2s listener
Specify a larger 'max_stanza_size' limit for c2s connections in the
default configuration in order to reduce the risk of this limit being
hit by legitimate traffic (such as avatar uploads).
Holger Weiss [Sun, 16 Sep 2018 21:57:44 +0000 (23:57 +0200)]
Set a 'max_stanza_size' for incoming s2s listener
Specify a 'max_stanza_size' limit for incoming s2s connections in the
example configuration, but use a relatively large value in order to
minimize the risk of this limit being hit by legitimate traffic.
Holger Weiss [Sun, 16 Sep 2018 18:42:37 +0000 (20:42 +0200)]
MySQL: Use MEDIUMTEXT for MAM/offline messages
Let MySQL/MariaDB accept message stanzas with a size of up to 16 MiB,
rather than truncating at 64 KiB.
Paweł Chmielowski [Fri, 14 Sep 2018 18:27:59 +0000 (20:27 +0200)]
[test] Improve match macro
Paweł Chmielowski [Fri, 14 Sep 2018 18:27:33 +0000 (20:27 +0200)]
[tests] Update stream_id from stream:stream after auth
Holger Weiss [Thu, 13 Sep 2018 22:18:17 +0000 (00:18 +0200)]
mod_muc_room: Fix the room's CAPS hash
Don't forget the room's xdata when calculating the CAPS hash.
Evgeny Khramtsov [Thu, 13 Sep 2018 19:36:59 +0000 (22:36 +0300)]
Merge pull request #2605 from
af8a524db1 /remove_unused_error
mod_register: Remove unused error 'too_many_users'
Marc Schink [Thu, 13 Sep 2018 19:23:40 +0000 (21:23 +0200)]
mod_register: Remove unused error 'too_many_users'
Badlop [Thu, 13 Sep 2018 15:58:32 +0000 (17:58 +0200)]
Trigger hook for user_send_packet in send_message command (#2604)
Evgeny Khramtsov [Wed, 12 Sep 2018 14:15:04 +0000 (17:15 +0300)]
Merge pull request #2602 from aquarhead/expect-mnesia-up
Expect mnesia_up event when joining cluster
AquarHEAD Lou [Wed, 12 Sep 2018 11:01:05 +0000 (11:01 +0000)]
Expect mnesia_up event when joining cluster
Evgeny Khramtsov [Sun, 9 Sep 2018 06:59:08 +0000 (09:59 +0300)]
Fix some dialyzer warnings
Evgeny Khramtsov [Fri, 7 Sep 2018 19:50:16 +0000 (22:50 +0300)]
Merge pull request #2597 from dmitryDemchenko/master
fix for freetds UTF-8 corruption
root [Fri, 7 Sep 2018 16:56:39 +0000 (19:56 +0300)]
fix for freetds UTF-8 corruption
Evgeny Khramtsov [Fri, 7 Sep 2018 15:03:36 +0000 (18:03 +0300)]
Bump lager version
This is needed for OTP-21 compatibility
Paweł Chmielowski [Thu, 6 Sep 2018 10:40:05 +0000 (12:40 +0200)]
Add information about real sender to mucsub message meta
Paweł Chmielowski [Wed, 5 Sep 2018 09:14:19 +0000 (11:14 +0200)]
Use newere fast_tls
Paweł Chmielowski [Tue, 4 Sep 2018 07:52:41 +0000 (09:52 +0200)]
Don't stop sending pings when receiving timeout for timeout_action=none
Evgeniy Khramtsov [Sat, 1 Sep 2018 21:37:07 +0000 (00:37 +0300)]
Correctly handle empty result with RSM
Fixes #2588
Evgeniy Khramtsov [Sat, 1 Sep 2018 16:37:26 +0000 (19:37 +0300)]
Get stacktrace out of lager context
Calling erlang:get_stacktrace() inside lager functions produces
stacktraces of the logging function itself, not the function which has failed.
Evgeniy Khramtsov [Sat, 1 Sep 2018 14:39:39 +0000 (17:39 +0300)]
Don't set termination reason into presence-unavailable status
Fixes https://github.com/processone/xmpp/issues/35
Holger Weiss [Wed, 29 Aug 2018 14:23:56 +0000 (16:23 +0200)]
ejabberd_s2s_in: Log message on connection close
Log a message when an incoming s2s connection is closed, analogous to
the message on outgoing s2s connection close.
Paweł Chmielowski [Tue, 28 Aug 2018 09:07:31 +0000 (11:07 +0200)]
Sign certs used by tests with sha256
Seems that openssl1.1.1 (at least debian version) rejects certs signed with
md5 or sha1, so lets use something that works.
Evgeniy Khramtsov [Tue, 28 Aug 2018 07:41:57 +0000 (10:41 +0300)]
Better formatting of unexpected return from Module:start/2
Badlop [Mon, 20 Aug 2018 13:39:58 +0000 (15:39 +0200)]
Fix max_user_conferences in Mnesia to consider only one MUC service (#2556)
Evgeniy Khramtsov [Fri, 17 Aug 2018 15:42:09 +0000 (18:42 +0300)]
Use "localhost" as a default host
Evgeniy Khramtsov [Fri, 17 Aug 2018 15:16:14 +0000 (18:16 +0300)]
Bump xmpp version
Evgeniy Khramtsov [Fri, 17 Aug 2018 14:56:23 +0000 (17:56 +0300)]
Disable cache for anonymous auth backend
Fixes #2566
Paweł Chmielowski [Thu, 16 Aug 2018 09:59:26 +0000 (11:59 +0200)]
Update xmpp
Badlop [Wed, 15 Aug 2018 10:56:41 +0000 (12:56 +0200)]
Third attempt to fix the typo!
Badlop [Wed, 15 Aug 2018 10:40:39 +0000 (12:40 +0200)]
Fix typo from commit
0bf93eefc
Badlop [Wed, 15 Aug 2018 10:16:01 +0000 (12:16 +0200)]
Handle get_presence(Pid) when session doesn't exist (#2547)
Badlop [Mon, 13 Aug 2018 14:42:16 +0000 (16:42 +0200)]
Fix typo in command description
Badlop [Mon, 13 Aug 2018 13:26:40 +0000 (15:26 +0200)]
Try to update tests to handle recent MUC subscriptions change (#2272)
Badlop [Mon, 13 Aug 2018 11:56:29 +0000 (13:56 +0200)]
Return human error messages when calling export2sql with wrong path (#2480)
Badlop [Fri, 10 Aug 2018 15:46:47 +0000 (17:46 +0200)]
In response with list of room subscriptions include also events (#2272)
Badlop [Wed, 8 Aug 2018 12:08:07 +0000 (14:08 +0200)]
Remove num_active_users as it uses calls to last_activity mnesia table (#2448)
Badlop [Wed, 8 Aug 2018 12:05:04 +0000 (14:05 +0200)]
Remove direct calls to muc_room mnesia table in mod_muc_admin (#2448)
Badlop [Tue, 7 Aug 2018 14:58:29 +0000 (16:58 +0200)]
Add markdown options as specified in the docs git repo
Badlop [Tue, 7 Aug 2018 14:57:54 +0000 (16:57 +0200)]
Add import_prosody explanation from docs git repo
Badlop [Tue, 7 Aug 2018 14:57:10 +0000 (16:57 +0200)]
Allow acme and oauth commands to be read by gen_markdown_doc_for_commands