/[drupal]/contributions/modules/category/category.inc
ViewVC logotype

Log of /contributions/modules/category/category.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.71 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 5 04:52:53 2009 UTC (3 months, 2 weeks ago) by jaza
Branch: MAIN
CVS Tags: DRUPAL-6--2-0-RC1, HEAD
Changes since 1.70: +239 -106 lines
Diff to previous 1.70
#158598 by JirkaRybka: a massive collection of bug fixes, D6 upgrades, and performance / usability improvements and other tasks for the category package. This commit includes patches from the following threads:
 - #370641: Port category_views to D6
 - #370633: Port category_breadcrumb to D6
 - #484624: Fix all broken category/container previews, and add category_display defaults
 - #481280: Generated menu items vs. menu administration and weights
 - #457688: Get rid of Menu wrapper, moving functionality to category_menu
 - #484084: Update README.txt and friends
 - #483978: Remove t() from database schema descriptions
 - #501378: PERFORMANCE! Central caching for category API functions
 - #521680: Missing argument error on category/### paths
 - #521714: Missing JavaScript file in Taxonomy wrapper
Lots and lots of thanks go to JirkaRybka for this monumental cleanup effort.

Revision 1.70 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 21 09:30:48 2008 UTC (16 months ago) by jaza
Branch: MAIN
CVS Tags: DRUPAL-6--2-0-ALPHA4, DRUPAL-6--2-0-BETA1, DRUPAL-6--2-0-BETA2, DRUPAL-6--2-0-BETA3
Changes since 1.69: +4 -2 lines
Diff to previous 1.69
- Numerous updates to category_display. TOC and other functionality
now working much better.

Revision 1.69 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 10 07:50:38 2008 UTC (16 months, 2 weeks ago) by jaza
Branch: MAIN
CVS Tags: DRUPAL-6--2-0-ALPHA3
Changes since 1.68: +1 -1 lines
Diff to previous 1.68
- Node teasers now get outtputted (through check_plain) as title text for
  tagged node links.
- Fixed node IDs not getting outputted in tagged node link hrefs.
- Fixed (admin) titles not getting outputted on distant parent selection list.
- Fixed many bugs in the new category_menu menulink create / update logic.
- Added menu link deletion implementation to category_menu.
- Removed old D5 code from category_menu.
- Added a new 'menu wrapper' module. This is not a proper wrapper: it's
  exactly the same as the core D6 menu module, except that menu-on-the-fly
  functionality (i.e. the menu_nodeapi() and menu_form_alter() functions) has
  been stripped out, as menu OTF interferes with category_menu, and as it
  doesn't seem to be going away (or being made turn-off-able) any time soon.

Revision 1.68 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 14 14:18:46 2008 UTC (17 months, 1 week ago) by jaza
Branch: MAIN
CVS Tags: DRUPAL-6--2-0-ALPHA1, DRUPAL-6--2-0-ALPHA2
Changes since 1.67: +175 -1185 lines
Diff to previous 1.67
#158598: category module D6 upgrade, first Alpha release.

Revision 1.67 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 22 04:11:36 2007 UTC (2 years, 3 months ago) by bdragon
Branch: MAIN
CVS Tags: DRUPAL-6--2-0-ALPHA0
Changes since 1.66: +7 -9 lines
Diff to previous 1.66
Commit what I have.

Revision 1.66 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 16 04:09:39 2007 UTC (2 years, 4 months ago) by bdragon
Branch: MAIN
Changes since 1.65: +13 -20 lines
Diff to previous 1.65
Well, now it loads at the very least...
Body on the native node types is broken at the moment, I guess the format changed again.

Revision 1.64.2.1.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Mar 7 14:38:56 2007 UTC (2 years, 8 months ago) by bdragon
Branch: DRUPAL-5--2
Changes since 1.64.2.1: +1 -1 lines
Diff to previous 1.64.2.1
Rollback to HEAD temporarily to work on the category_menu related issues.

Revision 1.42.2.22 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 2 08:25:14 2007 UTC (2 years, 9 months ago) by jaza
Branch: DRUPAL-4-7
CVS Tags: DRUPAL-4-7--1-1
Changes since 1.42.2.21: +2 -2 lines
Diff to previous 1.42.2.21 , to branch point 1.42 , to next main 1.71
- #90188: port.

Revision 1.64.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 2 08:24:56 2007 UTC (2 years, 9 months ago) by jaza
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-1
Branch point for: DRUPAL-5--2
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 , to next main 1.71
- #90188: port.

Revision 1.65 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 2 08:24:28 2007 UTC (2 years, 9 months ago) by jaza
Branch: MAIN
Changes since 1.64: +2 -2 lines
Diff to previous 1.64
- #90188: fix taxonomy_get_tree() wrapper function to exclude containers
  from list of returned categories. Should make category work with the
  project module.

Revision 1.64 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 5 15:31:14 2007 UTC (2 years, 10 months ago) by jaza
Branch: MAIN
CVS Tags: DRUPAL-5--1-0
Branch point for: DRUPAL-5
Changes since 1.63: +82 -54 lines
Diff to previous 1.63
- #85239 by bdragon, drewish, DayShallCome, and myself: update category
module to Drupal 5. This commit upgrades all modules in the category
package, including:
  - category
  - category_display
  - category_export
  - category_legacy
  - category_menu
  - cac_lite
  - category_bulkedit
  - category_outliner
  - category_pathauto
  - category_transform
  - category_views

Revision 1.42.2.21 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 22 08:22:38 2006 UTC (3 years ago) by jaza
Branch: DRUPAL-4-7
CVS Tags: DRUPAL-4-7--1-0
Changes since 1.42.2.20: +9 -6 lines
Diff to previous 1.42.2.20 , to branch point 1.42
#70640: fix caching mechanism to work for PHP5. Goes some way towards fixing category_pathauto problems.

Revision 1.63 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 22 08:22:23 2006 UTC (3 years ago) by jaza
Branch: MAIN
Changes since 1.62: +9 -6 lines
Diff to previous 1.62
#70640: fix caching mechanism to work for PHP5. Goes some way towards fixing category_pathauto problems.

Revision 1.42.2.20 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 14 14:29:25 2006 UTC (3 years ago) by jaza
Branch: DRUPAL-4-7
Changes since 1.42.2.19: +2 -2 lines
Diff to previous 1.42.2.19 , to branch point 1.42
Fixed incorrect call to category_node_get_categories() that was causing problems with category_pathauto.

Revision 1.62 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 14 14:29:09 2006 UTC (3 years ago) by jaza
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61
Fixed incorrect call to category_node_get_categories() that was causing problems with category_pathauto.

Revision 1.42.2.19 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 13 13:20:27 2006 UTC (3 years ago) by jaza
Branch: DRUPAL-4-7
Changes since 1.42.2.18: +4 -3 lines
Diff to previous 1.42.2.18 , to branch point 1.42
Output admin titles for containers in select lists, and use some spacing in between 'prev' and 'next' links in category_display.

Revision 1.61 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 13 13:19:37 2006 UTC (3 years ago) by jaza
Branch: MAIN
Changes since 1.60: +4 -3 lines
Diff to previous 1.60
Output admin titles for containers in select lists, and use some spacing in between 'prev' and 'next' links in category_display.

Revision 1.42.2.18 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 30 03:52:51 2006 UTC (3 years, 1 month ago) by jaza
Branch: DRUPAL-4-7
Changes since 1.42.2.17: +2 -2 lines
Diff to previous 1.42.2.17 , to branch point 1.42
fixed an sql query

Revision 1.60 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 30 03:51:39 2006 UTC (3 years, 1 month ago) by jaza
Branch: MAIN
Changes since 1.59: +2 -2 lines
Diff to previous 1.59
fixed an sql query

Revision 1.42.2.17 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 25 13:35:46 2006 UTC (3 years, 2 months ago) by jaza
Branch: DRUPAL-4-7
Changes since 1.42.2.16: +1 -1 lines
Diff to previous 1.42.2.16 , to branch point 1.42
Stopped unpublished containers from being listed on admin/category page.

Revision 1.59 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 25 13:35:24 2006 UTC (3 years, 2 months ago) by jaza
Branch: MAIN
Changes since 1.58: +1 -1 lines
Diff to previous 1.58
Stopped unpublished containers from being listed on admin/category page.

Revision 1.42.2.16 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 24 10:38:08 2006 UTC (3 years, 2 months ago) by jaza
Branch: DRUPAL-4-7
Changes since 1.42.2.15: +71 -33 lines
Diff to previous 1.42.2.15 , to branch point 1.42
#82554: partial improvement to the performance of the category module.
Things are still very slow with 4,000+ categories, though. More work
needed on this.

Revision 1.58 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 24 10:37:45 2006 UTC (3 years, 2 months ago) by jaza
Branch: MAIN
Changes since 1.57: +71 -33 lines
Diff to previous 1.57
#82554: partial improvement to the performance of the category module.
Things are still very slow with 4,000+ categories, though. More work
needed on this.

Revision 1.42.2.15 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 17 14:59:06 2006 UTC (3 years, 2 months ago) by jaza
Branch: DRUPAL-4-7
Changes since 1.42.2.14: +8 -3 lines
Diff to previous 1.42.2.14 , to branch point 1.42
same as commit 40736, but for 4.7 branch.

Revision 1.57 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 17 14:57:02 2006 UTC (3 years, 2 months ago) by jaza
Branch: MAIN
Changes since 1.56: +8 -3 lines
Diff to previous 1.56
- #76921 by bdragon: change category_get_parents() to return an array
with a zero-based index, rather than using the cids of parents as
index values.
- Changes to various parts of the category system to accommodate this
change, including category_menu, category_legacy, and the category
activeselect callback.
- Updated the taxonomy wrapper to convert the result of
category_get_parents() into its old form (to maintain full backwards
compatibility with taxonomy).

Revision 1.42.2.14 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 9 16:18:49 2006 UTC (3 years, 2 months ago) by jaza
Branch: DRUPAL-4-7
Changes since 1.42.2.13: +5 -4 lines
Diff to previous 1.42.2.13 , to branch point 1.42
- Updated category module and wrapper modules to reflect all relevant
updates to core taxonomy and book modules since 5 Mar 2006.

Revision 1.56 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 9 16:17:59 2006 UTC (3 years, 2 months ago) by jaza
Branch: MAIN
Changes since 1.55: +5 -4 lines
Diff to previous 1.55
- Updated category module and wrapper modules to reflect all relevant
updates to core taxonomy and book modules since 5 Mar 2006.

Revision 1.42.2.13 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 10 09:02:10 2006 UTC (3 years, 4 months ago) by jaza
Branch: DRUPAL-4-7
Changes since 1.42.2.12: +8 -1 lines
Diff to previous 1.42.2.12 , to branch point 1.42
- Changed category_node_save() to flatten the category array before returning. As such, category_pathauto is now able to properly handle saving the alias for nodes with assigned categories (including with free tagging categories).

Revision 1.55 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 10 09:01:36 2006 UTC (3 years, 4 months ago) by jaza
Branch: MAIN
Changes since 1.54: +8 -1 lines
Diff to previous 1.54
- Changed category_node_save() to flatten the category array before returning. As such, category_pathauto is now able to properly handle saving the alias for nodes with assigned categories (including with free tagging categories).

Revision 1.42.2.12 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 6 14:09:45 2006 UTC (3 years, 5 months ago) by jaza
Branch: DRUPAL-4-7
Changes since 1.42.2.11: +1 -1 lines
Diff to previous 1.42.2.11 , to branch point 1.42
- #64551: moving category to a different container causes problems.

Revision 1.54 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 6 14:09:18 2006 UTC (3 years, 5 months ago) by jaza
Branch: MAIN
Changes since 1.53: +1 -1 lines
Diff to previous 1.53
- #64551: moving category to a different container causes problems.

Revision 1.42.2.11 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 6 12:59:04 2006 UTC (3 years, 5 months ago) by jaza
Branch: DRUPAL-4-7
Changes since 1.42.2.10: +17 -13 lines
Diff to previous 1.42.2.10 , to branch point 1.42
- #67154: illegal choice error when adding a category using the 'add child category' links.
- Fixed parent selection not defaulting correctly when using the 'add child category' links.

Revision 1.53 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 6 12:58:28 2006 UTC (3 years, 5 months ago) by jaza
Branch: MAIN
Changes since 1.52: +17 -13 lines
Diff to previous 1.52
- #67154: illegal choice error when adding a category using the 'add child category' links.
- Fixed parent selection not defaulting correctly when using the 'add child category' links.

Revision 1.42.2.10 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 31 13:25:22 2006 UTC (3 years, 5 months ago) by jaza
Branch: DRUPAL-4-7
Changes since 1.42.2.9: +49 -11 lines
Diff to previous 1.42.2.9 , to branch point 1.42
Added support for hidden containers to the category_location() and category_location_down() functions. This prepares them for being the foundation of pathauto support in category.

Revision 1.52 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 31 13:24:34 2006 UTC (3 years, 5 months ago) by jaza
Branch: MAIN
Changes since 1.51: +49 -11 lines
Diff to previous 1.51
Added support for hidden containers to the category_location() and category_location_down() functions. This prepares them for being the foundation of pathauto support in category.

Revision 1.42.2.9 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 28 14:45:31 2006 UTC (3 years, 5 months ago) by jaza
Branch: DRUPAL-4-7
Changes since 1.42.2.8: +46 -0 lines
Diff to previous 1.42.2.8 , to branch point 1.42
Added category_location() and category_location_down() functions to category.inc, and updated book wrapper to include book_location() and book_location_down() functions that link to these. The new functions aren't yet implemented anywhere, but I have big plans for them.

Revision 1.51 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 28 14:44:45 2006 UTC (3 years, 5 months ago) by jaza
Branch: MAIN
Changes since 1.50: +46 -0 lines
Diff to previous 1.50
Added category_location() and category_location_down() functions to category.inc, and updated book wrapper to include book_location() and book_location_down() functions that link to these. The new functions aren't yet implemented anywhere, but I have big plans for them.

Revision 1.42.2.8 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 28 09:11:49 2006 UTC (3 years, 5 months ago) by jaza
Branch: DRUPAL-4-7
Changes since 1.42.2.7: +3 -3 lines
Diff to previous 1.42.2.7 , to branch point 1.42
#65450: critical SQL syntax error in category_node_get_categories function - occurs when using any node access module with category. Also fixed problem with loading allowed distant parents.

Revision 1.50 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 28 09:11:03 2006 UTC (3 years, 5 months ago) by jaza
Branch: MAIN
Changes since 1.49: +3 -3 lines
Diff to previous 1.49
#65450: critical SQL syntax error in category_node_get_categories function - occurs when using any node access module with category. Also fixed problem with loading allowed distant parents.

Revision 1.42.2.7 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 24 16:22:34 2006 UTC (3 years, 6 months ago) by jaza
Branch: DRUPAL-4-7
Changes since 1.42.2.6: +66 -37 lines
Diff to previous 1.42.2.6 , to branch point 1.42
Modified a number of the API functions in category.inc to use static var caching, and for a number of these functions, improved the existing caching system. Also vastly improved the performance of the category_display TOC listing, by calling category_get_category() instead of node_load() for each category in the listing. These enhancements / fixes sponsored by Robert Douglass.

Revision 1.49 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 24 16:21:15 2006 UTC (3 years, 6 months ago) by jaza
Branch: MAIN
Changes since 1.48: +66 -37 lines
Diff to previous 1.48
Modified a number of the API functions in category.inc to use static var caching, and for a number of these functions, improved the existing caching system. Also vastly improved the performance of the category_display TOC listing, by calling category_get_category() instead of node_load() for each category in the listing. These enhancements / fixes sponsored by Robert Douglass.

Revision 1.42.2.6 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 13 14:29:39 2006 UTC (3 years, 6 months ago) by jaza
Branch: DRUPAL-4-7
Changes since 1.42.2.5: +314 -2 lines
Diff to previous 1.42.2.5 , to branch point 1.42
Backport of new category node form system to 4.7.

Revision 1.48 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 13 14:28:36 2006 UTC (3 years, 6 months ago) by jaza
Branch: MAIN
Changes since 1.47: +315 -3 lines
Diff to previous 1.47
- Major refactoring of the main category / container node form system. The functions category_form_category() and _category_form_extended() in category.module are gone, and most of the form element definitions inside them have been moved to the new category_get_form() function in category.inc. This function is much more flexible and reusable than its predecessors - it supports supplying a form definition without any default values, and also supports supplying a definition either with or without the 'core node elements' (i.e. title, body, filter format). This function now invokes hook_category() with the 'form' op, and the modules that implement this hook have been cleaned up a bit. Category_transform and the new 'any node type as a category / container' feature now use category_get_form() instead of category_form_category().
- Category_legacy now calls category_get_form() to grab all the form element definitions that it needs for the import forms, and implementations of hook_category_legacy() with the 'import_taxonomy_form' and 'import_book_form' op's now only need to alter the definition given by category_get_form(), if necessary. This means that modules with a hook_category_legacy() implementation no longer need to completely repeat the whole form definition! This has resulted in a huge amount of duplicate form-defining code being removed from almost all modules in the category ecosystem. The category module has just lost a lot of weight.
- Changed category_legacy's menu paths back to (being closer to) the old style: they're now 'admin/category/legacy/...', rather than 'admin/category_legacy/...'.

Revision 1.42.2.5 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 1 12:16:05 2006 UTC (3 years, 6 months ago) by jaza
Branch: DRUPAL-4-7
Changes since 1.42.2.4: +13 -11 lines
Diff to previous 1.42.2.4 , to branch point 1.42
#60914: possible fix for problem of nodes losing their assigned categories.

Revision 1.47 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 1 12:13:55 2006 UTC (3 years, 6 months ago) by jaza
Branch: MAIN
Changes since 1.46: +13 -11 lines
Diff to previous 1.46
#60914: possible fix for problem of nodes losing their assigned categories.

Revision 1.42.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 27 11:28:37 2006 UTC (3 years, 6 months ago) by jaza
Branch: DRUPAL-4-7
Changes since 1.42.2.3: +3 -2 lines
Diff to previous 1.42.2.3 , to branch point 1.42
#60624: containers with non-zero depth list all tagged nodes on site.

Revision 1.46 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 27 11:28:12 2006 UTC (3 years, 6 months ago) by jaza
Branch: MAIN
Changes since 1.45: +3 -2 lines
Diff to previous 1.45
#60624: containers with non-zero depth list all tagged nodes on site.

Revision 1.42.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 24 14:48:09 2006 UTC (3 years, 7 months ago) by jaza
Branch: DRUPAL-4-7
Changes since 1.42.2.2: +17 -22 lines
Diff to previous 1.42.2.2 , to branch point 1.42
#47718: see message for HEAD commit.

Revision 1.45 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 24 14:47:32 2006 UTC (3 years, 7 months ago) by jaza
Branch: MAIN
Changes since 1.44: +17 -22 lines
Diff to previous 1.44
#47718: PHP timeout when accessing category pages, and when the 'show prev, next, and up links' setting in category_display is enabled. The _category_list_set_current() function is now removed, and the code from it is now directly inside category_prev() and category_next(). See the notes in the issue for the reason behind this. I think that with this commit, the mysterious 'navlinks timeout issue' that has plagued category for so long has finally been squashed! Many thanks to Ramdak for helping to debug the problem.

Revision 1.42.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 17 07:41:35 2006 UTC (3 years, 7 months ago) by jaza
Branch: DRUPAL-4-7
Changes since 1.42.2.1: +2 -2 lines
Diff to previous 1.42.2.1 , to branch point 1.42
Category_export outputting nothing because of wrong variable name.

Revision 1.44 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 17 07:41:11 2006 UTC (3 years, 7 months ago) by jaza
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43
Category_export outputting nothing because of wrong variable name.

Revision 1.42.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 15 07:30:43 2006 UTC (3 years, 7 months ago) by jaza
Branch: DRUPAL-4-7
Changes since 1.42: +2 -2 lines
Diff to previous 1.42
Fixed issue with free-tagging containers conflicting with regular containers on node submission form.

Revision 1.43 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 15 07:29:38 2006 UTC (3 years, 7 months ago) by jaza
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42
Fixed issue with free-tagging containers conflicting with regular containers on node submission form.

Revision 1.42 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 14 11:40:21 2006 UTC (3 years, 7 months ago) by jaza
Branch: MAIN
Branch point for: DRUPAL-4-7
Changes since 1.41: +10 -4 lines
Diff to previous 1.41
#56210: wrapper installation script. Updated INSTALL.txt and online instructions to explain how to use the script for installing and uninstalling the wrapper modules automatically.

Revision 1.41 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 9 13:13:59 2006 UTC (3 years, 7 months ago) by jaza
Branch: MAIN
Changes since 1.40: +85 -88 lines
Diff to previous 1.40
#54735: added an option to show assigned node count in TOC links. Schema upgrade included for category_display.

Revision 1.40 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 9 03:02:57 2006 UTC (3 years, 7 months ago) by jaza
Branch: MAIN
Changes since 1.39: +24 -3 lines
Diff to previous 1.39
#53727: give containers an admin title field.

Revision 1.39 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 2 05:35:36 2006 UTC (3 years, 7 months ago) by jaza
Branch: MAIN
Changes since 1.38: +10 -28 lines
Diff to previous 1.38
- #47718: PHP timeout when accessing category pages, and when the 'show prev, next, and up links' setting in category_display is enabled. This problem was occurring if multiple containers (say, 5+), all with a large amount of categories (say, 500+), were present on a site. The tree-parsing logic in the category system has been refactored: the category_get_trees() function has been removed; and category_get_tree() is now capable of generating a tree for the entire site's category structure, with only one SQL query. Category_get_trees_flat() is now calling category_get_tree() directly (as are several other functions), and nav links are being generated much more efficiently (tested with 5,000+ categories on a dev box).
- It is still possible for a timeout to occur with nav links enabled, but it is much less likely. An extremely large number of categories and containers would now be needed for this to happen.

Revision 1.38 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 1 07:15:23 2006 UTC (3 years, 7 months ago) by jaza
Branch: MAIN
Changes since 1.37: +45 -1 lines
Diff to previous 1.37
Category_legacy taxonomy export now available.

Revision 1.37 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 24 12:29:01 2006 UTC (3 years, 8 months ago) by jaza
Branch: MAIN
Changes since 1.36: +10 -4 lines
Diff to previous 1.36
Fixed serious bug of categories not getting assigned to nodes when taxonomy wrapper is enabled.

Revision 1.36 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 18 03:56:23 2006 UTC (3 years, 8 months ago) by jaza
Branch: MAIN
Changes since 1.35: +67 -57 lines
Diff to previous 1.35
#54524: assigned node mappings getting incorrectly saved during legacy import, causing menu items to get saved incorrectly as well.

Revision 1.35 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 16 08:01:42 2006 UTC (3 years, 8 months ago) by jaza
Branch: MAIN
Changes since 1.34: +7 -1 lines
Diff to previous 1.34
#54218: allowed distant parents property not always an array (this bug only occurs if DB has not been upgraded - so not really a bug).

Revision 1.34 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 11 07:19:08 2006 UTC (3 years, 8 months ago) by jaza
Branch: MAIN
Changes since 1.33: +25 -2 lines
Diff to previous 1.33
AJAX-enabled category select now available for assigned node forms!
- If a container is an allowed distant parent for any other container on the same node form, that container is displayed as an activeselect form element.
- Only categories with distant parents in the source container are affected, so it is possible for multiple activeselects to share the same target (not yet tested).
- Recursive / cascading activeselect containers are now possible (still a bit buggy).

Revision 1.33 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 11 01:10:46 2006 UTC (3 years, 8 months ago) by jaza
Branch: MAIN
Changes since 1.32: +20 -8 lines
Diff to previous 1.32
Allowed distant parents for each container are now stored in a separate DB table. Schema update included.

Revision 1.32 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 5 07:17:03 2006 UTC (3 years, 8 months ago) by jaza
Branch: MAIN
Changes since 1.31: +25 -23 lines
Diff to previous 1.31
Category export API and module vastly improved:
- New hook_category_export() allows modules to define category export formats (hook documentation updated to include this).
- Export formats defined by the hook can be turned on/off on a per-container basis.
- Other export formats, defined through the book wrapper, are still available, but are not configurable, as they do not implement the hook.
- Per-container settings stored in new category_export DB table (schema upgrade included).
- For recursive exports with distant parents, only those distant children where the container supports the relevant export format are included in the export.

Revision 1.31 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 2 12:06:51 2006 UTC (3 years, 8 months ago) by jaza
Branch: MAIN
Changes since 1.30: +37 -20 lines
Diff to previous 1.30
various bugfixes.

Revision 1.30 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 25 02:33:03 2006 UTC (3 years, 8 months ago) by jaza
Branch: MAIN
Changes since 1.29: +917 -907 lines
Diff to previous 1.29
Fixed free tagging bug: was caused by taxonomy wrapper re-inserting new free tagged categories.

Revision 1.29 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 25 00:32:45 2006 UTC (3 years, 8 months ago) by jaza
Branch: MAIN
Changes since 1.28: +0 -0 lines
Diff to previous 1.28
Bug fixes for activeselect and category.

Revision 1.28 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Feb 23 07:45:28 2006 UTC (3 years, 9 months ago) by jaza
Branch: MAIN
Changes since 1.27: +907 -907 lines
Diff to previous 1.27
Fixed some bugs with activeselect integration and controlled distant parent support.

Revision 1.27 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 21 09:46:40 2006 UTC (3 years, 9 months ago) by jaza
Branch: MAIN
Changes since 1.26: +0 -0 lines
Diff to previous 1.26
Added support for restriction on distant parent containers. This involves a database schema change (upgrade path included).

Revision 1.26 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 21 09:46:40 2006 UTC (3 years, 9 months ago) by jaza
Branch: MAIN
Changes since 1.25: +907 -912 lines
Diff to previous 1.25
Added support for restriction on distant parent containers. This involves a database schema change (upgrade path included).

Revision 1.25 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 20 10:13:30 2006 UTC (3 years, 9 months ago) by jaza
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24
- Added hooks documentation.
- Category_menu now supports auto-disabled menu items, and expanded menu items (latter is still buggy).
- Activeselect now works for 'node/add/category-cat', rather than just 'node/add/category-cat/parent/x'.

Revision 1.24 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 20 10:12:20 2006 UTC (3 years, 9 months ago) by jaza
Branch: MAIN
Changes since 1.23: +912 -911 lines
Diff to previous 1.23
- IE fixes: the width of the target select element now gets dynamically set (by altering its style.width attribute using JS), to stop IE from giving it a width of 0; and new options are created using 'new Option()' rather than 'appendChild()', because IE6 refuses to display option text if the latter method is used.
- Style sheet and throbber image (copied from core /misc directory) added.
- Throbber now works properly in FF (but not visible in IE).

Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 29 06:26:53 2006 UTC (3 years, 9 months ago) by jaza
Branch: MAIN
Changes since 1.22: +23 -0 lines
Diff to previous 1.22
- Category_legacy and taxonomy wrapper now both support redirection of paths created by the taxonomy wrapper (without interfering with each other - category_legacy takes priority).
- Smarter API method for determining whether or not the wrapper modules are enabled.

Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 26 06:29:47 2006 UTC (3 years, 9 months ago) by jaza
Branch: MAIN
Changes since 1.21: +36 -32 lines
Diff to previous 1.21
- Book wrapper module now ready and stable: fully supports maintaining data in book DB tables; allows import / export modules (e.g. export_dxml) to function with new category export API; and provides wrapper for relevant book functions.
- Initial commit of category_export: contains the book module's 'export as HTML' / 'printer-friendly version' functionality.
- category.inc now has category_export() function, which hooks in to export routines defined by other modules.

Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 24 07:10:48 2006 UTC (3 years, 10 months ago) by jaza
Branch: MAIN
Changes since 1.20: +116 -0 lines
Diff to previous 1.20
- Initial commit of book wrapper module (book.module.copyme). Still needs a lot of work - e.g. category_export module needs to be written, and book wrapper export functions need to rely on category_export equivalents.
- Book API functions now have equivalents in category.inc, and book wrapper relies on these functions.

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 18 12:47:29 2006 UTC (3 years, 10 months ago) by jaza
Branch: MAIN
Changes since 1.19: +1 -1 lines
Diff to previous 1.19
Further small change to category_node_save().

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 18 12:09:11 2006 UTC (3 years, 10 months ago) by jaza
Branch: MAIN
Changes since 1.18: +4 -1 lines
Diff to previous 1.18
Fixed up assigned node saving so it works when revisions are reverted. Similar problem was occurring to that in issue #44129. Assigned node saving still buggy, still sometimes inserts 'cid, 0' values into category_node table.

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 13 02:09:59 2006 UTC (3 years, 10 months ago) by jaza
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17
// $Id: CHANGELOG.txt,v 1.2 2005/12/28 13:50:11 jaza Exp $

For a complete list of changes, refer to the category module news page:
http://category.greenash.net.au/news

29 November 2005
--------------------------
- initial release.

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 1 01:38:15 2006 UTC (3 years, 10 months ago) by jaza
Branch: MAIN
Changes since 1.16: +0 -0 lines
Diff to previous 1.16
Patch #42899 by kbahey: including category.inc should be done using drupal_get_path(), to ensure that the file path is portable. Also made code that uses ->nodes check that it is an array before looping through it.

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 30 13:14:21 2005 UTC (3 years, 10 months ago) by jaza
Branch: MAIN
Changes since 1.15: +6 -3 lines
Diff to previous 1.15
Fixed problem of redundant null 1st element in array returned by category_get_containers(). Made category_form_all() display only the containers (and their categories) that have at least one node type associated with them. This means that 'book-like' containers are not included in the 'nodes in this category' list in the advanced search form.

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 29 11:04:43 2005 UTC (3 years, 10 months ago) by jaza
Branch: MAIN
Changes since 1.14: +12 -12 lines
Diff to previous 1.14
Fixed up all node queries to check that categories / containers / assigned nodes are set to 'published', and are not set to 'in moderation'. (I could have sworn that node_db_rewrite_sql() or an older equivalent used to do this check - why isn't this being done? Grrr).

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 28 13:50:11 2005 UTC (3 years, 10 months ago) by jaza
Branch: MAIN
Changes since 1.13: +1 -0 lines
Diff to previous 1.13
Added CVS ID tags to all relevant files, and updated the .txt files as well.

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 27 01:16:10 2005 UTC (3 years, 10 months ago) by jaza
Branch: MAIN
Changes since 1.12: +3 -0 lines
Diff to previous 1.12
category_display now fully functional: TOC depth is working; 'show links to assigned nodes' and 'show message if no posts' options are working; and 'show prev, next, and up links' setting has been modified to have 3 options now, for extra flexibility.

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 26 07:36:00 2005 UTC (3 years, 10 months ago) by jaza
Branch: MAIN
Changes since 1.11: +1 -1 lines
Diff to previous 1.11
The TOC and nav-links settings in category_display now actually work - i.e. they result in these features toggling on or off. Both TOC and nav-links have been tested to be aware of hidden containers, and to skip over them. TOC depth not yet tested: don't think it's working yet.

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 12 15:12:38 2005 UTC (3 years, 11 months ago) by jaza
Branch: MAIN
Changes since 1.10: +94 -7 lines
Diff to previous 1.10
Initial release of category_display module. So far, outputs nav-links (prev, next, up) and TOC (no depth) very nicely for categories and containers. No settings as yet: these need to be implemented per-container. Category API updated to support category_display operations (functions ported from book.module).

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 12 08:46:51 2005 UTC (3 years, 11 months ago) by jaza
Branch: MAIN
Changes since 1.9: +5 -3 lines
Diff to previous 1.9
Fixed bug: form validation not being triggered when performing outline, as drupal_get_form() not called on form submission.

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 11 16:43:13 2005 UTC (3 years, 11 months ago) by jaza
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8
Wrapper taxonomy module completed - allows taxonomy-dependent modules to function properly, by routing requests through the category API. Tested with forum.module: so far, results are poor, as forum.module directly accesses the taxonomy.module db tables in many places, bypassing the taxonomy / category API. Will probably have to improve the taxonomy wrapper to maintain duplicate data in old taxonomy tables (*shudder*). Minor updates made to category API, to make it more accessible to taxonomy wrapper.

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 11 10:11:19 2005 UTC (3 years, 11 months ago) by jaza
Branch: MAIN
Changes since 1.7: +5 -4 lines
Diff to previous 1.7
Added menu settings options to add/edit container form, and implemented settings checks in the category_menu 'logic engine'. The settings affect categories and containers for insert only, and assigned nodes for insert and update. Also updated database schema for category_menu.

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 10 06:30:15 2005 UTC (3 years, 11 months ago) by jaza
Branch: MAIN
Changes since 1.6: +4 -4 lines
Diff to previous 1.6
Fixed category_menu so it works for outlined categories and containers as well. Added 'default menu' option to category settings page (controlled by category_menu, through 'op settings' in hook_category). Draws on new api function, category_menu_api_get_root_menus().

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 4 11:33:28 2005 UTC (3 years, 11 months ago) by jaza
Branch: MAIN
Changes since 1.5: +41 -7 lines
Diff to previous 1.5
Delete cases implemented for category_menu: category_menu now functional for all use cases. Changed category form api _execute hooks to _submit hooks. Fixed outline and orphan display for individual containers. Various other bug fixes.

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 2 14:49:13 2005 UTC (3 years, 11 months ago) by jaza
Branch: MAIN
Changes since 1.4: +29 -25 lines
Diff to previous 1.4
Insert and update cases now thoroughly tested for category_menu - delete not yet implemented. Some changes to category API.

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 2 06:37:55 2005 UTC (3 years, 11 months ago) by jaza
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3
Minor changes and fixes for category module itself.

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 30 08:08:43 2005 UTC (3 years, 11 months ago) by jaza
Branch: MAIN
Changes since 1.2: +26 -7 lines
Diff to previous 1.2
Outline feature now works with containers. Also, simply caching implemented for some functions in the category API.

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 30 04:52:15 2005 UTC (3 years, 11 months ago) by jaza
Branch: MAIN
Changes since 1.1: +66 -0 lines
Diff to previous 1.1
Implemented outline feature (so far only working for categories, not for containers), + various bug fixes.

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 28 16:47:29 2005 UTC (3 years, 11 months ago) by jaza
Branch: MAIN
Initial release of the category module.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.2