]>
granicus.if.org Git - ejabberd/log
Evgeny Khramtsov [Thu, 1 Aug 2019 09:56:23 +0000 (12:56 +0300)]
Bump pkix version
Badlop [Thu, 1 Aug 2019 09:29:42 +0000 (11:29 +0200)]
Explain requirements of the FROM argument of send_message command (#2959)
Evgeny Khramtsov [Wed, 31 Jul 2019 16:25:22 +0000 (19:25 +0300)]
Don't call ejabberd_cluster from its submodules
Fixes #2971
Evgeny Khramtsov [Wed, 31 Jul 2019 15:55:43 +0000 (18:55 +0300)]
Fix db_type validation
Paweł Chmielowski [Wed, 31 Jul 2019 11:11:27 +0000 (13:11 +0200)]
Add test that trigger get_only_item in pubsub
Paweł Chmielowski [Wed, 31 Jul 2019 10:20:38 +0000 (12:20 +0200)]
For pubsub items with max_item = 1 use order by in sql queries
Evgeny Khramtsov [Wed, 31 Jul 2019 09:35:06 +0000 (12:35 +0300)]
Don't render CAPTCHA whitelist when CAPTCHA is not configured
Fixes #2970
Paweł Chmielowski [Wed, 31 Jul 2019 08:46:15 +0000 (10:46 +0200)]
Change type of server_host column in mysql.new.sql
Indexes are done only on 191 byte slice of that (to fit in index limits),
and since server_host could theoretically be bigger this causes mysql
engine don't use indexes in full potential.
Evgeny Khramtsov [Wed, 31 Jul 2019 07:39:53 +0000 (10:39 +0300)]
Improve SQL timeouts handling
Also improve some formatting
Evgeny Khramtsov [Tue, 30 Jul 2019 20:17:10 +0000 (23:17 +0300)]
Also catch 'shutdown' exit reason
Evgeny Khramtsov [Tue, 30 Jul 2019 17:57:32 +0000 (20:57 +0300)]
Improve pattern matching
Evgeny Khramtsov [Tue, 30 Jul 2019 17:57:09 +0000 (20:57 +0300)]
Implement read-repair for session pids
Evgeny Khramtsov [Tue, 30 Jul 2019 12:31:44 +0000 (15:31 +0300)]
Remove dead code
Evgeny Khramtsov [Tue, 30 Jul 2019 12:21:58 +0000 (15:21 +0300)]
Fix race condition when deleting c2s session record
Evgeny Khramtsov [Tue, 30 Jul 2019 11:26:11 +0000 (14:26 +0300)]
Fix SQL connections leakage
Evgeny Khramtsov [Tue, 30 Jul 2019 10:40:40 +0000 (13:40 +0300)]
Fix previous commit
Evgeny Khramtsov [Tue, 30 Jul 2019 09:50:31 +0000 (12:50 +0300)]
Correctly report resume timeout
Evgeny Khramtsov [Tue, 30 Jul 2019 07:45:32 +0000 (10:45 +0300)]
Expose access_model and publish_model in pubsub#metadata
Fixes #2931
Evgeny Khramtsov [Mon, 29 Jul 2019 19:45:38 +0000 (22:45 +0300)]
Generate 'remote-server-not-found' stanza error for non-IDN domains
Fixes #2969
Evgeny Khramtsov [Mon, 29 Jul 2019 19:24:26 +0000 (22:24 +0300)]
Improve handling of errors in tree_action/3
Evgeny Khramtsov [Mon, 29 Jul 2019 18:44:30 +0000 (21:44 +0300)]
Appropriately abort pubsub transaction
Badlop [Mon, 29 Jul 2019 17:32:10 +0000 (19:32 +0200)]
mod_multicast service discovery bugfix (thanks to McPo)(#2968)
Evgeny Khramtsov [Mon, 29 Jul 2019 14:13:16 +0000 (17:13 +0300)]
Improve handling of errors in pubsub code
Frank Diebolt [Wed, 30 Jan 2019 08:57:17 +0000 (09:57 +0100)]
Apply shaping to websocket connections
Evgeny Khramtsov [Mon, 29 Jul 2019 07:46:20 +0000 (10:46 +0300)]
Improve hooks validator and fix bugs related to hooks registration
Evgeny Khramtsov [Fri, 26 Jul 2019 08:40:19 +0000 (11:40 +0300)]
Improve ejabberd halting procedure
Evgeny Khramtsov [Thu, 25 Jul 2019 10:57:43 +0000 (13:57 +0300)]
Fix default value of resume_timeout
Evgeny Khramtsov [Wed, 24 Jul 2019 16:47:09 +0000 (19:47 +0300)]
Don't attempt to restart killed lager
This is not very robust and the call may hang forever
Evgeny Khramtsov [Wed, 24 Jul 2019 15:56:44 +0000 (18:56 +0300)]
Fix typo in log message
Evgeny Khramtsov [Wed, 24 Jul 2019 11:28:43 +0000 (14:28 +0300)]
Improve SQL pool logic
Avoid using ETS table for SQL workers: rely on processes names instead
Holger Weiss [Wed, 24 Jul 2019 09:29:57 +0000 (11:29 +0200)]
Revert "mod_privacy: Don't try to look up 'undefined' list"
This reverts commit
4218aecd1c7f58207ab17d3cccf2886d5558d62b . The issue
was fixed in
a0d3fb3b2333f5b221d06944509fd7e673bf1cc4 already.
Holger Weiss [Wed, 24 Jul 2019 08:45:30 +0000 (10:45 +0200)]
mod_privacy: Don't try to look up 'undefined' list
Don't crash if the <query/> element of an IQ of type 'set' contains
neither a <default/> nor an <active/> child.
This fixes a regression introduced in commit
8410a203ec81f0b0b9e4885221abf1d7ba6bd9f1 .
Evgeny Khramtsov [Wed, 24 Jul 2019 08:34:40 +0000 (11:34 +0300)]
Fix UTF-8 support in translation files
Evgeny Khramtsov [Wed, 24 Jul 2019 07:13:51 +0000 (10:13 +0300)]
Add 'certauth' command to extauth port
Holger Weiss [Mon, 22 Jul 2019 22:15:40 +0000 (00:15 +0200)]
mod_stream_mgmt: Allow flexible timeout format
Adjust mod_stream_mgmt and the related code in mod_push_keepalive to
support the flexible timeout format.
Christophe Romain [Mon, 22 Jul 2019 08:13:27 +0000 (10:13 +0200)]
Fix wrong virtual host in mod_pubsub:send_stanza (#2930)
Evgeny Khramtsov [Fri, 19 Jul 2019 09:01:57 +0000 (12:01 +0300)]
Log an error when JWT authentication is configured without jwt_key
Evgeny Khramtsov [Thu, 18 Jul 2019 19:35:16 +0000 (22:35 +0300)]
Fix typo
Evgeny Khramtsov [Thu, 18 Jul 2019 19:31:08 +0000 (22:31 +0300)]
Improve robustness of reading jwt_key option
Evgeny Khramtsov [Thu, 18 Jul 2019 18:53:22 +0000 (21:53 +0300)]
Get rid of useless code
Evgeny Khramtsov [Thu, 18 Jul 2019 18:48:53 +0000 (21:48 +0300)]
Don't forget to unregister route when the owning process is dead
Evgeny Khramtsov [Thu, 18 Jul 2019 16:31:12 +0000 (19:31 +0300)]
Remove Riak support
Reasons:
- Riak DB development is almost halted after Basho
- riak-erlang-client is abandoned and doesn't work
correctly with OTP22
- Riak is slow in comparison to other databases
- Missing key ordering makes it impossible to implement range
queries efficiently (e.g. MAM queries)
Mickaël Rémond [Thu, 18 Jul 2019 15:56:11 +0000 (17:56 +0200)]
Mention about a few Riak tests being broken
Mickaël Rémond [Thu, 18 Jul 2019 15:24:13 +0000 (17:24 +0200)]
Explain how to kill stuck common test run
Mickaël Rémond [Thu, 18 Jul 2019 15:14:20 +0000 (17:14 +0200)]
Update docker test README
Mickaël Rémond [Thu, 18 Jul 2019 15:05:50 +0000 (17:05 +0200)]
Fix example on test data set deletion
Evgeny Khramtsov [Thu, 18 Jul 2019 10:02:13 +0000 (13:02 +0300)]
Report failures of changing net_ticktime
Evgeny Khramtsov [Thu, 18 Jul 2019 09:47:29 +0000 (12:47 +0300)]
Reset net ticktime on config reload
Evgeny Khramtsov [Wed, 17 Jul 2019 19:58:14 +0000 (22:58 +0300)]
Allow flexible timeout format in session_expiry option of mod_mqtt
Evgeny Khramtsov [Wed, 17 Jul 2019 19:15:56 +0000 (22:15 +0300)]
Use econf:timeout() instead of econf:pos_int() wherever appropriate
Evgeny Khramtsov [Wed, 17 Jul 2019 17:51:33 +0000 (20:51 +0300)]
Improve RPC calls in mod_configure
Evgeny Khramtsov [Wed, 17 Jul 2019 09:34:09 +0000 (12:34 +0300)]
Fix pending nodes retrieval for SQL backend
Thanks to Christophe Romain
Evgeny Khramtsov [Tue, 16 Jul 2019 20:45:44 +0000 (23:45 +0300)]
Allow more flexible timeout values in the configuration
Now all timeout values can be expanded with suffixes, e.g.
```
negotiation_timeout: 30s
s2s_timeout: 10 minutes
cache_life_time: 1 hour
```
If the suffix is not given, the timeout is assumed in *seconds*
Evgeny Khramtsov [Tue, 16 Jul 2019 20:42:38 +0000 (23:42 +0300)]
Change time unit of hibernation_timeout option to 'second'
This is done for the sake of consistency with other options
Evgeny Khramtsov [Tue, 16 Jul 2019 19:07:39 +0000 (22:07 +0300)]
Fix typos using codespell
Evgeny Khramtsov [Tue, 16 Jul 2019 15:34:05 +0000 (18:34 +0300)]
Avoid record duplication
Evgeny Khramtsov [Tue, 16 Jul 2019 15:10:45 +0000 (18:10 +0300)]
Add econf:string/2 validator
Evgeny Khramtsov [Tue, 16 Jul 2019 15:06:47 +0000 (18:06 +0300)]
Fix opt_type.sh script and re-generate options
Evgeny Khramtsov [Tue, 16 Jul 2019 15:02:32 +0000 (18:02 +0300)]
Use econf:timeout/2
Evgeny Khramtsov [Tue, 16 Jul 2019 14:51:51 +0000 (17:51 +0300)]
Handle CAPTCHA forms using captcha_form codec
Paweł Chmielowski [Tue, 16 Jul 2019 11:57:48 +0000 (13:57 +0200)]
Add code for hibernating inactive muc_room processes
Evgeny Khramtsov [Tue, 16 Jul 2019 12:59:33 +0000 (15:59 +0300)]
Bump xmpp version and fix revealed bugs
Evgeny Khramtsov [Tue, 16 Jul 2019 12:09:51 +0000 (15:09 +0300)]
Fix 'get-pending' command form generation
Badlop [Tue, 16 Jul 2019 10:56:41 +0000 (12:56 +0200)]
Remove very old useless comments in ejabberd_xmlrpc.erl
Badlop [Tue, 16 Jul 2019 10:53:06 +0000 (12:53 +0200)]
Documentation of mod_http_api moved from source code to Docs page
Evgeny Khramtsov [Mon, 15 Jul 2019 14:08:41 +0000 (17:08 +0300)]
Remove modules management from mod_configure
Evgeny Khramtsov [Mon, 15 Jul 2019 14:03:29 +0000 (17:03 +0300)]
Don't hide errors using catch
Evgeny Khramtsov [Mon, 15 Jul 2019 12:26:47 +0000 (15:26 +0300)]
Compile some regexps as unicode
Evgeny Khramtsov [Mon, 15 Jul 2019 12:22:51 +0000 (15:22 +0300)]
Bump yconf version
Evgeny Khramtsov [Mon, 15 Jul 2019 12:07:56 +0000 (15:07 +0300)]
Fix regexp matching
Evgeny Khramtsov [Mon, 15 Jul 2019 11:10:45 +0000 (14:10 +0300)]
Only respond with occupants list to disco#items with empty node
Fixes #2942
Evgeny Khramtsov [Mon, 15 Jul 2019 10:59:41 +0000 (13:59 +0300)]
Improve handling of unexpected iq in mod_muc_room
Don't crash on an iq-set/get containing unexpected tag within
expected namespace
This further improves PR #2900
Evgeny Khramtsov [Mon, 15 Jul 2019 09:59:47 +0000 (12:59 +0300)]
ejabberd_s2s should start after its supervisors
Evgeny Khramtsov [Mon, 15 Jul 2019 09:53:26 +0000 (12:53 +0300)]
Fix startup order of ejabberd_sup children
Evgeny Khramtsov [Mon, 15 Jul 2019 09:43:55 +0000 (12:43 +0300)]
Remove processing of {wait, _} result in gen_mod
This is no longer needed
Evgeny Khramtsov [Mon, 15 Jul 2019 09:43:32 +0000 (12:43 +0300)]
Increase shutdown time to 5 seconds
Evgeny Khramtsov [Mon, 15 Jul 2019 09:43:05 +0000 (12:43 +0300)]
Attach mod_muc_room processes to a supervisor
Evgeny Khramtsov [Mon, 15 Jul 2019 06:59:07 +0000 (09:59 +0300)]
Improve some validators
Holger Weiss [Sun, 14 Jul 2019 13:16:13 +0000 (15:16 +0200)]
mod_http_fileserver: Unregister 'reopen_log_hook'
Unregister the global 'reopen_log_hook' on termination if the module isn't
loaded for another host.
Evgeny Khramtsov [Sat, 13 Jul 2019 09:20:06 +0000 (12:20 +0300)]
Use correct virtual host when consulting trusted_proxies
Evgeny Khramtsov [Sat, 13 Jul 2019 07:35:06 +0000 (10:35 +0300)]
Merge branch 'master' of github.com:processone/ejabberd
Evgeny Khramtsov [Sat, 13 Jul 2019 07:34:59 +0000 (10:34 +0300)]
Fix broken ejabberd_cluster:call/5
Paweł Chmielowski [Fri, 12 Jul 2019 13:00:12 +0000 (15:00 +0200)]
Make sure that configure is run before pc:compile on rebar3
Paweł Chmielowski [Fri, 12 Jul 2019 12:55:01 +0000 (14:55 +0200)]
Downgrade jose to version that works with rebar2 and del warning_as_error from it's config
Paweł Chmielowski [Fri, 12 Jul 2019 11:02:10 +0000 (13:02 +0200)]
Bump jose version
Evgeny Khramtsov [Fri, 12 Jul 2019 10:59:33 +0000 (13:59 +0300)]
Don't crash when attempt to get an option for unknown virtual host
Log a warning instead and retry with a global scope
Evgeny Khramtsov [Fri, 12 Jul 2019 10:58:46 +0000 (13:58 +0300)]
Add call/5 and multicall/5 to ejabberd_cluster
Evgeny Khramtsov [Fri, 12 Jul 2019 09:30:38 +0000 (12:30 +0300)]
Use ejabberd_cluster:call() instead of rpc:call()
Evgeny Khramtsov [Fri, 12 Jul 2019 08:55:36 +0000 (11:55 +0300)]
Process unexpected messages uniformly
Evgeny Khramtsov [Wed, 10 Jul 2019 21:13:39 +0000 (00:13 +0300)]
Improve previous commit
Evgeny Khramtsov [Wed, 10 Jul 2019 21:04:32 +0000 (00:04 +0300)]
Gracefully report invalid encoding of a translation file
Evgeny Khramtsov [Wed, 10 Jul 2019 20:46:42 +0000 (23:46 +0300)]
Fix formatting
Evgeny Khramtsov [Wed, 10 Jul 2019 20:46:08 +0000 (23:46 +0300)]
Merge pull request #2900 from aquarhead/protect-muc-owner
Protect against bad muc#owner requests
Evgeny Khramtsov [Wed, 10 Jul 2019 20:35:53 +0000 (23:35 +0300)]
Make sure configuration file path always represented as binary()
Fixes #2936
Evgeny Khramtsov [Wed, 10 Jul 2019 20:17:53 +0000 (23:17 +0300)]
Fix Elixir modules detection in the configuration file
Fixes #2937
Evgeny Khramtsov [Wed, 10 Jul 2019 09:15:58 +0000 (12:15 +0300)]
Gracefully close inbound s2s connections
Evgeny Khramtsov [Wed, 10 Jul 2019 07:31:51 +0000 (10:31 +0300)]
Add/improve type specs
Evgeny Khramtsov [Wed, 10 Jul 2019 07:30:11 +0000 (10:30 +0300)]
Improve error handling/reporting when loading language translations
Also speed up loading on multi-core machines
Evgeny Khramtsov [Wed, 10 Jul 2019 07:28:37 +0000 (10:28 +0300)]
Fall back to map/2 and foreach/2 on single-core machines
Evgeny Khramtsov [Tue, 9 Jul 2019 14:02:54 +0000 (17:02 +0300)]
Add type specs for mod_adhoc