Badlop
13e1307ab1
When occupant is banned, remove his subscriptions too ( #2451 )
2021-03-18 16:15:17 +01:00
Badlop
f6c6ff561a
Document that send_stanza_c2s requires an existing sender C2S session
2021-03-18 16:15:07 +01:00
Badlop
c4d45ec08c
Revert "Close pgsql ports on ejabberd_sql process termination ( #2541 )"
...
This reverts commit 404ae56e07
.
2021-03-18 16:14:49 +01:00
Holger Weiss
7008ae231c
Don't fail on PEP unsubscribe
...
Don't crash if a PEP node is explicitly unsubscribed. This fixes a
regression introduced by 45eb49125b
.
Thanks to Melvin Keskin for reporting the bug.
2021-03-16 17:26:47 +01:00
Badlop
14c8e1226f
Generate enabled_backends in ejabberd.app instead of configure ( #3549 )
...
Passing a list of atoms in vars.config.in (introduced in 3c16f214
)
breaks rebar2 in "make rel"
2021-03-15 10:11:05 +01:00
Badlop
8b78d27f30
Update Elixir logger, so logging should work now
2021-03-12 20:50:54 +01:00
Badlop
2fbd447f64
Update gitignore for Elixir, mnesiadb/ was renamed to database/ in ef6af11f1
2021-03-12 20:50:51 +01:00
Badlop
14d82fa600
Add mod_doc/0 to mod_presence_demo.ex so compiler stops complaining
2021-03-12 20:50:49 +01:00
Badlop
33fc320f1d
Update jiffy and epam to fix compilation ( #3413 )
2021-03-12 20:50:46 +01:00
Badlop
9fbea40721
Sort dependencies alphabetically, it makes manual checking easier
2021-03-12 20:50:44 +01:00
Badlop
9525978f26
Fix INTRUDER and add padding to second text line
...
b41ce8828c (r47461104)
2021-03-12 20:50:41 +01:00
badlop
75a4e23996
Merge pull request #3458 from nosnilmot/sqlite3-macos
...
Remove external dependency on sqlite3 for macos
2021-03-09 01:18:00 +01:00
Badlop
404ae56e07
Close pgsql ports on ejabberd_sql process termination ( #2541 )
2021-03-09 00:58:36 +01:00
Badlop
2946df357c
Update FORM_TYPE from captcha to register ( #3045 )
2021-03-09 00:58:31 +01:00
Badlop
5318bf3743
If stanza is type error, allow it passing ( #3290 )
2021-03-09 00:58:22 +01:00
Badlop
0f43c2c528
New command get_user_subscriptions ( #3403 )
2021-03-09 00:57:41 +01:00
Badlop
b5da0ffd7e
Show in WebAdmin the erlang node where the room resides
...
https://www.ejabberd.im/forum/29687/muc-mangement#comment-67685
2021-03-09 00:57:35 +01:00
Badlop
7ee018ad23
Obtain and provide photo type in vCard LDAP ( #3541 )
2021-03-08 16:33:30 +01:00
Badlop
31884f6c9d
Fix remove_mam_for_user_with_peer when removing room archive ( #3536 )
2021-03-08 16:33:23 +01:00
Badlop
c46bf7d56b
Remove support for HiPE, it was experimental and Erlang/OTP 24 removes it
2021-03-08 16:33:16 +01:00
Badlop
1b155ed6e7
Add --enable-lua, and use that for luerl instead of --enable-tools ( #3508 )
...
--enable-tools is for development tools, but prosody2ejabberd is used at
runtime, so better move luerl to --enable-lua
2021-03-08 16:33:06 +01:00
Badlop
e648cd7397
Sort libraries alphabetically, so they're easier to check manually
2021-03-08 16:33:03 +01:00
Badlop
3c248745e5
crypto:hmac is removed in Erlang/OTP 24, use our wrapper
2021-03-04 16:41:27 +01:00
Badlop
c45b526ec3
Update sql_query record to handle the Erlang/OTP 24 compiler reports
...
As mentioned in the Erlang/OTP 24 announcement:
"Compiler warnings and errors now include column numbers
in addition to line numbers."
2021-03-04 16:41:24 +01:00
Badlop
bf1600891b
Get back description and simplify processing ( #3507 )
2021-03-04 16:41:22 +01:00
Badlop
b139eb2fb3
Tell git to ignore rebar.lock used by rebar3
2021-03-04 16:41:19 +01:00
Badlop
9bd4f60c8a
Added badges for github actions, coveralls.io and weblate
2021-03-04 16:41:15 +01:00
Paweł Chmielowski
ca5d5f3b4c
Use monitors to track muc rooms
...
This should prevent keeping rooms that were hard killed from in
online table.
2021-03-03 11:32:05 +01:00
badlop
7209486386
Merge pull request #3507 from slezakattack/master
...
Allow ejabberd to be compatible as a dependency for an Erlang project…
2021-03-02 19:01:33 +01:00
Badlop
bb8bdf57b3
New Github Actions workflow to test Dialyzer, Xref, Options and Hooks
2021-02-23 19:45:53 +01:00
Badlop
c8bec07c45
Clone to the dir specified in rebar.config... useful for erlang-sqlite3
2021-02-23 19:45:41 +01:00
Holger Weiß
b41ce8828c
Add question/answer-based CAPTCHA script ( #3533 )
...
* New captcha.sh question/answer based
* Keep original CAPTCHA script
Rather than replacing the original CAPTCHA script, keep it next to the
new one, for the moment.
* CAPTCHA-ng script cleanup
* remove various bashisms
* replace all echos with printf
+ add quotations to many variables
Co-authored-by: Adrien Bourmault <neox@os-k.eu>
Co-authored-by: nico wellpott <nico@magicbroccoli.de>
2021-02-22 09:34:02 +01:00
Badlop
3720b42b0f
When using rebar3, "make dialyzer" needs just a single call
2021-02-19 17:00:39 +01:00
Badlop
69be0abdba
Fix Dialyzer warning about function contract that changed in fad14ff31
2021-02-19 17:00:35 +01:00
Badlop
09f5e2aa03
Improve support for rebar3 in "make translations"
2021-02-19 17:00:32 +01:00
Paweł Chmielowski
7da033f733
Fix muc tests
2021-02-17 13:09:29 +01:00
Paweł Chmielowski
14871c54ac
Take in account subscriber's affiliation when checking access to moderated room
...
This should fix issue #3525
2021-02-17 10:45:30 +01:00
Michael Slezak
3c16f21413
Allow ejabberd to be compatible as a dependency for an Erlang project using rebar3
2021-02-16 10:28:30 -07:00
Paweł Chmielowski
14d87cb5e9
Skip reading roster in one more case in mod_caps
2021-02-16 13:39:34 +01:00
Badlop
72ecf91f08
Return modules errors in set_vcard callback ( #3502 )
2021-02-16 13:09:33 +01:00
Badlop
4bc57f76eb
make hooks and options work with rebar3 too
2021-02-16 13:09:30 +01:00
Badlop
18c9f5eedf
Create annotated tags, meant for releases, instead of lightweight ( #3512 )
2021-02-16 13:09:27 +01:00
Badlop
4495f0f0b9
For OTP<22 define LAGER macro in ext_mod like in rebar.config ( #3493 )
2021-02-16 13:09:21 +01:00
Paweł Chmielowski
fad14ff319
Make fetching roster in mod_privacy lazy
2021-02-16 10:57:55 +01:00
Paweł Chmielowski
8cb7ff7a88
Add fallback branch to last commit
2021-02-16 10:40:35 +01:00
Paweł Chmielowski
96929a5084
Don't request roster in mod_caps when not needed
2021-02-16 10:13:29 +01:00
Stu Tomlinson
1f194e417d
fix eldap certificate verification ( #3528 )
...
Reported in #3527 . Add hostname matching function, and specify SNI
Also, OTP 23 dropped backwards compatibility for 0, 1, 2 values for verify, so
replace with combination of verify_none/verify_peer and fail_if_no_peer_cert
as appropriate
2021-02-15 14:29:58 +01:00
Badlop
e3fd120fd4
According to fast_tls, only atom and binary may accompany error tuple
2021-02-11 20:38:51 +01:00
Badlop
7b8bd960c6
Fix URL of CAPTCHA section
2021-02-11 20:38:45 +01:00
Paweł Chmielowski
d147c733bb
Update xmpp
2021-02-10 10:10:24 +01:00