form-processing-procs.tcl

  • last updated 14 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- remove trailing .html from doc references (to allow e.g. .adp as well)

  1. … 4 more files in changeset.
- remove globals for errorInfo/errorCode and use namespace qualifiers instead

  1. … 12 more files in changeset.
- handle cases, where __new_p is not set in form

- validate contents of __new_p

- use tcl8.5 idioms

Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
- use expand operator rather than eval to reduce likelyhood of

unwanted interference and to improve security

  1. … 9 more files in changeset.
- fix for bug #3217 (xss vulnerbility found by AppScan, reported by Andrew Helsley)

- don't use backslash in multiline expressions

- make long expressions more uniform and more readable

- use "in" or not in (ni) operator instead of lsearch

- brace expressions to allow for tcl compilation

- bump version number

  1. … 23 more files in changeset.
- don't abbreviate subcommands

  1. … 4 more files in changeset.
- use tcl 8.5 extended index format for "string range"

- modernize tcl

  1. … 6 more files in changeset.
- replace deprecated "ad_require_permission" by "permission::require_permission"

  1. … 68 more files in changeset.
- get rid of empty_string_p

  1. … 20 more files in changeset.
1. Changed trigger functions from "opaque" to "trigger" to get rid of the

warnings during initial install (only for acs-kernel, there are a lot

elsewhere!)

2. Added "embeds" for postgresql and partially for oracle.

3. Added global parameters for postgresql and partially for oracle.

(oracle will be forthcoming shortly)

  1. … 29 more files in changeset.
Added a missing subst in ad_set_form_values

undo escaped changes

  1. … 2 more files in changeset.
ensure that charset is always included in content type for text/* media types.

  1. … 3 more files in changeset.
Merged the 5.3 branch with HEAD. Look for tags with the pattern

drb-*-20070513

  1. … 324 more files in changeset.
Zen: removing trailing input tag / to pass html transitional

  1. … 8 more files in changeset.
Support for fieldset and legend stuff in sections (actual support awaits a

commit to acs-templating by emma_r, after testing)

project zen: adding fieldset parameter to ad_form

Normalizing string comparison operations into tcl 8.4 operations, enabling byte-code compilation for expressions and many conditionals

  1. … 367 more files in changeset.
Double Click protection

  1. … 1 more file in changeset.
fix for the bug with tcl 8.5 mentioned in http://openacs.org/forums/message-view?message_id=487196

Fixed typo.

Fixed a bug that deletes previously defined validate blocks when extending an ad_form.

check both the ad_form elements and the template elements

inverted logic and the wrong element key from last commit

use template::element::exists for checking if an element exists for validation blocks - faster and works in the event you added an element directly via the form api

1. Allow use of variables in form element names, so you can more easily build

dynamic forms.

2. Relax the rules slightly so you can initialize a form without providing

a form block.

Allow one to initiate an ad_form with specifying the "form" block, useful

for building forms incrementally.