• last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- Support for synonyms for richtext properties

- Error when illegal property specified

all TCL's clock clicks always with the -milliseconds option. The TCL manual

explicitly states that without this switch the return result is platform

dependant. The OpenACS code works at the millisecond granulartiy and silently

assumes that 1 millisecond equals 1000 clicks which is not necessarily true.

I used this shell script to automatize the replacing:

#!/bin/bash

for file in `grep -lsr "\[clock clicks\]" /web/openacs-head/packages/ `; do

echo "repairing $file"

sed "s/\[clock clicks\]/\[clock clicks -milliseconds\]/g" $file > fout

mv fout $file

done

And then grepped for

grep -r "expr.*clock clicks" /web/openacs-head/packages/

to manually remove the divisions by 1000.

  1. … 9 more files in changeset.
Make set_ and get_property emit an error instead of silently failing when specifying a non-existing property name. Some api-documentation.

Make set_ and get_property emit an error instead of silently failing when specifying a non-existing property name. Some api-documentation.

Clarifying api-documentation.

Make set_ and get_property emit an error instead of silently failing when specifying a non-existing property name. Some api-documentation.

Wrapping the output of element::render in [string trim] so that it doesn't pre- or append spaces before the output, to avoid borking html layouts that depend on having no spaces in the form, e.g. so that input elements don't get wrapped inside a td tag.

Only trim value in set_property when setting single-value properties, otherwise 0000-01-01 will get munged into -01-01, causing ansi property to fail

- Added 'ansi' to date::get_property

- Fixed error in date::set_property ansi, where the error thrown had a reference to the wrong variable

bugfix in template::element::set_values proc. It should set element(values) to the passed in list of values, not a list containing the passed in list.

- Default multirow to list-template name.

- Throw error if you're providing bulk_actions, but haven't set the key

merge of changes on oacs-5-0 branch to oacs-5-0-0b4 tag

  1. … 587 more files in changeset.
build a list to eval rather than eval ad_context_bar $args, bug 1265

  1. … 7 more files in changeset.
fix a few more missing rdbms stanzas

  1. … 11 more files in changeset.
Implementing display-mode radio/checkboxes using the 'disabled' HTML attribute instead of GIFs.

create the columns array in template::util::list_of_ns_sets_to_multirow so template::multirow foreach will work, fix typo in template::multirow procdoc

bugfix #1099: using noparse instead of ~ or +; removed unprotecting via ~ or +

  1. … 1 more file in changeset.
bugfix #1096: let displayed text in form begin with -

  1. … 1 more file in changeset.
typo in get_property display_date: must be instead of

making proc util::array_to_vars do proper quoting partially fixing bug 810. Kudos to Lars for teaching me about the merits of the list command...

Merging changes (which had accidentally been committed to head) to oacs-5-0.

Don't perform spell-checking on elemets which are in display mode.

Fixed bug #1021: Clarified example

Fixed bug #1111: Default orderby direction if clipped off in the URL

Fixed bug #1112: forum sorting by author requires named orderby partial queries

Test case for #428

file multirow-procs.tcl was initially added on branch oacs-5-0.

    • -0
    • +0
    ./test/multirow-procs.tcl
file multirow-test.tcl was initially added on branch oacs-5-0.

    • -0
    • +0
    ./test/multirow-test.tcl
file multirow-test.adp was initially added on branch oacs-5-0.

    • -0
    • +0
    ./test/multirow-test.adp
Added a url element validation filter for form elements. Check for valid URLs when creating a new subsite. Fixes Bug #1000.

  1. … 1 more file in changeset.