• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fixed bug: parent's sibling is considered a child when the subtree category has no siblings.

Allow multiple category trees and object types to be mapped in the install.xml

fixing proc get_multirow

fixing proc get_multirow

It was a bad idea to make categories not use the I18N interface in the first place. Now that we are using it, we need to localize the output of the widget, otherwise we are bound for trouble (aka message keys in the select boxes)

added tree-import-proc

Added tree_id

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