Evgeny Khramtsov
0715e62a41
Use jid() instead of ljid()
2019-03-14 14:34:15 +03:00
Evgeny Khramtsov
7a622c3392
Improve formatting of hook crashes
2019-03-14 12:28:37 +03:00
Badlop
629e568294
Delete the ping timer only when timeout_action=kill ( #2820 )
2019-03-13 11:28:31 +01:00
Holger Weiss
333b010d54
mod_muc: Simplify room creation checks
2019-03-12 00:05:59 +01:00
Holger Weiss
1af2b2cfc7
Merge remote-tracking branch 'processone/pr/2811'
...
* processone/pr/2811:
allow room recreate for admins even if nonempty
2019-03-11 23:30:22 +01:00
Holger Weiss
328553ea3f
mod_push: Check for payload in encrypted messages
...
While distinguishing actual chat messages from other message types,
don't classify all <encrypted/> messages as chat messages, but only
those that have a <payload/> element.
2019-03-11 22:58:53 +01:00
Christophe Romain
946baa972d
Fix cond_options with new options
2019-03-11 16:58:26 +01:00
Alexey Shchepin
e921b43754
Fix transaction aborting and restarting in ejabberd_sql
2019-03-07 22:14:13 +03:00
Christoph Scholz
b5fa3b0e2b
allow room recreate for admins even if nonempty
2019-03-05 16:51:57 +01:00
Badlop
a4222fe9b3
Handle info log level when using MySQL ( #2541 )
2019-03-04 18:02:02 +01:00
Holger Weiss
652858c7fe
Fix incorrect capitalization in German translation
2019-03-01 00:17:29 +01:00
Holger Weiss
93cebbf4a3
Document required Erlang/OTP version bump
2019-02-28 01:08:52 +01:00
Holger Weiss
598e00e80f
Bump required Erlang/OTP version to 19.1
...
Since 538f35d05a
, Erlang/OTP 19.1 is
required.
2019-02-28 01:00:05 +01:00
Holger Weiss
2f46aebca2
mod_http_upload: Log nicer warning on unknown host
...
If an HTTP client issues a request against an unknown host, log a
readable warning (rather than an unreadable error) and respond with a
404 (rather than a 500) status.
2019-02-28 00:28:46 +01:00
Christophe Romain
9bfe5bb618
Add mqtree in included_applications
2019-02-27 14:35:07 +01:00
Evgeny Khramtsov
7511da0f26
Add SQL schemas for MQTT tables
2019-02-27 13:06:17 +03:00
Paweł Chmielowski
456e87e8b2
Copy p1_time_compat:unique_timestamp() to misc and make use of it
2019-02-27 11:00:02 +01:00
Paweł Chmielowski
538f35d05a
Replace code using p1_time_compat wrapper with native functions
...
Since we now require R19, we shouldn't need that anymore.
There are still couple places where p1_time_compat:unique_timestamp() is
used as there is no direct equivalent.
2019-02-27 09:56:31 +01:00
Paweł Chmielowski
77ac0584ed
Remove now() calls that sneaked in in pull requests
2019-02-27 09:56:31 +01:00
Christophe Romain
0c0862475f
Add MQTT listener and module in example config
2019-02-26 14:53:05 +01:00
Christophe Romain
683ca31375
Prepare 19.02
2019-02-26 14:40:21 +01:00
Holger Weiss
90dc8ea1e5
MySQL: Increase index prefix length for PEP nodes
...
For PEP nodes, the "host" column holds the user JID, where the first 20
characters may well not be unique.
2019-02-26 13:13:04 +01:00
Paweł Chmielowski
ab2197c455
Update mqtree
2019-02-26 12:16:48 +01:00
Paweł Chmielowski
a40eb79cd0
Commit back, change reverted by mistake
2019-02-26 12:16:48 +01:00
Paweł Chmielowski
b887133566
Update deps in mix.lock
2019-02-26 12:16:48 +01:00
Evgeny Khramtsov
0250826cf9
Update mod_mqtt_mnesia.erl
2019-02-26 13:45:53 +03:00
Paweł Chmielowski
daf9c99728
Update deps
2019-02-26 10:32:02 +01:00
Paweł Chmielowski
65b94ae9c8
Improve update-deps-releases
2019-02-26 10:32:02 +01:00
Holger Weiss
fb068557b2
Merge branch 'pr/2764'
...
* pr/2764:
acl for mam_preferences
2019-02-25 22:22:02 +01:00
Christoph Scholz
e257bc3d32
acl for mam_preferences
2019-02-25 22:21:30 +01:00
Paweł Chmielowski
bc38afa8b8
Updated fast_tls
2019-02-25 16:42:38 +01:00
Paweł Chmielowski
d04a2454cc
Add Accept header to requests issued by rest.erl
2019-02-25 16:18:13 +01:00
Paweł Chmielowski
db9435942f
Pull never fast_tls version
2019-02-25 16:10:48 +01:00
Badlop
de20395cf8
Run "make translations"
2019-02-25 15:22:56 +01:00
Badlop
2f4fff2441
Update the Catalan translation
2019-02-25 15:19:55 +01:00
Badlop
fd82f1440a
Update the Spanish translation
2019-02-25 15:19:30 +01:00
Evgeny Khramtsov
a3df791373
Add MQTT support
2019-02-25 11:42:09 +03:00
Holger Weiss
3491fa3fea
mod_muc_admin: Fix indentation
2019-02-23 23:50:14 +01:00
Holger Weiss
1aeb507114
Merge remote-tracking branch 'processone/pr/2805'
...
* processone/pr/2805:
only destroy rooms if mam is enabled
2019-02-23 23:46:08 +01:00
Christoph Scholz
dd7754bc59
only destroy rooms if mam is enabled
...
when using ejabberdctl rooms_empty_list or rooms_empty_destroy only
select rooms that are have mam enabled. Otherwise you may accidently
destroy rooms which seem to be unsused due to archive being empty
2019-02-23 22:48:15 +01:00
Badlop
4947e97ccd
Provide source code filename in *.po, so editors can show the source code
2019-02-22 12:31:02 +01:00
Badlop
17a59b795f
Fix "make translations", got broken in 446e6e6f3
2019-02-22 12:30:05 +01:00
Holger Weiss
f63dcdb790
mod_mam_sql: Improve check for empty archive
...
Avoid counting the messages of an archive to check whether it's empty.
2019-02-21 23:50:16 +01:00
Holger Weiss
9a3a7369cb
mod_mam_mnesia: Fix check for empty archive
...
Don't return 'true' if the key exists but points to an empty archive.
Also, avoid looking up all keys.
2019-02-21 22:19:29 +01:00
Evgeny Khramtsov
1684436bfe
Merge branch 'mix'
2019-02-21 12:36:33 +03:00
Holger Weiss
68614f25f8
Travis CI: Update MySQL APT repository key
...
The old key expired on February 17, 2019.
2019-02-20 17:09:56 +01:00
Holger Weiss
9c66cc5885
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
2019-02-20 17:01:34 +01:00
Evgeny Khramtsov
8def827f9c
Don't crash on malformed 'modules' section
2019-02-19 12:31:18 +03:00
Christoph Scholz
5e7f234ac8
disallow room creation if archive not empty and
...
clear_archive_on_room_destroy is false
2019-02-18 13:42:45 +01:00
Christoph Scholz
f987db5a39
check if mod_mam is loaded before calling mod_mam:is_empty_for_room
2019-02-18 13:42:45 +01:00