annotate mod_register_web.wiki @ 378:3f73ea0fef1c

mod_s2s_auth_dnssec_srv: Google code wiki blah can't have links spanning multiple lines? Pfft!
author Kim Alvefur <zash@zash.se>
date Sat, 29 Jun 2013 22:36:20 +0200
parents aaa07aaf3308
children 720b8a84ecf9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
310
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
1 #summary A web interface to register user accounts
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
2 #labels Stage-Alpha
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
3
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
4 = Introduction =
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
5
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
6 There are various reasons to prefer web registration instead of "in-band" account registration over XMPP. For example the lack of CAPTCHA support in clients and servers.
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
7
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
8 = Details =
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
9
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
10 mod_register_web has Prosody serve a web page where users can sign up for an account. It implements reCaptcha to prevent automated sign-ups (from bots, etc.).
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
11
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
12 = Configuration =
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
13
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
14 The module is served on Prosody's default HTTP ports at the path `/register_web`. More details on configuring HTTP modules in Prosody can be found in our [http://prosody.im/doc/http HTTP documentation].
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
15
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
16 To configure the CAPTCHA you need to supply a 'captcha_options' option:
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
17
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
18 {{{
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
19 captcha_options = {
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
20 recaptcha_private_key = "12345";
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
21 recaptcha_public_key = "78901";
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
22 }
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
23 }}}
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
24
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
25 The keys for reCaptcha are available in your reCaptcha account, visit [http://recaptcha.net/ recaptcha.net] for more info.
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
26
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
27 = Compatibility =
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
28 || 0.9 || Works ||
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
29 || 0.8 || Doesn't work ||
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
30
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
31 = Todo =
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
32
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
33 Lots. The module is very basic at the moment. In particular I would like to see:
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
34
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
35 * Customisation (CSS and/or HTML)
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
36 * Different CAPTCHA implementation support
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
37 * Collection of additional data, such as email address
466bdf312547 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
38 * The module kept simple!