annotate mod_lastlog.wiki @ 514:9427318ae72d default tip

added page for mod_delegation
author Goffi <goffi@goffi.org>
date Thu, 07 May 2015 23:31:20 +0200
parents 049ad0dda0d1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
303
d745b203cbbd add page fro mod_lastlog
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 #summary Log last login time
421
87df2ef1ee59 Update docs to explain about prosodyctl usage, and add the lastlog_stamp_offline option (thanks kdex)
MWild1@gmail.com
parents: 303
diff changeset
2 #labels Stage-Beta
303
d745b203cbbd add page fro mod_lastlog
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3
d745b203cbbd add page fro mod_lastlog
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 = Introduction =
d745b203cbbd add page fro mod_lastlog
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5
d745b203cbbd add page fro mod_lastlog
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6 Simple module that stores the timestamp of when a user logs in.
d745b203cbbd add page fro mod_lastlog
Kim Alvefur <zash@zash.se>
parents:
diff changeset
7
d745b203cbbd add page fro mod_lastlog
Kim Alvefur <zash@zash.se>
parents:
diff changeset
8 = Usage =
d745b203cbbd add page fro mod_lastlog
Kim Alvefur <zash@zash.se>
parents:
diff changeset
9
d745b203cbbd add page fro mod_lastlog
Kim Alvefur <zash@zash.se>
parents:
diff changeset
10 As with all modules, copy it to your plugins directory and then add it to the modules_enabled list:
d745b203cbbd add page fro mod_lastlog
Kim Alvefur <zash@zash.se>
parents:
diff changeset
11
d745b203cbbd add page fro mod_lastlog
Kim Alvefur <zash@zash.se>
parents:
diff changeset
12 {{{
d745b203cbbd add page fro mod_lastlog
Kim Alvefur <zash@zash.se>
parents:
diff changeset
13 modules_enabled = {
d745b203cbbd add page fro mod_lastlog
Kim Alvefur <zash@zash.se>
parents:
diff changeset
14 -- ...
d745b203cbbd add page fro mod_lastlog
Kim Alvefur <zash@zash.se>
parents:
diff changeset
15 "lastlog",
d745b203cbbd add page fro mod_lastlog
Kim Alvefur <zash@zash.se>
parents:
diff changeset
16 -- ...
d745b203cbbd add page fro mod_lastlog
Kim Alvefur <zash@zash.se>
parents:
diff changeset
17 }
d745b203cbbd add page fro mod_lastlog
Kim Alvefur <zash@zash.se>
parents:
diff changeset
18 }}}
d745b203cbbd add page fro mod_lastlog
Kim Alvefur <zash@zash.se>
parents:
diff changeset
19
d745b203cbbd add page fro mod_lastlog
Kim Alvefur <zash@zash.se>
parents:
diff changeset
20 = Configuration =
d745b203cbbd add page fro mod_lastlog
Kim Alvefur <zash@zash.se>
parents:
diff changeset
21
421
87df2ef1ee59 Update docs to explain about prosodyctl usage, and add the lastlog_stamp_offline option (thanks kdex)
MWild1@gmail.com
parents: 303
diff changeset
22 There are some options you can add to your config file:
87df2ef1ee59 Update docs to explain about prosodyctl usage, and add the lastlog_stamp_offline option (thanks kdex)
MWild1@gmail.com
parents: 303
diff changeset
23
87df2ef1ee59 Update docs to explain about prosodyctl usage, and add the lastlog_stamp_offline option (thanks kdex)
MWild1@gmail.com
parents: 303
diff changeset
24 || *Name* || *Values* || *Description* ||
87df2ef1ee59 Update docs to explain about prosodyctl usage, and add the lastlog_stamp_offline option (thanks kdex)
MWild1@gmail.com
parents: 303
diff changeset
25 || lastlog_ip_address || true/false || Log the IP address of the user? ||
505
049ad0dda0d1 mod_lastlog: correctly describe lastlog_stamp_offline
Kim Alvefur <zash@zash.se>
parents: 421
diff changeset
26 || lastlog_stamp_offline || true/false || Add timestamp to offline presence? ||
421
87df2ef1ee59 Update docs to explain about prosodyctl usage, and add the lastlog_stamp_offline option (thanks kdex)
MWild1@gmail.com
parents: 303
diff changeset
27
87df2ef1ee59 Update docs to explain about prosodyctl usage, and add the lastlog_stamp_offline option (thanks kdex)
MWild1@gmail.com
parents: 303
diff changeset
28 = Usage =
87df2ef1ee59 Update docs to explain about prosodyctl usage, and add the lastlog_stamp_offline option (thanks kdex)
MWild1@gmail.com
parents: 303
diff changeset
29
87df2ef1ee59 Update docs to explain about prosodyctl usage, and add the lastlog_stamp_offline option (thanks kdex)
MWild1@gmail.com
parents: 303
diff changeset
30 You can check a user's last activity by running:
87df2ef1ee59 Update docs to explain about prosodyctl usage, and add the lastlog_stamp_offline option (thanks kdex)
MWild1@gmail.com
parents: 303
diff changeset
31
87df2ef1ee59 Update docs to explain about prosodyctl usage, and add the lastlog_stamp_offline option (thanks kdex)
MWild1@gmail.com
parents: 303
diff changeset
32 {{{
87df2ef1ee59 Update docs to explain about prosodyctl usage, and add the lastlog_stamp_offline option (thanks kdex)
MWild1@gmail.com
parents: 303
diff changeset
33 prosodyctl mod_lastlog username@example.com
87df2ef1ee59 Update docs to explain about prosodyctl usage, and add the lastlog_stamp_offline option (thanks kdex)
MWild1@gmail.com
parents: 303
diff changeset
34 }}}
303
d745b203cbbd add page fro mod_lastlog
Kim Alvefur <zash@zash.se>
parents:
diff changeset
35
d745b203cbbd add page fro mod_lastlog
Kim Alvefur <zash@zash.se>
parents:
diff changeset
36 = Compatibility =
421
87df2ef1ee59 Update docs to explain about prosodyctl usage, and add the lastlog_stamp_offline option (thanks kdex)
MWild1@gmail.com
parents: 303
diff changeset
37 || 0.9 || Works ||