Commit Graph

1185 Commits (1cb11b5bb7ae3ca61818af464f403233050508c7)

Author SHA1 Message Date
Angie Byron f13d502403 #475348 by boombatower: Move admin/development to system.module so it's available to other modules. 2009-05-29 03:57:04 +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 70875e9dbe - Patch #473012 by stella: improve help text on uninstall page. 2009-05-27 19:41:01 +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 66108c34ac - Patch #351487 by JohnAlbin, deviantintegral et al: remove default values for stylesheets and scripts. 2009-05-27 11:43:43 +00:00
Angie Byron 827e278489 #296693 by Damien Tournoud, boombatower, sun, and Xano: Hide parent administrative menu items when user has no access to any of their children. 2009-05-27 02:21:53 +00:00
Dries Buytaert 3c4be3ab55 - Patch #472658 by agentrickard: clean up of inline code comments. 2009-05-26 09:12:29 +00:00
Dries Buytaert edeea95f5e - Patch #137932 by grendzy, Alan D, lilou et al: automatic enctype on adding a file field. 2009-05-25 18:22:31 +00:00
Dries Buytaert a98905f5c6 - Patch #471800 by stella: more code style fixes. 2009-05-25 13:42:56 +00:00
Dries Buytaert 76957a25e6 - Patch #470594 by Moshe: convert more pages and blocks to return arrays. 2009-05-25 10:43:54 +00:00
Dries Buytaert a24a6c2bba - Patch #471070 by stella: millions of code style fixes. 2009-05-24 17:39:35 +00:00
Angie Byron 6c590f25ef #212233 follow-up by catch: Remove some left-over code after removing SQL status report. 2009-05-22 15:48:54 +00:00
Dries Buytaert dc4d421be7 - Patch #396284 by Berdir, chx, jcfiala, csevb10 et al: make sure to order by table headers first, before ordering by other fields. 2009-05-22 11:33:18 +00:00
Dries Buytaert 092726df16 - Patch #212233 by lilou, catch: remove SQL report. 2009-05-22 07:02:09 +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 9c79816c4f #332123 follow-up by quicksketch: Fix API documentation for hook_schema() to reflect that descriptions should not be t()ed. 2009-05-20 19:56:36 +00:00
Dries Buytaert ab630b2d71 - Patch #382896 by jmburnz: move and out of the content div. 2009-05-19 17:23:16 +00:00
Angie Byron ba61b42bd9 #456824 follow-up by catch: Fix D6 -> D7 upgrade path failure. 2009-05-16 20:25:20 +00:00
Angie Byron b62fb8299f #455576 by Xano and sirkitree: Revamp user settings page with vertical tabs, better organization, etc. Awesomeness. 2009-05-16 20:10:50 +00:00
Dries Buytaert 61f4dfc982 - Patch #456824 by catch: add better caching to drupal_lookup_path(). 2009-05-16 19:07:02 +00:00
Dries Buytaert 196da1b876 - Patch #394572 by Berdir: converted system module to the new database abstraction layer. 2009-05-16 18:34:23 +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 b166ca9b3c - Patch #459836 by Xano: rework admin/settings/regional-settings. 2009-05-15 03:38:25 +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
Dries Buytaert a07e17a92c - Patch #210876 by deekayen: log enabling and disabling of modules, and wrote a handy assertLogMessage() function to assert watchdog messages. 2009-05-12 18:08:43 +00:00
Dries Buytaert 5e3f50369f - Patch #453080 by Gabor Hojtsy: moved the footer message to a block. 2009-05-12 13:43:46 +00:00
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