summaryrefslogtreecommitdiff
path: root/modules/taxonomy.module
Commit message (Collapse)AuthorAge
* - Fixed a typo in the PostgreSQL database scheme. Patch by Michael Frankowski.Dries Buytaert2003-05-13
| | | | | | | | | | | | | - Fixed a typo in the MSSQL database scheme. Patch by Michael Frankowski. - Removed dependency on "register_globals = on"! Patches by Michael Frankowski. Notes: + Updated the patches to use $foo["bar"] instead of $foo['bar']. + Updated the INSTALL and CHANGELOG files as well. - Tiny improvement to the "./scripts/code-clean.sh" script.
* - Changed some "tid"s to "r.tid"s to avoid confusion. Patch by Gerhard.Dries Buytaert2003-05-10
|
* - Fixed warning when creating a vocabulary with no types. Reported by Gerhard,Dries Buytaert2003-05-10
| | | | patch by Marco.
* - Fixed bug #1545: incorrect sequence tables on PostgreSQL. Patch by Neil.Dries Buytaert2003-04-20
| | | | | In addition, I have updated update.php so it makes the corresponding changes for MySQL users.
* - Node API improvements by Moshe:Dries Buytaert2003-04-15
| | | | | | | | | | | | | | | "implemented pieces of kjartan's original nodeAPI patch. the mingling of other modules into node.module logic decreases (a good thing). for example, the string "taxonomy" now appears nowhere in node.module - moved the saving of taxonomy terms when submitting a node out of node.module and into taxonomy.module - moved the deletion of comments while deleting a node out of node.module and into comment.module - improved usability of node forms by including node type in the title of the box and page"
* - Fixed bug in taxonomy module. Patch by Gerhard.Dries Buytaert2003-04-02
|
* - Various improvements to the menu system.Dries Buytaert2003-04-01
| | | | | | | - Changed the import and taxonomy module to use better URLs. Patches by Al. - Fixed locale module weirdness. Patch by Kjartan.
* - Fixed some SQL query directives.Dries Buytaert2003-03-29
|
* - Fixed some broken links in the taxonomy help. Reported by Moshe atDries Buytaert2003-03-23
| | | | http://drupal.org/node/view/299#2255.
* - All LIMIT queries must go through the pager or through db_query_range().Dries Buytaert2003-03-16
| | | | | | | | | | | | | | | The syntax for db_query_range() was enhanced so it matches db_query(). So you may pass extra arguments of the SQL statement which are checked via check_query() and then substituted into the SQL statement. After these optional arguments, you always pass $from and $count parameters which define your range. Most often, the $from is 0 and the count is the max number of records you want returned. Patch by Moshe. - The pager_query() function for PEAR was enhanced so that it adds proper GROUP BY statement counting the number of records to be paged. Patch by James Arthur. - MSSQL database scheme by Moshe.
* - Fixed bug #1298 : Taxonomy: Edit term doesn't show parent and relatedKjartan Mannes2003-03-10
| | | | | | terms. - Added feature #1299 : Order of related terms and parent in taxonomy admin.
* - Removed the path_uri() function in favor of the $base_url variable andDries Buytaert2003-03-07
| | | | fixes a handful of bugs introduced by the clean URL patch.
* - Some fixes and improvements to the taxonomy module. Patch by Al.Dries Buytaert2003-02-27
|
* - New menu houskeeping. Prototyped by Zbynek.Dries Buytaert2003-02-20
| | | | | | | | | | | | | | | | The following modules need updating: * glossary module * feed module (Breyten's version) * mailhandler module * notify module * project module * smileys module * admin module * style module * taxonomy_dhtml module To avoid unexpected problems menu_add() is deprecated (it will print an error message when used) and menu() should be used instead.
* - Everything is using theme("function") now instead of $theme->function().Dries Buytaert2003-02-15
|
* - Applied Alastair's date patch.Dries Buytaert2003-02-09
| | | | | | | | | | | | | | | | | | | | | | | | | | - Removed all instances of '$user->nodes'. - Committed Moshe's taxonomy patch - minus the node_compact_list() bit. It needs a bit more thought/work. This patch changes the links of taxonomy pages/feeds so update your custom code and themes accordingly! Themes should now use "taxonomy_link("taxonomy terms", $node)" to get an array of taxonomy term links. The old construct is deprecated and should be changed. // old theme blob: if (function_exists("taxonomy_node_get_terms")) { foreach (taxonomy_node_get_terms($node->nid) as $term) { $terms[] = l($term->name, NULL, array(), "or=$term->tid"); } } // new theme blob: if (module_exist("taxonomy")) { $terms = taxonomy_link("taxonomy terms", $node); } // old URL: http://foo.com/index.php?or=1,2 // new URL: http://foo.com/?q=taxonomy/page/or/1,2
* - Tidied up XHTML. Patch by Ulf.Dries Buytaert2003-01-23
| | | | - Added missing t() function. Patch by Stefan.
* - Small improvement to the admin menu based on feedback from Michael.Dries Buytaert2003-01-14
|
* - Small bugfix and small cleanup. Patch by Marco.Dries Buytaert2003-01-13
|
* - Clean URL patch.Dries Buytaert2003-01-06
|
* - In the taxonomy administration pages, the dropdown to select a term'sDries Buytaert2003-01-04
| | | | | | parent is supposed to exclude terms that are descendants of the current term, to avoid creating cycles. However, the terms with the first few term IDs are excluded instead. Patch by JonBob.
* - Tidied up the use of check_output(). Might make rendering pages a bitDries Buytaert2002-12-31
| | | | snappier (performance improvement).
* Patch by Marco:Dries Buytaert2002-12-30
| | | | | | | | - rewrote taxonomy_get_tree() for improved performance and cleaner code - fixed a bug in _taxonomy_term_select() with multiple parents - added hooks in vocabulary and term insert, update and delete - fixed a bug in taxonomy_save_vocabulary() (cache_clear_all() was never called)
* - Usability improvements: made the taxonomy administration pages useDries Buytaert2002-12-29
| | | | | | the new table rendering functions, made the overview table's HTML code a lot simpler, tidied up the status messages, and removed some redundant check_output()s.
* - Added taxonomy link.Dries Buytaert2002-12-28
|
* - Refactored the administration pages.Dries Buytaert2002-12-24
|
* Patch by Marco:Dries Buytaert2002-12-12
| | | | | | | | | - consistency in return order (http://list.drupal.org/drupal-devel/2002-December/009522.html) - new functions: taxonomy_get_term_by_name() and taxonomy_get_vocabulary_by_name() - caches are flushed after vocabulary and term edit/delete; this should avoid problems like forums not up to date
* - Avoid empty synonyms being inserted. Patch by Marco.Dries Buytaert2002-12-11
|
* o Permission improvements:Dries Buytaert2002-12-10
| | | | | | | | | | | | | | | | | | | | | | + Removed the "post content" permission and replaced it by more fine-grained permissions such as "maintain static pages", "maintain personal blog", "maintain stories", etc. o Usability improvements to teasers: + Teaser forms are no more. Teasers are extracted automatically but can also be instructed using a delimiter "---". Furthermore, when a post it too short for a teaser, the user won't be bother with teaser stuff anymore. + Added an option to set the teaser length, or to disable teasers all together. + When previewing a post, both the short (if any) and the full version of a post are shown. This addresses a common complaint; for example, when writing a book page there was no way you could preview the short version of your post. + Forum posts can be teasered now. This is particularly helpful in the context of drupal.org where we promote forum topics. o Bugfix: replaced all PHP short tags (<?) with long tags (<?php). o Bugfix: removed hard-coded dependence on comment module. o Bugfix: when the queue module was disabled, it was not possible to approve updated book pages. o Bugfix: applied modified version of Marco's node_teaser() fix.
* - Changed db_queryd() to db_query().Dries Buytaert2002-12-03
|
* * Applied slightly modified version of Marco's taxonomy patch:Dries Buytaert2002-12-02
| | | | | | | | | | | | | | | | | - Fixed a bug with get_tree and multiple parents. - Fixed 3 wrong caches (this will avoid some queries). - Extension to taxonomy_term_count_nodes() (feature #159): "currently calling taxonomy_term_count_nodes() returns the amount of nodes in each term, would it be possible to extend this function so that it would only return the amount of nodes of a certain type under each term. - Confirm deleting a vocabulary or a term (requested by Moshe). - Use form_weight() in vocabulary and term forms. - After submitting a term, we end up at the term page (requested by Moshe). - Added status messages when adding, editing and deleting vocabularies and terms - Minor clean ups * Made sure all modules use the same link delimiter; "|" for now.
* - Applied Stefan's t() function patch.Dries Buytaert2002-11-08
|
* - Applied a (modified) version of Marco's SQL sequence patch.Dries Buytaert2002-08-20
|
* - Bugfix: fixed some SQL queries and tidied up many queries. Patch byDries Buytaert2002-08-18
| | | | Marco.
* - Made sure the selection boxes don't grow too long. Requisted by kika,Dries Buytaert2002-08-16
| | | | patch by Marco.
* - Fixed a bug with taxonomy_get_related() returning the term whichDries Buytaert2002-06-14
| | | | was passed in. Found by Moshe, fixed by Marco.
* - Documentation updates: made it more consistent with the rest of Drupal.Dries Buytaert2002-06-09
|
* - improved module descriptions.Kjartan Mannes2002-06-08
| | | | | | | - removed admin options for queue and comment module if the modules are not loaded. - nodes are now auto promoted when queue module isn't enabled. - moderation result block is now visible by the node author.
* - adding descriptions to modules (thanks Joe + Scott).Kjartan Mannes2002-06-01
| | | | | | | | | | - fixed comment flat list view missing 1 comment. - changed update.php around a bit. * security check isn't in effect if the db hasn't been updated. * instructions re-organized. * fixed some minor updates. - updated database.mysql done by UnConeD. - changelog update.
* - Added missing translations and the like.Dries Buytaert2002-05-31
|
* - Ran the code through 'scripts/code-clean.sh': removed trailing whitespaceDries Buytaert2002-05-20
| | | | (and possibly tabs).
* - updating all nodes to use taxonomy terms.Kjartan Mannes2002-05-19
| | | | | | | - updated node modules not to cause errors when taxonomy module is disabled. - added %date variable to user mail configuration. - added hyperlinks to admin.php?mod=system (site configuration) for easy access. - usual coding style and xhtml fixes.
* - more coding style fixes.Kjartan Mannes2002-05-13
|
* - applied Stevens link patch.Kjartan Mannes2002-05-12
| | | | | | - fixed block permissions. - fixed user admin page errors: http://www.drupal.org/node.php?id=173. - cleaned up common.inc a bit: removed format_info, path_img, field_merge.
* - fixed indentation.Kjartan Mannes2002-05-02
| | | | - added $Id$
* - Fixed a glitch in the taxonomy module. Contributed by Marco.Dries Buytaert2002-04-28
|
* - bug fixes:Kjartan Mannes2002-04-22
| | | | | | | | | | * fixed mails not being parsed properly. * tracker now shows user name when you view your own recent comments. * link to submission queue now points to the right place. * fixed jabber module. * theme is now activated when changed. - applied Gerhards coding style patch.
* - Applied Marco's big patch, including contributions from Moshe:Dries Buytaert2002-04-20
| | | | | | | | | | | | | | | | | | | | | | + Changed the db_query() API. + Wrapped all links in l(), lm(), la(), ..., drupal_url() functions. + XHTML-ified some HTML. + Wrapped a lot of text in the administrative pages in a t() function. + Replaced all $REQUEST_URI/$PATH_INFOs by request_uri(). + Small bugfixes (eg. bug in book_export_html() and clean-ups (eg. RSS code). + Fixed some bugs in the taxonomy module (eg. tree making bug), added new functionality (eg. new APIs for use by other modules), included Moshe's taxonomy extensions, and some documentation udpates. + ...
* - submit page will no longer give errors.Kjartan Mannes2002-04-15
| | | | - empty taxonomy sets should now be well behaved.
* - Added Marco's long-awaited taxonmy module and patches - a replacementDries Buytaert2002-04-14
for the meta system. The patches add some extra functionality to the comment system (for example, comments can be set read-only) and fix a couple of small problems. + I integrated the required SQL updates from the varius *.mysql files into the "update.php" script. Upgrading should be easy ... + I did not apply/commit the "user.diff" as requested by Marco ... + I didn't know what to do with "forum.module" and "forum2.module": what do you want me to do with it Marco? Which one should go in? + Can we remove "node_index()" now; both from "node.module" and the themes? + Thanks Marco!