Commit Graph

332 Commits (1cb11b5bb7ae3ca61818af464f403233050508c7)

Author SHA1 Message Date
Dries Buytaert 0f4060f377 - Patch #472642 by stella, agentrickard: remove 'implementation of' nominalizations from Docblocks. 2009-05-27 18:34:03 +00:00
Dries Buytaert a98905f5c6 - Patch #471800 by stella: more code style fixes. 2009-05-25 13:42:56 +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 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 ba61b42bd9 #456824 follow-up by catch: Fix D6 -> D7 upgrade path failure. 2009-05-16 20:25:20 +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 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 5e3f50369f - Patch #453080 by Gabor Hojtsy: moved the footer message to a block. 2009-05-12 13:43:46 +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 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 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
Dries Buytaert 5c629b76c7 - Patch #445062 by Arancaytar: check for PHP tokenizer extension to be installed. 2009-04-26 14:57:36 +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
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
Dries Buytaert 0184860b58 - Patch #333156 by stella: add ability to configure the default country. 2009-03-17 15:26:29 +00:00
Angie Byron 27369e8b96 #304163 by chx: Allow update.php to re-generate settings.php. Now possible to upgrade Drupal 6 to Drupal 7. Oh, yeah. 2009-03-01 09:32:17 +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
Dries Buytaert 094e999013 - Patch #383318 by mr.baileys: incorrect memory shortage warning when memory limit is unlimited. 2009-02-25 13:33:53 +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 df591c8f40 #215080 by drifter and robertDouglass: Add index on system name and type to speed query. 2009-02-18 15:14:11 +00:00
Dries Buytaert d4867346f5 - Patch #367380 by Moshe: make block module optional. 2009-02-03 12:30:14 +00:00
Angie Byron 2c381622a5 #88264 by Rob Loach and kscheirer: Make variable_get()'s defaultparameter default to NULL so that NULLs do not need to be specified. 2009-01-31 16:50:57 +00:00
Angie Byron 8851b57acf #227486 follow-up by catch: Move update 7010 to 6048 so that the 6.x and 7.x updates stay in sync. 2009-01-25 16:46:05 +00:00
Angie Byron 5951daf881 #363262 by catch and Damien Tournoud: Replace src index on the {url_alias} table with src, language for better performance. 2009-01-25 13:57:21 +00:00
Angie Byron 4bf29632d4 #363644 by chx: Remove annoying whitespace. 2009-01-25 12:22:09 +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 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
Angie Byron 9e8bfddf29 #360104 by drewish: Allow taxomomy module to be uninstalled. 2009-01-19 01:53:26 +00:00
Angie Byron 0c57b989f5 #360106 by Dave Reid: Allow comment module to be uninstalled. 2009-01-19 01:23:39 +00:00
Dries Buytaert 534287b1bc - Patch #245990 by pwolanin: further clean-up of the HTTP request status fail problem. 2009-01-14 21:13:42 +00:00
Angie Byron cb159b9ff1 #143434 by Jody Lynn: Move 'display post information' to where users would expect. 2009-01-09 16:19:56 +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 9120540d19 - Patch #339588 by jhedstrom, Josh Waihi, mikl: remove *_unsigned types and rework their sizes. Fixes exception on PostgreSQL. 2008-12-26 11:04:39 +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 ec4eba68d7 - Patch #323528 by jhedstrom: fixed alias usage in queries for PostgreSQL. 2008-12-19 03:55:23 +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 bc719d0c55 - Patch #337820 by Dave Reid, Damien Tournoud, et al: rename menu path 'logout' to 'user/logout'. For real now. 2008-11-29 09:33:51 +00:00
Angie Byron d7f706f291 Reverting #337820 once more, as it causes mysterious test failures. 2008-11-27 07:07:01 +00:00
Dries Buytaert c01f85bc37 - Patch #337820 by Dave Reid: rename menu path logout to user/logout. 2008-11-25 13:16:39 +00:00
Dries Buytaert 5083e13522 - Patch #333143 by justinrandell: cleaning up the Drupal bootstrap code, removing bootstrap flag in system table. 2008-11-24 10:41:40 +00:00
Angie Byron bd9554952c Reverting #337820 which causes menu tests to fail, unbeknownst to testing bot. Hrm... 2008-11-24 04:22:02 +00:00
Angie Byron 251a761eaa #337820 by Dave Reid: Rename menu path 'logout' to 'user/logout' for consistency. 2008-11-23 21:17:48 +00:00
Angie Byron c30376a50b #337820 follow-up: Reverting conflict cruft that somehow got introduced the last commit. 2008-11-23 20:29:36 +00:00
Dries Buytaert a7b2b9dfd1 - Patch #332980 by scor and keith.smith: documentation improvements + typo fixed. 2008-11-23 16:54:49 +00:00