Commit Graph

385 Commits (8a0d326a8e134ad4261b9575ce073f9e44b72f60)

Author SHA1 Message Date
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