Commit Graph

611 Commits (4489759b74ac1a2cd9d0fc45982147746145219b)

Author SHA1 Message Date
Dries Buytaert 2af96209f1 - Patch #480112 by JamesAn: converted to drupal_static(). 2009-06-07 02:29:07 +00:00
Angie Byron 2c1bb05313 #473080 by chx: Fix bug where switching themes would result in zero blocks (including content area). with tests. 2009-05-31 07:46:54 +00:00
Angie Byron f3c5d931b0 #473080 by chx: Fix bug in block page access callback showing tabs that should not appear. (with tests) 2009-05-31 06:31:00 +00:00
Dries Buytaert e0bd4cb212 - Patch #337212 by Berdir: clean-up. 2009-05-29 21:28:58 +00:00
Angie Byron 2df43894e2 #306358 by dvessel, JohnAlbin, and flobruit: Add a single $classes string (and corresponding $classes_array) for all dynamic classes in template files. 2009-05-28 16:44:07 +00:00
Dries Buytaert cb756bcf08 - Patch #337212 by Berdir: another Berdir patch to convert modules to the new database layer. Rock. 2009-05-28 11:31:20 +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 a24a6c2bba - Patch #471070 by stella: millions of code style fixes. 2009-05-24 17:39:35 +00:00
Dries Buytaert adf7113451 - Patch #470210 by Johan Morahan: nice clean-up of block configuration that fixes input format issue. 2009-05-24 07:13:12 +00:00
Angie Byron 4bc255ba79 Roll-back of #310467: Breaks installer requirements check and update.php. 2009-05-21 23:07:16 +00:00
Dries Buytaert 02c8592759 - Patch #428744 by Gabor: make the main page content a real block and clean up some of the content API. 2009-05-21 21:12:25 +00:00
Angie Byron f577c125e8 #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. 2009-05-16 15:23:16 +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
Angie Byron 0f08d97b21 #124158 by nedjo, jcnventura: Pull all PHP handling into PHP module. 2009-05-07 15:29:08 +00:00
Dries Buytaert a304502f8a - Patch #445468 by reaneyk: remove no-op block_update_7000(). 2009-05-06 10:39:42 +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
Angie Byron bda52632a5 #444402 by kkaefer and RobLoach: Enforce coding standards on all core JavaScript. 2009-04-26 19:18:46 +00:00
Dries Buytaert 2a7c00bc4a - Patch #441962 by brianV: code style and documentation clean-up. 2009-04-26 16:30:28 +00:00
Angie Byron edb9752723 #369409 by dropcube: Move block.tpl.php to block.module rather than system.module. 2009-04-26 01:15:04 +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 ff9b6c611e - Patch #427296 by taz88ny: move some code from system.module to bloc.module where it belongs. 2009-04-20 07:36:34 +00:00
Dries Buytaert b658330d28 - Patch #424252 by swentel: move block cache settings from system module to block module now block module is optional. 2009-04-05 12:31:57 +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
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 ec25568c11 #401214 by Xano: Make custom block body required so it's not possible to create blocks that don't show up. 2009-03-17 03:42:30 +00:00
Angie Byron 38969b48ff #315533 by JohnAlbin and catch: Remove all core themes but Garland and Stark. Yay for making Drupal 75% more palatable to designers. These themes can be found in contrib thanks to the venerable John Wilkins. :) 2009-03-14 16:41:30 +00:00
Angie Byron b77475baf5 #360081 by quicksketch: Stop using global variables for JavaScript settings. 2009-03-13 23:15:09 +00:00
Dries Buytaert 6fe3c7c059 - Patch #244904 by keith.smith, edmund.kwok, xano, David_Rothstein: rename 'input formats'. 2009-03-08 21:25:18 +00:00
Angie Byron 665c9fdc2c Roll-back of users -> user table name change in #330983: Broken pgsql is no fun. 2009-02-26 07:30:29 +00:00
Angie Byron ff9e842730 #330983 by recidive and boombatower: Rename users/users_roles tables to user/user_role for consistency. 2009-02-18 15:19:57 +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 6afc39c2e4 #135976 by Dave Reid: Move Administration Theme setting to the themes page where it is findable (with tests). 2009-02-11 05:33:18 +00:00
Angie Byron 7addef299c #372400 by swentel and BrightLoudNoise: Fix 'delete' link on block administration screen. 2009-02-11 03:38:46 +00:00
Dries Buytaert 29c8e40e91 - Patch #355236 by Frando: refactor drupal_render() theming. 2009-02-03 18:55:32 +00:00
Dries Buytaert d4867346f5 - Patch #367380 by Moshe: make block module optional. 2009-02-03 12:30:14 +00:00
Dries Buytaert 2e8ca690ff - Patch #351235 by dmitrig01, webchick, frando, moshe weitzman, et al: hook_page_alter. Oh, behave. 2009-01-27 00:22:27 +00:00
Dries Buytaert 6d3d75fe4b - Removing whitespace. 2009-01-26 14:08:44 +00:00
Dries Buytaert 3dc1157a1e - Patch #244904 by edkwh, keith.smith: renamed 'input format' to 'text format' based on UMN usability study. 2009-01-21 16:58:42 +00:00
Dries Buytaert 58be433272 - Patch #355661 by Jody Lynn: fixed spelling error in test function name. 2009-01-07 21:41:13 +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 574a2e47ee - Patch #345866 by alexanderpas, justinrandell, Dave Reid: remove from hook_block(). 2008-12-16 23:57:33 +00:00
Dries Buytaert cadd9bd54c - Patch #335086 by recidive: rename node, filter and comment module tables to singular for consistency. Oh my. 2008-12-03 16:32:22 +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
Angie Byron 842a0fae20 #332123 follow-up by lilou: Removing t() from schema descriptions in the block tables. 2008-11-22 21:21:34 +00:00
Dries Buytaert b547567e85 - Patch #335621 by Dave Reid: fixed warning. 2008-11-22 11:14:48 +00:00
Dries Buytaert d7b65beea9 - Patch #293370 by maartenvg, swentel, et al: block sorting fails if more than 20 blocks are present. 2008-11-22 10:53:20 +00:00
Dries Buytaert e53859bcea - Patch #202183 by maartenvg: usability - shorten block configuration page. 2008-11-22 10:27:25 +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
Dries Buytaert 59ece2e39d - Patch #325665 by chx, Damien Tournoud, justinrandell et al: improved the cache registry lookups. 2008-11-11 22:39:59 +00:00
Angie Byron 88a6e82db1 #329998 by pwolanin: Remove unescaped <> chars from t() strings. 2008-11-08 23:03:39 +00:00
Dries Buytaert 0290031d45 - Patch #319788 by stella, nedjo et al: pass language code to filters when available. 2008-11-08 20:43:54 +00:00
Angie Byron d2719c2a89 #329224 by boombatower and sun: November Make-All-Tests-Pass-Again-Extravaganza: Fix notices in block tests. 2008-11-07 05:58:51 +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 5371104a2d - Patch #316225 by sun et al: allow behaviors to detach from AHAH/AJAX. 2008-10-29 10:01:28 +00:00
Dries Buytaert df2cf40d2c - Patch #266358 by Rob Loach, mfer: use array in drupal_add_css(). 2008-10-26 18:06:39 +00:00
Angie Byron 617fe51e62 #315739 by sun: Fix logic of block form action. 2008-10-25 21:16:52 +00:00
Dries Buytaert a4c679df7a - Patch #302518 by AlexisWilke: fixed problem with PostgreSQL users not being able to delete blocks. 2008-10-20 13:00:24 +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 390e2fd2d7 #320024 by Dave Reid: Replace hardcoded drupal_required_modules() with required = TRUE in .info files. 2008-10-12 01:23:07 +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 da7f3a0ef0 #319699 follow-up by Dave Reid: Simplify required module hiding in admin/build/modules. 2008-10-11 15:54:14 +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 026af5df34 - Patch #310212 by justinrandell, catch, et all: killed in _user hook, as well as two small kittens. 2008-10-06 11:30:12 +00:00
Angie Byron 4a0e68e838 #125315 by chx, sun, Gábor Hojtsy, drumm, and friends: Add #input_format FAPI property that can be used by WYSIWYG editors. WOOHOO. 2008-09-27 19:47:43 +00:00
Angie Byron cf5b00c5db #275092 follow-up by chx: Fix admin blocks page to work with secondary themes + test so we don't break it again. 2008-09-14 20:37:28 +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 fb3b6d13b8 - Patch #231190 by eli, mfb: page cache didn't work with HEAD requests. 2008-07-17 21:10:39 +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 6636c0cc99 - Patch #212608 by Gábor Hojtsy, webchick, stefgosselin: fixed E_NOTICE on block administration. 2008-06-25 09:52:41 +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 c529e4afbe - Patch #101543 by webchick: document all constants. 2008-05-26 17:12:55 +00:00
Dries Buytaert 85c269ef40 - Patch #257634 by Senpai and catch: code clean-up 2008-05-15 21:30:02 +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 76151a8bc9 - Patch #245504 by catch, David_Rothstein, Freso, et al: removed the throttle module from Drupal core. 2008-04-16 11:35:52 +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 b8957cad97 - 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. 2008-03-21 08:41:25 +00:00
Dries Buytaert f5d4287cd5 - Patch #214271 by recidive: improved schema identation. 2008-03-15 12:31:29 +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
Gábor Hojtsy aabdbbdf4b #157652 by beginner, Steven Merrill and killes: block_user() had a global user object and a user parameter colliding 2008-02-03 19:12:57 +00:00
Gábor Hojtsy 2a0f65a742 #211742 by theborg, chx: detect and solve the problem when blocks are assigned to invalid regions (happens in theme development) 2008-01-25 10:56:59 +00:00
Gábor Hojtsy 75653ac7f4 #208991 follow up by dvessel: forgot to mark the blocks table with sticky-enabled 2008-01-16 22:57:26 +00:00
Gábor Hojtsy 3fa5b71015 #203482 by Desbeers: block module HTML typo in help (outside t()) 2007-12-24 10:33:39 +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 1d4fc1b1af #202473 by keith.smith: pre-RC1 spell checking on hopefully final text 2007-12-19 21:40:05 +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 7ae4e0b846 #192779 follow up by Lynn: only show enabled themes on block admin page *and* the admin theme (which might not be enabled) 2007-12-19 19:09:52 +00:00
Gábor Hojtsy 3d0ff402bd #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 2007-12-18 16:38:21 +00:00
Gábor Hojtsy e38ae5735e #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) 2007-12-18 14:11:02 +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 a859f4a0e8 #197641 follow up by moofie: make drag and drop handle text translatable and fix smaller bugs 2007-12-16 10:36:53 +00:00
Gábor Hojtsy a2ae92457a #192779 by gaele: (usability) only show theme tabs on the blocks page for enabled themes, for consistency with the theme settings page 2007-12-16 10:30:09 +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 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
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 6049f23760 - Patch #181066 by quicksketch et al: drag and drop of table rows on the block adminsitration page. 2007-11-14 09:50:00 +00:00
Dries Buytaert 44373cf0b1 - Patch #191282 by quicksketch: inconsistent database region for disabled blocks. 2007-11-14 09:31:05 +00:00
Dries Buytaert e05c6195ab - Patch #184742 by John Morahan: fixed PHP warning. 2007-11-14 05:59:38 +00:00
Gábor Hojtsy e329fd34c2 #190128 by bjaspan and chx: fix _block_rehash() functionality on PostgreSQL 2007-11-07 21:13:31 +00:00
Gábor Hojtsy bfd7c0f1f9 #80963 by chx with multiple contributors: remove deletion and database lock based block rehash code, replace it with simpler updates 2007-11-06 11:40:15 +00:00
Gábor Hojtsy 91e980a271 #187881 by mooffie: fix misnamed database table names in schema documentation 2007-11-04 14:33:07 +00:00
Gábor Hojtsy b94f2716cf #184867 by deekayen, catch and keith.smith: fix some spelling errors in our source code and messages printed 2007-10-21 18:59:02 +00:00
Gábor Hojtsy 8a9ba77275 #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 2007-10-16 14:10:33 +00:00
Dries Buytaert b274bf87f3 - Patch #182950: fieldset massaging for usability. 2007-10-12 14:10:18 +00:00
Gábor Hojtsy ed1a53698a #180897 by sun and dvessel: fix various XHTML validity issues in Drupal by closing unclosed tags, avoiding empty table containers, and so on 2007-10-11 09:51:29 +00:00
Gábor Hojtsy 8cf6fefe54 #164983 by multiple contributors: document the core database schemas 2007-10-10 11:39:35 +00:00
Gábor Hojtsy 212c0484b9 #181741 by quicksketch: fix AHAH throbber/progress bar issues and generalize progress display configuration to allow module developers to choose from the throbber and progress bar 2007-10-10 10:24:25 +00:00
Dries Buytaert db10cb7d1e - Patch #181177 by John Morahan: updated TODO (documentation). 2007-10-06 16:08:50 +00:00
Dries Buytaert 5a752dc507 - Added missing .install files. Forgot to commit those. 2007-10-05 16:07:22 +00:00
Dries Buytaert 39706e3c51 - Patch #150245 by webchick, bjaspan, ralf, Arancaytar et al: move the .schema files into .install files to prevent mistakes. 2007-10-05 14:43:26 +00:00
Gábor Hojtsy 272a97acb8 #157752 follow up patch by scor: fix two form menu callbacks 2007-10-05 12:57:20 +00:00
Gábor Hojtsy b217d4da9a #157752 by quicksketch: extend AHAH functionality to most types of form elements, without writing JavaScript. Also AHAH enable the blocks admin page. (part 2) 2007-10-05 09:36:52 +00:00
Gábor Hojtsy 31b73898af #157752 by quicksketch: extend AHAH functionality to most types of form elements, without writing JavaScript. Also AHAH enable the blocks admin page. 2007-10-05 09:35:09 +00:00
Gábor Hojtsy 74def328c8 #167284 by Heine and pwolanin: proper field type placeholders in IN() queries, setting a best practice to avoid vulnerabilities 2007-09-27 16:52:00 +00:00
Gábor Hojtsy c3972cf506 #162432 by bjaspan and chx: serial columns need their keys defined in db_change_field() and friends in MySQL 2007-09-14 17:46:32 +00:00
Dries Buytaert 3a7d307845 - Patch #159936 by dvessel: tpl-ify block module. 2007-09-01 05:31:09 +00:00
Dries Buytaert 5e73b66f3a - Patch #168028 by dvessler, merlinofchaos, pwolanin et al: both theme functions and templates may need include files. Flush your caches. 2007-08-26 07:46:11 +00:00
Dries Buytaert 594fa666af - Patch #80951 by webchick: fixed broken query. 2007-08-20 06:41:38 +00:00
Dries Buytaert 74292cd062 - Patch #80951 by killes, yched et al: block caching. 2007-08-19 08:08:45 +00:00
Dries Buytaert b134b023e1 - Patch #163191 by hswong3i: removed db_num_rows() for compatibility with Oracle and DB2. Also a performance improvement. 2007-08-12 15:55:36 +00:00
Gábor Hojtsy f23c24c8a3 #164935 by Ralf Stamm: standardize CVS Id tags in files:
- always include CVS Id tags in all files
 - add a new line after the CVS Id, if more code or phpdoc follows in the same code block
 - fix bogus Id tags previously added
2007-08-07 08:39:36 +00:00
Dries Buytaert 7774d09578 - Patch #159936 by dvessel: fixed block administration page. 2007-07-24 18:17:30 +00:00
Dries Buytaert 80213aff3c - Patch #159634 by Crell: split the blog module. 2007-07-22 06:48:25 +00:00
Dries Buytaert de06bb7a8e - Patch #159936 by dvessel: tpl-ified the block.module. 2007-07-18 14:08:08 +00:00
Dries Buytaert 6f61409874 - Patch #153594 by profix898: usability: remove word 'settings' in blocks administration. 2007-07-16 12:52:25 +00:00
Dries Buytaert 84a4eed40d - Patch #159610 by Crell: performance improvement: split up block module. 2007-07-16 06:40:25 +00:00
Gábor Hojtsy a1a556b8c1 #155282 by Jose A Reyero: apply db_rewrite_sql() to the block listing query to allow for multilingual blocks 2007-07-01 21:39:07 +00:00
Dries Buytaert e59852d336 - 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.
2007-07-01 17:41:16 +00:00
Gábor Hojtsy 9e6ef53c2c #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 2007-06-30 19:46:58 +00:00
Gábor Hojtsy 803bbf4f87 #152585 by yched and drewish: fix block module FAPI3 parameters 2007-06-28 00:39:47 +00:00
Steven Wittens fe8b35f527 #153781: Convert all remaining confirm_forms() to deletion api. 2007-06-22 08:32:28 +00:00
Dries Buytaert 6c20c428a1 - Patch #145646 by lyricnz: select fields more strictly. 2007-06-11 07:46:05 +00:00
Dries Buytaert 29eb5a6284 - Patch #146910 by dww: only allow enabling modules with the same Drupal core compatibility version. 2007-06-08 05:50:58 +00:00
Dries Buytaert 27388f6655 - Patch #149176 by chx, David et al: getting rid of the sequences table, using db_last_insert_id() instead of db_next_id(). 2007-06-05 12:13:23 +00:00
Dries Buytaert 1fe90cba4f - Patch #146667 by Eaton: correct builder argument ordering, eliminate redundant arguments 2007-06-04 07:22:23 +00:00
Dries Buytaert 96926ca047 - Patch #146470 by Eaton et al: standardize form API3 hook parameter order. 2007-05-28 06:08:47 +00:00
Gábor Hojtsy 860947d3c8 #145737 by yhager, documentation cleaned up by myself: add support for RTL CSS overrides and default RTL CSS override files for modules
Note: properties, which are different in the RTL display are marked with /* LTR */ in default CSS files now,
so maintainers remember that changing them should also have an effect on RTL CSS files.

This should open the way for better RTL (right-to-left written) language (such as Arabic and Hebrew) support.
2007-05-27 17:57:48 +00:00
Dries Buytaert 3cafffe63f - Killer patch #144765 by bjaspan, frando et al: schema API 1 hits core. Oh, behave. 2007-05-25 12:46:46 +00:00
Dries Buytaert d78badccbc - Patch #109104 by Zen: ambiguous column reference with PostgreSQL. 2007-05-20 16:40:20 +00:00
Dries Buytaert f07760b338 - Patch #141664 by ChrisKennedy: fixed E_ALL warning. 2007-05-14 13:53:01 +00:00
Dries Buytaert ac65ff9074 - Patch #138706 by eaton, chx, webchick, yched et al: form api 3 ... yay. :) 2007-05-14 13:43:38 +00:00
Dries Buytaert 7d4f2836ba - Patch #128082 by Goba et al: Allow localization of built-in menu items. 2007-04-30 17:03:29 +00:00
Dries Buytaert 03b4b58e9a - Patch #132018 by Steven et al: add .info files to themes. 2007-04-17 07:19:39 +00:00
Dries Buytaert dcbb5fa3f4 - Patch #107061 by Steven et al: add jQuery teaser splitter. 2007-04-09 13:58:03 +00:00
Dries Buytaert 5bbbf10ba8 - Patch #130987 by merlinofchaos: added theme registry for easier themability. 2007-04-06 13:27:23 +00:00
Steven Wittens f7440d4d73 #130971: Kitchen sink (E_NOTICE compliance / Code style / Bugfix in book toc) 2007-03-27 05:13:55 +00:00
Dries Buytaert 8f46152ad6 - Rollback. :-) 2007-03-25 21:11:26 +00:00
Dries Buytaert ba15b28ece - Patch #80963 by Dries et al: fixed race condition in _block_rehash(). 2007-03-25 20:00:05 +00:00
Dries Buytaert 05a708fb06 - Patch #112715 by chx, webchick, asimmonds, et al: fixing E_ALL notices. Thanks. 2007-01-31 15:49:26 +00:00
Dries Buytaert 3b543c18f5 - Rollback of E_ALL patch. Too much extra breakage. 2007-01-25 22:14:06 +00:00
Dries Buytaert fd32b42196 - Patch #112715 by webchick et al: fixed some E_ALL errors. 2007-01-25 21:32:07 +00:00
Dries Buytaert 03752e35a4 - Patch #34755 by chx et al: faster menu system. HEAD is temporary broken and there is no upgrade path yet. 2007-01-24 14:48:36 +00:00
Dries Buytaert f83368fdf5 - Patch #92630 by RobRoy: simplify adding new blocks. 2007-01-23 16:44:58 +00:00
Dries Buytaert ca7e9c8c25 - Patch #107447 by webchick: code style fixes. 2007-01-11 08:54:44 +00:00
Dries Buytaert 28f907c46a - Patch #103717 by profix88: unable to edit blocks for administration theme when it is not enabled. 2006-12-18 21:49:39 +00:00
Steven Wittens 293b12cc21 #102604: Document BLOCK_REGION_NONE constant 2006-12-11 23:00:09 +00:00
Steven Wittens b86f45b1e6 #100516: CSS preprocessor to cache and compress all .css files. Benchmarks show up to 40% faster page loads. 2006-12-10 09:54:35 +00:00
Dries Buytaert e90e2f2aa2 - Patch #101196 by webchick and matt: corrected information in block.module help. 2006-12-08 16:23:45 +00:00
Steven Wittens 65881f1cdb #101523: Fix menu indentation after conditional CSS patch 2006-12-07 19:50:31 +00:00
Steven Wittens 0ea4e1c5f6 #100563: Conditional loading of (some) module.css files 2006-12-01 22:47:53 +00:00
Dries Buytaert d172bad559 - Patch #98390 by Heine: correcting the help text. 2006-11-28 11:12:38 +00:00
Neil Drumm 3ee7ed6a66 #98078 by Heine. Fix double escaping on admin/build/blocks. 2006-11-27 01:26:31 +00:00
Neil Drumm b5bf8a8f47 #97824 by Gurpartap. Move enclosing elements outside of their t(). 2006-11-26 02:20:01 +00:00
Neil Drumm 599fe08929 #98384 by RobRoy. Add a space between two sentences. 2006-11-25 08:46:31 +00:00
Dries Buytaert 827f064deb - Patch # #98366 by webchick and ac: simplified strings for translators. 2006-11-24 10:18:24 +00:00
Dries Buytaert 6ae6dc0d85 - Patch #87298 by webchick, neil, dww et al: show version numbers on modules page. 2006-11-21 20:55:36 +00:00
Dries Buytaert b004f328ee - Patch #92992 by webchick and neclimdul: clean up documentation that is superseded by the new 'by module' administration dashboard. 2006-11-21 20:14:19 +00:00
Dries Buytaert 01191f7230 - Patch #63267 by profix et al: trim the content of the 'pages' setting so it can be evaluated properly. 2006-11-08 19:49:13 +00:00
Dries Buytaert 42530dc6e3 - Patch #91906 by kkaefer and RobRoy: usability improvement to the block administration interface. 2006-11-08 19:27:59 +00:00
Dries Buytaert 9321ee109d - Patch #93536 by Gabor: eliminate remaining bluemarine traces from core code. 2006-11-08 19:24:11 +00:00
Neil Drumm 0accf8fe1e #90508 by Heine and the security team. Every form gets a token. 2006-10-31 08:06:18 +00:00
Steven Wittens 36d44fbfb0 #84146: Use 'Sentence capitalization' for menu items, page titles, form items, etc 2006-10-22 08:28:47 +00:00
Dries Buytaert 8a478d5068 - Patch #87057 by chx and profix898: fixed problem with not being able to configure blocks per theme. 2006-10-08 06:34:12 +00:00
Dries Buytaert 18b297abf8 - Patch #81740 by merlinofchaos, webchick, moshe, neclimdul et al: added package support to the modules page. 2006-10-05 15:47:57 +00:00
Neil Drumm 5ba0c5969d #42514 by wtanaka and dopry. More thoroughly delete custom blocks. 2006-09-05 02:53:01 +00:00
Neil Drumm 208090eeb0 #82336 by jvandyk. Set the default input format if we don't have one. 2006-09-05 02:36:02 +00:00
Dries Buytaert c64db1da29 - Patch #80952 by earl, webchick, neclimdul et al: .info files 2006-08-31 20:22:37 +00:00
Neil Drumm 4c5b53040a #68187 by Zen. Blovk visibity by path checks both aliased and non-aliased paths. 2006-08-31 08:52:11 +00:00
Dries Buytaert f2f3416549 - Patch #80934 by timnc: more t() fixes. 2006-08-27 12:43:18 +00:00
Neil Drumm 9f641766a4 #80352 by Zacker. Manually created blocks now appear in block listing. 2006-08-25 23:54:18 +00:00
Neil Drumm 02b3898e8f #80150 by webchick. Cleanup from #76666. 2006-08-23 04:44:36 +00:00
Neil Drumm 28feea3cc5 #80079 by drewish, fix some double placeholdering and other bugs with using t(). 2006-08-23 04:40:57 +00:00
Dries Buytaert 4936f4df12 - Patch #76666 by hunmonk: custom block titles. 2006-08-22 07:43:33 +00:00
Dries Buytaert a2be462995 - Use consistent terminology: placement -> region. 2006-08-21 09:18:46 +00:00
Dries Buytaert c27f564e07 - Patch #77924 by RobRoy: fixed race condition in block administration that might have caused data loss. 2006-08-20 06:49:15 +00:00
Steven Wittens 55eec8f66f #79601: module_exist() -> module_exists() 2006-08-20 05:57:41 +00:00
Dries Buytaert 7de41539df - Patch #77919 by chx, eaton, moshe, et al: enable programmaticaly submitted forms via the pull model. 2006-08-18 18:58:47 +00:00
Steven Wittens 81938a3cdc #76802: Introduce placeholder magic into t()
See: http://drupal.org/node/64279#t-placeholders
2006-08-18 12:17:00 +00:00
Neil Drumm 3cc2b1e3d7 #77183 by m3avrck and timcn, split up drupal.css by module. 2006-08-14 07:14:50 +00:00
Dries Buytaert ce85b7c7f8 - 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 ... :)
2006-08-10 15:42:33 +00:00
Dries Buytaert 729fa6c11b - Patch #77422 by timcn: corrected various paths in the documentation. 2006-08-07 15:04:16 +00:00
Dries Buytaert b138793b68 - Patch #72079 by Earl et al: give Drupal an overall administration page ... :-) 2006-07-31 11:25:55 +00:00
Neil Drumm 451f44c4f0 #71772 by Bart Jansens, fix various php warnings 2006-07-02 20:06:31 +00:00
Dries Buytaert 02fa0d85b2 - Patch #18018 by dww, nedjo, tostinne, luke et al: block visibility by role. 2006-05-26 09:21:10 +00:00
Neil Drumm 134314a327 #62262 by dww, fix block help text. 2006-05-23 02:14:26 +00:00
Neil Drumm 9cff02e91b #61802 by Zen, Double spaced sentences clean up 2006-05-07 00:08:36 +00:00
Gerhard Killesreiter 7c941aa5dc #60563, missing block name in delete dialoge, patch by Steve McKenzie 2006-04-26 21:53:24 +00:00
Dries Buytaert d071f99172 - Removing trailing whitespace. 2006-04-17 20:48:26 +00:00
Steven Wittens 21585f66a5 #56813: Simplify admin/block code, and fix sorting of blocks in the listing 2006-04-04 23:32:40 +00:00
Dries Buytaert a9ff6cd372 - 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.
2006-03-04 17:54:58 +00:00
Dries Buytaert 3603fe1bd8 - Patch #49912: www.drupal.org -> drupal.org. (Today's critical bugfix #5.) 2006-02-21 18:46:54 +00:00
Dries Buytaert 583d5a4ee9 - Patch #48622 by adrian: remove drupal_goto from _submit functions. 2006-02-10 05:25:57 +00:00
Dries Buytaert 15ff8c8e32 - Patch #46827 by wulff: fixed incorrect links. 2006-01-29 07:50:45 +00:00
Dries Buytaert e54db453e0 - Patch #36029 by asimmonds/dopry: fixed critical bug in block administration. 2006-01-26 09:06:23 +00:00
Dries Buytaert 2fa3490ebf - Patch #46106 by markus: usability improvement: moved the block description textfield up. 2006-01-24 08:38:29 +00:00
Dries Buytaert 8c02d4ec93 - 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.
2006-01-20 09:04:34 +00:00
Dries Buytaert e84a98a22b - Patch #45349 by Morbus Iff: input filters aren't sorting correctly infForms API. 2006-01-19 08:54:41 +00:00
Dries Buytaert 47ae354ef5 - Patch #44163 by m3avrck: fixed typo in permission and fixed incorrect description. 2006-01-12 10:01:15 +00:00
Steven Wittens 1b66966a4b - #43495: Separate permission for PHP-based block visibility 2006-01-08 03:33:31 +00:00
Dries Buytaert 6c20d333d2 - Patch #35667 by Crell: bug fix: on ?q=admin/block style.css was imported twice. 2006-01-06 07:25:44 +00:00
Dries Buytaert 764f1177ef - Patch #40631 by Chris Johnson: is_array() slower than isset() or empty(). 2005-12-14 20:10:45 +00:00
Dries Buytaert 28fdb3975e - Patch #39778 by chx: obliterate nodeapi op form in favor of the forms API's way of doing things. Tested with help from webchick. 2005-12-05 09:11:33 +00:00
Dries Buytaert 26bd449860 - Patch #39576 by chx: rename '_execute' to '_submit' and '#execute' to '#submit'. 2005-12-02 15:21:01 +00:00
Dries Buytaert 8b02851fee - Patch #37714 by asimmonds: fixed saving of blocks. 2005-11-16 22:07:48 +00:00
Dries Buytaert c8f6a2421b - Patch #35524 by asimmonds / drewish: converted the custom block forms code to the forms API's execute model. 2005-11-13 08:26:01 +00:00
Dries Buytaert aeed4cd8e4 - Patch #35644 by webchick: forms API simplificiations. 2005-11-12 11:26:16 +00:00
Dries Buytaert 7bd728ef4a - Patch #36029 by asimmonds: fixed typo that prevents 'admin - block - configure' from working. 2005-11-03 15:39:37 +00:00
Dries Buytaert a8b218827a - Patch #26139 by webchick / Kieran / documentation team: improved admin help of core modules! / 2005-11-01 10:17:34 +00:00
Dries Buytaert f6764cfbd8 - Patch #30930 by m3avrck/deekayen: cured PHP5 warnings. 2005-10-22 15:14:46 +00:00
Dries Buytaert 75fe6b6c0a - Patch #33752 by chx, adrian, et al: another batch of form API changes/fixes. 2005-10-11 19:44:35 +00:00
Dries Buytaert a1ae4da70b - Removing tabs and trailing whitespaces. 2005-10-07 06:51:43 +00:00
Dries Buytaert 7e1527ee61 - 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.
2005-10-07 06:11:12 +00:00
Dries Buytaert da74bce9bc - Patch #30801 by Allie Micka, m3avrck, 1uv4t4r et al: fixed block problems. 2005-09-14 21:37:11 +00:00
Dries Buytaert 6ea4bc6caa - Patch #30801 by Allie Micka and m3avrck: performance improvements: improved the database scheme and queries of the block.module. 2005-09-12 18:26:59 +00:00
Dries Buytaert 7b8a409675 - Patch #29385 by chx: no ?> add end of files. 2005-08-25 21:14:17 +00:00
Dries Buytaert 26fa7c730f - Patch #16216 by nedjo: multiple block regions! 2005-08-16 18:06:18 +00:00
Dries Buytaert 273d7f59b6 - 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.
2005-08-07 15:30:03 +00:00
Steven Wittens e4096e1418 - #27551: Rename check_output() to check_markup(). Needs contrib updates! 2005-07-29 21:06:33 +00:00
Dries Buytaert 7ab84f9fcf - Patch #26217 by HellRaider: fixed problem <front> setting in presence of slashes. 2005-07-20 11:44:40 +00:00
Dries Buytaert 8e0b516022 - Patch #26233 by Goba: fixed problem with block regions being buggy. 2005-07-03 15:27:52 +00:00
Dries Buytaert 2c10ff4b5f - Fixed problems with filter formats and problem with XML-RPC server. 2005-06-29 19:53:14 +00:00
Dries Buytaert 58aee8cdad - Patch #25603 by Stefan: made the sizes of forms consistent.
TODO: document the defaults in the PHPdoc comments.
2005-06-27 18:33:33 +00:00
Dries Buytaert 2abaae6baf - Patch #22192 by tostinne: fixed invalid XHTML code 2005-05-22 12:48:47 +00:00
Dries Buytaert 2debcfb1ef - 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()!  .
2005-05-05 22:22:46 +00:00
Dries Buytaert cf1224d57b - Patch #21939 by Usability Poobah Chris: added missing </p> tag. 2005-05-05 11:24:21 +00:00
Dries Buytaert 8bfcf2c2e4 - Patch #21445 by Goba: added missing t() function. 2005-05-01 18:37:18 +00:00
Dries Buytaert a93cf89665 - Patch #21353 by chx: implemented PHP-mode for blocks. 2005-04-30 18:16:38 +00:00
Dries Buytaert a76a1e1f3f - Patch 20910 by chx: centralize print theme page. 2005-04-24 16:34:36 +00:00
Dries Buytaert 199aab5ff5 - Improved consistency. 2005-04-18 20:31:50 +00:00
Dries Buytaert f33f9a5fcd - Patch #19965 by Robin Monks: fixed problem with duplicate block titles. 2005-04-12 18:52:47 +00:00
Dries Buytaert c7c33cc174 - 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. 2005-04-04 12:27:05 +00:00