Commit Graph

633 Commits (5fcf1eda32adf4851b40360bc8df1157bbdeea54)

Author SHA1 Message Date
Dries Buytaert 5679074858 - Patch #550718 by alexanderpas, Gábor Hojtsy | Dries, webchick, ugerhard: tabs on admin pages are not accessible from overviews and menus. 2009-09-22 15:26:46 +00:00
Dries Buytaert 2bc3de6a4f - Patch #283723 by pwolanin, sun | eddified, moshe weitzman, Dries, aether, Arancaytar: Added Make menu_tree_output() return renderable output. 2009-09-18 10:54:20 +00:00
Angie Byron df02fa3ca4 #571086 by sun and merlinofchaos: Added a 'wrapper callback' that executes
before a form builder function, to facilitate common form elements. Clean-up
from form_builder changes from CTools patch. Has nice side-benefit of making
all form functions' signatures consistent.
2009-09-18 00:12:48 +00:00
Angie Byron 7f88540b4b #564632 by moshe weitzman: Unify various _build() functions and remove duplicate copy of content. 2009-09-10 12:33:46 +00:00
Dries Buytaert 029c48c68d - Patch #306151 by agentrickard, David_Rothstein, Dave Reid, dbabbage, moshe weitzman: automatically install/uninstall schema. 2009-09-10 06:38:20 +00:00
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 bf9c634123 #550572 by sun and c960657: Fixed CSS+JS regressions related to form-item-[name]. 2009-08-24 03:11:34 +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 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
Angie Byron 34a8a369aa #367595 by plach, catch, sun, yched, et al: Added support for translatable fields to Field API. 2009-08-22 00:58:55 +00:00
Angie Byron 25b9f686a6 #544418 by merlinofchaos, sun, drewish, quicksketch, et al: Integrate CTools AJAX framework with Drupal to extend (and replace) existing ahah framework. Everything about AJAX/AHAH is more betterer now. 2009-08-17 07:12:16 +00:00
Angie Byron 84afe0d927 #545306 by alexanderpas: De-op hook_node_type(). 2009-08-11 15:50:56 +00:00
Dries Buytaert daa26f7982 - Patch #536768 by chx: use the database to do type casting so we can clean up some code. ;-) 2009-08-11 07:45:45 +00:00
Dries Buytaert 926606eeca - Patch #535564 by Gábor Hojtsy: the D7UX mockups call for a top level Content item, which would immediatey lead to the "Find content" screen. The current Drupal 7 code is almost there, but still has an RSS settings item blocking the implementation of this by default and aggregator and book also add subitems. 2009-07-30 19:24:21 +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 e4a4b7cc7e - Patch #506976 by catch: rename hook_perm to hook_permission. 2009-07-05 18:00:11 +00:00
Dries Buytaert a0d19b0810 - Patch #482636 by quicksketch: further clean-up of the form IDs/classes. 2009-07-04 14:57:23 +00:00
Angie Byron 0142292c71 #373201 by moshe weitzman, chx, Frando, eaton: Allow renderable array properties to be passed directly to theme functions. 2009-07-02 04:27:23 +00:00
Dries Buytaert 3ae64656b5 - Patch #233200 by eigentor, catch, bohjan, yoroy et al: better content type descriptions. 2009-06-27 11:11:53 +00:00
Dries Buytaert fabaaaaa6e - Patch #278592 by catch, Dave Reid, lilou et al: remove D5 to D6 updates. 2009-06-22 13:21:38 +00:00
Dries Buytaert f96c141f5a - Patch #409750 by yched et al: overhaul and extend node build modes. 2009-06-22 09:10:07 +00:00
Dries Buytaert 3d64cb5eca - Patch #372743 by bjaspan, yched, KarenS, catch et al: node body and teasers as fields. Oh, my. 2009-06-12 08:39:40 +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 8322883918 - Patch #480412 by JamesAn: converted to drupal_static(). 2009-06-07 02:32:57 +00:00
Angie Byron cab88a7014 #220233 by Berdir, marcingy, et al: Add useful API functions for extracting node type data. 2009-06-04 03:33:29 +00:00
Dries Buytaert e474fbbd6c - Patch #477944 by Damien Tournoud: fix and streamline page cache and session handling. 2009-06-02 06:58:17 +00:00
Dries Buytaert 0f4060f377 - Patch #472642 by stella, agentrickard: remove 'implementation of' nominalizations from Docblocks. 2009-05-27 18:34:03 +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 0e0ca3b589 - Patch #457532 by Berdir: more PHP5 'fixes'. 2009-05-09 18:28:13 +00:00
Dries Buytaert a8c30ed91e - Patch #449718 by alienbrain: node_feed() is now using new node building API. 2009-05-03 10:11:35 +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 18117a43f4 - Patch #361529 by j.somers: illogical syntax for book_toc(). 2009-04-27 07:08:00 +00:00
Angie Byron fde09054f6 #444920 by Damien Tournoud: Fix broken book breadcrumbs (with tests). 2009-04-25 23:01:43 +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 1de1293df0 - Patch #369587 by JamesAn: removed code comment that is incorrect. 2009-04-08 03:23:46 +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 8fc513e1d8 #408562 by BruceBGordon: Code clean-up. 2009-03-30 05:40:44 +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
Angie Byron fb7347bc9d #371231 by JohnAlbin and EclipseGC: Rename clear-block CSS class to clearfix, which is the lingo that designers use for it. 2009-02-18 14:28:25 +00:00
Angie Byron ac484c277a #125030 by kkaefer, quicksketch, dvessel, Steven, and John Resig: Allow compatibility with other JavaScript libraries. 2009-02-18 13:46:55 +00:00
Angie Byron effd938585 #369460 by rszrama: Add 'No books' message to Book module when no books exist. 2009-02-05 19:29:31 +00:00
Dries Buytaert 6d3d75fe4b - Removing whitespace. 2009-01-26 14:08:44 +00:00
Angie Byron fcc8211ab1 #203323 by JirkaRybka, robertgarrigos, thePanz, c960657, and sun: Fix undefined index locale in install.php and clean up crufty code. 2009-01-20 03:18:41 +00:00
Dries Buytaert d20e457121 - Patch #201122 by c960657, Moshe Weitzman: never write anonymous sessions, unless something has been written to . This is an important performance improvements -- as long as you use modules that use carefully. It might be good to report some analytics about this in the performance settings page so administrators can see if there is a 'broken' module. 2009-01-19 10:46:52 +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 a04728577f - Patch #352054 by catch: convert calls to db_placeholders() in static queries. 2008-12-29 16:03:57 +00:00
Dries Buytaert 0bac8dad8d - Patch #302207 by John Morahan et al: updated book module to new DB layer. 2008-12-23 14:32:08 +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 c43e4639d7 - Patch #309784 by Darren Oh: unordered lists override numbered lists. 2008-12-19 15:42:26 +00:00
Dries Buytaert ec4eba68d7 - Patch #323528 by jhedstrom: fixed alias usage in queries for PostgreSQL. 2008-12-19 03:55:23 +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 18d22419f3 - Patch #339929 by Moshe et al: move node links into ->content. 2008-12-16 22:05:51 +00:00
Dries Buytaert c0cb68abcc - Patch #319356 by recidive: clean up hook_nodeapi_ fucntion signatures and documentation because of previous node API clean-ups. 2008-12-09 11:30:25 +00:00
Dries Buytaert 58b0235a72 - Patch #324313 by catch et al: load multiple nodes and terms at once. 2008-12-05 22:18:46 +00:00
Dries Buytaert eda100b83d - Patch #338403 by drewish: code comments clean-up. 2008-11-25 13:14:29 +00:00
Dries Buytaert dc65b62ace - Patch #74645 by drewish, roychri et al: modify file_scan_directory to use a regex for the nomask (and code clean-up). 2008-11-16 19:41:14 +00:00
Dries Buytaert b55ff2da24 - Patch #302207 by John Morahan: converted book module to the new database abstraction layer. 2008-11-16 15:02:45 +00:00
Dries Buytaert 15671f471b - Patch #332123 by webchick, lilou: remove t() function from schema descriptions. 2008-11-15 13:01:11 +00:00
Angie Byron d2331ebdf7 #324880: SA-2008-067 (#324824): Fix XSS vulberability in book administration page. 2008-11-08 19:33:53 +00:00
Dries Buytaert 838b433110 - Patch #319666 by Dave Reid: remove unnecessary boolean ternary conditaionals. 2008-10-29 10:08:52 +00:00
Dries Buytaert 0ff80347a0 - Patch #232095 by birdmanx35, keith.smith: improve book module description. 2008-10-13 19:59:41 +00:00
Dries Buytaert 12393a4d12 - Patch #320000 by lilou: unify doxygen @file documentation in tpl. 2008-10-13 12:31:43 +00:00
Angie Byron 8292bdd40a Re-commit of #242873 by pwolanin and bjaspan: Make drupal_set_title() check_plain() by default. 2008-10-13 00:33:05 +00:00
Angie Byron a3a420c3e6 Roll-back of #242873: This caused horrendous problems with SimpleTest on some configurations. 2008-10-12 06:27:06 +00:00
Angie Byron ecf7ad41d0 #242873 by pwolanin and bjaspan: Make drupal_set_title() do check_plain() by default. 2008-10-11 21:11:02 +00:00
Angie Byron 4f17920c75 #319466: SA-2008-47 (#295053): CSRF in cached forms. 2008-10-11 04:06:29 +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
Angie Byron 3a0d4322ae #206138 by pwolanin: Rename mis-named 'module' attribute in node types. 2008-10-08 03:27:56 +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
Angie Byron 893942bb4f #108979 by ewhipple, catch, and sun: Order permissions consistently, keep node type related permissions together. 2008-09-17 20:37:32 +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 2ebaaa108b - Patch #272900 by pwolanin: prevent concurrent modificiations of book pages. 2008-07-05 06:00:51 +00:00
Dries Buytaert 31fbddc458 - Patch #276860 by pwolanin: removed dead code from book module. Does not affect the book module tests. 2008-07-01 20:59:38 +00:00
Dries Buytaert 7b66734d4e - Patch #276846 by pwolanin: mailformed cid due to fauly menu item. 2008-07-01 20:52:55 +00:00
Dries Buytaert fcb27eed23 - Patch #251239 by pwolanin: revert. 2008-06-16 23:18:12 +00:00
Dries Buytaert 7cd8427f65 - Patch #257730 by Senpai: code clean-up for book module. 2008-05-15 21:19:24 +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 48b7a5bbe9 - Patch #253022 by beginner: fixed typo in code comments. 2008-05-02 17:37:46 +00:00
Dries Buytaert a7f12c0326 - Patch #251263 by catch: fixing up many code style issues in the tests. 2008-04-25 18:26:02 +00:00
Dries Buytaert f42c1f2534 - Patch #251239 by R.Muilwijk: performance improvement. 2008-04-25 17:51:30 +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 a5c2ad2178 - Patch #231587 by pwolanin et al: fixed scalability issue in the menu system. 2008-03-14 08:51:37 +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 4b6e9f40bd - Patch #221057 by pwolanin: book module may overwrite another node's link. 2008-02-14 18:32:14 +00:00
Dries Buytaert 4969495e04 - Patch #215858 by pwolanin, goba, catch et al: localized menu link data getting saved back to the database. 2008-02-10 19:49:37 +00:00
Gábor Hojtsy af838aec81 #208492 report and testing by KarenS, patch by myself: book upgrade should not use the book API 2008-01-10 18:13:42 +00:00