mod_list_active/README.markdown
author Matthew Wild <mwild1@gmail.com>
Thu, 07 Dec 2023 15:46:50 +0000
changeset 5791 e79f9dec35c0
parent 2642 33f7ca7bdc86
permissions -rw-r--r--
mod_c2s_conn_throttle: Reduce log level from error->info Our general policy is that "error" should never be triggerable by remote entities, and that it is always about something that requires admin intervention. This satisfies neither condition. The "warn" level can be used for unexpected events/behaviour triggered by remote entities, and this could qualify. However I don't think failed auth attempts are unexpected enough. I selected "info" because it is what is also used for other notable session lifecycle events.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2191
287f37e6b6e1 mod_list_inactive: Add README.md (fixes issue #684 - thanks t2d2!)
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
     1
Description
287f37e6b6e1 mod_list_inactive: Add README.md (fixes issue #684 - thanks t2d2!)
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
     2
===========
287f37e6b6e1 mod_list_inactive: Add README.md (fixes issue #684 - thanks t2d2!)
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
     3
2642
33f7ca7bdc86 mod_list_active: Add README
Kim Alvefur <zash@zash.se>
parents: 2194
diff changeset
     4
This module lists those users, who **have** used their account in a
33f7ca7bdc86 mod_list_active: Add README
Kim Alvefur <zash@zash.se>
parents: 2194
diff changeset
     5
defined time-frame, basically the inverse of [mod_list_inactive].
2191
287f37e6b6e1 mod_list_inactive: Add README.md (fixes issue #684 - thanks t2d2!)
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
     6
287f37e6b6e1 mod_list_inactive: Add README.md (fixes issue #684 - thanks t2d2!)
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
     7
Dependencies
287f37e6b6e1 mod_list_inactive: Add README.md (fixes issue #684 - thanks t2d2!)
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
     8
============
287f37e6b6e1 mod_list_inactive: Add README.md (fixes issue #684 - thanks t2d2!)
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
     9
2194
0c01444f8bc2 mod_list_inactive/README: Describe what the dependency does
Kim Alvefur <zash@zash.se>
parents: 2193
diff changeset
    10
[mod_lastlog] must be enabled to collect the data used by this module.
2191
287f37e6b6e1 mod_list_inactive: Add README.md (fixes issue #684 - thanks t2d2!)
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
    11
287f37e6b6e1 mod_list_inactive: Add README.md (fixes issue #684 - thanks t2d2!)
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
    12
Usage
287f37e6b6e1 mod_list_inactive: Add README.md (fixes issue #684 - thanks t2d2!)
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
    13
=====
287f37e6b6e1 mod_list_inactive: Add README.md (fixes issue #684 - thanks t2d2!)
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
    14
2642
33f7ca7bdc86 mod_list_active: Add README
Kim Alvefur <zash@zash.se>
parents: 2194
diff changeset
    15
    prosodyctl mod_list_active example.com time [format]
2191
287f37e6b6e1 mod_list_inactive: Add README.md (fixes issue #684 - thanks t2d2!)
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
    16
2193
093b1180aa42 mod_list_inactive/README: Fixup markdown
Kim Alvefur <zash@zash.se>
parents: 2192
diff changeset
    17
Time is a number followed by 'day', 'week', 'month' or 'year'
093b1180aa42 mod_list_inactive/README: Fixup markdown
Kim Alvefur <zash@zash.se>
parents: 2192
diff changeset
    18
093b1180aa42 mod_list_inactive/README: Fixup markdown
Kim Alvefur <zash@zash.se>
parents: 2192
diff changeset
    19
Formats are:
2191
287f37e6b6e1 mod_list_inactive: Add README.md (fixes issue #684 - thanks t2d2!)
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
    20
2193
093b1180aa42 mod_list_inactive/README: Fixup markdown
Kim Alvefur <zash@zash.se>
parents: 2192
diff changeset
    21
  --------- ------------------------------------------------
093b1180aa42 mod_list_inactive/README: Fixup markdown
Kim Alvefur <zash@zash.se>
parents: 2192
diff changeset
    22
  default   `user@example.com`
093b1180aa42 mod_list_inactive/README: Fixup markdown
Kim Alvefur <zash@zash.se>
parents: 2192
diff changeset
    23
  event     `user@example.com last action`
093b1180aa42 mod_list_inactive/README: Fixup markdown
Kim Alvefur <zash@zash.se>
parents: 2192
diff changeset
    24
  --------- ------------------------------------------------
2191
287f37e6b6e1 mod_list_inactive: Add README.md (fixes issue #684 - thanks t2d2!)
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
    25
287f37e6b6e1 mod_list_inactive: Add README.md (fixes issue #684 - thanks t2d2!)
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
    26
Example
287f37e6b6e1 mod_list_inactive: Add README.md (fixes issue #684 - thanks t2d2!)
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
    27
=======
287f37e6b6e1 mod_list_inactive: Add README.md (fixes issue #684 - thanks t2d2!)
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
    28
2642
33f7ca7bdc86 mod_list_active: Add README
Kim Alvefur <zash@zash.se>
parents: 2194
diff changeset
    29
    prosodyctl mod_list_active example.com 1year
2191
287f37e6b6e1 mod_list_inactive: Add README.md (fixes issue #684 - thanks t2d2!)
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
    30
287f37e6b6e1 mod_list_inactive: Add README.md (fixes issue #684 - thanks t2d2!)
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
    31
Help
287f37e6b6e1 mod_list_inactive: Add README.md (fixes issue #684 - thanks t2d2!)
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
    32
====
287f37e6b6e1 mod_list_inactive: Add README.md (fixes issue #684 - thanks t2d2!)
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
    33
2642
33f7ca7bdc86 mod_list_active: Add README
Kim Alvefur <zash@zash.se>
parents: 2194
diff changeset
    34
    prosodyctl mod_list_active