Commit Graph

584 Commits (3df77d6b65e1b01b740975c191fc0ef0972fe2ca)

Author SHA1 Message Date
Gábor Hojtsy 8971add849 #163191 follow up patch by hswong3i and pwolanin: use a has_rows flag where we dont need a counter 2007-08-18 20:03:19 +00:00
Dries Buytaert c17499b6fe - Patch #163191 by hswong3i: removed db_num_rows() for compatibility with Oracle and DB2. Also a performance improvement. (Correct version this time.) 2007-08-12 16:12:00 +00:00
Dries Buytaert b134b023e1 - Patch #163191 by hswong3i: removed db_num_rows() for compatibility with Oracle and DB2. Also a performance improvement. 2007-08-12 15:55:36 +00:00
Dries Buytaert 9405388d16 - Patch #164931 by John Morahan: included the wrong file. 2007-08-08 07:18:19 +00:00
Dries Buytaert 491b47f0a9 - Patch #158537 by Benjamin Melancon and Wim Leers: unnecessary 'ORDER BY' in taxonomy_vocabulary_load. 2007-08-07 11:33:36 +00:00
Dries Buytaert a21275a58f - Patch #165160 by hswong3i: made two SQL queries work on DB2. 2007-08-07 08:41:24 +00:00
Dries Buytaert fe7faf76c2 - Patch #162829 by swentel and bennybobw: fixed problem with saving taxonomy terms. 2007-08-02 10:25:21 +00:00
Dries Buytaert 8dfc0e5ad7 - Patch #161182 by Crell: split up taxonomy module. 2007-07-30 20:33:48 +00:00
Gábor Hojtsy 64def7cb3e #100641 by kkaefer, ChrisKennedy and RobRoy: change 'Submit' buttons to 'Save' to compliy with the desktop metaphor and actually tell what the button does ('we know it submits the form, but what it does?') 2007-07-16 12:43:06 +00:00
Dries Buytaert fcc5c27b9e - Patch #107822 by riccardoR: Content filtering ignores vocabularies with only one term. 2007-07-14 15:30:40 +00:00
Dries Buytaert 97201e8529 - Patch #158437 by AjK: taxonomy terms loose parent info on edit. 2007-07-12 18:15:48 +00:00
Dries Buytaert 38a8d04f51 - Patch #158440 by AjK: fixed E_NOTICEs. 2007-07-11 15:27:57 +00:00
Dries Buytaert b6c069ad7d - Patch #20295 by pyromanfo, webchick, Gurpartap Singh et al: allow forum topics to be custom node types. 2007-07-02 17:08:36 +00:00
Dries Buytaert e59852d336 - Rollback of patch #147723: delete API. Talked to Steven and Gabor and we
unanimously agreed to rollback the deletion API.  We all support the
  features this patch added, yet not its actual design and implementation.
  After some talk, we decided that it would be better for Drupal -- in the
  long term -- not to go with a solution that isn't 100%. We also recognize
  that in the short term, this patch would have been useful addition. So
  let's figure out how we can implement this properly in D7.
2007-07-01 17:41:16 +00:00
Gábor Hojtsy 9e6ef53c2c #154064 by pwolanin: get hook_help() up to speed to menu changes, allowing router path based lookups, and also full path argument lookup with a passed argument array 2007-06-30 19:46:58 +00:00
Dries Buytaert 2348e7de6f - Patch #148410 by jvandyk: added rewrite of the actions module!
This is a very important patch, but one that is merely an enabler.
  Hopefully we'll see more people submitting "action patches" in the
  near future.

  Thanks for the hard work and persistence, John.  *If* you decide
  to update the Drupal Pro Development book to Drupal 6, make sure
  to add a chapter on actions. ;)
2007-06-29 18:06:51 +00:00
Steven Wittens 569ede574f #115139: Add centralized json handler (and send text/javascript content-type header). 2007-06-22 08:46:16 +00:00
Steven Wittens fe8b35f527 #153781: Convert all remaining confirm_forms() to deletion api. 2007-06-22 08:32:28 +00:00
Steven Wittens 38a1300df2 #147723: Deletion API (by hunmonk). Woop woop. 2007-06-22 05:44:21 +00:00
Dries Buytaert ba32a804a9 - Patch #150299 by asimmonds: form API fixes in taxonomy.module. 2007-06-17 10:47:12 +00:00
Dries Buytaert 29eb5a6284 - Patch #146910 by dww: only allow enabling modules with the same Drupal core compatibility version. 2007-06-08 05:50:58 +00:00
Dries Buytaert 27388f6655 - Patch #149176 by chx, David et al: getting rid of the sequences table, using db_last_insert_id() instead of db_next_id(). 2007-06-05 12:13:23 +00:00
Dries Buytaert e629deb94d - Patch #146667 by Jeff Eaton: form API fixes. 2007-06-04 15:56:34 +00:00
Dries Buytaert 1fe90cba4f - Patch #146667 by Eaton: correct builder argument ordering, eliminate redundant arguments 2007-06-04 07:22:23 +00:00
Dries Buytaert 96926ca047 - Patch #146470 by Eaton et al: standardize form API3 hook parameter order. 2007-05-28 06:08:47 +00:00
Dries Buytaert 3cafffe63f - Killer patch #144765 by bjaspan, frando et al: schema API 1 hits core. Oh, behave. 2007-05-25 12:46:46 +00:00
Dries Buytaert ac65ff9074 - Patch #138706 by eaton, chx, webchick, yched et al: form api 3 ... yay. :) 2007-05-14 13:43:38 +00:00
Dries Buytaert 304400293a - Patch #141204 by Wim Leers: fixing caching bug in taxonomy_node_get_terms(). 2007-05-04 08:38:34 +00:00
Dries Buytaert 7d4f2836ba - Patch #128082 by Goba et al: Allow localization of built-in menu items. 2007-04-30 17:03:29 +00:00
Gábor Hojtsy 359ace36e6 #76588 patch by alienbrain: some localization-unfriendly watchdog() calls 2007-04-24 18:23:48 +00:00
Dries Buytaert e98c82e679 - Patch #136202 by asimmonds: fixed indefined variable notice. 2007-04-15 15:59:06 +00:00
Dries Buytaert e675979091 - Patch #134493 by douggreen: getting the Drupal coding standards right in core. Woot. Woot. 2007-04-13 08:56:59 +00:00
Steven Wittens 2a10f18211 - Fix bad code in taxonomy.module (variable naming) 2007-04-11 09:17:53 +00:00
Dries Buytaert 8e990d6935 - Patch #35177 by Stefan and profix898: added some logging to the taxonomy module. 2007-04-10 11:28:18 +00:00
Dries Buytaert 30bf1d53ae - Patch #100429 by Zen, RobRoy and kkaefer: remove the content type requirement. 2007-04-10 10:16:29 +00:00
Dries Buytaert 5bbbf10ba8 - Patch #130987 by merlinofchaos: added theme registry for easier themability. 2007-04-06 13:27:23 +00:00
Steven Wittens c504141f45 #133858: Code cleanup and e_notices in taxonomy.module for tag parsing. 2007-04-05 03:08:48 +00:00
Steven Wittens f7440d4d73 #130971: Kitchen sink (E_NOTICE compliance / Code style / Bugfix in book toc) 2007-03-27 05:13:55 +00:00
Dries Buytaert eb6b848de6 - Patch #110888 by Eaton: unify hook _alter() 2007-03-26 00:35:59 +00:00
Dries Buytaert f37abe6074 - Patch #130831 by ChrisKennedy: l() error in taxonomy.module. 2007-03-25 19:06:53 +00:00
Dries Buytaert e6543caaff - Patch #112556 by Robroy: term/vocab maxlength should match db. 2007-02-27 12:48:33 +00:00
Dries Buytaert dc5843bd30 - Patch #111347 by Steven: refactor url() and l(). 2007-02-15 11:40:19 +00:00
Dries Buytaert 72501e54df - Patch #115667 by rotzi: added versioning support to node terms. 2007-02-12 17:47:08 +00:00
Dries Buytaert a1e6728a46 - Patch #113603 by chx: first crack at re-implementing tabs. 2007-02-11 09:30:51 +00:00
Dries Buytaert 489903a08e - Patch #113603 by chx: first crack at re-implementing tabs. 2007-01-31 21:26:56 +00:00
Dries Buytaert 05a708fb06 - Patch #112715 by chx, webchick, asimmonds, et al: fixing E_ALL notices. Thanks. 2007-01-31 15:49:26 +00:00
Dries Buytaert 3b543c18f5 - Rollback of E_ALL patch. Too much extra breakage. 2007-01-25 22:14:06 +00:00
Dries Buytaert db7dcfd444 - Patch #112556 by webchick: term/vocab maxlength should match db. 2007-01-25 21:51:20 +00:00
Dries Buytaert fd32b42196 - Patch #112715 by webchick et al: fixed some E_ALL errors. 2007-01-25 21:32:07 +00:00
Dries Buytaert 03752e35a4 - Patch #34755 by chx et al: faster menu system. HEAD is temporary broken and there is no upgrade path yet. 2007-01-24 14:48:36 +00:00
Dries Buytaert cd9ceae7a1 - Patch #107426 by webchick: code cleanup. 2007-01-23 19:04:21 +00:00
Steven Wittens c4c9d2a5d5 #108363: Faster tag parsing (preg_match to strpos). 2007-01-11 03:29:15 +00:00
Dries Buytaert a746d0496a - Patch #103462 by jvandyck: documentation and grammar clean up. 2006-12-20 10:32:16 +00:00
Steven Wittens a0b5a225d3 Removing useless taxonomy.css 2006-11-30 07:05:57 +00:00
Dries Buytaert 7ddfac434a - Patch #99694 by bdragon: removed dead code. 2006-11-28 13:15:31 +00:00
Neil Drumm b8127a29c5 #97995 by chx. Only make menu items when the path is correct. 2006-11-26 23:53:20 +00:00
Neil Drumm b5bf8a8f47 #97824 by Gurpartap. Move enclosing elements outside of their t(). 2006-11-26 02:20:01 +00:00
Dries Buytaert 6ae6dc0d85 - Patch #87298 by webchick, neil, dww et al: show version numbers on modules page. 2006-11-21 20:55:36 +00:00
Dries Buytaert b004f328ee - Patch #92992 by webchick and neclimdul: clean up documentation that is superseded by the new 'by module' administration dashboard. 2006-11-21 20:14:19 +00:00
Neil Drumm 4476a2c015 #83202 by Jaza. Separate out node type deletion API and use it to keep {vocabulary_node_types} updated. 2006-11-10 19:40:23 +00:00
Neil Drumm 4573af1f55 #80257 by Jaza. Add a hook for content type changes and use it for keeping vocabulary associations. 2006-10-31 17:01:04 +00:00
Steven Wittens 36d44fbfb0 #84146: Use 'Sentence capitalization' for menu items, page titles, form items, etc 2006-10-22 08:28:47 +00:00
Neil Drumm 2ac86c8862 #24023 by chx. Allow multiple select options with the same value and implement it for taxonomy selection. 2006-10-20 20:55:03 +00:00
Dries Buytaert d9ed1a9f66 - Patch #87185 by robert: added caching to taxonomy_get_term(). 2006-10-18 11:15:51 +00:00
Dries Buytaert 370de93087 - Patch #89044 by beginner: cannot edit parent term. 2006-10-13 14:59:03 +00:00
Dries Buytaert 18b297abf8 - Patch #81740 by merlinofchaos, webchick, moshe, neclimdul et al: added package support to the modules page. 2006-10-05 15:47:57 +00:00
Neil Drumm 931f43f2ba #41484 by myself. Fix singleton term selection. 2006-09-21 15:31:24 +00:00
Neil Drumm 1081f92732 #41484 by nickl, flk, and budda. Don't wrap the category selection in a fieldset if there is only one vocabulary. 2006-09-11 08:18:24 +00:00
Neil Drumm 6d3ab3e030 #74976 by RobRoy and mrgeneyuss. Clone category objects for multi-parent heirarchy. 2006-09-08 23:34:32 +00:00
Neil Drumm 0ae3912031 #31874 by David Lesieur. Call taxonomy hook for insert and update after the term is fully saved. 2006-09-08 20:18:35 +00:00
Neil Drumm 4fb76f680f #67647 by fgm and nickl. Don't make a taxonomy option for vocabularies without terms. 2006-09-06 07:22:41 +00:00
Dries Buytaert 49fa25fb76 - Rollback of patch #68418: clean up node submit hooks. Needs more thinkering.
Restores the old node API.
2006-08-31 21:58:36 +00:00
Dries Buytaert c64db1da29 - Patch #80952 by earl, webchick, neclimdul et al: .info files 2006-08-31 20:22:37 +00:00
Dries Buytaert 5524604a95 - Patch #68418 by Moshe et al: clean up node submit hooks. 2006-08-29 18:43:26 +00:00
Neil Drumm bceaf8f0da #80574 Eaton and chx. Replace $_POST['edit'] with $_POST. 2006-08-29 09:12:03 +00:00
Dries Buytaert a54ba6b1ed - Patch #56093 by chx: use native php function where possible _taxonomy_depth() -> str_repeat() 2006-08-24 06:29:50 +00:00
Neil Drumm 153fbc7839 #79732 by drewish, fix the taxonomy forms and some code cleanup. 2006-08-24 05:43:38 +00:00
Dries Buytaert 2d05938082 - Patch #66569 by m3avrck: Consolidate the drupal_add_link() calls. 2006-08-23 07:23:09 +00:00
Neil Drumm a58d877108 #66569 by m3avrck. Put all the feed icons in the same place. 2006-08-23 05:55:38 +00:00
Steven Wittens 55eec8f66f #79601: module_exist() -> module_exists() 2006-08-20 05:57:41 +00:00
Dries Buytaert 7de41539df - Patch #77919 by chx, eaton, moshe, et al: enable programmaticaly submitted forms via the pull model. 2006-08-18 18:58:47 +00:00
Steven Wittens 81938a3cdc #76802: Introduce placeholder magic into t()
See: http://drupal.org/node/64279#t-placeholders
2006-08-18 12:17:00 +00:00
Neil Drumm d58a0aa533 #77402 by Zacker, fix the node type checkboxes on vocabulary editing. 2006-08-15 05:50:48 +00:00
Neil Drumm 3cc2b1e3d7 #77183 by m3avrck and timcn, split up drupal.css by module. 2006-08-14 07:14:50 +00:00
Dries Buytaert 91942614d6 - Patch #62362 by Moshe: kill the 'form' operation of hook_taxonomy. 2006-08-08 18:55:53 +00:00
Dries Buytaert 729fa6c11b - Patch #77422 by timcn: corrected various paths in the documentation. 2006-08-07 15:04:16 +00:00
Neil Drumm 129c8eb18c #62340 by chx, webchick, Jaza, Eaton, mathieu, and myself. Configurable node types. 2006-08-06 23:00:42 +00:00
Dries Buytaert eaf3540175 - Patch #76702 by timcn: fixed some broken admin pages. 2006-08-02 13:44:07 +00:00
Dries Buytaert b138793b68 - Patch #72079 by Earl et al: give Drupal an overall administration page ... :-) 2006-07-31 11:25:55 +00:00
Neil Drumm 3cd232e5d4 #33772 by dfg, add title to last breadcrumb element. 2006-07-14 01:01:15 +00:00
Dries Buytaert 89c68399bc - Patch #73361 by Ber: remove unneeded size restriction for vocabulary help. 2006-07-13 11:53:33 +00:00
Dries Buytaert e93f8be871 - Patch #72204 by nedjo: upper-cased all TRUE/FALSE/NULL constants. 2006-07-05 11:45:51 +00:00
Neil Drumm 59aa2ae8e8 #71925 by Steven, remove # prefix from link array keys. 2006-07-04 08:59:05 +00:00
Neil Drumm 685be2ffce #71728 by Eaton, re-add taxonomy_term_path() 2006-07-02 01:13:45 +00:00
Neil Drumm 930f8ca445 #61912 by doq and killes, add db_rewrite_sql() to taxonomy/autocomplete. 2006-06-11 22:46:20 +00:00
Dries Buytaert 23f643507f - Improved input checking. 2006-06-01 18:40:24 +00:00
Dries Buytaert 9b8733bca6 - Patch #65324 by greggles: bungie -> bungee 2006-05-26 21:34:12 +00:00
Dries Buytaert 02fa0d85b2 - Patch #18018 by dww, nedjo, tostinne, luke et al: block visibility by role. 2006-05-26 09:21:10 +00:00
Neil Drumm d80a410bb0 #64951 by deepstar, Ambiguous query in taxonomy_get_term_by_name() 2006-05-24 04:54:52 +00:00
Neil Drumm 70b7809121 #41042 by DriesK, Moshe, and Jaza, Duplicate tag handling 2006-05-23 02:21:26 +00:00
Neil Drumm a5263bd284 #62926 by Richard Eriksson, Increase maximum length of the free-tagging textbox to 255 characters. 2006-05-20 02:05:35 +00:00
Dries Buytaert 1b291a2917 - Patch #18260 by Ber, m3averck et al: allow overriding of links returned by modules 2006-05-18 14:58:57 +00:00
Neil Drumm 9d8799f6c4 Reverting #53653, that function actually is called via a module_invoke() in node.module. 2006-05-16 06:50:21 +00:00
Neil Drumm 0652e5b5cc #53653 by me, remove an unused function. 2006-05-16 02:22:58 +00:00
Dries Buytaert 5b3f42372f - Patch #62554 by webchick: removed some cruft. 2006-05-09 14:16:49 +00:00
Dries Buytaert 823673a196 - Patch #62332 by Zen: added missing add term link on admin/taxonomy page and got rid of some crufty code. 2006-05-08 15:12:25 +00:00
Neil Drumm 926cf39cf5 #47042 by RobertDouglas, Expose terms string parsing as a helper function to cut down on copy and paste code in contrib modules 2006-05-07 03:33:03 +00:00
Neil Drumm 9cff02e91b #61802 by Zen, Double spaced sentences clean up 2006-05-07 00:08:36 +00:00
Neil Drumm d6b538eff8 Forward port from 4.7
#60934, The vocabulary list screen needs an 'add term' operation, patch by chx
2006-04-30 00:39:11 +00:00
Gerhard Killesreiter f16b6b2901 #60621, typo orm_set_error("taxonomy[tags][$vid", patch by chx 2006-04-28 12:02:18 +00:00
Steven Wittens 954cbf7c65 #60729: Index taxonomy terms with nodes 2006-04-27 22:20:51 +00:00
Gerhard Killesreiter 8dfca7c806 #60265, module field for vocabularies reverts to taxonomy, patch by naquah 2006-04-25 11:51:51 +00:00
Gerhard Killesreiter 99e7c0ec7c #48526, fix taxonomy for blogapi. Patch by walkah 2006-04-11 17:57:37 +00:00
Steven Wittens 9794b5538e - #55898: Generic, permissive admin XSS/HTML filtering for mission/footer/...
- Clean up some raw output
2006-04-07 15:32:17 +00:00
Steven Wittens be0b774cbc - #57523: Make taxonomy delete vocabulary consistent with other taxonomy hook ops 2006-04-06 04:21:12 +00:00
Steven Wittens 4821200689 #57415: Replace drupal_implode_autocomplete() by drupal_to_js() 2006-04-06 02:41:48 +00:00
Gerhard Killesreiter 3c795c554f #28625, further form API conversion of taxonomy.module and small bugfix in forms API, patch by profix898 and chx 2006-03-26 16:59:17 +00:00
Gerhard Killesreiter 02ad2cfea2 #53351, remove preselection of "none", patch by myself. 2006-03-24 14:49:45 +00:00
Gerhard Killesreiter d11c07502d #54910, Forum and taxonomy term delete work only superficially, patch by Zen 2006-03-23 21:46:35 +00:00
Dries Buytaert 718b88e54f - Patch #53351 by Zen, tim et al: problem with unchecked taxonomy lists. 2006-03-11 13:47:51 +00:00
Dries Buytaert 7add598ee2 - Patch #51850 by chx, webchick et al: fixed various problems with db_rewrite_sql, made db_rewrite_sql slightly more robust. 2006-03-08 15:13:20 +00:00
Dries Buytaert 403bc4ab49 - Patch #51871 by merlinofchaos/zen: convert taxonomy.module to new form API so forms can be themed/altered properly. 2006-03-02 08:27:59 +00:00
Dries Buytaert 10dc538cf1 - Patch #51531 by Zen: renamed a link for clarity. 2006-02-27 17:01:37 +00:00
Dries Buytaert 3603fe1bd8 - Patch #49912: www.drupal.org -> drupal.org. (Today's critical bugfix #5.) 2006-02-21 18:46:54 +00:00
Dries Buytaert c3a0311b04 - Patch #39672 by Morbus: fixed problem with help texts of taxonomy forms. 2006-02-20 16:48:46 +00:00
Dries Buytaert a94b87aa3a - Patch #46705 by killes: use += instead of array_merge(). 2006-02-20 16:39:23 +00:00
Dries Buytaert 9004bed664 - Patch #47899 by Zen: fixed weight issues with freetagging vocabulary. 2006-02-09 08:28:28 +00:00
Dries Buytaert 15ff8c8e32 - Patch #46827 by wulff: fixed incorrect links. 2006-01-29 07:50:45 +00:00
Dries Buytaert 7946eca135 - Patch #35926 by asimmonds: make required vocabularies actually required. 2006-01-26 08:33:20 +00:00
Dries Buytaert 10d7f7731b - Patch #45281 by chx: made categories with forum topics work again. 2006-01-19 17:55:54 +00:00
Dries Buytaert 4c1522e962 - Patch #45336 by Ber: bugfix: removed obsolete check_plain() check causing & problems. 2006-01-19 09:26:15 +00:00
Dries Buytaert a50eb34bda - Patch #44381 by gerhard: improved consistency of API. Always pass an array. 2006-01-17 09:23:38 +00:00
Dries Buytaert 67778c896e - Patch #39672 by Ber: made the help text opion work for free tagging terms. 2006-01-10 19:56:19 +00:00
Dries Buytaert 92acb92699 - Patch #33747 by Ber and Moshe: bugfix + code improvement: clean up some of the taxonomy loading code. 2006-01-10 12:35:20 +00:00
Dries Buytaert 16e9b4d0c7 - Patch #42937 by chx: bugfix: added missing db_rewrite_sql() in taxonomy_node_get_terms. 2006-01-08 12:28:27 +00:00
Dries Buytaert ea2d791095 - Patch 41169 by Chris: got rid of expensvie object 2 array casts. 2005-12-31 10:48:56 +00:00
Steven Wittens 79a193a2d2 - #42234: Use standardized feed icon for RSS 2005-12-29 04:46:40 +00:00
Steven Wittens b43fa0f9da - #41744: global urlencode() for menu paths 2005-12-22 22:58:12 +00:00
Dries Buytaert bd4fe6ede9 - Patch #40813: Taxonomy forms should be in a fieldset. 2005-12-16 06:23:46 +00:00
Dries Buytaert 922a46d281 - Patch #34920 by Morbus/webchick/tangent: fixed order of form fields. 2005-12-15 16:24:40 +00:00
Dries Buytaert 764f1177ef - Patch #40631 by Chris Johnson: is_array() slower than isset() or empty(). 2005-12-14 20:10:45 +00:00
Dries Buytaert 32d9af4916 - Patch #39598 by Gerhard: fixed problem with taxonomy terms not being selected. 2005-12-06 12:20:24 +00:00
Dries Buytaert ada8f8976f - Patch #35125 by zoo33: made the taxonomy.module work with PostgreSQL. 2005-12-05 13:15:42 +00:00
Dries Buytaert 28fdb3975e - Patch #39778 by chx: obliterate nodeapi op form in favor of the forms API's way of doing things. Tested with help from webchick. 2005-12-05 09:11:33 +00:00
Dries Buytaert 236da7af05 - Patch #31151: adding taxonomy terms has no feedback 2005-11-29 17:41:27 +00:00
Dries Buytaert 42518af257 - Bring back taxonomy_form_all(). 2005-11-28 12:24:58 +00:00
Dries Buytaert 679649baaa - Patch #39003 by Jaza: remove taxnomy_form_all(). 2005-11-27 09:26:46 +00:00
Dries Buytaert d9dc551612 - Patch #29151 by fgm: simplified SQL query in taxonomy_node_form(). 2005-11-23 08:27:55 +00:00
Dries Buytaert aeed4cd8e4 - Patch #35644 by webchick: forms API simplificiations. 2005-11-12 11:26:16 +00:00
Steven Wittens c2fcb6d519 #30993: Make taxonomy selector widget themable 2005-11-12 04:31:56 +00:00
Dries Buytaert 42e2eb0d2a - Patch #35178 by Robert Douglas: add title attribute to taxonomy links - use term description as text. 2005-11-08 15:17:34 +00:00
Dries Buytaert a8b218827a - Patch #26139 by webchick / Kieran / documentation team: improved admin help of core modules! / 2005-11-01 10:17:34 +00:00
Steven Wittens 6777fdb193 - #26583: Make forum taxonomy links redirect to forums rather than taxonomy pages. 2005-10-21 11:12:46 +00:00
Steven Wittens 468b9e8e5a - Code style 2005-10-19 09:46:22 +00:00
Dries Buytaert 782d5c98c9 - Patch #33752 by leafish_paul / adrian: added missing apostrophes to the form API code. 2005-10-18 14:40:00 +00:00
Dries Buytaert 75fe6b6c0a - Patch #33752 by chx, adrian, et al: another batch of form API changes/fixes. 2005-10-11 19:44:35 +00:00
Dries Buytaert 7863be5e82 - Patch #33433 by chx: fixed a number of form API problems.
* Default form value
    * Leftover debug function in form.inc
    * PHP5 issue with comment date (I got this patch from another issue)
    * Validation error fix (was calling legacy form validate)
    * Lots o' warnings on comment preview
    * Filter tips plus argument (gremlins. I swear this was not there.)
    * Message to clear what's going on with system settings
    * Non-freetagging taxonomies fixed
2005-10-08 12:21:47 +00:00
Dries Buytaert a1ae4da70b - Removing tabs and trailing whitespaces. 2005-10-07 06:51:43 +00:00
Dries Buytaert 7e1527ee61 - Patch #29465: new form API by Adrian et al.
TODO:
  + The contact.module was broken; a new patch for contact.module is needed.
  + Documentation is needed.
  + The most important modules need to be updated ASAP.
2005-10-07 06:11:12 +00:00
Dries Buytaert da316273bd - Patch #31014 by chx, zack: on taxonomy overview pages, make term names link to their respective taxonomy/term/(x) page. 2005-09-19 15:04:11 +00:00
Dries Buytaert 1dc53d9761 - Patch #3986 by James (and Boris :)):consolidated all feed-related settings in one place.
* adds a "feed settings" section to admin/settings where 2 new settings are introduced:
* number of items per feed
* default length of feed descriptions (title only, teaser, full)
* patches all of core to obey the above - including the new aggregator (out) feeds
* adds support for adding namespaces in _nodeapi('rss item') - which means things like iTunes RSS and yahoo's media rss can be implemented by the appropriate modules (i.e. audio.module)
* includes some additional info in the default node feed - specifically the element (links directly to comments) - and dc:creator - to show node author information.
2005-09-18 10:37:57 +00:00
Dries Buytaert 074cafa269 - Patch #30956 by Cvbge: PostgreSQL fix: taxonomy_save_vocabulary() should check for 'tags' not set. 2005-09-12 21:55:41 +00:00
Dries Buytaert 8f71d8990e - Patch #16452 by chx: allow modules to rewrite taxonomy-related SQL queries much
like we do with node-related SQL queries.

  (chx promised to document this, check his documentation as soon it is available.)
2005-08-28 16:30:50 +00:00
Dries Buytaert 8f32c39db2 - Patch #29102 by chx: fixed bug in forum module and tidied up the taxonomy_save_*() functions. 2005-08-28 15:58:52 +00:00
Dries Buytaert c9fc300b1f - Patch #29785 by Chx: multiple node types were broken so we refactored
part of the node system!  If you have a module that implements node
  types, you'll have to udpate its CVS HEAD version.

  We replaced _node_name() and _node_types() by _node().  The new _node()
  hook let's you define one or more node types, including their names.
  The implementation of the _node() hook needs to:

   return array($type1 => array('name' => $name1, 'base' => $base1),
                $type2 => array('name' => $name2, 'base' => $base2));

  where $type is the node type, $name is the human readable name of the type
  and $base is used instead of <hook> for <hook>_load, <hook>_view, etc.

  For example, the story module's node hook looks like this:

    function story_node() {
      return array('story' => array('name' => t('story'), 'base' => 'story'));
    }

  The page module's node hook module like:

    function page_node() {
      return array('page' => array('name' => t('page'), 'base' => 'page'));
    }

  However, more complex node modules like the project module and the
  flexinode module can use the 'base' parameter to specify a different base.

  The project module implements two node types, proejcts and issues, so it
  can do:

    function project_node() {
      return array(
       array('project_project' => array('name' => t('project'), 'base' => 'project'),
       array('project_issue' => array('name' => t('issue'), 'base' => 'project_issue'));
    }

  In the flexinode module's case there can only one base ...

  This hook will simplify the CCK, and will make it easy (or easier) to merge
  the story and page module.

  In addition, node_list() became node_get_types().  In addition, we created
  the following functions: node_get_name($type) and node_get_base($type).
2005-08-28 15:29:34 +00:00
Dries Buytaert 7b8a409675 - Patch #29385 by chx: no ?> add end of files. 2005-08-25 21:14:17 +00:00
Dries Buytaert 078c99ca5d - Patch #21658 by Uwe: fixed broken link in help text. 2005-08-24 15:40:43 +00:00
Steven Wittens f99d532111 - #16440: Allow taxonomy vocabulary and term forms to be extended. 2005-07-25 04:55:37 +00:00
Dries Buytaert 103346f2f4 - Patch #26683 by matteo: added missing DISTINCT()s 2005-07-19 21:31:09 +00:00
Dries Buytaert b6cdead164 - Removed <strong>s 2005-07-19 18:08:03 +00:00
Dries Buytaert a2656ab39b - Misplaced backet 2005-07-19 17:09:55 +00:00
Dries Buytaert 1d9c0cd65f - Modified patch #20505 by Morbus: fixed scalability issues with terms, tried to create a better distinction between vocabularies and terms, fixed problem with term pager (temporary fix). 2005-07-19 17:00:26 +00:00
Dries Buytaert 87e5399a9e - Patch #19621 by Morbus/drumm: fixed bugs with taxonomy_save_xxx() functions.
TODO: update image module too?
2005-07-18 19:31:16 +00:00
Dries Buytaert 2895357de0 - Modified patch #25031 by chx: modified node_list() so one has both the module and its type.
TODO: update migration page in handbook.
2005-07-17 20:57:43 +00:00
Dries Buytaert 160a1e0ef8 - Patch #25634 by chx: simplified node_load(). 2005-07-17 18:29:32 +00:00
Dries Buytaert 58aee8cdad - Patch #25603 by Stefan: made the sizes of forms consistent.
TODO: document the defaults in the PHPdoc comments.
2005-06-27 18:33:33 +00:00
Dries Buytaert 8436082fe1 - Removing some whitespace 2005-06-06 14:07:04 +00:00
Steven Wittens a597354bcb - Code cleanup: improve format_plural usage, add some missing placeholder/check calls, and introduce API for <link> tags. 2005-05-31 21:14:27 +00:00
Steven Wittens 34421b5d39 - #20963: Make taxonomy_select_nodes() more useful to other modules, by allowing custom sorting orders. 2005-05-25 04:04:59 +00:00
Steven Wittens 58bddf8abc * cue Star Wars theme tune *
Return of the JavaScript!

- #22519: form_autocomplete(): Ajax based autocompletion. Currently used for user names and folksonomy tags.
2005-05-24 06:00:22 +00:00
Dries Buytaert 2b1664bc66 - Patch #16452 by chx: made it possible to rewrite some taxonomy queries. 2005-05-21 21:32:54 +00:00
Dries Buytaert a31b1b3876 - Patch #7684 by MrRoot/grohk: order taxonomy terms by vocabulary weight, then term weight. 2005-05-21 12:15:54 +00:00
Dries Buytaert 4bedad588c - Patch #22469 by mathias: added missing DISTINCT()s to two SQL queries. 2005-05-21 11:35:45 +00:00
Dries Buytaert 85cbb1be6e - Modified patch #22878 by Junyor: made all terms on the taxonomy overview page links to the taxonomy term list page. 2005-05-14 21:40:42 +00:00
Steven Wittens 89ae34de47 - #19621: More sensible status messages for forum admin ("created forum" instead of "created term"). 2005-05-07 01:48:06 +00:00
Dries Buytaert 1261364dd1 - Patch #21751 by crunchywhelch: added missing check_plain() when emitting the <category>-tag in RSS feeds. 2005-05-02 08:21:41 +00:00
Dries Buytaert a76a1e1f3f - Patch 20910 by chx: centralize print theme page. 2005-04-24 16:34:36 +00:00
Dries Buytaert 3bbf1d39e2 - Patch #20561 by Morbus: free tagging doesn't support taxonomy_node_form $name. 2005-04-16 11:49:27 +00:00
Dries Buytaert 1c83d51741 - Patch by Adrian: postgresql fixes 2005-04-14 19:37:11 +00:00
Dries Buytaert dea2bd2123 - Modified patch by mikeryan: make it possible to administer system vocabularies. 2005-04-12 19:18:57 +00:00
Dries Buytaert 444cf78ee5 - Patch by Morbus: added missing taxonomy_node_delete(). 2005-04-12 05:09:13 +00:00
Dries Buytaert bf9d98d664 - Patch #19697 by Morbus: FOLKSONOMY.
This patch adds folksonomy support to Drupal (named internally as "Free tagging"). In a nutshell, the core difference is the input method: unlike normal taxonomies which are administratively controlled, a "free tagging" vocabulary allows tag creation when the node is submitted. It does this through an text input box, as opposed to a dropdown or selectbox. This patch:

    * Removes the useless "Preview form" of a vocabulary.
    * Alters the vocabulary table to include a new "tags" column.
    * Adds a new "Free tagging" preference on vocabulary creation/editing.
    * Modifies the vocabulary overview to support pagers for free tagging vocabs.

The new code integrates tightly with the existing taxonomy code. The only additional processing occurs on node save and edit, where we parse through the tags associated with a node. All other display (and thus, code) remains the same.
2005-04-08 14:59:14 +00:00
Dries Buytaert 7d3d5532df - Fixed warning. 2005-04-07 20:09:36 +00:00
Steven Wittens 0f79c1e946 - Improve recursion in taxonomy_get_tree() (Morbus) 2005-04-06 04:48:39 +00:00
Dries Buytaert 9660db2c4e - Patch #19888 by jhriggs: fixed terms getting lost upon preview. 2005-04-03 09:27:01 +00:00
Dries Buytaert a3e9b35afc - Patch #19451 by JonBob: improved consistency of module descriptions. We should write guidelines for this -- maybe in the PHPDoc code of the _help hook. 2005-04-01 15:55:02 +00:00
Steven Wittens be14203534 - #18817: Clean up plain-text checking (see drupal-devel!) 2005-03-31 09:25:33 +00:00
Dries Buytaert 77a5d783f2 - Patch #19193 by CodeMonkeyX: made taxonomy_select_nodes() return node titles. 2005-03-21 20:58:56 +00:00
Steven Wittens 4fee0bdbec - #13550: Prettier RSS discovery URLs for taxonomy pages. 2005-03-18 08:25:07 +00:00
Dries Buytaert 032544cf08 - Patch #18861 by nkurz: fixed logic error in taxonomy_node_save().
(Not sure how/when it triggered.)
2005-03-15 21:18:19 +00:00
Dries Buytaert 1c4419c439 - Patch #18696 by Morbus: one '(' too much in taxonomy_term_count_nodes(). 2005-03-13 21:20:51 +00:00
Steven Wittens d16e18f9bb - Incorrectly filled in %name 2005-03-03 21:07:37 +00:00
Steven Wittens 198ec98f75 #18329: Unify confirmation messages (and make them themable) 2005-03-03 20:51:27 +00:00
Dries Buytaert 96211c616e - Patch #17955 by Neil: there was a subtle difference between form_select() and whatever taxonomy was doing. 2005-03-03 20:38:18 +00:00
Dries Buytaert 03374fc0f6 - Patch #17897 by Neil: changed the order of the joins so that a vocabulary which is not associated with any node types doesn't disappear. Also removed a centered column that shouldn't be hard coded and, IMO, looked rather weird. 2005-03-03 19:18:19 +00:00
Dries Buytaert cc78d6c8cf - Fixed PHP warnings. 2005-03-01 21:13:46 +00:00
Dries Buytaert c77153f19a - Removed dumb taxonomy block (based on DrupalCon feedback). 2005-03-01 20:43:59 +00:00
Dries Buytaert 39adda1687 - Patch #17747 by Adrian: more PostgreSQL fixes. Committed part of the patch:
1. Removed a duplicate line from the changes to update.inc.
   2. Excluded the session.inc changes: they did not make sense to me.
   3. Excluded the search related changes in the node and search module. According to Steven these are not correct.
2005-02-27 15:40:35 +00:00
Dries Buytaert 1e15bed312 - Patch #17687 by Gerhard: removed some cruft. 2005-02-21 19:47:44 +00:00
Steven Wittens d56cf2b59c #10296: Clean up admin - content:
- Mass-delete functionality (with confirmation)
- Flexible filtering for the overview table based on status, type and taxonomy.
- Missing drupal_goto's
- Clean up watchdog messages
- Remove some dead code
2005-02-02 00:55:59 +00:00
Dries Buytaert fbec279e4c - Patch #16246 by Moshe: added mechanism to direct the user back to the referring page after completing a form.
(Moshe: the patch against node.module failed to apply.)
2005-02-01 19:45:58 +00:00
Dries Buytaert 7931c778d7 - Patch #16513 by James (slightly modified): export categories and enclosures to RSS feeds (and made RSS feeds extensible).
NOTE: this needs to be documented.
2005-02-01 14:09:31 +00:00
Dries Buytaert 993ea0c6c5 - Patch #16111 by chx: generalized node_rewrite_query to db_rewrite_query. 2005-01-29 22:02:37 +00:00
Dries Buytaert 92320b2b21 - Patch #10425 by ccourtne and walkah: added admin screens to maintain forums instead of forcing the user to add a taxonomy. 2005-01-28 15:47:03 +00:00
Dries Buytaert e941b2060c - Consistency: 'deleted' -> 'Deleted'. 2005-01-27 22:47:08 +00:00
Dries Buytaert 7bdca92aad - Patch #6847 by Gerhard: replaced vocabulary->nodes by a separate table and tidied up the taxonomy API a bit. This fixes a number of issues. 2005-01-19 16:22:52 +00:00
Steven Wittens 09bd156ba2 - Fix tracker pager count query being wrong (it did not return a count but a set, and it counted nodes with more than 1 comment as multiple nodes).
- Clean up various SQL queries: removing literally inserted data (db_escape_string is evil!), fixing single "%" which should be "%%", fixing integers being compared as strings.
2005-01-19 01:46:25 +00:00
Steven Wittens e7edb55d63 - The real code fixes ;) 2005-01-17 19:00:03 +00:00
Steven Wittens a1579a3aee - Reversing bad commit, sorry everyone. 2005-01-17 18:56:11 +00:00
Steven Wittens b45bd13d44 - Various code style fixes 2005-01-17 00:41:35 +00:00
Dries Buytaert 971a0e24aa - Patch #14731 by chx: made it possible to rewrite node queries. 2005-01-16 18:44:49 +00:00
Dries Buytaert 5049c3e1e4 - Reorganized the code a bit 2004-12-28 22:42:47 +00:00
Steven Wittens 57e402e0d0 #10949: Incorrect output with invalid term id 2004-12-24 06:48:57 +00:00
Dries Buytaert 2b17b3a966 - Patch #13907 by Neil: less ways to set the page title.
* 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.
2004-12-15 21:19:42 +00:00
Dries Buytaert e7ce1e3ccb - Patch #11977 by matteo: added extra DISTINCT()s to two SQL queries to make them work with node-level permissions. 2004-11-29 12:52:44 +00:00
Dries Buytaert 8b2f6699e4 - Patch #10693 by Ax: fixed broken (external) link in the taxonomy module's help. 2004-11-27 09:30:32 +00:00
Dries Buytaert 9574766ad8 - Patch by Stefan: wrapped the help texts in <p></p> tags. Helps improve consistency. 2004-11-23 22:20:41 +00:00
Dries Buytaert fa97839088 - Patch 13180 by chx: renamed check_query() to db_escape_string() and 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."
2004-11-21 08:25:17 +00:00
Dries Buytaert 9979aceab0 - Patch #12783 by Stefan: various small consistency/usability improvements. 2004-11-15 11:16:39 +00:00
Dries Buytaert 52d9dd1b01 - Patch #11977 by matteo: taxonomy_term_count() did not take node-level permissions into account and could return an incorrect number. 2004-11-15 10:00:50 +00:00
Dries Buytaert b3adcf05a3 - Patch #11875 by Neil Drumm: block module configuration improvements.
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.
2004-10-31 07:34:47 +00:00
Steven Wittens 11b0b805fa #12186: Add xml icon to taxonomy listings. 2004-10-28 23:46:10 +00:00
Dries Buytaert 1362571d09 - Patch #11510 by Adrian: turned a non-ANSI SQL query into ANSI SQL so it works with PostgreSQL. 2004-10-18 17:46:19 +00:00
Dries Buytaert dfb3c3aec4 - Patch #11577 by drumm: changed t('ago') -> t('%time ago', ...) to make it
translatable in languages such as Spanish.
2004-10-15 05:10:35 +00:00
Steven Wittens 9e4399aae8 #10677: Confirmation when deleting a block + unifying confirmation screens. 2004-10-14 15:28:24 +00:00
Dries Buytaert 551782a5b2 - Modified patch #10424 by Jeremy: deleting terms can orphan child terms in the database.
I rewrote this patch for simplicity.
2004-10-13 18:38:33 +00:00
Dries Buytaert 57def735f4 - Patch #11166 by drumm: removed redundant help page from the taxonomy module. 2004-10-04 18:32:05 +00:00
Dries Buytaert 327a256a2e - Removed the title attribute from the taxonomy links. Temporary fix for #7468. 2004-09-30 19:12:44 +00:00
Steven Wittens 0ca171f2a9 - Adding menu callbacks to taxonomy admin. Before this patch, some admin pages only showed tabs and the wrong title. 2004-09-19 12:47:00 +00:00
Dries Buytaert 4e3a3aaed0 - Bugfix: using non numeric terms in taxonomy-page URLs would result in SQL errors. 2004-09-19 08:41:50 +00:00
Dries Buytaert 5c7983c4de - Patch #8179 by JonBob: reintroduced menu caching. 2004-09-16 07:17:56 +00:00
Steven Wittens 5595bc79c6 #10279: Adding a note to taxonomy_render_nodes when there are no nodes to show, rather than showing an empty page. 2004-09-14 22:55:40 +00:00
Kjartan Mannes c054ce2c3f - Fixing taxonomy descriptions in node_view links. 2004-09-11 13:19:03 +00:00
Dries Buytaert 7b716e8e77 - Patch #10622 by Adrian: fixes various PostgreSQL related problems.
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).
2004-09-08 15:38:26 +00:00
Steven Wittens 738dd5f353 #9292: Minor PHP5 fix. 2004-09-03 01:48:06 +00:00
Dries Buytaert 94e30bf776 - Patch by JonBob: for consistency and readability, add brief descriptions 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. 2004-08-21 06:42:38 +00:00
Dries Buytaert fa25c7a0ca - Code improvements by Stefan: use capital letters for header titles (and added some missing t() functions). 2004-08-19 15:41:57 +00:00
Dries Buytaert 83a739bd89 - Code improvements by Stefan: made all status messages consistent (and easier to translate). 2004-08-18 19:57:27 +00:00
Dries Buytaert 2f33b939c5 - Patch #9983 by Stefan: usability improvement: made sure all status messages start with a capital letter. 2004-08-16 18:02:48 +00:00
Dries Buytaert a36304af0d - Patch #8176 by JonBob: fixed braino in SQL query. 2004-08-12 22:16:01 +00:00