summaryrefslogtreecommitdiff
path: root/modules/taxonomy/taxonomy.module
Commit message (Collapse)AuthorAge
* - Reorganized the code a bitDries Buytaert2004-12-28
|
* #10949: Incorrect output with invalid term idSteven Wittens2004-12-24
|
* - Patch #13907 by Neil: less ways to set the page title.Dries Buytaert2004-12-15
| | | | | | | * Less logic in theme code. * Encourages use of the menu system. * Easier to find where a title or breadcrumb comes from in other people's code because there are less places to look. Look in menu and then grep for the appropriate set function. Looking for calls to theme_page() is hard because there are too many of them. * Very slightly more efficient.
* - Patch #11977 by matteo: added extra DISTINCT()s to two SQL queries to make ↵Dries Buytaert2004-11-29
| | | | them work with node-level permissions.
* - Patch #10693 by Ax: fixed broken (external) link in the taxonomy module's ↵Dries Buytaert2004-11-27
| | | | help.
* - Patch by Stefan: wrapped the help texts in <p></p> tags. Helps improve ↵Dries Buytaert2004-11-23
| | | | consistency.
* - Patch 13180 by chx: renamed check_query() to db_escape_string() and ↵Dries Buytaert2004-11-21
| | | | | | implemtented it properly per database backend. Read the manual for pg_escape_string: "Use of this function is recommended instead of addslashes()." Or read sqlite_escape_string: "addslashes() should NOT be used to quote your strings for SQLite queries; it will lead to strange results when retrieving your data."
* - Patch #12783 by Stefan: various small consistency/usability improvements.Dries Buytaert2004-11-15
|
* - Patch #11977 by matteo: taxonomy_term_count() did not take node-level ↵Dries Buytaert2004-11-15
| | | | permissions into account and could return an incorrect number.
* - Patch #11875 by Neil Drumm: block module configuration improvements.Dries Buytaert2004-10-31
| | | | | | | | | | The primary goal of this patch is to take the 'custom' and 'path' columns of the block overview page and make them into something understandable. As of Drupal 4.5 'custom' lacked an explanation which wasn't buried in help text and path required dealing with regular expressions. Every block now has a configuration page to control these options. This gives more space to make form controls which do not require a lengthy explanation. This page also gives modules a chance to put their block configuration options in a place that makes sense using new operations in the block hook. The only required changes to modules implementing hook_block() is to be careful about what is returned. Do not return anything if $op is not 'list' or 'view'. Once this change is made, modules will still be compatible with Drupal 4.5. Required changes to core modules are included in this path. An additional optional change to modules is to implement the additional $op options added. 'configure' should return a string containing the configuration form for the block with the appropriate $delta. 'configure save' will come with an additional $edit argument, which will contain the submitted form data for saving. These changes to core modules are also included in this patch.
* #12186: Add xml icon to taxonomy listings.Steven Wittens2004-10-28
|
* - Patch #11510 by Adrian: turned a non-ANSI SQL query into ANSI SQL so it ↵Dries Buytaert2004-10-18
| | | | works with PostgreSQL.
* - Patch #11577 by drumm: changed t('ago') -> t('%time ago', ...) to make itDries Buytaert2004-10-15
| | | | translatable in languages such as Spanish.
* #10677: Confirmation when deleting a block + unifying confirmation screens.Steven Wittens2004-10-14
|
* - Modified patch #10424 by Jeremy: deleting terms can orphan child terms in ↵Dries Buytaert2004-10-13
| | | | | | the database. I rewrote this patch for simplicity.
* - Patch #11166 by drumm: removed redundant help page from the taxonomy module.Dries Buytaert2004-10-04
|
* - Removed the title attribute from the taxonomy links. Temporary fix for #7468.Dries Buytaert2004-09-30
|
* - Adding menu callbacks to taxonomy admin. Before this patch, some admin ↵Steven Wittens2004-09-19
| | | | pages only showed tabs and the wrong title.
* - Bugfix: using non numeric terms in taxonomy-page URLs would result in SQL ↵Dries Buytaert2004-09-19
| | | | errors.
* - Patch #8179 by JonBob: reintroduced menu caching.Dries Buytaert2004-09-16
|
* #10279: Adding a note to taxonomy_render_nodes when there are no nodes to ↵Steven Wittens2004-09-14
| | | | show, rather than showing an empty page.
* - Fixing taxonomy descriptions in node_view links.Kjartan Mannes2004-09-11
|
* - Patch #10622 by Adrian: fixes various PostgreSQL related problems.Dries Buytaert2004-09-08
| | | | | | | | | | | | | 1) Menu problems with Postgres (this is a highly critical 1 line fix) 2) Archive module fails with Postgres 3) Postgres setup problems - changes to database.pgsql (although i made these changes myself before finding this patch) 4) Book module fails with Postgres 5) Postgres problems following creation of a new type of user - which is actually about a taxonomy.module bug. 6) Creating accregator_item_table in PostgreSQL 7) Postgres - Polls not displayed on Poll Page 8) Blog module has sql errors with postgres This should not affect MySQL users (hopefully).
* #9292: Minor PHP5 fix.Steven Wittens2004-09-03
|
* - Patch by JonBob: for consistency and readability, add brief descriptions ↵Dries Buytaert2004-08-21
| | | | of each source file inside the @file comment block at the head of the file. This helps with Doxygen indexing, and also allows neophytes to see what a file does immediately on opening the source, regardless of the organization of the hooks.
* - Code improvements by Stefan: use capital letters for header titles (and ↵Dries Buytaert2004-08-19
| | | | added some missing t() functions).
* - Code improvements by Stefan: made all status messages consistent (and ↵Dries Buytaert2004-08-18
| | | | easier to translate).
* - Patch #9983 by Stefan: usability improvement: made sure all status ↵Dries Buytaert2004-08-16
| | | | messages start with a capital letter.
* - Patch #8176 by JonBob: fixed braino in SQL query.Dries Buytaert2004-08-12
|
* - #9148 and #8766: Fix problem with using '%' in term names.Steven Wittens2004-08-10
|
* - Patch #9875 by njivy: call to taxonomy_overview() is missing in admin view.Dries Buytaert2004-08-09
|
* - Patch #6760 by JonBob: refactored the taxonomy module URLs to be nicer, ↵Dries Buytaert2004-08-07
| | | | | | | | | | improved the code/Doxygen comments. As discussed before, the path "taxonomy/page/or/1,2" becomes "taxonomy/term/1+2" and the path "taxonomy/page/and/1,2" becomes "taxonomy/term/1,2". The most common case of listing nodes attached to a single term becomes simpler, since it doesn't require a meaningless "or" or "and". A depth of "0" is assumed, but a positive integer or "all" can be used. Feeds are available at "taxonomy/term/1+2/all/feed" and the like. This iteration of the patch also changes the structure of taxonomy_select_nodes(), since it was not following Drupal conventions. A handful of contrib modules call this function, and will need to be updated. Instead of passing in a $taxonomy object containing parameters for the function, the parameters are passed independently. This simplifies the code quite a bit. The queries were changed to only return node IDs for speed; all results from this function are passed through node_load() anyway, so the extra information returned was discarded. The AND query was also changed to avoid the strange trick and remove an extra query, at the expense of a table join per root term in the AND. This cleans up the code substantially while at the same time enabling the use of AND with a depth parameter. TODO: update contribution modules.
* - Made the taxonomy module use drupal_goto() to fix up the interaction behavior.Dries Buytaert2004-08-07
|
* - Patch #9543 by JonBob: added node-level access control!Dries Buytaert2004-07-31
|
* - More tab-improvements by JonBob: improved support for the default tabs!Dries Buytaert2004-07-10
|
* - Marked required fields on the node (story, book, page, blog) and commentDries Buytaert2004-07-08
| | | | | | | | | forms using the $required argument of the form_ functions. - Replaced all Optional's and Required's from the taxonomy forms with proper use of the form_ functions. Please check your contributed modules too!
* - Moving the title.module from core to contrib as discussed on the mailing list.Dries Buytaert2004-07-07
|
* - Patch by Steven and me: refactored the form handling of nodes. The node ↵Dries Buytaert2004-07-04
| | | | | | | | system is now using form_set_error() and friends like the rest of Drupal does. This makes for both a consistent user experience and consistent code. It simplifies the forms and validation code, however, it does change the node API slightly: * The _validate hook and the _nodeapi('validate') hook of the node API (1) no longer take an 'error' parameter and (2) should no longer return an error array. To set an error, call form_set_error(). * The _form hook of the node module no longer takes a form hook and should not worry about displaying errors. Ditto for _nodeapi('form_post') and _nodeapi('form_pre').
* - Patch #8973 by JonBob: Drupal contains many undefined variables and array ↵Dries Buytaert2004-07-02
| | | | indices, which makes PHP throw a lot of warnings when the reporting level is set to E_ALL. Things run fine with these warnings, but as a matter of code style if nothing else we should probably strive to avoid them. The attached fixes most of the more egregious offenders (about 95% of the warnings when I load /node on my test site).
* - Taxonomy fix by Matt.Dries Buytaert2004-06-23
|
* - Patch #8681 by asimmonds: more help text updatesDries Buytaert2004-06-21
|
* - Patch #8670 by asimmonds: spelling fixes.Dries Buytaert2004-06-20
|
* - Patch #7696 by TDobes: renamed 'static' to 'sticky' which is a moreDries Buytaert2004-06-19
| | | | logical name. Requires a database upgrade.
* - Patch #8632 by Mohse: made the taxonomy select menus more flexible.Dries Buytaert2004-06-19
| | | | | | | | | | | Specifically, it lets you edit more than one node's taxonomy within the same form. This patch also removes the behavior where taxonomy remembers your last choice for a given vocab and automatically selects it for you. That is poor behavior. If someone changes a date or author in a node, he is likely to inadvertently add taxo terms using with this 'feature'.
* Tabs patch!Dries Buytaert2004-06-18
| | | | | | | | | | | | | | | | | | CHANGES ------- + Introduced tabs. First, we extended the menu system to support tabs. Next, a tab was added for every link that was (1) an administrative action other than the implicit 'view' (2) relevant to that particular page only. This is illustrated by the fact that all tabs are verbs and that clicking a page's tab leads you to a subpage of that page. + Flattened the administration menu. The tabs helped simplify the navigation menu as I could separate 'actions' from 'navigation'. In addition, I removed the 'administer > configuration'-menu, renamed 'blocks' to 'sidebars' which I hope is a bit more descriptive, and made a couple more changes. Earlier, we already renamed 'taxonomy' to 'categorization' and we move 'statistics' under 'logs'. + Grouped settings. All settings have been grouped under 'administer > settings'. TODO ---- + Update core themes: only Xtemplate default supports tabs and even those look ugly. Need help. + Update contributed modules. The menu() hook changed drastically. Updating your code adhere the new menu() function should be 90% of the work. Moreover, ensure that your modue's admin links are still valid and that URLs to node get updated to the new scheme ('node/view/x' -> 'node/x').
* - Patch #8548 by Moshe: fixed warning when creating new vocabulary.Dries Buytaert2004-06-17
|
* - Patch #8418 by Axel: don't insert tid=0's in the databaseDries Buytaert2004-06-15
|
* - Patch #7350 by Mathias: return part a taxonomy tree to a user-definedDries Buytaert2004-05-31
| | | | | | depth/level. - Updated CHANGELOG.txt.
* - Patch #6682 by jhriggs: added form_checkboxes(), much like form_radios()Dries Buytaert2004-05-15
| | | | and updated some modules to take advantage of it.
* #7468 - Added title="" attribute with term descriptions (if present) to ↵Steven Wittens2004-05-04
| | | | | | taxonomy links. See http://drupal.org/node/view/7468