Commit Graph

612 Commits (d054bfaa01a6018ab6305806143dffe91ce8fb92)

Author SHA1 Message Date
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
Gábor Hojtsy b78a990270 #207569 by ScoutBaker (minor code style): clean up @see usage in phpdoc blocks 2008-01-08 10:35:43 +00:00
Dries Buytaert 4f54a173cc - Patch #206470 by David_Rothstein: fix book permission upgrade. 2008-01-05 22:32:25 +00:00
Gábor Hojtsy 5362c16386 #181125 follow up by beginner: book.js should have been removed earlier in #181125, was a commit mistake 2008-01-02 12:12:21 +00:00
Gábor Hojtsy 5f635b9585 #205075 report by ktabuer, patch by myself, testing by ktauber and Lynn: book block throws notice when used on non-book-node page (with a little bit of code cleanup) 2008-01-02 11:36:19 +00:00
Gábor Hojtsy ac4c8f7ab0 #203274 by Pasqualle: remove excessive witespace from our code (minor) 2007-12-22 23:24:26 +00:00
Gábor Hojtsy 6a95c27147 #202425 by keith.smith: standardize reference to block placement page as 'blocks administration page' to avoid any confusion 2007-12-19 19:13:29 +00:00
Gábor Hojtsy d17b6ad1cf #199336 by JirkaRybka: remove improper t() use in update code (update goes all in English, but there were some mistakes), and add messages to updates where there was no return value otherwise, so users know what happens in each update 2007-12-19 10:34:51 +00:00
Dries Buytaert c8b1ddf26a - Patch #164532 by catch, pwolanin, David Strauss, et al.: improve table indicies for common queries. 2007-12-18 12:59:22 +00:00
Gábor Hojtsy b6532a4fdb #200069 by keith.smith: new standard for 'more information' links in module help texts, as the handbook we referred to before was renamed 2007-12-14 18:08:50 +00:00
Gábor Hojtsy c6d841c096 #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 2007-12-13 09:34:40 +00:00
Gábor Hojtsy 5622bce2d5 #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
2007-12-08 14:06:23 +00:00
Gábor Hojtsy bbd4a50917 #195576 by webernet: fix broken state of book updates due to my faulty rollback of a patch 2007-11-27 10:29:36 +00:00
Gábor Hojtsy 22a4c039da Rollback the accidentally committed #194310 2007-11-26 19:55:15 +00:00
Dries Buytaert 9a96837b89 - Patch #163246 by keith smith, freso, O Govinda, catch, webchick et al: fixed minor spelling issues and fixed spacing issues. 2007-11-26 16:36:44 +00:00
Dries Buytaert 58852d4b7b - Patch #192736 by quicksketch et al: drag and drop for book module. 2007-11-26 16:19:37 +00:00
Gábor Hojtsy a960d4d618 #120960 by blakehall, JirkaRybka, catch: improve usability of content editing permission names 2007-11-26 11:44:04 +00:00
Gábor Hojtsy 7f85abe0e5 #191360 by chx: allow contributed modules to override the book and menu parent selectors (to improve usability and performance) 2007-11-21 19:08:18 +00:00
Gábor Hojtsy 75a6f4ded4 #160200 by dvessel and chx: better theming support for book module 2007-11-04 14:29:09 +00:00
Gábor Hojtsy 4f5c52e249 #100569 by keith.smith: improve explanation of what a book is about (in book.module) 2007-10-27 13:45:24 +00:00
Dries Buytaert 1cf05b0019 - Patch #89196 by catch, keith, earnie, webchick et al: string massaging. 2007-10-25 15:32:56 +00:00
Dries Buytaert a745b0f68b - Patch #155870 by quicksketch et al: AHAH-ification of the poll module. 2007-10-17 12:34:16 +00:00