Commit graph

4 commits

Author SHA1 Message Date
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
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
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