• last updated 19 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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)

Fun with developer support!

1. Added a button to turn template profiling on/off.

2. Moved templating information to the request information page. It was

confusing having it work differently than db and other information. If,

for instance, you clicked on a request link in the developer support

index page, you'd get the db timing information for that request, but

the profiling stuff would come from the footer - and would be the profile

information for displaying request-info.tcl/adp, not for the template

served for that request. Oops.

3. Simplified the ds_profile proc since in practice it only is used for

profiling templates.

  1. … 10 more files in changeset.
Add a specific class to format form legend text.

  1. … 1 more file in changeset.
Use default style for form section and bold one for the legend text when it's not a fieldset around checkbox or radio buttons.

Merged 5.5.1 to HEAD

  1. … 179 more files in changeset.
remove html security check bypass for admins in the richtext validation per OCT discussion

Providing upgrade logic for removing Xinha invalid plugins from the parameter XinhaDefaultPlugins.

  1. … 1 more file in changeset.
Localized default format for date widget