• last updated 19 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- add a fix for broken ns_quotehtml in some aolserver implementations

avoiding using deprecated command : ns_register_adptag , using ns_adp_registerscript instead.

  1. … 1 more file in changeset.
- added victor's patch to omit deprecated messages of "ns_info tcllib". Background: naviserver supports multiple (virtual) servers, which might have different tcllibs. Therefore, the preferred command to query this was moved to "ns_server ?-server s? tcllib" and "ns_info tcllib" was deprecated. From the OpenACS point of view, one wants to locate the actual library. Since the variable does not change, it is fine to store it in a per-thread variable which can be efficiently accessed.

  1. … 18 more files in changeset.
- replace deprecated command "ns_unlink" with native tcl command "file delete"

  1. … 7 more files in changeset.
- added "@var;literal@" notation: such variables are neither quoted nor localized. This leads to more sane code in case of comparison in .adp files

- remove "magic" eval construct, since nobody seems to know, what this is for... (see old comment)

- abstract in check for existance of a command whether this is scripted or not

Getting right template-caches manipulation depending on wether we run on NaviServer or AOLServer.

lassign instead of lset was meant here.

deleted too much

define templating caches

    • -0
    • +7
    ./template-cache-init.tcl
The original code had at least two OpenACS caused memory leaks: it led

to an unbounded growth for __template_cache_value and did not unset

the nsv variables __template_*_timeout. This bug led openacs.org to a

broken state (forums posting lead to the message "Not enough memory to

allocate the list internal rep"). The new code makes use of the per

entry expire feature of ns_cache and emulates the behavior otherwise.

produce more efficient code from the adp-compiler (using byte compiled functions, using local vars)

- fix syntax of regex (many thanks to Stefan Sobernig)

fix bug 2807 security issue during enhanced text/html edit.

In display mode, minute and second fragments should be the same size as the hidden widget value (usually 2).

fix for bug in tinymce init code regarding booleans

Had to add the bleeping time_of_day acs datatype to the templating code.

Added doc section to the richtext to_sql proc.

Added a couple of template validation procedures ("added a couple of

templating system datatypes") to bring the kernel and templating system's

view of datatypes closer together. Added to_sql/from_sql helpers to move

that functionality from ad_form into the templating system.

Merged oacs-5-6 to HEAD. HEAD now installs and passes all core tests. There

may still be some lingering problems due to my screwing up the oacs-5-6

branch earlier, I'll be looking into this later.

  1. … 212 more files in changeset.
removing defaults_meta because I am a bad boy. I did not follow the new, unpublished OCT procedures for core changes. (repeating this x100)

adding OpenGraph protocol default generations for social networking

  1. … 1 more file in changeset.
Added sql_timestamp as an alias for sql_date (no code)

Checking if parameter XinhaDefaultPlugins exists and has no empty value; otherwise upgrades from 5.1.x will brake.

Checking if parameter XinhaDefaultPlugins exists and has no empty value; otherwise upgrades from 5.1.x will brake.

Add form::get_properties

Add form::get_properties

Fix misnamed and misordered variables in creating body script multirow.

Added encoding to params for webspell otherwise we would get unexpected results when checking languages that use extended characters (e.g. spanish)