]>
granicus.if.org Git - ejabberd/log
Evgeny Khramtsov [Tue, 10 Sep 2019 18:57:51 +0000 (21:57 +0300)]
Log Mnesia table type on creation
Evgeny Khramtsov [Tue, 10 Sep 2019 13:02:51 +0000 (16:02 +0300)]
Replicate Mnesia 'bosh' table when nodes are joined
Mickael Remond [Mon, 9 Sep 2019 10:13:27 +0000 (12:13 +0200)]
Merge branch 'master' of github.com:processone/ejabberd
Mickael Remond [Mon, 9 Sep 2019 10:12:54 +0000 (12:12 +0200)]
Use email field type to avoid jid capitalization on iOS
Holger Weiss [Mon, 9 Sep 2019 08:46:54 +0000 (10:46 +0200)]
Fix typos in issue template
Mickaël Rémond [Mon, 9 Sep 2019 07:49:54 +0000 (09:49 +0200)]
Update issue templates
Alexey Shchepin [Sun, 8 Sep 2019 21:57:55 +0000 (00:57 +0300)]
Add missing ejabberd_auth_jwt:user_exists/2 function (#3012)
Alexey Shchepin [Sun, 8 Sep 2019 21:15:55 +0000 (00:15 +0300)]
Fix BEGIN/COMMIT/ROLLBACK syntax for MSSQL (#2978)
Evgeny Khramtsov [Fri, 6 Sep 2019 19:20:07 +0000 (22:20 +0300)]
Fix certificate selection for s2s
The bug was introduced in
c2cbb4d87955ff4917581fedc93cbcd4edd1ce8a
Fixes #3015
Paweł Chmielowski [Fri, 6 Sep 2019 14:46:03 +0000 (16:46 +0200)]
Add ejabberd_oauth:verify_resowner_scope callback back
This fixes issue #2982
Evgeny Khramtsov [Wed, 4 Sep 2019 07:31:09 +0000 (10:31 +0300)]
Fix the regression introduced in
dd57950
Fixes #3010
Badlop [Tue, 27 Aug 2019 10:29:05 +0000 (12:29 +0200)]
Fix some links to Guide in WebAdmin and add new ones (#3003)
badlop [Mon, 26 Aug 2019 11:53:42 +0000 (13:53 +0200)]
Merge pull request #3004 from Slawutich/master
Custom exit message is not broadcast
Vyache [Fri, 23 Aug 2019 06:32:58 +0000 (09:32 +0300)]
Custom exit message is not broadcast
Badlop [Thu, 22 Aug 2019 16:07:05 +0000 (18:07 +0200)]
Use select fields to input host in WebAdmin Backup (#3000)
Badlop [Thu, 22 Aug 2019 15:56:08 +0000 (17:56 +0200)]
Fix call to deprecated ejabberd_config:get_myhosts() (#3000)
Badlop [Thu, 22 Aug 2019 15:12:52 +0000 (17:12 +0200)]
Provide meaningful error when adding non-local users to shared roster (#3000)
Badlop [Thu, 22 Aug 2019 15:11:48 +0000 (17:11 +0200)]
Check account auth provided in WebAdmin is a local host (#3000)
Paweł Chmielowski [Fri, 16 Aug 2019 16:34:42 +0000 (18:34 +0200)]
Add another variant of transformation of offline_msg in mod_offline_mnesia
Evgeny Khramtsov [Tue, 13 Aug 2019 15:30:28 +0000 (18:30 +0300)]
Don't treat 'Host' header as a virtual XMPP host
Fixes #2989
Badlop [Tue, 13 Aug 2019 12:55:37 +0000 (14:55 +0200)]
Revert "Affiliations other than admin and owner cannot invite to members_only rooms"
This reverts commit
b010a1a0a03fb304ad018b4d42d69df93ca4c5a1 .
More details in #2987
Badlop [Tue, 13 Aug 2019 09:37:18 +0000 (11:37 +0200)]
When join new room with password, set pass and password_protected (#2668)
Badlop [Mon, 12 Aug 2019 11:24:48 +0000 (13:24 +0200)]
Improve rooms_* commands to accept 'global' as MUC service argument (#2976)
Evgeny Khramtsov [Mon, 12 Aug 2019 09:28:17 +0000 (12:28 +0300)]
Fix typo in type spec
Evgeny Khramtsov [Mon, 12 Aug 2019 09:21:31 +0000 (12:21 +0300)]
Spawn SQL connections on demand only
Badlop [Thu, 8 Aug 2019 09:03:12 +0000 (11:03 +0200)]
Rename MUC command arguments from Host to Service (#2976)
Evgeny Khramtsov [Thu, 8 Aug 2019 08:21:28 +0000 (11:21 +0300)]
Don't use close/2: set stop_reason explicitly
Fixes #2984
Mickael Remond [Tue, 6 Aug 2019 13:47:58 +0000 (15:47 +0200)]
Remove fast_yaml override
Evgeny Khramtsov [Tue, 6 Aug 2019 13:18:04 +0000 (16:18 +0300)]
Report connection error before waiting for resumption
In other words don't hide the reason why c2s connection has failed
Evgeny Khramtsov [Tue, 6 Aug 2019 11:03:23 +0000 (14:03 +0300)]
Add tests for 'vcard' option
Evgeny Khramtsov [Tue, 6 Aug 2019 09:31:33 +0000 (12:31 +0300)]
Implement reload/3 for mod_http_upload
Jerome Sautret [Mon, 5 Aug 2019 12:36:45 +0000 (14:36 +0200)]
Add 19.08 Changelog
Paweł Chmielowski [Mon, 5 Aug 2019 08:55:30 +0000 (10:55 +0200)]
Adopt mix task to changes in ejabberd_config
Paweł Chmielowski [Mon, 5 Aug 2019 08:15:06 +0000 (10:15 +0200)]
Bump version in mix.exs
Paweł Chmielowski [Mon, 5 Aug 2019 08:14:30 +0000 (10:14 +0200)]
Update mix deps
Evgeny Khramtsov [Sun, 4 Aug 2019 18:46:18 +0000 (21:46 +0300)]
Don't retain module option on gen_mod supervisor
When module's options were updated (e.g. by reloading ejabberd.yml)
and, later, the module's process crashed, gen_mod supervisor
restarts the process with outdated options. This is now fixed.
Paweł Chmielowski [Fri, 2 Aug 2019 14:06:19 +0000 (16:06 +0200)]
Use tagged version for yconf as well
Paweł Chmielowski [Fri, 2 Aug 2019 13:12:38 +0000 (15:12 +0200)]
Update deps to tagged versions
Evgeny Khramtsov [Fri, 2 Aug 2019 11:20:10 +0000 (14:20 +0300)]
Validate BINVAL values of vcard elements as Base64
Evgeny Khramtsov [Fri, 2 Aug 2019 10:55:48 +0000 (13:55 +0300)]
Introduce 'vcard' option for the modules supporting vCards
The mapping between vCard's XML elements and YAML elements
of 'vcard' option is straightforward. For example, if you
want mod_muc to return the following vCard:
```
<vCard xmlns='vcard-temp'>
<FN>Conferences</FN>
<ADR>
<WORK/>
<STREET>Elm Street</STREET>
</ADR>
</vCard>
```
you need to set the configuration as:
```
modules:
...
mod_muc:
vcard:
fn: Conferences
adr:
-
work: true
street: Elm Street
...
```
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