Commit Graph

10052 Commits (0e0ca3b589668041022e3191d749d4c5acaee6e9)

Author SHA1 Message Date
Dries Buytaert 0e0ca3b589 - Patch #457532 by Berdir: more PHP5 'fixes'. 2009-05-09 18:28:13 +00:00
Dries Buytaert 557128c919 - Patch #411388 lilou et al: added missing documentation for _search hook. 2009-05-09 10:45:57 +00:00
Dries Buytaert ada73058d3 - Patch #457788 by c960657: drupal_http_request() does not handle redirects properly. 2009-05-08 22:19:04 +00:00
Dries Buytaert f116acc887 - Patch #251245 by c960657: moving the test files to their rightful place. 2009-05-08 21:44:48 +00:00
Dries Buytaert 89f2f4acdd - Patch #390774 by jhodgdon: API doc improvements and corrections. 2009-05-08 12:23:32 +00:00
Dries Buytaert 7f4a4c7593 - Patch #276517 by chx, naxoc: added basic tests for blog pages. 2009-05-08 12:19:52 +00:00
Dries Buytaert 6d4d05aa9d - Patch #429132 by Berdir: remove unnecessary module_rebuild_cache(). 2009-05-07 18:04:16 +00:00
Dries Buytaert 0ccac642b9 - Patch #409598 by pwolanin, swentel: fixed problem with content type descriptions not being updated. 2009-05-07 16:24:33 +00:00
Dries Buytaert f3526a344e - Patch #394476 by Berdir, pwolanin, Crell: converted the module to the new database abstraction layer. 2009-05-07 16:22:45 +00:00
Angie Byron ba40a41659 #445152 by caktux and akahn: Default drupal_get_path_alias() to returning the current page's alias. 2009-05-07 15:49:57 +00:00
Angie Byron 0f08d97b21 #124158 by nedjo, jcnventura: Pull all PHP handling into PHP module. 2009-05-07 15:29:08 +00:00
Angie Byron 8550540b51 #270685 follow-up by JamesAn: Remove unneeded code. 2009-05-07 15:15:43 +00:00
Dries Buytaert 6bf31cfefc - Patch #455172 by RoboPhred: updated documentation example. 2009-05-07 10:41:12 +00:00
Dries Buytaert 7cf957f5db - Patch #300750 by brianV: documented a variable. 2009-05-07 10:39:38 +00:00
Angie Byron d70915b1ab #453962 by neclimdul: Change all instances of getInfo() to static functions. 2009-05-06 19:56:21 +00:00
Dries Buytaert b2d4f12904 - Patch #431976 by mcrittenden, Arancaytar webchick, chx, et al: added a wrapper for ?q=. No tests. 2009-05-06 15:51:36 +00:00
Dries Buytaert 511115f6b8 - Patch #453720 by yched: fixed the display of user fields. 2009-05-06 11:31:44 +00:00
Dries Buytaert 11067d384d - Patch #271515 by JamesAn: corrected PHPdoc. 2009-05-06 11:30:19 +00:00
Dries Buytaert 690804580e - Patch #366610 by mr.baileys: make sure we generate valid markup. 2009-05-06 11:28:47 +00:00
Dries Buytaert 160e652819 - Patch #370276 by JamesAn: improved help text of authoring field. 2009-05-06 11:27:47 +00:00
Dries Buytaert 8eebf6d805 - Patch #424640 by mustafau: remove non-existing reference. 2009-05-06 10:49:08 +00:00
Dries Buytaert 2938bfcc63 - Patch #424660 by mustafau: remove non-existing reference. 2009-05-06 10:48:01 +00:00
Dries Buytaert 9066709443 - Patch #267333 by cwgordon7, David_Rothstein, lilou, et al: fixed batch api rounding. 2009-05-06 10:41:43 +00:00
Dries Buytaert a304502f8a - Patch #445468 by reaneyk: remove no-op block_update_7000(). 2009-05-06 10:39:42 +00:00
Dries Buytaert a40002c76b - Patch #453596 by Xano: clean-up of function names. 2009-05-06 10:38:40 +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 65e0a3f228 - Patch #452936 by catch: use db_truncate() in cache_clear_all(). 2009-05-04 10:40:10 +00:00
Dries Buytaert 1883e93f14 - Patch #352872 by Damien Tournoud: clean-up xmlrpc() wrapper. 2009-05-04 10:38:47 +00:00
Angie Byron 17df77c3a4 #295864 follow-up by boombatower: Clarify when to use randomName() vs. randomString(). 2009-05-03 20:01:11 +00:00
Angie Byron 508eaa90bd #452388 by Freso: Standardize quoting in iso.inc. 2009-05-03 19:51:03 +00:00
Angie Byron 4d629641ac #444744 by mikejoconnor: Include .module file automatically during hook_install(). 2009-05-03 19:38:53 +00:00
Dries Buytaert 53fdfb3184 - Patch #451678 by Damien Tournoud: fixed broken query. 2009-05-03 10:44:04 +00:00
Dries Buytaert a8c30ed91e - Patch #449718 by alienbrain: node_feed() is now using new node building API. 2009-05-03 10:11:35 +00:00
Dries Buytaert 3d951475ea - Patch #402264 by yched, bjaspan: adapt field's add-more js handler to recent fapi changes. Added tests. 2009-05-03 09:49:32 +00:00
Dries Buytaert 8c7fd11fd4 - Patch #419114 by boombatower: clean up assertions. 2009-05-03 09:30:21 +00:00
Dries Buytaert c5926f4961 - Patch #396578 by Damien Tournoud: added db_truncate_table() to the database layer. 2009-05-03 08:56:19 +00:00
Dries Buytaert d4193f5178 - Patch #172571 by mgifford, lilou: remove theme_xml_icon because it is not used and we have theme_feed_icon. 2009-05-03 08:12:12 +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 cdb326fc74 - Patch #451660 by Damien Tournoud: fixed menu creation/deletion tests. 2009-05-03 05:06:11 +00:00
Dries Buytaert 67502395d1 - Patch #407202 by Damien Tournoud: make it clear that PostgreSQL and SQLite are supported. 2009-05-03 05:03:44 +00:00
Dries Buytaert ce50ea5a20 - Patch #392696 by yched et al: save default values on insert. 2009-05-01 19:17:46 +00:00
Dries Buytaert c4c3e0a2a5 - Patch #432864 by mcrittenden, sun: documentation improvements for base_url(). 2009-05-01 16:45:52 +00:00
Dries Buytaert 9fd65b6617 - Patch #392696 by yched et al: save default values on insert. 2009-05-01 15:28:13 +00:00
Dries Buytaert 81c436fb8e - Patch #360128 by chx, quicksketch, Frando et al: security fix for simplified AHAH callbacks. 2009-05-01 14:51:41 +00:00
Angie Byron c1e05db993 #445950 follow-up: Committing missing simpletest.pages.inc. 2009-05-01 13:40:56 +00:00
Dries Buytaert 4b7943a257 - Patch #445950 by boombatower: interface improvements for SimpleTest. 2009-05-01 11:01:53 +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
Angie Byron 3e81a14a49 #449142 by pwolanin: SA-CORE-2009-005 #2. 2009-04-30 16:15:44 +00:00
Dries Buytaert 1faa09b1af - Patch #394594 by Berdir: additional conversion to the new database abstraction layer plus clean-up. 2009-04-30 16:10:10 +00:00
Dries Buytaert 13c9e7f94b - Rolled back patch #343415. Needs more work and discussion. 2009-04-30 15:20:06 +00:00