Parent Directory
|
Revision Log
|
Revision Graph
| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Tag: |
#632898 follow-up by batigolix and arianek: Minor tweaks to Block module documentation for consistency.
#632898 by arianek and lisarex: Help File Fixup: Block module.
- Patch #619902 by sun: performance improvement: dashboard, region and block building had unnecessary function calls.
- Patch #606640 by eojthebrave, sun, catch: don't use menu loaders because menu loaders are executed on every menu system access check. Performance improvement.
#606526 by axyjo and scor: Remove trailing whitespace and add newlines at end of files. Sorry, folks! But it is after code freeze. :)
- Patch #607244 by sun: added permission to decrease performance impact of contextual links.
#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().
- Patch #408104 by asimmonds: removed some death menu code.
#473268 by David_Rothstein, sun, yoroy, Gábor Hojtsy, cwgordon7, et al.: Allow contextual editing of dang near everything on the page. Also adds a context system to menu local tasks.
#606640 by eojthebrave and sun: Use proper menu router paths for the block module.
- Patch #593746 by #593746 by sun, andypost: prepare Drupal core for dynamic data translation.
- Patch #581118 by Gábor Hojtsy: blocks admin user interface should not do theme switching.
- Patch #544360 by Gábor Hojtsy, ksenzee, David_Rothstein, seutje, JacobSingh, paul.lovvik, EclipseGc et al: Dashboard module 1.0. Wo-hoot!
- Patch #590092 by baldwinlouie: who's online block should never report anonymous users.
#569238 by sun, swentel, catch: Changed Make check_markup() not cache by default.
#118345 by sun: Make user.module conform to standard presave/insert/update/form_alter hook paradigm.
#473082 by sun, Amitaibu, dropcube, and Pasqualle: Added a custom menu API.
#554992 by Davy Van Den Bremt, jhodgdon: code documentation for block_box_get() and block_box_save()
#464862 follow-up by kkaefer: Rename drupal_css_class() to drupal_html_class_X(), for better accuracy.
- Patch #554992 by Davy Van Den Bremt, jhodgdon | Dries: added documentation.
- Patch #464862 by JohnAlbin, sun, dereine | dvessel, Jacine, Zarabadoo: added drupal_css_class() to clean class names and rename form_clean_id().
- Patch #553944 by David_Rothstein, ksenzee | JacobSingh, sun, jhodgdon, pwolanin: allow modules to specify per-page custom themes in hook_menu().
- Patch #118345 by sun | nedjo, pwolanin, webchick: DIE hook_user_form() + hook_user_register() DIE!
- Patch #11218 by David_Rothstein, sun, quicksketch, duncf, awood456, dropcube, mgifford | pwolanin, dww, RobRoy, Crell, webchick, beginner, ray007, bjaspan, chx, Gábor Hojtsy, Steven, Dries, lutegrass, sym, guardian, matt2000, geerlingguy, SeanBannister, matt westgate, com2, praseodym: allow default text formats per role, and integrate text format permissions.
#564394 by Berdir and Crell: Removed database BC layer. nah nah nah nah... hey hey hey... gooood byeeee...
#469242 by tic2000, Pasqualle, pwolanin, Nick Lewis, moshe weitzman, Rob Loach, and alexanderpas: page.tpl.php has now been split into html.tpl.php (for <html>, <head>, and <body>) and page.tpl.php (for page content). This now provides consistency for granular theming of renderable output in all template files.
#564370 by catch: Fixed block caching form_alter() which was located in wrong file post-registry rip.
- Patch #569282 by joshmiller: removal of Site configuration and fixed a number of broken links.
- Patch #495968 by Frando, moshe weitzman: added drupal_render() cache pattern. Start using it for blocks.
#558958 by Frando and moshe weitzman: Add a hook_page_build() that runs before hook_page_alter().
- Patch #560746 by dropcube: rename hook_block_list() to hook_block_info() for consistency in the API.
#561970 by Davy Van Den Bremt: Rename 'box' to 'custom block'. Here's to core's database schema making sense.
- Patch #300993 by dropcube, Dave Reid: user roles and permission API. Great patch.
- Patch #423992 by JohnAlbin, Davy Van Den Bremt: remove show_blocks page variable.
- Patch #428296 by dropcube, sun, catch: filter system doesn't communicate with other modules about filter format changes/deletions.
#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 ***
- Patch #554988 by Danny Van Den Brempt: removed unnecesary parameter.
#542658 follow-up by sun: Move action 'tabs' out of local tasks and into local actions.
- Patch #137072 by ksenzee, rernst: block titles not copied on switching to a new theme.
- Patch #446518 by sun: remove argument from check_markup().
#545580 by moshe weitzman: Simplify block render structure.
- Patch #491972 by Berdir, webchick: clean-up of user/profile related hooks and APIs.
- Patch #459980 by Xano: rework admin/settings/performance.
- Patch #541686 by catch: unnecessary query in block_page_alter().
- Patch #541346 by Jaza: enabling admin theme doesn't initialize blocks.
#433992 by David_Rothstein and Frando: Change #theme_wrapper to #theme_wrappers to allow multiple theme functions to execute on renderable objects.
#226587 by JohnAlbin, E.Z, et al: Make sidebar regions semantic and RTL-friendly.
- Patch #537678 by Bojhan: remove drag-and-drop help text.
- Patch #521474 by bangpound, JuliaKM et al: rename admin/site-building to admin/structure.
- Patch #511284 by catch, moshe weitzman: add html_top and move the admin toolbar into html_top.
- Patch #517542 by David Strauss: renamed functions for clarity. We say 'yay' to clarity!
- Patch #506976 by catch: rename hook_perm to hook_permission.
- Patch #453254 by Pasqualle, Gábor Hojtsy: re-introduce per-content type visibility to block settings.
- Patch #394538 by gaele: refer to the block administration page in a consistent manner.
- Patch #478744 by moshe weitzman, Frando: simplify block rendering.
- Patch #449198 by boombatower: cealn up test loading and related API.
#266153 by JamesAn: Add a description for user-personalizable blocks.
- Patch #480112 by JamesAn: converted to drupal_static().
#473080 by chx: Fix bug where switching themes would result in zero blocks (including content area). with tests.
#473080 by chx: Fix bug in block page access callback showing tabs that should not appear. (with tests)
#306358 by dvessel, JohnAlbin, and flobruit: Add a single $classes string (and corresponding $classes_array) for all dynamic classes in template files.
- Patch #337212 by Berdir: another Berdir patch to convert modules to the new database layer. Rock.
- Patch #472642 by stella, agentrickard: remove 'implementation of' nominalizations from Docblocks.
- Patch #471070 by stella: millions of code style fixes.
- Patch #470210 by Johan Morahan: nice clean-up of block configuration that fixes input format issue.
Roll-back of #310467: Breaks installer requirements check and update.php.
- Patch #428744 by Gabor: make the main page content a real block and clean up some of the content API.
#196862 by Damien Tournoud, et al: Replace COUNT(*) queries with SELECT 1 ... LIMIT 1 queries when all that's required is a check for whether rows exist.
- Patch #310467 by chx, moshe weitzman: made hook_theme slimmer.
#124158 by nedjo, jcnventura: Pull all PHP handling into PHP module.
- Patch #441962 by brianV: code style and documentation clean-up.
#369409 by dropcube: Move block.tpl.php to block.module rather than system.module.
- Patch #375482 by mfb: avoid PDO exceptions when block module is not enabled.
- Patch #427296 by taz88ny: move some code from system.module to bloc.module where it belongs.
- Patch #424252 by swentel: move block cache settings from system module to block module now block module is optional.
#401214 by Xano: Make custom block body required so it's not possible to create blocks that don't show up.
- Patch #244904 by keith.smith, edmund.kwok, xano, David_Rothstein: rename 'input formats'.
#135976 by Dave Reid: Move Administration Theme setting to the themes page where it is findable (with tests).
- Patch #367380 by Moshe: make block module optional.
- Patch #351235 by dmitrig01, webchick, frando, moshe weitzman, et al: hook_page_alter. Oh, behave.
- Patch #244904 by edkwh, keith.smith: renamed 'input format' to 'text format' based on UMN usability study.
#252921 by k4ml. Use correct placeholder.
- Patch #352470 by scor: fixed typos and grammar in comments.
- Patch #352054 by catch: convert calls to db_placeholders() in static queries.
- Patch #345866 by alexanderpas, justinrandell, Dave Reid: remove from hook_block().
- Patch #331570 by recidive: rename block module tables to singular. Requires you to run update.php.
- Patch #325665 by chx, Damien Tournoud, justinrandell et al: improved the cache registry lookups.
- Patch #319788 by stella, nedjo et al: pass language code to filters when available.
#313213 by maartenvg, Gábor Hojtsy: Add a 'title' attribute for permissions to allow for localization of permission names
- Patch #310212 by justinrandell, catch, et all: killed in _user hook, as well as two small kittens.
#125315 by chx, sun, Gábor Hojtsy, drumm, and friends: Add #input_format FAPI property that can be used by WYSIWYG editors. WOOHOO.
- Patch #225450 by Crell, chx, bjaspan, catch, swentel, recidive et al: next generation database layer for Drupal 7.
- Patch #231190 by eli, mfb: page cache didn't work with HEAD requests.
#252921 by David_Rothstein and agentrickard: remove unused join, which caused column type compatibility problems with postgresql; improves postgresql compatibility.
#252921 by David_Rothstein and agentrickard: remove unused join, which caused column type compatibility problems with postgresql; improves postgresql compatibility
- Patch #101543 by webchick: document all constants.
- Patch #257634 by Senpai and catch: code clean-up
#246476 by Jacine. Correct block admin column count.
- 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.
- Patch #249546 by pwolanin: rip menu access inheritance -- was already committed to D6.
#232037 by pwolanin: (performance) block regions should only be populated when called for, not in all cases (fixes performance expectation on 403/404 pages)
- Patch #245504 by catch, David_Rothstein, Freso, et al: removed the throttle module from Drupal core.
- 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.
Drupal 6.2
#232037 by pwolanin: (performance) block regions should only be populated when called for, not in all cases (fixes performance expectation on 403/404 pages)
- Patch #232037 by pwolanin and flobruit: block_list() renders all blocks even on 404. Refactored the code a bit so ithere is a split between loading and rendering of blocks. By doing so, we are no longer forced to render _all_ blocks if we know they won't be shown. There is more room for improvement here, I believe, but this is an incremental improvement.
- Patch #30984 by webchick, keith.smith, kkaefer, Crell et al: provide descriptions for permissions on the permission administration page.
#157652 by beginner, Steven Merrill and killes: block_user() had a global user object and a user parameter colliding
#157652 by beginner, Steven Merrill and killes: block_user() had a global user object and a user parameter colliding
#211742 by theborg, chx: detect and solve the problem when blocks are assigned to invalid regions (happens in theme development)
#203482 by Desbeers: block module HTML typo in help (outside t())
#202473 by keith.smith: pre-RC1 spell checking on hopefully final text
#202425 by keith.smith: standardize reference to block placement page as 'blocks administration page' to avoid any confusion
#192779 follow up by Lynn: only show enabled themes on block admin page *and* the admin theme (which might not be enabled)
#199890 by gaele, keith.smith: improve block module help text, include description of drag and drop and better help about the throttle functionality; also comes in smaller chunks which makes it easier to translate and update later
#199832 by theborg, Pasqualle: block title defined as NOT NULL, so requires a default empty string even if not set (fixes a theme notice but also a pgsql error)
#192779 by gaele: (usability) only show theme tabs on the blocks page for enabled themes, for consistency with the theme settings page
#200069 by keith.smith: new standard for 'more information' links in module help texts, as the handbook we referred to before was renamed
#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
- Patch #163246 by keith smith, freso, O Govinda, catch, webchick et al: fixed minor spelling issues and fixed spacing issues.
- Patch #181066 by quicksketch et al: drag and drop of table rows on the block adminsitration page.
#190128 by bjaspan and chx: fix _block_rehash() functionality on PostgreSQL
#80963 by chx with multiple contributors: remove deletion and database lock based block rehash code, replace it with simpler updates
#184867 by deekayen, catch and keith.smith: fix some spelling errors in our source code and messages printed
#183690 by Wim Leers: (developer improvement) abstract path matching to drupal_match_path() from block listing, so this gets reusable when path based matching is required
#180897 by sun and dvessel: fix various XHTML validity issues in Drupal by closing unclosed tags, avoiding empty table containers, and so on
- Patch #181177 by John Morahan: updated TODO (documentation).
#157752 follow up patch by scor: fix two form menu callbacks
#157752 by quicksketch: extend AHAH functionality to most types of form elements, without writing JavaScript. Also AHAH enable the blocks admin page.
#167284 by Heine and pwolanin: proper field type placeholders in IN() queries, setting a best practice to avoid vulnerabilities
#167284 by Heine and pwolanin. Avoid abusing %s for lists.
- Patch #159936 by dvessel: tpl-ify block module.
- Patch #168028 by dvessler, merlinofchaos, pwolanin et al: both theme functions and templates may need include files. Flush your caches.
- Patch #80951 by killes, yched et al: block caching.
- Patch #159936 by dvessel: fixed block administration page.
- Patch #159936 by dvessel: tpl-ified the block.module.
- Patch #153594 by profix898: usability: remove word 'settings' in blocks administration.
- Patch #159610 by Crell: performance improvement: split up block module.
#155282 by Jose A Reyero: apply db_rewrite_sql() to the block listing query to allow for multilingual blocks
- 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
#152585 by yched and drewish: fix block module FAPI3 parameters
#153781: Convert all remaining confirm_forms() to deletion api.
- Patch #145646 by lyricnz: select fields more strictly.
- Patch #145646 by lyricnz: select fields more strictly.
- Patch #149176 by chx, David et al: getting rid of the sequences table, using db_last_insert_id() instead of db_next_id().
- Patch #146667 by Eaton: correct builder argument ordering, eliminate redundant arguments
- Patch #146470 by Eaton et al: standardize form API3 hook parameter order.
- Patch #109104 by Zen: ambiguous column reference with PostgreSQL. Backport from HEAD.
- Patch #141664 by ChrisKennedy: fixed E_ALL warning.
- Patch #109104 by Zen: ambiguous column reference with PostgreSQL.
- Patch #141664 by ChrisKennedy: fixed E_ALL warning.
- Patch #138706 by eaton, chx, webchick, yched et al: form api 3 ... yay. :)
- Patch #128082 by Goba et al: Allow localization of built-in menu items.
- Patch #132018 by Steven et al: add .info files to themes.
- Patch #107061 by Steven et al: add jQuery teaser splitter.
- Patch #130987 by merlinofchaos: added theme registry for easier themability.
#130971: Kitchen sink (E_NOTICE compliance / Code style / Bugfix in book toc)
roll back #80963
- Rollback. :-)
Patch #80963 by Dries et al: fixed race condition in _block_rehash(). Backport from HEAD.
- Patch #80963 by Dries et al: fixed race condition in _block_rehash().
- Patch #112715 by chx, webchick, asimmonds, et al: fixing E_ALL notices. Thanks.
- Rollback of E_ALL patch. Too much extra breakage.
- Patch #112715 by webchick et al: fixed some E_ALL errors.
- Patch #34755 by chx et al: faster menu system. HEAD is temporary broken and there is no upgrade path yet.
- Patch #92630 by RobRoy: simplify adding new blocks.
- Patch #107447 by webchick: code style fixes.
- Patch #103717 by profix88: unable to edit blocks for administration theme when it is not enabled.
#102604: Document BLOCK_REGION_NONE constant
#100516: CSS preprocessor to cache and compress all .css files. Benchmarks show up to 40% faster page loads.
- Patch #101196 by webchick and matt: corrected information in block.module help.
#100563: Conditional loading of (some) module.css files
- Patch #98390 by Heine: correcting the help text.
#98078 by Heine. Fix double escaping on admin/build/blocks.
#97824 by Gurpartap. Move enclosing elements outside of their t().
#98384 by RobRoy. Add a space between two sentences.
- Patch # #98366 by webchick and ac: simplified strings for translators.
- Patch #92992 by webchick and neclimdul: clean up documentation that is superseded by the new 'by module' administration dashboard.
- Patch #63267 by profix et al: trim the content of the 'pages' setting so it can be evaluated properly.
- Patch #91906 by kkaefer and RobRoy: usability improvement to the block administration interface.
- Patch #93536 by Gabor: eliminate remaining bluemarine traces from core code.
#90508 by Heine and the security team. Every form gets a token.
#84146: Use 'Sentence capitalization' for menu items, page titles, form items, etc
- Patch #87057 by chx and profix898: fixed problem with not being able to configure blocks per theme.
#42514 by wtanaka and dopry. More thoroughly delete custom blocks.
#82336 by jvandyk. Set the default input format if we don't have one.
- Patch #80952 by earl, webchick, neclimdul et al: .info files
#68187 by Zen. Blovk visibity by path checks both aliased and non-aliased paths.
- Patch #80934 by timnc: more t() fixes.
#80352 by Zacker. Manually created blocks now appear in block listing.
#80150 by webchick. Cleanup from #76666.
#80079 by drewish, fix some double placeholdering and other bugs with using t().
- Patch #76666 by hunmonk: custom block titles.
- Use consistent terminology: placement -> region.
- Patch #77924 by RobRoy: fixed race condition in block administration that might have caused data loss.
#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.
- Patch #72079 by Earl et al: give Drupal an overall administration page ... :-)
#71772 by Bart Jansens, fix various php warnings, backport from HEAD
#71772 by Bart Jansens, fix various php warnings
- Patch #18018 by dww, nedjo, tostinne, luke et al: block visibility by role.
#62262 by dww, fix block help text.
#62262, fix block help text, patch by dww
#61802 by Zen, Double spaced sentences clean up
#60563, missing block name in delete dialoge, patch by Steve McKenzie
- Removing trailing whitespace.
#56813: Simplify admin/block code, and fix sorting of blocks in the listing
- Patch #52381 by Zen:
* Converts the block administration page to the fapi model.
* Removes some 'type=markup' elements.
* Adds a form_render($form['form_id']); in the theme function. Adding a form_render($form) just outputs an unthemed form. I suspect this is because of the heavy nesting of form elements and the rather dodgy array declaration, but I'm unsure.
* Documentation/language fixes.
- Patch #49912: www.drupal.org -> drupal.org. (Today's critical bugfix #5.)
- Patch #48622 by adrian: remove drupal_goto from _submit functions.
- Patch #46827 by wulff: fixed incorrect links.
- Patch #36029 by asimmonds/dopry: fixed critical bug in block administration.
- Patch #46106 by markus: usability improvement: moved the block description textfield up.
- 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 #45349 by Morbus Iff: input filters aren't sorting correctly infForms API.
- Patch #44163 by m3avrck: fixed typo in permission and fixed incorrect description.
- #43495: Separate permission for PHP-based block visibility
- Patch #35667 by Crell: bug fix: on ?q=admin/block style.css was imported twice.
- Patch #40631 by Chris Johnson: is_array() slower than isset() or empty().
- 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 #39576 by chx: rename '_execute' to '_submit' and '#execute' to '#submit'.
- Patch #37714 by asimmonds: fixed saving of blocks.
- Patch #35524 by asimmonds / drewish: converted the custom block forms code to the forms API's execute model.
- Patch #35644 by webchick: forms API simplificiations.
- Patch #36029 by asimmonds: fixed typo that prevents 'admin - block - configure' from working.
- Patch #26139 by webchick / Kieran / documentation team: improved admin help of core modules! /
- Patch #30930 by m3avrck/deekayen: cured PHP5 warnings.
- 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 #30801 by Allie Micka, m3avrck, 1uv4t4r et al: fixed block problems.
- Patch #30801 by Allie Micka and m3avrck: performance improvements: improved the database scheme and queries of the block.module.
- Patch #29385 by chx: no ?> add end of files.
- Patch #16216 by nedjo: multiple block regions!
- Patch #27713 by tostinni: fixed two problems on the block add page: + description field isn't marked as requiered +when the field isn't unique, an error is displayed, but the wrong text field is set as erronous.
- #27551: Rename check_output() to check_markup(). Needs contrib updates!
- Patch #26217 by HellRaider: fixed problem <front> setting in presence of slashes.
- Patch #26217 by HellRaider: fixed problem <front> setting in presence of slashes.
- Patch #26233 by Goba: fixed problem with block regions being buggy.
- Patch #26233 by Goba: fixed problem with block regions being buggy.
- Fixed problems with filter formats and problem with XML-RPC server.
- Patch #25603 by Stefan: made the sizes of forms consistent. TODO: document the defaults in the PHPdoc comments.
- Patch #22192 by tostinne: fixed invalid XHTML code
- Patch #22192 by tostinne: fixed invalid XHTML code
- Patch #15595 by Stefan and Djun: improved status messages.
TODO: we should write down a couple guidelines for these document them in
the PHPDoc code of drupal_set_message()! .
- Patch #21939 by Usability Poobah Chris: added missing </p> tag.
- Patch #21939 by Usability Poobah Chris: added missing </p> tag.
- Patch #21445 by Goba: added missing t() function.
- Patch #21445 by Goba: added missing t() function.
- Patch #21353 by chx: implemented PHP-mode for blocks.
- Patch 20910 by chx: centralize print theme page.
- Improved consistency.
- Patch #19965 by Robin Monks: fixed problem with duplicate block titles.
- Modified patch #19694 by chx: makes sure that block.module deals by default only with regions 0 and 1 as it does now but lets you use block_list with any region you define. This opens many possibilites. You may do a multi region module, with your admin UI using the blocks table as storage and the block_list matcher. Or you may do a sections module using the block matcher without cluttering the current blocks list.
- #18817: Clean up plain-text checking (see drupal-devel!)
- #18939 (Stefan): Always use paragraph tags around page help text.
- Renamed some more 'region's to 'sidebar's
- Patch by Neil: fixed typo.
- Patch #18382 by Neil: usability improvement: organized the blocks on the block administration page by region. (I wanted to do that myself!)
#18329: Unify confirmation messages (and make them themable)
- Block admin usability: display block title if no description was given.
- #17868: Remove hardcoded align="center"
#17216: Restore missing "delete" link for blocks.
- Patch #16399 by James: fixed typo in block.module.
Typos.
- Code style
- Patch #16074 by Andre Molnar: add configuration option to show blocks only on pages of certain node type.
#15185: Fix front page handling of blocks
- Patch #14532 by andre molnar: tidied up some block.module code.
- Removed some cruft: left-over xxx_help_page() functions.
- Patch #14209 by nysus: improved the clarity and readability for a group of radio buttons for a block's visibility settings.
- Patch #12353 by Stefan: usability improvement: don't show 'throttle fields' unless the throttle module is enabled.
- Patch #12783 by Stefan: various small consistency/usability improvements.
- Modified patch by Jeremy: throttle module improvements and fixes: + throttle module: flush cache when the throttle enables/disables + throttle module: prevent throttle being enabled by 0 users or guests when disabled + system module: remove requirement for statistics.module + block module: update help text to reflect access log is no longer required + statistics module: throttle is now enabled/disabled, not using levels 0-5
- Refactored the throttle module. Patch by Jeremy and me. * There are only two throttle levels instead of 5, namely 'enabled' and 'disabled'. This makes it a _lot_ easier to predict when the throttle will kick in. However, if you maintain a module that is throttle-aware, it needs to be updated! * The throttle mechanism now uses the current number of anonymous users or the current number of authenticated users to kick in. This is a _lot_ more intuitive than the old throttle mechanism. * The throttle block has been removed -- you can now use the "Who's online" block to determine the good throttle settings. * Most of the documentation has been removed because it was deprecated. * It's less code!
- 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.
- Patch #10677 by drumm: removed dead code. Leftover.
#10677: Confirmation when deleting a block + unifying confirmation screens.
- Patch #11401 by Goba: documentation updates: + Made error strings in blog.module consistent. + Explained a bit better what the RSD setting is for in the blog module. + Removed the notes about PHP content from block module and book module, since everything is handled via the input formats now.
- #10689: Group permissions by module in UI + minor code cleanups. - Adding a drupal_goto to the block admin.
- Patch #8179 by JonBob: reintroduced menu caching.
- 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).
- #9292: Make Drupal (somewhat) PHP5 compatible. xtemplate is still horribly broken.
- 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.
- Code improvements by Stefan: use capital letters for header titles (and added some missing t() functions).
- Patch #9983 by Stefan: usability improvement: made sure all status messages start with a capital letter.
The Input formats - filter patch has landed. I still need to make update instructions for modules and update the hook docs. Here's an overview of the changes: 1) Multiple Input formats: they are complete filter configurations (what filters to use, in what order and with which settings). Input formats are admin-definable, and usage of them is role-dependant. For example, you can set it up so that regular users can only use limited HTML, while admins can free HTML without any tag limitations. The input format can be chosen per content item (nodes, comments, blocks, ...) when you add/edit them. If only a single format is available, there is no choice, and nothing changes with before. The default install (and the upgrade) contains a basic set of formats which should satisfy the average user's needs. 2) Filters have toggles Because now you might want to enable a filter only on some input formats, an explicit toggle is provided by the filter system. Modules do not need to worry about it and filters that still have their own on/off switch should get rid of it. 3) Multiple filters per module This was necessary to accomodate the next change, and it's also a logical extension of the filter system. 4) Embedded PHP is now a filter Thanks to the multiple input formats, I was able to move the 'embedded PHP' feature from block.module, page.module and book.module into a simple filter which executes PHP code. This filter is part of filter.module, and by default there is an input format 'PHP', restricted to the administrator only, which contains this filter. This change means that block.module now passes custom block contents through the filter system. As well as from reducing code duplication and avoiding two type selectors for page/book nodes, you can now combine PHP code with other filters. 5) User-supplied PHP code now requires <?php ?> tags. This is required for teasers to work with PHP code. Because PHP evaluation is now just another step in the filter process, we can't do this. Also, because teasers are generated before filtering, this would result in errors when the teaser generation would cut off a piece of PHP code. Also, regular PHP syntax explicitly includes the <?php ?> tags for PHP files, so it makes sense to use the same convention for embedded PHP in Drupal. 6) Filter caching was added. Benchmarking shows that even for a simple setup (basic html filtering + legacy URL rewriting), filtercache can offer speedups. Unlike the old filtercache, this uses the normal cache table. 7) Filtertips were moved from help into a hook_filter_tips(). This was required to accomodate the fact that there are multiple filters per module, and that filter settings are format dependant. Shoehorning filter tips into _help was ugly and silly. The display of the filter tips is done through the input format selector, so filter_tips_short() no longer exists. 8) A more intelligent linebreak convertor was added, which doesn't stop working if you use block-level tags and which adds <p> tags.
- Patch #9330: ucfirst() gives problem when used with multibyte charset. Replaced the use of ucfirst() with a CSS-based solution.
- Oopsie when committing.
- Cleaning up the rediculously long 'if' statement for checking block visibility. - #9811: Remove session ID before matching block path
- Patch #9775 by TDobes: consistency operation. Changed to "edit foo," "delete foo," and "view foo" links into simply "edit," "delete," and "view".
- Simplified the block help a bit by removing some dated information. It should be simplified more.
- 'add block' -> 'add'