Index: openacs-4/packages/categories/www/doc/design.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/doc/design.html,v diff -u -r1.2.14.2 -r1.2.14.3 --- openacs-4/packages/categories/www/doc/design.html 3 Jul 2016 17:17:40 -0000 1.2.14.2 +++ openacs-4/packages/categories/www/doc/design.html 18 Jul 2016 11:56:18 -0000 1.2.14.3 @@ -57,15 +57,15 @@ <p> -<b>Permissions</b> +<strong>Permissions</strong> <p>The creator of the category tree is granted the category_tree_read, category_tree_write and category_tree_grant_permissions privileges. <br> <p> <p> -<b>The operations one can perform on categories are:</b> +<strong>The operations one can perform on categories are:</strong> <ul> <li>(a) changing of a parent <li>(b) adding children @@ -91,7 +91,7 @@ <hr> -<b>Datamodel</b> +<strong>Datamodel</strong> <p>This table actually stores the information whether the tree is side-wide or not. <pre> @@ -125,7 +125,7 @@ This table stores the tree hierarchy by holding the information about the parent category. The tree is ordered by a nested index (left_ind, right_ind). Sorting is thus accomplished by means of a nested set. You -can read a <a href="http://www.intelligententerprise.com/001020/celko.jhtml?_requestid=49180">description of how nested sets work</a>. This also <i>describes how to write queries that sort correctly when using categories</i>. +can read a <a href="http://www.intelligententerprise.com/001020/celko.jhtml?_requestid=49180">description of how nested sets work</a>. This also <em>describes how to write queries that sort correctly when using categories</em>. <pre> @@ -197,7 +197,7 @@ </pre> <hr> -<p><b>Known Limitations</b> +<p><strong>Known Limitations</strong> <ul> <li>The tree order is the same for all translations.</li> <li>You can map a tree only once to a package (or other object).</li> @@ -210,17 +210,17 @@ </ul> <hr> -<p><b>Integration with other packages</b> +<p><strong>Integration with other packages</strong> <p>Here are the changes needed to be made to integrate with other packages. <p> -<b>index.adp</b> +<strong>index.adp</strong> <br>Provide an admin-link to /categories/cadmin/one-object?object_id=@package_id@ to let admins map trees to the package instance. <p> -<b>form-page.tcl</b> +<strong>form-page.tcl</strong> <br>Use this in ad_form to display all mapped category trees and selected categories (if editing an object): <pre> Index: openacs-4/packages/categories/www/doc/requirements.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/doc/requirements.adp,v diff -u -r1.1.2.4 -r1.1.2.5 --- openacs-4/packages/categories/www/doc/requirements.adp 3 Jul 2016 17:14:00 -0000 1.1.2.4 +++ openacs-4/packages/categories/www/doc/requirements.adp 18 Jul 2016 11:56:18 -0000 1.1.2.5 @@ -53,7 +53,7 @@ <td>3.1.3</td><td> </td><td>Done</td><td>The <span class="emphasis"><em>enabled trees</em></span> for an object can be added as fields in form builder. (Current ad_form implementation supports single select and multiple select; all -enabled trees or none. <tt class="computeroutput">/categories/www/widget</tt> is a deprecated +enabled trees or none. <kbd class="computeroutput">/categories/www/widget</kbd> is a deprecated solution.)</td> </tr><tr> <td>3.1.4</td><td> </td><td>B</td><td>A GUI for linking any category (even one not in the @@ -63,7 +63,7 @@ <td>3.2</td><td>partial</td><td>A</td><td>A GUI to see an object's categories.</td> </tr><tr> <td>3.2.1</td><td> </td><td>A</td><td>All of the categories which an object belongs to can be -displayed via an includelet on an object view page. (<tt class="computeroutput">/categories/www/widget</tt>)</td> +displayed via an includelet on an object view page. (<kbd class="computeroutput">/categories/www/widget</kbd>)</td> </tr><tr> <td>4</td><td> </td><td>A</td><td>List-builder can sort and filter by category. (Implemented; not documented. single-select only.)</td> Index: openacs-4/packages/categories/www/doc/requirements.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/www/doc/requirements.html,v diff -u -r1.3 -r1.3.18.1 --- openacs-4/packages/categories/www/doc/requirements.html 29 Jan 2004 10:30:27 -0000 1.3 +++ openacs-4/packages/categories/www/doc/requirements.html 18 Jul 2016 11:56:18 -0000 1.3.18.1 @@ -1,4 +1,4 @@ <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Requirements</title><meta name="generator" content="DocBook XSL Stylesheets V1.62.4"><link rel="home" href="index.html" title="Categories"><link rel="up" href="index.html" title="Categories"><link rel="previous" href="install.html" title="Installation"><link rel="stylesheet" href="openacs.css" type="text/css"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><a href="http://openacs.org"><img src="/doc/images/alex.jpg" border="0" alt="Alex logo"></a><table width="100%" summary="Navigation header" border="0"><tr><td width="20%" align="left"><a accesskey="p" href="install.html">Prev</a> </td><th width="60%" align="center"></th><td width="20%" align="right"> </td></tr></table><hr></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="requirements"></a>Requirements</h2></div></div><div></div></div><div class="authorblurb"><p>by <a href="mailto:joel@aufrecht.org" target="_top">Joel Aufrecht</a></p> OpenACS docs are written by the named authors, and may be edited by OpenACS documentation staff. - </div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="requirements-introduction"></a>Introduction</h3></div></div><div></div></div><p>Automated Testing provides a framework for executing tests of all varieties and for storing and viewing the results.</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="gatekeeper-functional-requirements"></a>Functional Requirements</h3></div></div><div></div></div><div class="informaltable"><table cellspacing="0" border="1"><colgroup><col><col><col><col></colgroup><thead><tr><th><span class="strong">Req #</span></th><th><span class="strong">Status in 5.0</span></th><th><span class="strong">Priority for 5.1 (A=required, B=optional)</span></th><th><span class="strong">Description</span></th></tr></thead><tbody><tr><td>1</td><td>Done</td><td>Done</td><td>Store trees of category labels</td></tr><tr><td>1.1</td><td>?</td><td>A</td><td>Category is package-aware. (Data in one package is not visible from another package. There is a permission-based way to accomplish this, but it is not obvious in the UI.)</td></tr><tr><td>2</td><td>Done</td><td>Done</td><td>There is a GUI for administrators to manage category trees (create, delete, move leaves, edit leaves).</td></tr><tr><td>3</td><td>Done</td><td>Done</td><td>An OpenACS Object can be associated with zero, one, or more categories.</td></tr><tr><td>3.1</td><td>partial</td><td>A</td><td>There is a GUI to control which categories are associated with an object.</td></tr><tr><td>3.1.1</td><td>Done</td><td>Done</td><td>A package administrator can choose which category trees apply to a package or parent object. The list of category trees which apply to an object or its parent is called the <span class="emphasis"><em>enabled tree</em></span> list.</td></tr><tr><td>3.1.2</td><td>Done</td><td>Done</td><td>There is a facility to control object/category association. (via /categories/www/form-page.tcl.)</td></tr><tr><td>3.1.3</td><td>�</td><td>Done</td><td>The <span class="emphasis"><em>enabled trees</em></span> for an object can be added as fields in form builder. (Current ad_form implementation supports single select and multiple select; all enabled trees or none. <tt class="computeroutput">/categories/www/widget</tt> is a deprecated solution.)</td></tr><tr><td>3.1.4</td><td>�</td><td>B</td><td>A GUI for linking any category (even one not in the <span class="emphasis"><em>enabled trees</em></span>) to an object.</td></tr><tr><td>3.2</td><td>partial</td><td>A</td><td>A GUI to see an object's categories.</td></tr><tr><td>3.2.1</td><td>�</td><td>A</td><td>All of the categories which an object belongs to can be displayed via an includelet on an object view page. (<tt class="computeroutput">/categories/www/widget</tt>)</td></tr><tr><td>4</td><td>�</td><td>A</td><td>List-builder can sort and filter by category. (Implemented; not documented. single-select only.)</td></tr><tr><td>5</td><td>partial</td><td>A</td><td>Show all objects in a category. The current implementation is deprecated - see <a href="http://openacs.org/forums/message-view?message_id=158903" target="_top">TIP #44: Service Contract to resolve the url from an object_id</a> and <a href="http://openacs.org/forums/message-view?message_id=158875" target="_top">TIP #43: Adding object_name to acs_objects</a></td></tr></tbody></table></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2831234"></a>References</h3></div></div><div></div></div><div class="itemizedlist"><ul type="disc"><li><p><a href="http://openacs.org/forums/message-view?message_id=153265" target="_top">Forum Posting</a></p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="revisions-history"></a>Revision History</h3></div></div><div></div></div><div class="informaltable"><table cellspacing="0" border="1"><colgroup><col><col><col><col></colgroup><thead><tr><th><span class="strong">Document Revision #</span></th><th><span class="strong">Action Taken, Notes</span></th><th><span class="strong">When?</span></th><th><span class="strong">By Whom?</span></th></tr></thead><tbody><tr><td>1</td><td>Creation</td><td>18 Jan 2004</td><td>Joel Aufrecht</td></tr></tbody></table></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="install.html">Prev</a> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right"> </td></tr><tr><td width="40%" align="left">Installation </td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right"> </td></tr></table><hr><address><a href="mailto:docs@openacs.org">docs@openacs.org</a></address></div><a name="comments"></a><center><a href="http://openacs.org/doc/requirements.html#comments">View comments on this page at openacs.org</a></center></body></html> + </div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="requirements-introduction"></a>Introduction</h3></div></div><div></div></div><p>Automated Testing provides a framework for executing tests of all varieties and for storing and viewing the results.</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="gatekeeper-functional-requirements"></a>Functional Requirements</h3></div></div><div></div></div><div class="informaltable"><table cellspacing="0" border="1"><colgroup><col><col><col><col></colgroup><thead><tr><th><span class="strong">Req #</span></th><th><span class="strong">Status in 5.0</span></th><th><span class="strong">Priority for 5.1 (A=required, B=optional)</span></th><th><span class="strong">Description</span></th></tr></thead><tbody><tr><td>1</td><td>Done</td><td>Done</td><td>Store trees of category labels</td></tr><tr><td>1.1</td><td>?</td><td>A</td><td>Category is package-aware. (Data in one package is not visible from another package. There is a permission-based way to accomplish this, but it is not obvious in the UI.)</td></tr><tr><td>2</td><td>Done</td><td>Done</td><td>There is a GUI for administrators to manage category trees (create, delete, move leaves, edit leaves).</td></tr><tr><td>3</td><td>Done</td><td>Done</td><td>An OpenACS Object can be associated with zero, one, or more categories.</td></tr><tr><td>3.1</td><td>partial</td><td>A</td><td>There is a GUI to control which categories are associated with an object.</td></tr><tr><td>3.1.1</td><td>Done</td><td>Done</td><td>A package administrator can choose which category trees apply to a package or parent object. The list of category trees which apply to an object or its parent is called the <span class="emphasis"><em>enabled tree</em></span> list.</td></tr><tr><td>3.1.2</td><td>Done</td><td>Done</td><td>There is a facility to control object/category association. (via /categories/www/form-page.tcl.)</td></tr><tr><td>3.1.3</td><td> </td><td>Done</td><td>The <span class="emphasis"><em>enabled trees</em></span> for an object can be added as fields in form builder. (Current ad_form implementation supports single select and multiple select; all enabled trees or none. <kbd class="computeroutput">/categories/www/widget</kbd> is a deprecated solution.)</td></tr><tr><td>3.1.4</td><td> </td><td>B</td><td>A GUI for linking any category (even one not in the <span class="emphasis"><em>enabled trees</em></span>) to an object.</td></tr><tr><td>3.2</td><td>partial</td><td>A</td><td>A GUI to see an object's categories.</td></tr><tr><td>3.2.1</td><td> </td><td>A</td><td>All of the categories which an object belongs to can be displayed via an includelet on an object view page. (<kbd class="computeroutput">/categories/www/widget</kbd>)</td></tr><tr><td>4</td><td> </td><td>A</td><td>List-builder can sort and filter by category. (Implemented; not documented. single-select only.)</td></tr><tr><td>5</td><td>partial</td><td>A</td><td>Show all objects in a category. The current implementation is deprecated - see <a href="http://openacs.org/forums/message-view?message_id=158903" target="_top">TIP #44: Service Contract to resolve the url from an object_id</a> and <a href="http://openacs.org/forums/message-view?message_id=158875" target="_top">TIP #43: Adding object_name to acs_objects</a></td></tr></tbody></table></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2831234"></a>References</h3></div></div><div></div></div><div class="itemizedlist"><ul type="disc"><li><p><a href="http://openacs.org/forums/message-view?message_id=153265" target="_top">Forum Posting</a></p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="revisions-history"></a>Revision History</h3></div></div><div></div></div><div class="informaltable"><table cellspacing="0" border="1"><colgroup><col><col><col><col></colgroup><thead><tr><th><span class="strong">Document Revision #</span></th><th><span class="strong">Action Taken, Notes</span></th><th><span class="strong">When?</span></th><th><span class="strong">By Whom?</span></th></tr></thead><tbody><tr><td>1</td><td>Creation</td><td>18 Jan 2004</td><td>Joel Aufrecht</td></tr></tbody></table></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="install.html">Prev</a> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right"> </td></tr><tr><td width="40%" align="left">Installation </td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right"> </td></tr></table><hr><address><a href="mailto:docs@openacs.org">docs@openacs.org</a></address></div><a name="comments"></a><center><a href="http://openacs.org/doc/requirements.html#comments">View comments on this page at openacs.org</a></center></body></html>