• last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
delete should use template_demo_note as type, not note

Add eighth row to listbuilder demo: add non-cached pagination

    • -0
    • +131
    ./list8/add-edit.tcl
    • -0
    • +30
    ./list8/add-edit.xql
    • -0
    • +17
    ./list8/delete-oracle.xql
    • -0
    • +15
    ./list8/delete-postgresql.xql
    • -0
    • +35
    ./list8/index-oracle.xql
    • -0
    • +54
    ./list8/index-postgresql.xql
    • -0
    • +22
    ./list8/view-one.tcl
Enhanced narrative text; changed filter name to color_filter_value to be

less confusing and because I think it was conflicting with the incoming

color value from the table.

Add the color purple to the possible filter values

add 7th row of listbuilder demo: add a filter (needs oracle test)

    • binary
    ./list7/add-disabled.gif
    • -0
    • +123
    ./list7/add-edit.tcl
    • -0
    • +30
    ./list7/add-edit.xql
    • -0
    • +17
    ./list7/delete-oracle.xql
    • -0
    • +15
    ./list7/delete-postgresql.xql
    • -0
    • +43
    ./list7/index-oracle.xql
    • -0
    • +30
    ./list7/index-postgresql.xql
    • -0
    • +109
    ./list7/index.tcl
  1. … 3 more files in changeset.
finish up, make sure the add-edit.tcl refers to template_demo_note, not note

fix typos: note should really be template_demo_note

add support for color column in the queries to get a note and update one

correct no-data situation in where clause of oracle query

in some queries oracle claimed the title column ambiguous; fixed.

in third thru sixth rows, got the orderby clause from listbuilder (oracle)

Add 6th row of listbuilder demo, adding non-bulk action to add new note.

Having a problem where the sql of adding a new note tells the wrong type

to template_demo_note__new(); this happens somewhere in the call to

package_instantiate_object in the -new_data section of the form in

add-edit.tcl

    • binary
    ./list6/add-disabled.gif
    • -0
    • +130
    ./list6/add-edit.tcl
    • -0
    • +30
    ./list6/add-edit.xql
    • -0
    • +17
    ./list6/delete-oracle.xql
    • -0
    • +15
    ./list6/delete-postgresql.xql
    • -0
    • +42
    ./list6/index-oracle.xql
    • -0
    • +29
    ./list6/index-postgresql.xql
  1. … 3 more files in changeset.
Add fifth row of listbuilder demos: add "delete checked notes" as bulk action

    • binary
    ./list5/add-disabled.gif
    • -0
    • +123
    ./list5/add-edit.tcl
    • -0
    • +30
    ./list5/add-edit.xql
    • -0
    • +17
    ./list5/delete-oracle.xql
    • -0
    • +15
    ./list5/delete-postgresql.xql
    • -0
    • +42
    ./list5/index-oracle.xql
    • -0
    • +29
    ./list5/index-postgresql.xql
    • -0
    • +22
    ./list5/view-one.tcl
add fourth row to template demo page: link title to detail page

    • -0
    • +42
    ./list4/index-oracle.xql
    • -0
    • +29
    ./list4/index-postgresql.xql
    • -0
    • +22
    ./list4/view-one.tcl
add list3, the third row in the demo/index, showing orderbys

    • -0
    • +42
    ./list3/index-oracle.xql
    • -0
    • +29
    ./list3/index-postgresql.xql
add column "color" to template_demo_notes table; add display for it in list2,

add html row for list3 to the demo/index file

  1. … 4 more files in changeset.
Add row to acs-templating demo page, showing that you can add columns

to a list

    • -0
    • +42
    ./list2/index-oracle.xql
    • -0
    • +28
    ./list2/index-postgresql.xql
Add first listbuilder row in acs-templating demo page:

Plain list, plain list using master template

    • -0
    • +35
    ./list1a/index-oracle.xql
    • -0
    • +22
    ./list1a/index-postgresql.xql
    • -0
    • +35
    ./list1b/index-oracle.xql
    • -0
    • +22
    ./list1b/index-postgresql.xql
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.
noquote changes (Dirk Gomez)

  1. … 125 more files in changeset.
merge of 4.6.3b1 to HEAD

  1. … 181 more files in changeset.
Use normal form template, not wizard

Added link to submit-test form

Renamed links to view template and compiled template for display-edit demo form to say 'view' instead of 'submit'

Fixed bug #369: ad_template_sample_users_seq, not _sequence

Remove PG info

Upgrade to 4.6.2: Form builder extensions, richtext widget, etc.

  1. … 17 more files in changeset.
fixes bug 136 and bug 196 query from Aldert Nooitgedagt

Implemented Tilmann's suggestion of cancel_url/cancel_label switches to form create, so the form builder can handle the cancel button for you.

  1. … 1 more file in changeset.
Implemented some enhancements to the form builder:

- support a -mode switch on forms, which can be either 'display' or 'edit'. If 'display', all fields are grayed out, and the pretty value is displayed instead of the internal value (e.g. the label of the element of a list).

- support multiple buttons on the form. Used for the 'Edit' button, but can be used for other buttons as well.

- Fixed all the standard templates to include the new buttons and to use the <label> tag.

- Added an example to the documentation showing how this new display/edit mode looks.

  1. … 13 more files in changeset.
added sections and an optional field to enhance educational value of demo