• last updated 14 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fixing caching of meta categories

fixing category relations

  1. … 2 more files in changeset.
fixing category relations

  1. … 2 more files in changeset.
Adding procedures to create meta categories and a widget to use in ad_form

    • -0
    • +16
    ./category-relation-procs-postgresql.xql
file category-relation-procs-postgresql.xql was initially added on branch oacs-5-2.

    • -0
    • +0
    ./category-relation-procs-postgresql.xql
file category-relation-procs.xql was initially added on branch oacs-5-2.

    • -0
    • +0
    ./category-relation-procs.xql
file category-relation-procs.tcl was initially added on branch oacs-5-2.

    • -0
    • +0
    ./category-relation-procs.tcl
Add from dual to query, add oracle specific query version.

Made sure that treename and category names are localized

added proc to find a tree_id by name

added proc to import category tree (taken from cop-package)

support a display_widget attribute for the category widget so we can show checkboxes for category selection

  1. … 1 more file in changeset.
Apparently lars-blogger in oacs-5-1 relies on this category_tree::get_multirow which only existed on HEAD so far

fix XML encoding issues

categories would throw an error for attempt to map a category twice

Fixed extra closing div tag bug

add a required mark for required trees -- should not be here but not sure how to get it in anywhere else given the design of the cat widget

populate the categories translation cache directly when adding a category rather than forcing a second db query. don't sort when loading locales to array (since ordering not relevant when you array get two lines later). add divs and class names to category select widget so it's possible to style them with css

Add install actions for importing category trees in xml format.

Change get_id to return a list.

Added function to get a category from a name in a specified locale.

add a -tree_id arg to category::get_mapped_categories to get only those cats from a given tree

add the code for importing a category tree from xml

    • -0
    • +130
    ./category-xml-procs.tcl
add an excluded_trees flag which lets you exclude some category trees from the widget set

Also include the html options in the multi-select widget

Fixed syntax error in query

    • -1
    • +1
    ./category-synonyms-procs-postgresql.xql
Patch#608 fixes bug#1958 from Carsten Clasohm

    • -1
    • +1
    ./category-synonyms-procs-postgresql.xql
merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040517 and jcd-merge-5-1-20040628 to HEAD

  1. … 687 more files in changeset.
Commit changes original made on the oacs-5-1 branch: adds a proc,

get_mapped_trees_from_object_list, which is much more efficient than

making many calls to get_mapped_trees. Once again, I'm reminded of the

importance of not untabifying files.

    • -341
    • +358
    ./category-trees-procs.tcl
Adds a proc that returns category trees when given a list of object_ids.

This is used to greatly speed up logger.

(Note: I used untabify on tcl/category-tree-procs.tcl Sorry, won't do it

again -- did it before I realized what a pain it was!)

    • -336
    • +353
    ./category-trees-procs.tcl