Commit Graph

335 Commits (6a5532a2589463de93cc96ce6b71a7af94d39d9b)

Author SHA1 Message Date
Dries Buytaert a539b0e00d - Patch by #565496 by dropcube, pwolanin: changed Allow dynamic attaching of other types of stuff to render() structures. 2009-09-05 15:05:05 +00:00
Dries Buytaert b4786ff0ee - Patch #495968 by Frando, moshe weitzman: added drupal_render() cache pattern. Start using it for blocks. 2009-08-31 17:06:10 +00:00
Dries Buytaert 0597c9e48a - Patch #560746 by dropcube: rename hook_block_list() to hook_block_info() for consistency in the API. 2009-08-29 05:46:04 +00:00
Angie Byron 03a5563b89 #509584 by pwolanin: Various API fixes for menu_tree_data() including depth param. 2009-08-24 01:49:41 +00:00
Angie Byron 2c55219315 #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. 2009-08-24 00:14:23 +00:00
Angie Byron e63e85020b Of all the patches to accidentally commit without a message. :( Rolling back registry rip. Let's try that again. 2009-08-24 00:10:46 +00:00
Angie Byron 4ae238ea57 *** empty log message *** 2009-08-24 00:02:05 +00:00
Angie Byron a8cc3e30c3 #471018 by clemens.tolboom, sun, stBorchert, and mverbaar: Added generic pattern/js for hiding machine readable names (applied to menu and content types). 2009-08-22 23:18:29 +00:00
Angie Byron a2694498f1 #542658 by Gábor Hojtsy, sun, pwolanin: Move action 'tabs' out of local tasks. 2009-08-22 19:58:28 +00:00
Angie Byron 36ec189695 #326539 by JohnAlbin, sun, cha0s, ultimateboy, Rob Loach, Damien Tournoud: Convert 'class' attribute to use an array, not a string. 2009-08-22 14:34:23 +00:00
Dries Buytaert 2a123f0ac9 - Patch #549432 by Bohjan, Gábor Hojtsy: create 'people and permissions' section in 'configuration and modules'. 2009-08-21 14:27:47 +00:00
Angie Byron 0bd7fcbf38 #226587 by JohnAlbin, E.Z, et al: Make sidebar regions semantic and RTL-friendly. 2009-08-03 03:04:34 +00:00
Dries Buytaert d422853504 - Patch #536570 by Gábor Hojtsy: implemented new IA for top-level users. 2009-07-31 19:01:03 +00:00
Dries Buytaert d24d954479 - Patch #521474 by bangpound, JuliaKM et al: rename admin/site-building to admin/structure. 2009-07-20 18:51:36 +00:00
Angie Byron 735e1d904f #500866 by boombatower: Remove t() from getInfo in tests. 2009-07-13 21:51:42 +00:00
Dries Buytaert 5fbaa4b83c - Patch #516254 by drewish remove @return PHPDocs where nothing is to return. 2009-07-11 13:56:22 +00:00
Dries Buytaert e4a4b7cc7e - Patch #506976 by catch: rename hook_perm to hook_permission. 2009-07-05 18:00:11 +00:00
Angie Byron 23bbb003b9 #504428 follow-up by keith.smith: Remove 'now' from all empty admin screen texts. Steve Krug would be proud. 2009-06-29 14:24:57 +00:00
Dries Buytaert 20825cde52 - Patch #503822 by berenddeboer: remove drag and drop help text from menu page. 2009-06-28 13:08:15 +00:00
Angie Byron 1d07289b03 #503868 by Sutharsan: Add link to create a menu link if one does not exist. 2009-06-27 23:49:19 +00:00
Dries Buytaert 1f48b11855 - Patch #503996 by kika, Sutharsan: changed label from 'Expanded' to 'Show as expanded' for better usability. 2009-06-27 18:01:59 +00:00
Dries Buytaert e9d97f1eef - Patch #449198 by boombatower: cealn up test loading and related API. 2009-06-08 09:23:55 +00:00
Dries Buytaert eb0839b984 - Patch #480426 by JamesAn: converted to drupal_static(). 2009-06-07 02:30:13 +00:00
Dries Buytaert 0f4060f377 - Patch #472642 by stella, agentrickard: remove 'implementation of' nominalizations from Docblocks. 2009-05-27 18:34:03 +00:00
Dries Buytaert 3c4be3ab55 - Patch #472658 by agentrickard: clean up of inline code comments. 2009-05-26 09:12:29 +00:00
Dries Buytaert a24a6c2bba - Patch #471070 by stella: millions of code style fixes. 2009-05-24 17:39:35 +00:00
Angie Byron 4bc255ba79 Roll-back of #310467: Breaks installer requirements check and update.php. 2009-05-21 23:07:16 +00:00
Angie Byron 4ddd7588e1 #469386 by Bojhan: Remove obvious menu administration help, and make block-related help conditional on block module. 2009-05-21 18:11:38 +00:00
Dries Buytaert d3de6c8171 - Patch #292790 by mr.baileys: menu machine-name validation error. 2009-05-15 04:07:20 +00:00
Dries Buytaert 1778c5cca9 - Patch #310467 by chx, moshe weitzman: made hook_theme slimmer. 2009-05-14 08:23:15 +00:00
Angie Byron 3ac59eee96 #320011 by lilou, snufkin, and karschp: Add consistent @file declarations to all .install files. 2009-05-13 19:42:18 +00:00
Dries Buytaert e217837372 - Patch #382834 by cwgordon7: more documentation fixes. 2009-05-09 18:44:55 +00:00
Dries Buytaert 0e0ca3b589 - Patch #457532 by Berdir: more PHP5 'fixes'. 2009-05-09 18:28:13 +00:00
Dries Buytaert 0ccac642b9 - Patch #409598 by pwolanin, swentel: fixed problem with content type descriptions not being updated. 2009-05-07 16:24:33 +00:00
Dries Buytaert f3526a344e - Patch #394476 by Berdir, pwolanin, Crell: converted the module to the new database abstraction layer. 2009-05-07 16:22:45 +00:00
Dries Buytaert cdb326fc74 - Patch #451660 by Damien Tournoud: fixed menu creation/deletion tests. 2009-05-03 05:06:11 +00:00
Angie Byron fc7283235b #444402 follow-up by kkaefer: Fix autocomplete, enforce code style for anonymous JS functions. 2009-04-27 20:19:38 +00:00
Dries Buytaert c73a93e870 - Patch #382834 by cwgordon7: hook_menu API docs missedsome elements. 2009-04-27 16:35:05 +00:00
Dries Buytaert 26395c843f - Patch #308296 by Dave Reid, Damien Tournoud: clean-up of drupalCreateNode(). 2009-04-22 09:57:10 +00:00
Dries Buytaert 3fbda2307d - Patch #375482 by mfb: avoid PDO exceptions when block module is not enabled. 2009-04-21 09:31:31 +00:00
Dries Buytaert 1372d90cf1 - Patch #317775 by pwolanin, chx et al: caching the entire {menu_router} table causes problems. 2009-04-12 19:52:38 +00:00
Angie Byron e888f0061c #323112 by dmitrig01, kkaefer, quicksketch, frando and many many more: Now presenting... Vertical Tabs. Fantastic new UI improvement for node forms and hopefully more in the future. 2009-04-11 22:19:46 +00:00
Dries Buytaert b25e08ba75 - Patch #317775 by pwolanin, justinrandell: caching entire {menu_router} table causes MySQL error/slow rebuilds and slows menu_link_save. 2009-04-02 03:40:05 +00:00
Angie Byron f40532da76 #376129 by boombatower, Damien Tournoud, and chx: Change getInfo() to a static method to reduce memory footprint of SimpleTest. 2009-03-31 01:49:55 +00:00
Angie Byron 5cc1704a3f #402226 follow-up by pwolanin: Rename menu 'item' to 'link' in menu module. 2009-03-31 01:45:31 +00:00
Dries Buytaert 1c2033f0f8 - Patch #402226 by stompeers, catch et al: menu admin page uses inconsistent formatting. 2009-03-28 03:58:55 +00:00
Angie Byron ab8090c77c #273137 follow-up by David Rothstein: Fix menu descriptions. 2009-03-25 13:55:22 +00:00
Dries Buytaert 32076b4d32 - Patch #273137 by pwolanin, David_Rothstein, chx, et al: split navigation to user and administration menu. Will require follow-up patches. 2009-03-20 19:18:11 +00:00
Angie Byron 25c18d5dd0 #403526 by pwolanin: Fix PDO exception when enabling a menu link. 2009-03-16 20:31:11 +00:00
Angie Byron f13422b6d3 #403542 by pwolanin: Terminology clean-up to menu module test. 2009-03-16 15:36:32 +00:00
Dries Buytaert 4cd0dd8e1f - Patch #401916 by stompeers: change order of fields on menu creation form. 2009-03-14 21:16:42 +00:00
Dries Buytaert b46e90ad36 - Patch #322344 by merlinofchaos, Frando, catch, sun: form improvements from Views. 2009-03-14 20:13:27 +00:00
Angie Byron ddc2604d69 #383066 by David Strauss: Rename hook_nodeapi_X to hook_node_X. 2009-03-08 04:25:07 +00:00
Dries Buytaert 8ad42bb7d7 - Patch #296584 by mr.baileys: fixed incorrect example with regards to the use of t() in menu item titles. 2009-02-24 16:02:51 +00:00
Angie Byron 096978579b #357429 by fusedpro: Update the documentation of hook_menu_alter() to use 'items' rather than 'callbacks' to match hook_menu(). 2009-02-07 04:46:46 +00:00
Angie Byron 993675ab6a #348627 by smk-ka and catch: Allow menu title callback property to bypass t() (+documentation and tests) 2009-02-05 01:05:17 +00:00
Dries Buytaert 29c8e40e91 - Patch #355236 by Frando: refactor drupal_render() theming. 2009-02-03 18:55:32 +00:00
Angie Byron 610bc6f7ed #326210 by AlexisWhite and jhedstrom: Pass ->menu by reference to allow modules to modify it. 2009-01-31 16:56:00 +00:00
Dries Buytaert bdbd0dffe5 - Patch #266246 by David Strauss: added smart defaults for system_settings_form(). 2009-01-11 21:19:19 +00:00
Dries Buytaert 92a8adea65 - Patch #352470 by scor: fixed typos and grammar in comments. 2008-12-30 16:43:20 +00:00
Dries Buytaert 0c63d9e24f - Patch #349504 by keith.smith: clean up sentence spacing in code comments. 2008-12-20 18:24:41 +00:00
Dries Buytaert 574a2e47ee - Patch #345866 by alexanderpas, justinrandell, Dave Reid: remove from hook_block(). 2008-12-16 23:57:33 +00:00
Dries Buytaert bc719d0c55 - Patch #337820 by Dave Reid, Damien Tournoud, et al: rename menu path 'logout' to 'user/logout'. For real now. 2008-11-29 09:33:51 +00:00
Dries Buytaert eda100b83d - Patch #338403 by drewish: code comments clean-up. 2008-11-25 13:14:29 +00:00
Angie Byron 66df602593 #314870 by Rob Loach, drewish, catch, and sun: Add hook API documentation to Drupal core. 2008-11-25 02:37:33 +00:00
Dries Buytaert 15671f471b - Patch #332123 by webchick, lilou: remove t() function from schema descriptions. 2008-11-15 13:01:11 +00:00
Dries Buytaert 10104ba94a - Patch #331570 by recidive: rename block module tables to singular. Requires you to run update.php. 2008-11-15 08:23:07 +00:00
Angie Byron d8aafce20d #328110 by marcingy, Damien Tournoud, swentel, and pwolanin: Fix error on admin/build/menu, and robustify the test so we catch stuff like this in the future. 2008-11-13 05:54:35 +00:00
Angie Byron 5d85d16a75 Oops. Roll-back of #328110. Apologies 2008-11-11 18:15:01 +00:00
Angie Byron f2ecddea98 #328110 by Damien Tournoud: Remove recoverable fatal error from menu system. 2008-11-11 16:56:48 +00:00
Angie Byron f76acb2d9d #282405 by Damien Tournoud, lilou, Dave Reid: Enforce coding standard on elseif. 2008-10-12 04:30:09 +00:00
Angie Byron 7e02f2f782 #318984 by Xano and Dave Reid: Change 'Core - optional' to 'Core' in modules UI. 2008-10-11 02:33:14 +00:00
Angie Byron 464be0b8bd #318892 by justinrandell and chx: Add .install files to the list of files added to .info files. 2008-10-09 22:51:41 +00:00
Angie Byron d59ba41f65 #313213 by maartenvg, Gábor Hojtsy: Add a 'title' attribute for permissions to allow for localization of permission names 2008-10-09 15:15:55 +00:00
Dries Buytaert 87567f8916 - Patch #310212 by justinrandell: killed in _node hook, as well as twelve sable tooth tigers. 2008-10-06 12:55:56 +00:00
Dries Buytaert 9f3d9f1115 - Patch #161301 by Eaton, Sun, moshe and webchick: make checking for node edit forms easier. DX improvement. 2008-09-27 20:37:01 +00:00
Dries Buytaert 9020f77388 - Patch #302149 by pwolanin: fixed confusing/duplicate use of names in menu admin. 2008-09-18 10:44:19 +00:00
Angie Byron 161a9970f7 #308534 by Dave Reid: Remove stray whitespace core-wide. 2008-09-15 20:48:10 +00:00
Dries Buytaert 69e6f411a9 - Patch #225450 by Crell, chx, bjaspan, catch, swentel, recidive et al: next generation database layer for Drupal 7. 2008-08-21 19:36:39 +00:00
Dries Buytaert ccf1af94fa - Patch #245329 by christefano and dmitrig01: code comment love. 2008-07-24 16:25:19 +00:00
Dries Buytaert 57fe5103da - Patch #252013 by Eaton, pwolanin, Susurrus et al: drupal_render() now printes #markup, not #value. 2008-07-16 21:59:29 +00:00
Dries Buytaert 5299b92689 - Patch #270917 by catch, Bojhan, et al: renamed 'primary links' and 'secondary links' to 'main menu' and 'secondary menu' respectively. Based on usability study conducted with the help of Bojhan. 2008-06-25 09:12:25 +00:00
Dries Buytaert c6c26b5e23 - Patch #247423 by boombatower: code style fixes for the tests. 2008-05-30 07:30:53 +00:00
Dries Buytaert a96ffc1185 - Patch #256736 by flobruit: fixed bad HTML in help text. flobruit is on a patching spree! 2008-05-10 06:52:32 +00:00
Dries Buytaert 2e18cb8924 - 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.
2008-05-06 12:18:54 +00:00
Dries Buytaert 21576021bf - Patch #249546 by pwolanin: rip menu access inheritance -- was already committed to D6. 2008-04-23 20:01:56 +00:00
Dries Buytaert af474609e3 - Added a test framework to Drupal along with a first batch of tests for
Drupal core!  This is an important milestone for the project so enable
  the module and check it out ... :)

  Thanks to Rok Žlender, Károly Négyesi, Jimmy Berry, Kevin Bridges, Charlie
  Gordon, Douglas Hubler, Miglius Alaburda, Andy Kirkham, Dimitri13, Kieran
  Lal, Moshe Weitzman, and the many other people that helped with testing
  over the past years and that drove this home.

  It all works but it is still rough around the edges (i.e. documentation
  is still being written, the coding style is not 100% yet, a number of
  tests still fail) but we spent the entire weekend working on it in Paris
  and made a ton of progress.  The best way to help and to get up to speed,
  is to start writing and contributing some tests ... as well as fixing
  some of the failures.

  For those willing to help with improving the test framework, here are
  some next steps and issues to resolve:

    - How to best approach unit tests and mock functions?
    - How to test drupal_mail() and drupal_http_request()?
    - How to improve the admin UI so we have a nice progress bar?
    - How best to do code coverage?
    - See http://g.d.o/node/10099 for more ...
2008-04-20 18:24:07 +00:00
Dries Buytaert 56d2664a90 - 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. 2008-04-14 17:48:46 +00:00
Dries Buytaert 79b016d915 - 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.
2008-04-10 10:28:23 +00:00
Dries Buytaert 39f1a6be73 - Patch #234065 by David_Rothstein: added missing period. 2008-03-14 08:54:31 +00:00
Dries Buytaert a730d23d14 - Patch #216813 by pwolanin et al: fixed upgrade path for primary links and navigation. 2008-02-23 08:13:09 +00:00
Dries Buytaert 584f3e886a - Patch #30984 by webchick, keith.smith, kkaefer, Crell et al: provide descriptions for permissions on the permission administration page. 2008-02-20 13:46:43 +00:00
Dries Buytaert b05db1f176 - Patch #221384 by webernet: update core compatibility to Drupal 7. 2008-02-18 19:19:49 +00:00
Dries Buytaert bbc65c30fa - Patch #220004 by webernet et al: menu items reorder after edit one of menu item. 2008-02-12 13:43:21 +00:00
Dries Buytaert ec9f8e090a - Patch #216904 by pwolanin et al: if there are more than 21 menu items under a parent, the weights got screwy. 2008-02-10 19:14:08 +00:00
Dries Buytaert b8a1eab1fb - Patch #210131 by dvessel, catch, John, et al: updated jQuery library. 2008-02-06 19:38:28 +00:00
Gábor Hojtsy 39d28bd43e #215858 by pwolanin: localized menu options were saved into the database, avoid this by using different variable names / array keys 2008-02-04 12:07:23 +00:00
Gábor Hojtsy d171a9e75a #216014 report by meba, patch by myself: menu_install() did not use get_t() for its menu item creation 2008-01-30 20:27:28 +00:00
Gábor Hojtsy 3a126a55ba #208498 by pwolanin: remove pager from menu admin page (for big menus, you will need to use a contrib module) 2008-01-21 12:12:44 +00:00
Gábor Hojtsy 00f0a95ade #207372 by Pancho, pwolanin, chx: remove duplicate query from menu_enable() 2008-01-08 15:49:09 +00:00