Matthew Wild
1b8170a1d2
Merge 13.0->trunk
2025-02-15 17:13:23 +00:00
Matthew Wild
9bae17a0bb
mod_http_file_share: Persist total storage usage when it increases ( fixes #1891 )
2025-02-15 17:10:30 +00:00
Matthew Wild
8a12586fc7
Merge 13.0->trunk
2025-02-15 16:48:45 +00:00
Matthew Wild
bdc573f17b
CHANGES: add 'prosodyctl check features'
2025-02-15 16:48:27 +00:00
Matthew Wild
c7554fdba8
prosodyctl: check: Fix variable name (thanks luacheck)
2025-02-15 16:48:11 +00:00
Matthew Wild
645c9dfca8
Merge 13.0->trunk
2025-02-15 16:40:26 +00:00
Matthew Wild
500d0df0a4
prosodyctl: check: Skip DNS checks for known invalid domains (fixes traceback)
2025-02-15 16:38:50 +00:00
Matthew Wild
f585db3acf
prosodyctl: check features: Check for recommended feature availability
...
Inspired by mod_compliance_*, this command will help people (especially those
with older configs, upgrading from previous releases) learn what features
their Prosody configuration may be missing.
2025-02-15 16:34:16 +00:00
Matthew Wild
fb733fb549
util.prosodyctl.check: Sort hosts in iterator for more stable output
2025-02-15 16:31:10 +00:00
Matthew Wild
35e48b2bac
prosodyctl: check: Fix indentation in warning message
2025-02-15 16:29:32 +00:00
Kim Alvefur
7b02dd0ed1
Merge 13.0->trunk
2025-02-15 16:57:31 +01:00
Matthew Wild
6218150e93
Merge 13.0->trunk
2025-02-15 10:34:26 +00:00
Matthew Wild
f5f2755b63
mod_cloud_notify, mod_cron, mod_invites: Add 'prosody.' prefix to requires
2025-02-15 10:31:37 +00:00
Matthew Wild
a9bc4a09e4
.semgrep.yml: Identify unprefixed module imports
2025-02-15 10:30:33 +00:00
Kim Alvefur
346f58c9d9
core.certmanager: Move LuaSec verification tweaks to mod_s2s
...
These two settings are only really needed for XMPP server-to-server
connections.
2025-02-15 00:19:01 +01:00
Kim Alvefur
1de0007141
Merge 13.0->trunk
2025-02-14 20:57:43 +01:00
Kim Alvefur
e49c199077
doap: Update XEP-0421, only editorial changes and promoted to Stable
2025-02-14 20:55:49 +01:00
Kim Alvefur
a16ff1dea5
doap: Replace references to 'trunk'
2025-02-14 20:50:18 +01:00
Matthew Wild
8333f04d22
Merge 13.0->trunk
2025-02-14 14:54:49 +00:00
Matthew Wild
1acb229597
net.httpserver: Remove obsolete API
2025-02-14 14:50:22 +00:00
Matthew Wild
09e5f799a0
prosody.cfg.lua.dist: Updates for 13.0+
2025-02-14 14:47:11 +00:00
Matthew Wild
e3bd013535
CHANGES: List mod_cloud_notify
2025-02-14 14:44:47 +00:00
Matthew Wild
d71473df3b
MUC: Use new XEP namespace for hats by default
...
Revert with muc_hats_compat = true in the config if necessary.
2025-02-14 13:08:45 +00:00
Matthew Wild
5cb42c94bd
Merge 13.0->trunk
2025-02-13 18:01:43 +00:00
Matthew Wild
ed5dfc1a62
prosodyctl: check: Warn about deprecated mod_posix
2025-02-13 18:01:15 +00:00
Matthew Wild
90fea186dd
modulemanager: Remove autoloading of per-platform module
...
We only support posix these days, and we moved it to the core startup process
to make it more deterministic and reliable.
2025-02-13 18:00:54 +00:00
Matthew Wild
1d130946fe
Merge 13.0->trunk
2025-02-13 17:05:51 +00:00
Matthew Wild
df63482b96
mod_admin_shell: Remove duplicated line
2025-02-13 17:05:36 +00:00
Matthew Wild
468537cb09
Merge 13.0->trunk
2025-02-13 16:21:10 +00:00
Matthew Wild
56dc05885e
mod_admin_shell: Rename user:setrole to user:set_roles
...
This is more readable and accessible, and it will only be harder to change
after release.
2025-02-13 16:20:42 +00:00
Matthew Wild
f8a9943d17
mod_admin_shell: Hide secondary role commands, focus on primary roles
...
Secondary roles are an advanced feature without any strong use cases
currently. Having multiple ways to manage roles is confusing.
Now the 'user:role' command will just show the primary role if that is all
there is, but will list secondary roles too if there are any (which in 99.9%
of cases there won't be).
2025-02-13 16:18:59 +00:00
Matthew Wild
009996c9e8
mod_admin_shell: Support for hiding certain commands from default help listing
...
Useful for e.g. deprecated commands.
2025-02-13 16:16:19 +00:00
Matthew Wild
4cc122bdc0
mod_account_activity: Fix error when no duration specified in shell command
2025-02-13 16:15:16 +00:00
Matthew Wild
b07c1436e7
mod_admin_shell: Fix result handling of user addrole/delrole commands
2025-02-13 15:54:39 +00:00
Matthew Wild
ccacf5acb3
usermanager: Include role_name in event for consistency with the 'removed' event
2025-02-13 15:31:37 +00:00
Matthew Wild
d384d98c11
mod_authz_internal: Fix error messages
2025-02-13 15:31:14 +00:00
Matthew Wild
dc810fea2d
mod_authz_internal: Fix return values of secondary role management methods
...
usermanager expects (role, err) and (ok, err)
2025-02-13 15:30:23 +00:00
Matthew Wild
ecf23b8390
Merge 13.0->trunk
2025-02-13 14:00:34 +00:00
Matthew Wild
3cdaf29bf8
mod_presence: Fix traceback if origin gets disconnected during processing
...
Fixes #1887
2025-02-13 14:00:08 +00:00
Matthew Wild
64c5d4941c
Merge 13.0->trunk
2025-02-13 13:09:11 +00:00
Matthew Wild
91e846ee71
mod_invites: Add shell commands to list, show and delete pending invitations
2025-02-13 13:04:37 +00:00
Matthew Wild
94385af697
mod_invites: Shell command to create reset links
2025-02-13 12:21:16 +00:00
Kim Alvefur
213dbebdd2
Merge 13.0->trunk
2025-02-12 22:41:19 +01:00
Kim Alvefur
e91c540eea
core.configmanager: Delay reporting warnings about Credential until use
...
Too much noise to use Credential if you get a pile of warnings every
time you touch prosodyctl for anything. This way warnings should be
printed only if e.g used by prosodyctl check config or a module command.
2025-02-12 22:35:39 +01:00
Matthew Wild
4edcb2f344
Merge 13.0->trunk
2025-02-12 17:16:09 +00:00
Matthew Wild
d828183c6a
CHANGES: Update with some more 13.0 features
2025-02-12 17:15:49 +00:00
Matthew Wild
85b82fdb3d
mod_account_activity: Add shell command to list inactive accounts
...
Including accounts which may never have logged in.
2025-02-12 17:15:29 +00:00
Matthew Wild
6b6707efe5
mod_account_activity: Fix required module names
2025-02-12 17:15:00 +00:00
Matthew Wild
e0fc00a04c
Merge 13.0->trunk
2025-02-12 12:34:29 +00:00
Matthew Wild
54b77fd3ca
mod_account_activity: Record an account's last activity timestamp
...
This is similar to mod_lastlog/mod_lastlog2.
Some functionality was dropped, compared to mod_lastlog2. These features
(recording the IP address, or tracking the timestamp of multiple events) are
handled better by the mod_audit family of modules. For example, those
correctly handle multiple logins, IP address truncation, and data retention
policies.
The "registered" timestamp from mod_lastlog2 was also dropped, as this has
been stored in account_details by Prosody itself since at least 0.12 already.
2025-02-12 12:33:45 +00:00