Commit Graph

1157 Commits (f96d0a9ee9874144a19c120de8d13bf7a3d1e3e6)

Author SHA1 Message Date
Dries Buytaert f96d0a9ee9 - Patch #372471: box.tpl.php is dead. 2009-05-12 09:23:40 +00:00
Dries Buytaert 847304a293 - Patch #353069 by Moshe Weitzman, dmitrig01: make drupal_get_form() return unrendered forms. 2009-05-12 08:37:45 +00:00
Dries Buytaert a86223cd70 - Patch #428800 by Gabor Hojtsy: convert the mission statement to a block so we have more flexibility to place it. 2009-05-12 08:31:17 +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 11067d384d - Patch #271515 by JamesAn: corrected PHPdoc. 2009-05-06 11:30:19 +00:00
Dries Buytaert 4ef77a590c - Patch #391340 by chx, dww, neclimdul, Crell, alex_b, et al: job queue API.
The queue system allows placing items in a queue and processing them later.  The system tries to ensure that only one consumer can process an item.

Before a queue can be used it needs to be created by DrupalQueueInterface::createQueue().

Items can be added to the queue by passing an arbitrary data object to DrupalQueueInterface::createItem().

To process an item, call DrupalQueueInterface::claimItem() and specify how long you want to have a lease for working on that item. When finished processing, the item needs to be deleted by calling DrupalQueueInterface::deleteItem(). If the consumer dies, the item will be made available again by the DrapalQueueInterface implementation once the lease expires. Another consumer will then be able to receive it when calling DrupalQueueInterface::claimItem().

The $item object used by the DrupalQueueInterface can contain arbitrary metadata depending on the implementation. Systems using the interface should only rely on the data property which will contain the information passed to DrupalQueueInterface::createItem(). The full queue item returned by DrupalQueueInterface::createItem() needs to be passed to DrupalQueueInterface::deleteItem() once processing is completed.

While the queue system makes a best effort to preserve order in messages, due to the pluggable nature of the queue, there is no guarantee that items will be delivered on claim in the order they were sent. For example, some implementations like beanstalkd or others with distributed back-ends like Amazon SQS will be managing jobs for a large set of producers and consumers where a strict FIFO ordering will likely not be preserved.

The system also makes no guarantees about a task only being executed once: callers that have non-idempotent tasks either need to live with the possiblity of the task being invoked multiple times in cases where a claim lease expires, or need to implement their own transactions to make their tasks idempotent.
2009-05-06 10:37:28 +00:00
Dries Buytaert ac5e86e05c - Patch #329015 by Damien Tournoud: improved error handling of batch API. 2009-05-03 07:35:37 +00:00
Dries Buytaert 5f08579bfe - Patch #240873 by Gábor Hojtsy, sun: block system clean-ups. Thanks for the review sun. 2009-04-30 21:44:20 +00:00
Dries Buytaert 94c3dceeda - Patch #240873 by Gábor Hojtsy: move custom help settings to blocks. Very exciting. 2009-04-29 08:04:24 +00:00
Angie Byron 319220aaa2 #331832 follow-up by jhodgdon: Fix spelling of hook_form_FORM_ID_alter(). 2009-04-28 00:27:06 +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 5349ff1d26 - Patch #445966 by Damien Tournoud: allow theme engine and theme settings form. 2009-04-27 16:33:05 +00:00
Angie Byron 8e4022fe6d #359391 by kresimir: Clarify that various caching modes are 'page' caching modes. 2009-04-27 02:07:48 +00:00
Dries Buytaert 7a6f73f49d - Patch #330748 by stBorchert: remove from theme_pager*. 2009-04-26 19:44:40 +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 a4dc8467bb - Patch #368821 by Senpai, sun, JuliaKM: documentation improvements. 2009-04-26 16:44:25 +00:00
Dries Buytaert 5c629b76c7 - Patch #445062 by Arancaytar: check for PHP tokenizer extension to be installed. 2009-04-26 14:57:36 +00:00
Dries Buytaert 38fca49ad6 - Patch #383220 by mr.baileys: cron trigger needs an action. 2009-04-26 14:54:31 +00:00
Dries Buytaert 2abe0e0122 - Patch #445070 by Arancaytar: added missing parameter documentation. 2009-04-26 09:25:42 +00:00
Dries Buytaert 1c076bc89f - Patch #19837 by xmacinfo, j.somers: make 'not verified' togglable as a theme setting. 2009-04-26 09:14:32 +00:00
Dries Buytaert 3fe4c4e1c4 - Patch #352880 by dereine, Dave Reid: replace strstre with strpos. 2009-04-26 06:00:31 +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 453d7c566e - Patch #440826 by brianV: whitespace clean-up. 2009-04-25 13:47:15 +00:00
Dries Buytaert e99838fbf4 - Patch #147310 by c960657: added tests for private files, fixed a problem with private files and minor improvements. 2009-04-24 08:16:56 +00:00
Dries Buytaert 526401c4c8 - Patch #147310 by c960657 et al: better cache headers for reverse proxies. 2009-04-22 09:45:03 +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 1280c324fa - Patch #423948 by mfb: updated documentation, update functions should include schema descriptions. 2009-04-21 05:07:08 +00:00
Dries Buytaert a6233dfe20 - Patch #439038 by JeremyFrench: fixed typo in CSS file. 2009-04-20 20:07:14 +00:00
Dries Buytaert 01a33182a5 - Patch #299176 by chx, Crell: added example of hook_query_alter to API documentation. 2009-04-20 07:42:22 +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
Angie Byron d30a41e791 Roll-back of #333054; needs more discussion. 2009-04-20 02:23:17 +00:00
Dries Buytaert 2f9af75438 - Patch #430342 by kkaefer et al: usability improvement: changed 'site maintenance' to 'maintenance mode'. 2009-04-19 19:10:08 +00:00
Angie Byron cb3cde8be1 #372563 by cytefx: Rename drupal_set_html_head() to drupal_ADD_html_head() which actually describes what it does. 2009-04-15 23:49:08 +00:00
Dries Buytaert d79481b3a0 - Patch #394332 by Xano: clean up language around logging and alerts. 2009-04-13 18:50: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 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
Dries Buytaert 438aa99018 - Patch #392362 by Xano, Dave Reid: remove clean URL option from the installation process -- automatically enable clean URLs when possible, or hide the option when clean URLs cannot be enabled. 2009-04-04 00:35:46 +00:00
Dries Buytaert ee9421a84c - Patch #363262 by Dave Reid: adds a lost index to the URL table. 2009-04-03 17:50:21 +00:00
Dries Buytaert 27d7455edb - Patch #333054 by c960657: page cache should be case sensitive. 2009-04-01 20:00:47 +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 3c8f1540e1 #414218 by cha0s: Document hook_update_N()'s ability to use batch API. 2009-03-29 23:11:09 +00:00
Angie Byron df6ec4d7ff #410638 follow-up by foxtrotcharlie and David Rothstein: Fix help text on blocks so that 'Powered by' doesn't show up on all system blocks. 2009-03-25 18:40:50 +00:00
Angie Byron 4bfda4db83 #410638 by foxtrotcharlie: Prevent 'Powered by Drupal' settings showing up on all system blocks. 2009-03-25 13:48:42 +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
Dries Buytaert 0184860b58 - Patch #333156 by stella: add ability to configure the default country. 2009-03-17 15:26:29 +00:00
Angie Byron 3b30509599 #347250 by catch, drewish, and Berdir: Add function for loading multiple users in one request. 2009-03-14 23:01:38 +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 9aa14da49d - Patch #331013 by drewish: documentation clean-up. 2009-03-10 16:08:43 +00:00
Dries Buytaert a4ee7092e1 - Patch #373613 by drewish, quicksketch: working around some Debian issues. They ship a different GD library. 2009-03-10 09:43:01 +00:00
Dries Buytaert 0ea653502c - Patch #373613 by quicksketch and drewish: in order to operate on images multiple
times (such as crop, scale, then desaturate) without quality loss, we need to
  pass images by their raw GD (or other library) resources rather than re-opening
  the same image repeatedly, which causes wasted processing and loss of quality when
  using JPEG images.  This patch reworks the image toolkits, adds some new image
  manipulations and adds some impressive SimpleTests.
2009-03-09 11:44:54 +00:00