Paweł Chmielowski
e462f0a584
Fix dialyzer warnings
2021-04-16 11:55:48 +02:00
Paweł Chmielowski
45bbbd0284
Fix syntax not recognized by older erlang
2021-04-16 10:46:28 +02:00
Paweł Chmielowski
5b0f0d8352
Improve database and caching in mod_shared_roster
...
This makes us keep cache of groups that use wildcards no matter
of cache settings, and tries to not same fetch data multiple times
in roster get operations.
2021-04-16 10:34:32 +02:00
Paweł Chmielowski
54916caf65
Use proper source for cache options in mod_shared_roster
2021-04-16 10:20:13 +02:00
Paweł Chmielowski
c8afb5ceb6
Reconfigure cache in mod_shared_roster when options change
2021-04-16 10:19:09 +02:00
Badlop
b3374e1f99
Remove SMP option from ejabberdctl.cfg, -smp was removed in OTP 21 ( #3560 )
2021-04-15 20:28:43 +02:00
Badlop
4914b33f8c
Support the recent changes in the "ejabberdctl help" command ( #3569 )
2021-04-15 20:25:54 +02:00
Badlop
0ec69f0279
Major changes in ejabberdctl help output ( #3569 )
...
ejabberdctl: show list of commands
ejabberdctl some-command: if wrong number of arguments, shows command help
ejabberdctl help: show explanation of how to use "help"
ejabberdctl help tags: list tags with list of commands
ejabberdctl help commands: list tags with commands details
ejabberdctl help whatever*: filters commands and tags
2021-04-15 20:25:52 +02:00
Badlop
6f565147cb
Change tag name because there's already a command called "stats"
2021-04-15 20:25:49 +02:00
Badlop
f8a02f5d9d
Get the arguments definition from the record ( #3569 )
...
This fixes "ejabberdctl help help"
2021-04-15 20:25:47 +02:00
Badlop
327dc31e62
Copy a change from include file available since OTP 17.0
...
See:
5e575f6562
2021-04-15 20:25:44 +02:00
Mickaël Rémond
f77a163341
Update bug_report.md
2021-04-15 15:30:23 +02:00
Mickaël Rémond
c280d172b1
Update feature_request.md
2021-04-15 15:30:06 +02:00
Badlop
b860a25c82
When using OTP 24.0, use the new 'application' record definition ( #3568 )
...
This fixes "ejabberdctl update_list", "update", and the equivalent feature
on ejabberd's WebAdmin that got broken when using Erlang/OTP 24
2021-04-14 17:12:08 +02:00
Mickaël Rémond
0a55e07326
Use Dockerfile
2021-04-13 08:24:01 +00:00
Mickaël Rémond
cdbfd91ec4
Update devcontainer.json
...
Disable docker compose for now
2021-04-12 11:45:59 +02:00
Mickaël Rémond
9359bab677
Create docker-compose.yml
2021-04-12 11:44:10 +02:00
Holger Weiss
10905b0447
mod_push: Handle MUC/Sub events correctly
...
Unwrap MUC/Sub messages so that our check for a message body yields the
correct result.
Many thanks to Robert Schuh for pointing out the issue and suggesting a
fix.
Closes #3565 .
2021-04-08 19:36:16 +02:00
Jérôme Sautret
4468c87115
Set version to 21.04
2021-04-07 17:23:30 +02:00
Badlop
4b83ec1204
New Albanian translation (thanks to Besnik Bleta)
2021-04-07 16:01:28 +02:00
Paweł Chmielowski
03e62308e2
Update deps in mix
2021-04-07 12:14:58 +02:00
badlop
c0dafc074d
Merge pull request #3558 from fdie/fix_node_get_state_return_value
...
fix gen_pubsub_node:get_state return value
2021-03-29 15:52:04 +02:00
Badlop
3bb89010fe
Recompile man page with "ejabberdctl man"
2021-03-26 11:05:49 +01:00
Badlop
3e4ebfae7e
Revert "Add ejabberd version number to man pages"
...
That versioning just added noise to the git log in each release.
This reverts commit aa0ed37034
.
2021-03-26 11:01:45 +01:00
Badlop
c64df48978
Run "make translations", and *.msg get a warning to not edit them manually
2021-03-26 10:50:06 +01:00
Badlop
1c74bb7131
Update Japanese translation (thanks to Mako N)
2021-03-26 10:48:00 +01:00
Badlop
f577715468
Update Greek translation (thanks to Michalis and Stratos Kostidis)
2021-03-26 10:47:13 +01:00
Badlop
1cd4f730b9
Update Esperanto translation (thanks to phlostically)
2021-03-26 10:46:48 +01:00
fdie
edae3c9cc5
fix gen_pubsub_node:get_state return value
2021-03-25 14:32:24 +01:00
Badlop
815030a4f0
I think no need to be so strict in mix dependencies versions
2021-03-24 23:03:53 +01:00
Badlop
82bd7e5d5b
Update rebar dependencies
2021-03-24 23:03:46 +01:00
Badlop
453d504fb7
No need to ignore ejabberd.app.src, it was recently removed, see 3c16f214
2021-03-19 15:13:20 +01:00
Badlop
627564983b
No need to ignore XmppAddr*, it was removed in 2018, see 0bb14d16
2021-03-19 15:13:18 +01:00
Badlop
7e8b59a0aa
No need to ignore extract_translations, it was removed in 2017, see cd098c5a
2021-03-19 15:13:15 +01:00
Badlop
9bf37d7fdf
No need to ignore doc/, it was removed in 2015! See 1854b5e4
2021-03-19 15:13:04 +01:00
Badlop
02830a8b76
Tell git to ignore .deps-update/ used by tools/update-deps-releases.pl
2021-03-19 15:12:52 +01:00
Badlop
d8f01080ce
Cache rebar2 deps/ dir in Travis for a 10% speedup approx.
2021-03-19 15:12:50 +01:00
Badlop
1f88a26f60
When unregistering XMPP account close its MQTT sessions ( #3426 )
2021-03-19 15:12:48 +01:00
Badlop
c6f2d0c3eb
Improve wording of sql_pool_size option documentation ( #2541 )
2021-03-19 15:12:43 +01:00
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