• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ad_form: completed support for -export parameter. Now the same syntax used

for "vars" argument in export_vars proc can be used. In particular

one can specify :multiple, :array and :sign flags on variables.

This change required modification to template::widget::hidden: now, when

specifying both -value and -values flags, if -values is non-empty this will

have the precedence over -value, and this widget will me multiple.

  1. … 1 more file in changeset.
- new api call template::themed_template to obtain a template

optionally from the resource dir of a theme

- use call for themed apm package lists in acs-admin/tcl/apm-admin-procs.tcl

  1. … 1 more file in changeset.
- fix nesting

- add root dir for checking relative resource

- bump version number

- add theme-able display templates by using display_template_names similar to query names in the db interface

  1. … 1 more file in changeset.
- add tag <widget>: linke include, but theme-able via resoures/widgets/

- add support for multiple themed masters (defaults in acs-templating/resources/masters, similar to lists etc.)

  1. … 1 more file in changeset.
- handle closing box of ds wrapper as well

- added ability to turn off adp-wrapper box for include tag (setting attribute ds=0)

  1. … 2 more files in changeset.
- Improve robustness of blank-master: malformed lists in subsite

parameters could render a subsite useless and hard to correct.

Now the validity of lists is checked, errors are written to the

error.log, invalid parameters are ignored.

- added flat list syntax for ThemeCSS specs (easier to read)

- added parameter ThemeJS similar to ThemeCSS (ability to add head and

body scripts)

- added generalized function template::add_script with non-pos

parameter "-section" which might be "head" or "body" to make both

kind of scripts available to ThemeJS

  1. … 11 more files in changeset.
- simplify parenthesis

- use plural instead of singular for directory under resources to follow implicit conventions

- prefer spaces over tabs (whitespace change)

  1. … 2 more files in changeset.
- template::resource_path: new function to generalize access to

acs-templating's resource files

- add resource_dir (db) / ResourceDir (package parameter of subsite)

to allow for usage of them specific (adp) resources while preserving

existing semantics

  1. … 9 more files in changeset.
- fix for bug #3285

- sort options alphabetcally

- fix white-space (remove trailing space, change tabs to spaces)

cleanup of acs-tcl/tcl/table-display-procs.tcl:

- move ad_dimensional_sql to dimensional-procs

- mark the following unused procs as deprecated:

* ad_dimensional_set_variables

* ad_order_by_from_sort_spec

* ad_same_page_link

* ad_custom_load

* ad_custom_list

* ad_custom_page_defaults

* ad_custom_form

* ad_dimensional_settings

  1. … 1 more file in changeset.
Dimensional Slider Reform (ad_dimensional):

- remove hard-coded table layout from dimensional slider

- add backwards compatible templates to

packages/acs-templating/resources/dimensional/

- move hard-coded styles to

openacs-default-theme/www/resources/styles/default-master.css

- remove obsolete comments from ad_dimensional

  1. … 4 more files in changeset.
file dimensional-procs.tcl was initially added on branch oacs-5-9.

    • -0
    • +0
    ./dimensional-procs.tcl
- fix braces in javascript for ckeditor4

- fix typo

- streamline spelleck (sub)widget of richtext between different modes, fix one more label occurance

- don't let <label> contain <input> fields, end the label text before it.

The original version has bad effects on e.g. bootstrap, which sets

a font-property for <label>, which is afterwards as well used for input fields.

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

  1. … 10 more files in changeset.
- provide minimal support for ckeditor4 (via CDN)

- added changes from antonio to pass handling for unknown editor to the master templates

  1. … 2 more files in changeset.
- 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.