• last updated 19 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- correct comments

- backport changes

- insert missing dollar-sign

- remove spaces between xml attribute names, equal-sign, and attribute values

  1. … 5 more files in changeset.
- fix subtle quoting bug: the substitution of

#package_key.message_key# happens via regex on the resulting page

late in the layout process. When a message contains %-substitution

variables, at least these values have to be html-escaped.

The bug showed up e.g. on OpenACS.org in the forums, when

a subject line contained a double quote (e.g. in the .LRN Q&A forum,

message "My applet doesn't appear ...". Since the layout is produced

via

<a href="@messages.message_url@" title="#forums.goto_thread_subject#">

and the message key is defined as

Go to thread %messages.subject%

the HTML title attribute was terminated prematurely by the double

quote of the subject line and the remainder was invalid HTML.

- backport from head to ease using HEAD modules

  1. … 1 more file in changeset.
- protect against attacks against form:id

  1. … 1 more file in changeset.
- improve documentation

- add noi18n for symmetry (quote, but no message key substitution)

- add documentation for noquote, literal and noi18n

- bump version number

  1. … 5 more files in changeset.
- fix editing bug

- ensure proper encoding of hrefs

  1. … 8 more files in changeset.
- remove xss attack vector via error messages while including templates

- fixed html attribute quoting

  1. … 8 more files in changeset.
Merging back to HEAD all changes that happened in branch oacs-5-8 between tags: vg-merge-oacs-5-8-from-20141027 and vg-merge-oacs-5-8-from-20150427

  1. … 518 more files in changeset.
Added template::list::get_rowcount which will get the total number of records contained into template::list.

Before this information was not accessible, because existing count procs would stop at number_of_pages * rows_per_page.

For reference, see proc documentation.

file list-procs.xql was initially added on branch oacs-5-8.

Quickfixing strange code in template::util::nvl

Fix template_tag_if_interp_expr to make it work with compound expressions again (such as <if @a@ not nil and @b@ not nil>)

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

  1. … 2533 more files in changeset.
- fix for bug #3234

this adresses as well issue #731

  1. … 2 more files in changeset.
- set reminiscent of .ini-files deprecated

- mark more of the functions as deprecated which are not called

by the major 80 packages and for which popular alternatives exist

* pkg_home (-> acs_package_root_dir)

* ad_get_user_info (-> acs_user::get)

* exists_or_null (-> tcl builtins)

* lmap (danger, this function is a built-in of Tcl 8.6)

* template::util::server_root (-> $::acs::rootdir)

* template::util::display_value (-> ns_log)

* template::util::proper_noun (-> string totitle)

* template::util::string_range (-> string range)

* template::util::get_cookie (-> ad_get_cookie)

* template::util::set_cookie (-> ad_set_cookie)

* template::util::clear_cookie (-> ad_set_cookie)

- util_wrap_list: fix bug, when length of first word less then indent

(space was missing)

  1. … 4 more files in changeset.
- use charset utf-8 instead of iso-8859-1 in pagiantor-procs

- change spelling of TCL to Tcl

- change requirements to Tcl 8.5

  1. … 61 more files in changeset.
- fix invalid @param declaration for API browser

  1. … 5 more files in changeset.
- produce more efficient compiled adp template code (using preferably byte-compiled functions)

  1. … 1 more file in changeset.
- reduce usage of "eval"

  1. … 1 more file in changeset.
- patch for a subtle difference between aolserver and Naviserver in the handling of "--" (nonpos parameter terminator)

  1. … 1 more file in changeset.
- use consistently "naturalnum" instead of "integer" when accepting just positive values

  1. … 33 more files in changeset.
- use consistently "naturalnum" instead of "integer" when accepting just positive values

  1. … 13 more files in changeset.
- white space change to follow coding conventions