Parent Directory
|
Revision Log
|
Revision Graph
| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Tag: |
#523406 follow-up by eigentor and yoroy: Even more cleanup to forum descriptions.
- Patch #613278 by Dave Reid, mfb: fixed forum module and added tests.
#622534 by yched: Cleanup hook_field_attach_*() and hook_field_storage_*() space.
#553326 by sun: Provide consistency to the way field UI is presented for taxonomy.
Roll-back of #595084; type-hinting parameters at stdClass makes it so you can't ever pass in another type of class.
- Patch #595084 by c960657: use type hinting for .
#320331 by Dave Reid, dww, John Morahan, cwgordon7, moshe weitzman, c960657, and smoothify: Turn custom_url_rewrite_inbound() and custom_url_rewrite_outbound() into hooks.
#600974 by effulgentsia, JohnAlbin, sun, and Damien Tournoud: Allow theme functions to take one argument without any hacks. NOTE: This is an API change in hook_theme().
#493030 follow-up by sun: Clean-ups to RDF module.
- Patch #493030 by scor, Stefan Freudenberg, pwolanin, fago, Benjamin Melançon, kriskras, dmitrig01, sun: added RDFa support to Drupal core. Oh my, oh my.
- Patch #470242 by yched, bjaspan: fixed namespacing for bundle names to avoid users rendering their site unusable.
- Patch #412730 by Crell, jbomb, JohnAlbin: theme system should report when a theme key is not found.
#557292 by peximo, plach, catch, and yched: Convert node title to Field API.
- Patch #572618 by effulgentsia, pwolanin, sun: all theme functions should take a single argument. Code clean-up and performance improvement. Woot.
#412518 by catch, bangpound, and yched: Convert taxonomy_node_* to field API (with upgrade path). Say buh-bye to old, crusty code.
#564394 by Berdir and Crell: Removed database BC layer. nah nah nah nah... hey hey hey... gooood byeeee...
- Patch #554164 by mfb: fixed bug with forum topic counts and added tests.
- Patch #570930 by sun: allow to retrieve all filters (including disabled) in a text format.
- Patch #495968 by Frando, moshe weitzman: added drupal_render() cache pattern. Start using it for blocks.
- Patch #560746 by dropcube: rename hook_block_list() to hook_block_info() for consistency in the API.
#497118 by chx, catch, pwolanin, JoshuaRogers, and Jacob Singh: Remove the function registry. While the hope was that this would result in improved performance for low-end hosts, it comes at the expense of critical development experience problems and less benefit than something like APC. Class registry remains intact to facilitate autoloading.
Of all the patches to accidentally commit without a message. :( Rolling back registry rip. Let's try that again.
*** empty log message ***
#542658 follow-up by sun: Move action 'tabs' out of local tasks and into local actions.
- Patch #556136 by catch, dereine: remove theme_forum_topic_navigation().
- Patch #554164 by catch: join on {forum} instead of {term_node} for forum queries.
- Patch #537862 by Crell, Amitaibu, salvis: simplify and make more flexible the node access by converting hook_access() to hook_node_access().
- Patch #489880 by nbz, Bojhan, Gurpartap Singh: merge 'Created' column with 'Topics'.
- Patch #521474 by bangpound, JuliaKM et al: rename admin/site-building to admin/structure.
- Patch #523406 by Bohjan: clean up forum administration description.
- Patch #516416 by lyricnz: fix broken links to taxonomy administration pages.
- Patch #506976 by catch: rename hook_perm to hook_permission.
Drupal 5.19
- Patch #409750 by yched et al: overhaul and extend node build modes.
- Patch #394116 by Berdir, jcfiala: converted forum module to new database abstraction layer.
- Patch #372743 by bjaspan, yched, KarenS, catch et al: node body and teasers as fields. Oh, my.
- Patch #480418 by JamesAn: introduces drupal_static().
#220233 by Berdir, marcingy, et al: Add useful API functions for extracting node type data.
#479216 by jhedstrom: fix grammar in forum module messages
#479216 by jhedstrom: Grammar fixes in forum.module.
#474570 by Shawn DeArmond: Make forum a normal menu item, rather than suggested.
- Patch #472642 by stella, agentrickard: remove 'implementation of' nominalizations from Docblocks.
- Patch #393402 by stella, Xane: renamed 'create content' link to 'add new content'. Minor usability improvement.
- Patch #472658 by agentrickard: clean up of inline code comments.
- Patch #457532 by Berdir: more PHP5 'fixes'.
#197864 by vito_swat, alpritt, Murz, catch: Use hook_term_path() in forum module instead of hook_link_alter(); simplfies code, improves performance and compatibility.
- Patch #330748 by stBorchert: remove from theme_pager*.
- Patch #299176 by Dave Reid: fixed broken query in forum block.
#197864 by vito_swat, alpritt, Murz, catch: Use hook_term_path() in forum module instead of hook_link_alter(); simplfies code, improves performance and compatibility.
- Patch #394374 by cwgordon7, wretched sinner, et al: improved language of comment status. Usability improvement based on testing in Baltimore.
#383066 by David Strauss: Rename hook_nodeapi_X to hook_node_X.
Roll-back of users -> user table name change in #330983: Broken pgsql is no fun.
#330983 by recidive and boombatower: Rename users/users_roles tables to user/user_role for consistency.
- Patch #225562 by Jody Lynn et al: clean up of the taxonomy module SQL table namespace.
- Rollback of #225562 -- I think there is still something wrong.
- Patch #225562 by Jody Lynn: change DB table names from eg. term_data to taxonomy_term_data.
- Patch #350984 by Moshe: kick comment rendering out of node module.
- Patch #299176 by Moshe et al: replace db_rewrite_sql() with hook_query_alter().
- Patch #352054 by catch: convert calls to db_placeholders() in static queries.
- Patch #349504 by keith.smith: clean up sentence spacing in code comments.
- Patch #323528 by jhedstrom: fixed alias usage in queries for PostgreSQL.
- Patch #345866 by alexanderpas, justinrandell, Dave Reid: remove from hook_block().
- Patch #218730 by swentel: removed unused function from forum.module.
- Patch #319356 by recidive: clean up hook_nodeapi_ fucntion signatures and documentation because of previous node API clean-ups.
- Patch #324313 by catch et al: load multiple nodes and terms at once.
- Patch #299778 by hswong3i, Arancaytar, Dave Reid et al: code clean-up.
- Patch #306224 by catch et al: improving the taxonomy hook system.
- Patch #324118 by winterheart: fixed invalid XHTML being generated for forum topic listings.
- Patch #324118 by winterheart: fixed invalid XHTML being generated for forum topic listings.
Re-commit of #242873 by pwolanin and bjaspan: Make drupal_set_title() check_plain() by default.
Roll-back of #242873: This caused horrendous problems with SimpleTest on some configurations.
#242873 by pwolanin and bjaspan: Make drupal_set_title() do check_plain() by default.
#313213 by maartenvg, GĂ¡bor Hojtsy: Add a 'title' attribute for permissions to allow for localization of permission names
#206138 by pwolanin: Rename mis-named 'module' attribute in node types.
- Patch #310212 by justinrandell: killed in _node hook, as well as twelve sable tooth tigers.
- Patch #305740 by catch, Benjamin Melançon: added an edit tab to taxonomy term pages.
- Patch #305645 by pwolanin: ['REQUEST_TIME'] -> REQUEST_TIME. Improved developer experience.
- Patch #302763 by Dave Reid, Rob Loach: replace time() by ['REQUEST_TIME'] as per Rasmus' suggestion. Removed drupal_referrer() for consistency.
- Patch #197864 by vito_swat, alpritt, Gurpartap Singh et al: forum module uses hook_link_alter instead of taxonomy_term_path hook.
- Patch #237204 by keith.smith, birdmax35, gurpartap singh, et al: improved the forum module description.
- Patch #245329 by christefano and dmitrig01: code comment love.
- Patch #252013 by Eaton, pwolanin, Susurrus et al: drupal_render() now printes #markup, not #value.
- Patch #260050 by Gurpartap Singh: move forum administration to site building.
- Patch #221964 by chx, dopry, webernet, moshe, webchick, justinrandall, flobruit et al. Can you say 'registry'? Drupal now maintains an internal registry of all functions or classes in the system, allowing it to lazy-load code files as needed (reducing the amount of code that must be parsed on each request). The list of included files is cached per menu callback for subsequent loading by the menu router. This way, a given page request will have all the code it needs but little else, minimizing time spent parsing unneeded code.
#153998 follow up by salvis: we should return NULL if access cannot be granted based on permissions so the node level permission system can take it forward
- Patch #249546 by pwolanin: rip menu access inheritance -- was already committed to D6.
- Patch #245115 by kkaefer, John Morahan, JohnAlbin et al: after a long discussion we've decided to make the concatenation operator consistent with the other operators.
- Patch #216072 by recidive, David Rothstein, ptalindstrom et al: switched from numeric block IDs to string IDs.
The short explanation is that Drupal uses a lot of numeric deltas in the block system; blocks are identified by the 'module' and the 'delta'. In early Drupal, delta was numeric, but somewhere along the line it was changed to be possibly a string. In modern Drupal, block overrides are easily done via block-MODULE-DELTA.tpl.php. The primary motivation to switch to string IDs everywhere is to make these deltas friendlier to themers:
block-user-0.tpl.php --> block-user-navigation.tpl.php
block-user-1.tpl.php --> block-user-login.tpl.php
You get the picture.
Drupal 6.2
#176273 by Bart Jansens. Fix argument order.
- Patch #30984 by webchick, keith.smith, kkaefer, Crell et al: provide descriptions for permissions on the permission administration page.
- Patch #221192 by damz: wrong new comment link in forum listings.
#221192 by damz: include node type in forum_get_topics() query so comment links are properly generated
- Patch #218313 by jvandyk: made sure that MySQL keywords are uppercase.
#218313 by jvandyk: uppercase forum topic sort ordering (minor)
- Patch #210131 by dvessel, catch, John, et al: updated jQuery library.
#208858 by theborg, gdevlugt: fix forum node and comment counting, taking term revisioning into account
#214058 by catch, Arancaytar: forum form alter was mistakenly dropping the parent field in all taxonomy forms
- Patch #209034 by theborg: fixed small code style error that generates warnings.
#207779 report by meba, patch by myself: missing plural formatting in forum module, and a counter display fix as well
#153998 by David_Rothstein and myself: clean up permissions in book, blog, blogapi, forum and locale modules
#207569 by ScoutBaker (minor code style): clean up @see usage in phpdoc blocks
#206670 by keith.smith and myself: node type names have their underscores converted to hyphens in node/add links
#205138 by pwolanin: require node types in forums vocab, fix help text parameter name (outside t())
#203582 by David_Rothstein: some core hook_access() implementations are not using the passed in account
#202967 by catch: kill notice on forum page
#186546 by bjaspan: fix missing forum vocabulary when people turned on forum module, but never visited any pages in Drupal 5 and they upgrade to Drupal 6 which does this much better
#202559 by Pasqualle: just removing some trailing white space from end of lines
#169987 by Pancho, catch: the missing forum edit permission for consistency
#99947 by neclimdul, Sutharsan, keith.smith: forum module help text and form description update, removing reference to other forum software as well
- Patch #195496 by bjaspan and hunmonk: no 'char' data type in Schema API (and removed spaces).
#200069 by keith.smith: new standard for 'more information' links in module help texts, as the handbook we referred to before was renamed
#197297 by DanW (as GHOP 17), and keith.smith: clean up lots of help texts, update to drag and drop functionality, drupal.module removal, etc
#176282 by Desbeers: forum taxonomy was required for non-forum node types, when enabled for forum inclusion
#198579 by webernet and hswong3i: a huge set of coding style fixes, including: - whitespaces at end of lines - indentation - control structure usage - whitespace in empty lines - phpdoc comment formatting
#193333 by quicksketch et al: taxonomy drag and drop support
#192242 follow up by catch: unset multiple parent form item on forum term pages
#194075 by neclimdul: nodeapi load should return an array by documentation, and forum's nodeapi load returns an object
- Patch #192242 by catch, quicksketch, webchick, keith et all: usability improvements for the vocabulary/term forms.
- Patch #89196 by catch, keith, earnie, webchick et al: string massaging.
#177497 by chx and Desbeers: revive Drupal 5's menu_set_location() functionality by introducing menu_set_item() (for consistency in function naming), thus fixing a regression in the current development code. Also fixing some misuse of menu_set_location() by using drupal_set_breadcrumb() instead.
#147492 by flobruit: make 'more' links themeable
#72487 by chx, pwolanin and moshe weitzman: let node_access() work on arbitrary users, so independent user access checks can be done in a request
#175979 by Desbeers: forum module does not need to call node_prepare anymore, because it is already done
- Patch #180432 by hunmonk, sun, et al: make comment settings per node type. This is a new feature that slipped in because it is required for the project module on drupal.org.
#174343 by Shiny: move JOIN condition to ON clause in forum_nodeapi, so our SQL is standards compatible
- Patch #172643 by chx and fresco: fixed the leave shadow copy functionality.
#6162 by various people: actually point new anchors to the page the first new comment is displayed (in a multipage comment view)
#53905 by fax8, Gurpartap Singh and dvessel: give meaningful names to term variables in forum templates and add unique IDs for easier themeing
#161107 by fwalch and bragon: actually implement the missing forum_term_load to work behind the %forum_term menu item resolving calls
- Patch #168028 by dvessler, merlinofchaos, pwolanin et al: both theme functions and templates may need include files. Flush your caches.
- Patch #163191 by hswong3i: removed db_num_rows() for compatibility with Oracle and DB2. Also a performance improvement.
#163092 by Wesley Tanaka. Add forum css only to pages which need it.
- Patch #158536 by dvessel: more forum template massaging.
- Patch #158536 by dvessel: some more gentle massaging of template files. Trying to make it easier to discover the different template files.
- Patch #161350 by Crell: slicing and dicing the forum.module.
- Patch #158536 by merlinofchaos and dvessel: tpl-ified the forum module.
#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?')
- Patch #20295 by pyromanfo, webchick, Gurpartap Singh et al: allow forum topics to be custom node types.
- 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.
#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
#153781: Convert all remaining confirm_forms() to deletion api.
#147723: Deletion API (by hunmonk). Woop woop.
- Patch #146667 by Jeff Eaton: form API fixes.
- Patch #146667 by Eaton: correct builder argument ordering, eliminate redundant arguments
- Patch #147034 by webchick: removed redundant dependency checking.
- Patch #144295 by Gurpartap Singh: forum module fixes.
- Patch #147034 by webchick: removed redundant dependency checking.
- Patch #146470 by Eaton et al: standardize form API3 hook parameter order.
- Patch #141665 by ChrisKennedy: E_ALL fixes. Backport from HEAD
- Patch #138706 by eaton, chx, webchick, yched et al: form api 3 ... yay. :)
- Patch #141665 by ChrisKennedy: E_ALL fixes.
- Patch #128082 by Goba et al: Allow localization of built-in menu items.
- Patch #76588 by Gabor: made log messages translatable. Yay.
- Patch #134493 by douggreen: getting the Drupal coding standards right in core. Woot. Woot.
- Patch #107061 by Steven et al: add jQuery teaser splitter.
- Patch #130987 by merlinofchaos: added theme registry for easier themability.
- Patch #128866 by Gabor et al: new language subsystem fixes.
#130971: Kitchen sink (E_NOTICE compliance / Code style / Bugfix in book toc)
- Patch #110888 by Eaton: unify hook _alter()
- Patch #128081 by Eaton: remove #base, paving the path for a simpler form API.
- Patch #122824 by PMunn: fixed SQL query to be compatible with PostgreSQL.
- Patch #122824 by PMunn: fixed SQL query to be compatible with PostgreSQL.
- Patch #111347 by Steven: refactor url() and l().
- Patch #115667 by rotzi: added versioning support to node terms.
- Patch #113603 by chx: first crack at re-implementing tabs.
#113286 by maynich. Added missing t().
- Patch #113286 by maynich: added missing t() function.
- Patch #113603 by chx: first crack at re-implementing tabs.
- Patch #40575 by Wesley: made it easier to theme the forum overview page.
- Patch #112715 by chx, webchick, asimmonds, et al: fixing E_ALL notices. Thanks.
- Rollback of E_ALL patch. Too much extra breakage.
- Patch #112563 by webchick: prevent double-escaping.
- Patch #112563 by webchick: prevent double-escaping.
- Patch #34755 by chx et al: faster menu system. HEAD is temporary broken and there is no upgrade path yet.
- Always check the username.
#107015: Code consistency, capitalization of class names.
#19891 by edkwh. Make forum and container names links in forum administration.
- Patch #104882 by dww: fixing forum topic teasers.
- Patch #102413 by yched: path node/add/[poll|forum|blog] defined twice.
Fixing commit of #100563 (thanks webernet)
#100563: Conditional loading of (some) module.css files
- Patch #99948 by neclimdul: added some help text.
#97824 by Gurpartap. Move enclosing elements outside of their t().
#83190 by webchick. Remove misleading links.
- Patch #92992 by webchick and neclimdul: clean up documentation that is superseded by the new 'by module' administration dashboard.
#72467 by m3avrck. Better display for long book page and forum topic titles.
#84146: Use 'Sentence capitalization' for menu items, page titles, form items, etc
#47692 by Wesley Tanaka. Clean up some PHP notices.
#84076 by edkwh. Interim fix for being able to delete forums and forum containers.
#40751 by chx. Redirect back to the forum when logging in from there.
- Patch #76742 by beginner, eaton et al: fixed problem with editing container description of forums.
- Rollback of patch #68418: clean up node submit hooks. Needs more thinkering. Restores the old node API.
- Patch #80952 by earl, webchick, neclimdul et al: .info files
- Patch #68418 by Moshe et al: clean up node submit hooks.
#80574 Eaton and chx. Replace $_POST['edit'] with $_POST.
#70660 by pwolanin. Forum last post time was considering non-forum items.
#56093 by webchick. Fix forums.
- Patch #66569 by m3avrck: Consolidate the drupal_add_link() calls.
#66569 by m3avrck. Put all the feed icons in the same place.
#79601: module_exist() -> module_exists()
- Patch #77919 by chx, eaton, moshe, et al: enable programmaticaly submitted forms via the pull model.
#76802: Introduce placeholder magic into t() See: http://drupal.org/node/64279#t-placeholders
#77183 by m3avrck and timcn, split up drupal.css by module.
- Patch #74326 by Eaton, Royboy, chx, et al: building $node->body with arrays like FAPI for viewing. Once again, we're paving the path for CCK in core ... :)
- Patch #77422 by timcn: corrected various paths in the documentation.
#62340 by chx, webchick, Jaza, Eaton, mathieu, and myself. Configurable node types.
#76339 by pwolanin, allow non-forum category changes while leaving a shadow copy
#73884 by RobRoy, various code cleanup.
#76742 by paranojik, fix a bug preventing editing of forums
- Patch #72079 by Earl et al: give Drupal an overall administration page ... :-)
- Patch #61893 by timnc: remove message_na().
#49299 by wtanaka, properly break words
- Patch #72284 by me: + reorganized ?q=admin/settings + deprecated the _settings hook
- Patch #72204 by nedjo: upper-cased all TRUE/FALSE/NULL constants.
#71925 by Steven, remove # prefix from link array keys.
#65024 by killes, remove an extra condition., backport from HEAD
#65024 by killes, remove an extra condition.
- Patch #67146 by webchick: make sure that the forum vocabulary shows up first.
- Patch #18260 by Morbus: fixed taxonomy links.
- Patch #18260 by Ber, m3averck et al: allow overriding of links returned by modules
Patch #62350 by hunmonk: fixed problem with deleting forum containers., byckport from HEAD
- Patch #62350 by hunmonk: fixed problem with deleting forum containers.
#61802 by Zen, Double spaced sentences clean up
#5371, drupal_get_destination, pager and tablesort array handling, patch by Steven
- #55898: Generic, permissive admin XSS/HTML filtering for mission/footer/... - Clean up some raw output
#40664, adding new forum topic, forum not pre-selected in pull down menu., fix by Jonas Kvarnstrom, patch by drumm
- #57523: Make taxonomy delete vocabulary consistent with other taxonomy hook ops
- Make forum_hot_topic scale a bit more logical
#28625, Forum vocabulary does not handle standard vocabulary features correctly, removed these features by means of formapi, patch by profix898, with some love by dopry and chx
#56105, remove title validation, already enforced by #required, patch by Moshe
#55805, missing {}, patch by Cvbge
#54098, forum "last post" column show oldest, not most recent, patch by Zen.
#54910, Forum and taxonomy term delete work only superficially, patch by Zen
#51635, Moving forum post leaving shadow copy results in warning, patch by Zen/webchick
- Patch #51850 by chx, webchick et al: fixed various problems with db_rewrite_sql, made db_rewrite_sql slightly more robust.
- Patch #52850 by Zen: fapi conversion + minor fixes
* converts forum_admin to fapi.
* handles invalid terms in hook_menu
* adds comments, fixes typos etc.
* reorganises functions a little bit - moves hook_menu to the top.. groups hooks together and forms together
- Removing whitespace
#51613, forum.module forms ignore proper form submission path, patch by merlinofchaos
- Patch #45850: it was impossible to create shadow topic. (Today's critical bugfix #2.)
- Patch #49912: www.drupal.org -> drupal.org. (Today's critical bugfix #5.)
- Patch #46743 by Morbus: fixed double encoding issue.
- Patch #46743 by m3avrck: clean up forum topic navigation. Bring it in line with book.module.
- Patch #47691 by Cvbge: quickfix postgresql
- Patch #47691 by wtanaka: performance improvement for _forum_topics_read.
- Patch #47868 by wtanaka: performance improvement: active topics block selects an unused column.
- Patch #46864 by stmind: fixed problem with node-level permissions and forums.
- Patch #45530 by Morbus: filter_form shouldn't default to #weight 0
When a form element doesn't specify a #weight, it is assumed internally as #weight 0. However, to ensure that our form elements display visually *as they were defined in the array* we, in form_builder, count the number of elements, divide by 1000, and set that as the weight:
# Assign a decimal placeholder weight to preserve original array order
if (!isset($form[$key]['#weight'])) {
$form[$key]['#weight'] = $count/1000;
}
The above code will set the #weights of elements that have not defined a weight to something like 0 (first element in array definition), 0.001, 0.002, and so on. However, anytime a form element *explicitly* defines a #weight of 0, that #weight is kept at exactly 0, which would cause that form element to appear BEFORE the elements that didn't have a #weight defined (and thus received a #weight such as 0.002).
Consider the following pseudo example:
$form['game_title'] = array(
'#type' => 'textfield',
...
);
$form['game_description'] = array(
'#type' => 'textarea',
...
);
$form['game_format'] = filter_form(variable_get('game_format', NULL));
return $form;
Here, we're not definiing weights on our two textfields. We then add an filter_form. The second parameter of the filter_form is $weight, which defaults to 0. After this $form hits form_builder, we have weights 0 (game_title), 0.001 (game_description), and 0 (filter_form) respectively. This is then sorted by weight, which causes filter_form (the third element in the array) to appear BEFORE game_description (0 is lighter than 0.001).
The short lesson is: explicitly defining #weight 0 for a form element is probably a bad idea. This patch changes the default #weight of filter_form to NULL, instead of 0, and also removes any other explicit setting of #weight to 0 in core.
- Patch #45281 by chx: made categories with forum topics work again.
- Patch #45349 by Morbus Iff: input filters aren't sorting correctly infForms API.
- Patch #45301 by Morbus: corrected the weight of form item titles of nodes.
- Patch #33747 by Ber and Moshe: bugfix + code improvement: clean up some of the taxonomy loading code.
- Removed global .
- Patch 42591 by Simon/me: fixed problem with deleting forum and book revisions.
- Patch #42705 by Cvbge: added missing format_plural().
- Patch 41169 by Chris: got rid of expensvie object 2 array casts.
- #42234: Use standardized feed icon for RSS
- Patch #42343 by wulff: added 2 missing t() functions.
- Modified patch #40534: improved themability of forum icons (makes it possible to use animated gifs) + removed forum setting.
- Patch #40664 by Gerhard: assign default forum when adding a forum topic from within a forum.
- Patch #39598 by Gerhard: fixed problem with taxonomy terms not being selected.
- Patch #31323 by Gerhard: delete extra data when a revision is deleted.
- Patch #39778 by chx: obliterate nodeapi op form in favor of the forms API's way of doing things. Tested with help from webchick.
- Patch #38849 by wtanaka: forum icon does not display as locked (aka closed) if comments are "disabled" instead of "read only".
- Patch #39667 by killes: fixed typo in function call: _forum_get_vid -> _forum_get_vid().
- Patch #39576 by chx: rename '_execute' to '_submit' and '#execute' to '#submit'.
- Patch #38854 by wtanaka: fixed XHTML validation problem.
- Patch #35644 by webchick: fixed the sizes of the textareas on the node edit forms.
- Patch #35644 by webchick: forms API simplificiations.
#36791: node_validate was called twice
- Patch #36250 by hunmonk: admin batch delete broken, node_delete needs reworked. This commit changes the node_delete() API. A list of affected modules is available at http://drupal.org/node/36250#comment-52963.
- Patch #26139 by webchick / Kieran / documentation team: improved admin help of core modules! /
- Patch #35205 by stefan: removed some deprecated code from forum.module! Yay.
- Patch #35061 by Cvbge/ntosi: fixed SQL query problem on PostgreSQL 8.
- Patch #35061 by Cvbge/ntosi: fixed SQL query problem on PostgreSQL 8.
- #35505: Forum form api typo
- #26583: Make forum taxonomy links redirect to forums rather than taxonomy pages.
- Patch #33752 by chx, adrian, et al: another batch of form API changes/fixes.
- Removing tabs and trailing whitespaces.
- 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.
- Patch #32459 by beardedstoat and tostinni: always add a secondary sort order so the newest comments are on top.
- Fixed spaces
- Patch #28786 by Neil: move pagers out of table.
- Patch #10056: allow the node title forms to be customized.
- Patch #29102 by menesis: fixed typo/left-over in switch-statement.
- Patch #28320 by Neil: improved the HTML/CSS of the user login block.
- Usablity improvement: check whether the comment module is enabled. If not, show an error message.
- Patch #7582 by Gerhard: improved node revisions! All node revisions were stored in a serialized field in the node table and retrieved for _each_ page view although they are rarely needed. We created a separate revisions table which would be in principle identical to the node table, only that it could have several old copies of the same node. This also allows us to revision-related information, and to provide log entries to non-book pages when a new revision is being created. TODO: 1. Provide upgrade instructions for node module maintainers! 2. Upgrade modules that implement node types. 3. Provide an upgarde path for revisions. Dependency on the upgrade system.
- Renamed _node() to _node_info()! We reserve _node for _nodeapi.
- Patch #29102 by chx: fixed bug in forum module and tidied up the taxonomy_save_*() functions.
- 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).
- Patch #29385 by chx: no ?> add end of files.
- Patch #29133 by DriesK: forum vid remains when vocabulary is deleted. Prevents forum topics from getting lost.
- Patch #29133 by DriesK: forum vid remains when vocabulary is deleted. Prevents forum topics from getting lost.
- Patch #27737 by Gerhard: format_name($object) -> theme('username', $object).
Usernames can now be themed; eg. an icon/avatar could be added.
TODO: update contributed modules + update the migration docs.
- Patch #19621 by Morbus/drumm: fixed bugs with taxonomy_save_xxx() functions. TODO: update image module too?
- Patch #25603 by Stefan: made the sizes of forms consistent. TODO: document the defaults in the PHPdoc comments.
- Patch #21918 by budda/Robin: forum icons are broken when you change the forum icon path. TODO 1: the forum icons should probably be configurable on a per-site or per-theme basis. TODO 2: I spent 5 minutes looking for this setting.
- Patch #21918 by budda/Robin: forum icons are broken when you change the forum icon path. TODO 1: the forum icons should probably be configurable on a per-site or per-theme basis. TODO 2: I spent 5 minutes looking for this setting.
- Remove inappropriate check_plain()
- Code cleanup: improve format_plural usage, add some missing placeholder/check calls, and introduce API for <link> tags.
- Code cleanup: improve format_plural usage, add some missing placeholder/check calls, and introduce API for <link> tags.
- #19434: Improved forum admin texts.