Interchange

CVS log for interchange/code/SystemTag/captcha.coretag

[BACK] Up to [Local Repository] / interchange / code / SystemTag

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Mar 30 23:55:57 2007 UTC (21 months, 1 week ago) by pajamian
Branches: MAIN
CVS tags: STABLE_5_6-root, STABLE_5_6-branch, REL_5_7_1, REL_5_6_1, REL_5_5_3, REL_5_5_2, REL_5_5_1, HEAD, DEB_5_6_1_2, DEB_5_5_1_1_1, DEB_5_5_1
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +15 -4 lines
Added License, version, and copyright info to captcha tag.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:30:39 2006 UTC (2 years, 4 months ago) by mheins
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +30 -8 lines
* Add file security checks.

* Document reset option.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Aug 11 14:39:03 2006 UTC (2 years, 4 months ago) by mheins
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +66 -22 lines
* Make one image function, modified by parameters.

* Add relative and name-only options to control image function.

* Add reset=1 option to allow more than one captcha per page
  transaction (however unlikely that is to be needed).

* Changed docs to reflect this.

* Add example to docs.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Aug 6 19:51:38 2006 UTC (2 years, 5 months ago) by mheins
Branches: MAIN
* Add "captcha" capability to Interchange.

* Docs for captcha tag embedded in code/SystemTag/captcha.coretag.

* Short example:


	[if cgi mv_captcha_guess]
		[tmp good][captcha check][/tmp]
		[if scratch good]
			You guessed right!
		[else]
			Sorry, try again.
		[/else]
		[/if]
	[/if]

	[captcha imagetag]

	<form action="[process href="@@MV_PAGE@@"]">
	<input type=hidden name=mv_captcha_source value="[captcha code]">
	<input type=text name=mv_captcha_guess size value="">
	<input type=submit value="Guess">
	</form>

	[error auto=1]

* Also add ability to specify capability for creating new IC account
  in catalog.cfg:

	UserDB default captcha 1

  Combined with this code in pages/new_account.html:

	[if config UserDB->captcha]
    <tr>
      <td colspan=2>
        [captcha image_tag]
      </td>
    </tr>
    <tr>
      <td align="right" class="titletab_small">
        <b>[L]Letters above[/L]:</b>
      </td>
      <td align="left" class="titletab_small">
        <input type="text" name="mv_captcha_guess" value="">
      </td>
    </tr>
	[/if]

   will insist on user getting captcha correct before new account
   is generated.

* Not included by default as most sites don't have much problem.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

Interchange CVSweb <info@icdevgroup.org>