Paweł Chmielowski
9be3d948b2
Make ext_mod compile module with debug_info flags
...
This should fix issue #3472
2021-01-07 15:10:39 +01:00
Paweł Chmielowski
d9588feae5
Add sql script to migrate mysql from old schema to new
2021-01-07 13:54:53 +01:00
Holger Weiss
7844d86ea3
Allow for listening on privileged ports
...
Let systemd give ejabberd the capability to bind to ports below 1024.
2021-01-06 18:56:08 +01:00
Holger Weiss
e919171393
ejabberd_systemd: Fix comment
2021-01-06 18:52:22 +01:00
Holger Weiss
d7087c3952
Merge remote-tracking branch 'processone/pr/3471'
...
* processone/pr/3471:
Integrate nicely with systemd
2021-01-06 18:47:25 +01:00
Neustradamus
3bf51a0994
+ ejabberd mucroom logs ( #3468 )
...
+ ejabberd mucroom logs
2021-01-06 17:33:29 +01:00
Holger Weiss
6f026ca26d
Integrate nicely with systemd
...
Support systemd's watchdog feature and enable it by default in the unit
file, so that ejabberd is auto-restarted if the VM becomes unresponsive.
Also, set the systemd startup type to 'notify', so that startup of
followup units is delayed until ejabberd signals readiness. While at
it, also notify systemd of configuration reload and shutdown states.
Note: "NotifyAccess=all" is required as long as "ejabberdctl foreground"
runs the VM as a new child process, rather than "exec"ing it. This way,
systemd views the ejabberdctl process itself as the main service
process, and would discard notifications from other processes by
default.
2021-01-06 00:20:12 +01:00
Neustradamus
4132aedb9c
XEP-0033 ( #3467 )
...
XEP-0033
2021-01-05 10:05:42 +01:00
Badlop
b8178c79a7
Clarify documentation of log_rotate_size option ( #3462 )
2021-01-04 13:05:28 +01:00
Paweł Chmielowski
aefe3f8585
Document ldap_userjidattr option
2020-12-31 10:30:12 +01:00
ethoms
cdb286d1d1
Add multi-domain support (and flexibility) to LDAP shared roster (rev2). ( #3461 )
2020-12-31 10:19:43 +01:00
Pouriya
c056002f7c
JWT enhancement ( #3460 )
...
* ref: run the default JWT verifier as hook callback
* ref: add system timestamp to JWT debug log
2020-12-28 10:06:45 +01:00
Stu Tomlinson
1f60f5d8af
Remove external dependency on sqlite3 for macos
...
On macos, erlang-sqlite3 is built using amalgamated sqlite3 library, there is
no external sqlite3 dependency required
2020-12-23 12:41:13 +00:00
Paweł Chmielowski
bd08f408ca
Fix invalid timezone in mod_time (issue #3454 )
2020-12-22 11:37:25 +01:00
Badlop
3cf5ceb106
Document that the workaround is only needed for OTP lower than 23.2
2020-12-18 21:21:27 +01:00
Badlop
705f401961
Fix a pair of pubsub specs to please Dialyzer
2020-12-18 20:40:26 +01:00
Badlop
ac24d6ee9f
Fix typo in case clause detected by Dialyzer
2020-12-18 20:40:17 +01:00
Paweł Chmielowski
cb6322a3a7
Add option to check for missing hex releases to update script
2020-12-18 16:43:20 +01:00
Paweł Chmielowski
9c221848d7
Correctly sort mixed versions vX.Y and X.Y in update-deps script
2020-12-18 16:42:41 +01:00
Stu Tomlinson
2f3063def6
Fix sqlite3 dependency version ( #3452 )
...
erlang-sqlite3 versions got messed up, causing ejabberd build to regress
to 1.1.6 from Jan 2018 when using rebar3 which fails to build with OTP23.
Update to correctly tagged version 1.1.9, which also has matching hex.pm
package, fixes this.
2020-12-18 12:42:18 +01:00
Paweł Chmielowski
9f851008f6
Update spec for get_room_pid
2020-12-18 12:36:31 +01:00
Badlop
1b7502acbc
Old passwd scram tuples do not conform to current records definitions
2020-12-18 10:54:59 +01:00
Paweł Chmielowski
2ab7da1e8f
Use better fallback value for room activity time when skipping room in decide_room
2020-12-17 09:55:12 +01:00
Mickaël Rémond
371c0777bb
Update Dockerfile
2020-12-16 08:40:30 +01:00
Mickaël Rémond
538eeb3d6f
Create Dockerfile
2020-12-16 08:40:05 +01:00
Mickaël Rémond
8d052fe339
Create devcontainer.json
2020-12-16 08:32:15 +01:00
Licaon_Kter
65c5208905
Reword auth_scram_hash info ( #3448 )
2020-12-15 17:47:56 +01:00
Paweł Chmielowski
778c84dac9
Update xmpp dep in mix
2020-12-15 17:07:06 +01:00
Paweł Chmielowski
28186ddf19
Document auth_scram_hash option
2020-12-15 15:40:16 +01:00
Paweł Chmielowski
8dfe7e977a
Bump version in mix.exs
2020-12-15 15:27:16 +01:00
Paweł Chmielowski
b345632a9a
Update changelog
2020-12-15 15:26:23 +01:00
Paweł Chmielowski
34e615d854
Update deps in mix
2020-12-15 15:24:57 +01:00
Paweł Chmielowski
d8d9ef32ad
Make anonymous auth not override sasl mechaninsm offered by other modules
...
This stop overriding store_type when anonymous is enabled with other
auth modules, we don't really need that since anonymous is not taking
passwords anyway, and this was disabling scram mechanisms.
This fixes issue #2803 .
2020-12-14 16:42:14 +01:00
Paweł Chmielowski
a9ed26e484
Fix getting age of newly created rooms in rooms_unused_*
2020-12-14 09:47:25 +01:00
Pouriya
a76531b90b
feat: add hook to check decoded JWT after success authentication ( #3446 )
2020-12-14 08:14:58 +01:00
Paweł Chmielowski
d64e453364
Update deps
2020-12-10 15:00:46 +01:00
Paweł Chmielowski
af9d642a71
Improve auth_mnesia:transform
2020-12-10 14:02:28 +01:00
Paweł Chmielowski
6a659d7475
Improve handling of old scram data in auth_mnesia
2020-12-10 14:00:13 +01:00
Paweł Chmielowski
7da81249f8
Update xmpp once more
2020-12-10 13:22:32 +01:00
Paweł Chmielowski
8214a4fa79
Update xmpp
2020-12-10 12:41:26 +01:00
Paweł Chmielowski
e048bc6712
Update deps to point to tags
2020-12-08 15:11:09 +01:00
Paweł Chmielowski
e5cad9be65
Add hash to scramed password stored in mnesia by earlier version
2020-12-08 12:18:03 +01:00
Paweł Chmielowski
1dc0ecd1e9
Allow to use different hash for storing scram passwords
2020-12-08 12:06:52 +01:00
Paweł Chmielowski
0c09599d7b
Normalize names passed to destroy_room
2020-12-08 09:19:29 +01:00
badlop
e95ae66d3c
Merge pull request #3435 from fdie/fix_odbc_binary_errors
...
also convert embedded errors to binary
2020-12-04 13:48:13 +01:00
Paweł Chmielowski
5f9d480f6a
Simplify updating disk room options in set_room_affiliation
2020-12-04 13:06:53 +01:00
Paweł Chmielowski
d34227cae1
Use specialized upsert with mysql
2020-12-04 13:03:55 +01:00
Paweł Chmielowski
72867f8d1e
Fix more places that needed changes after scram.erl api modifications
2020-12-04 09:20:59 +01:00
Frank Diebolt
8f04491a4d
also convert embedded errors to binary
2020-12-03 19:56:58 +01:00
Paweł Chmielowski
0371b0f664
Add support for SCRAM-SHA-{256,512}-{PLUS} authentication
2020-12-03 15:07:09 +01:00