• last updated 12 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
include timing information in DEBUG lines only, when nsf was configured properly with it

avoid unneccesary warnings (and unneccessary work)

In case the exam-protocol is shown filtered (e.g. only selected questions)

there is distinction between the available answer attributes and the

answer attributes, which is shown. Earlier versions tried to lookup

all available answer attributes, now we restrict the lookup to only

the shown answer attributes, and therefore avaiding running into

warnings of the form "No form field with name ... found"

Deprecate template::util::tcl_to_sql_list, completely replaced by ns_dbquotelist, a native NaviServer command

  1. … 3 more files in changeset.
Improve test portability

Baseline test of captcha robustness: challenge the captcha using tesseract, also applying basic normalizations

Fail when no value is specified

Fix tests according to new behavior

Improve behavior: invalidate the captcha when the check fails, cleanup expired captcha also when a new one is generated

Test newly introduced api

file captcha-procs.tcl was initially added on branch oacs-5-10.

A simple image captcha implementation:

a random text is converted to a distorted image, its checksum, together with the expected text are stored in a lookup table. Upon validation, the text input by the user is matched against the checksum to determine if the captcha is correct.

Plan is to use it downstream on certain publicly available contact forms.

file captcha-create.sql was initially added on branch oacs-5-10.

file captcha-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/acs-templating/tcl/captcha-procs.tcl
file upgrade-5.10.1d0-5.10.1d1.sql was initially added on branch oacs-5-10.

Make sure widget variable exists for the element

improve spelling

    • -3
    • +3
    /openacs-4/packages/xowiki/xowiki.info
deactivate language tool when spellcheck is turned off

Added validation on values provided for options

    • -2
    • +2
    /openacs-4/packages/xowiki/xowiki.info
this warning is just important for applications using an fc-repository

    • -1
    • +1
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
Put more info in the warning

    • -1
    • +1
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
Allow to pass the doc array to the master (e.g. for the title)

use icanuse machinery for "ns_reflow_text -offset"

improve comment

fix default value for nls_language

prefer "string first" over "string match" (the first one is slightly faster)

Streamline idiom

Whitespace cleanup

Do the transaction only if necessary

Break overlong lines

Add multiselect to the widgets we check