Commit Graph

6511 Commits (06dbf309b64fda1b963160dae3a160009c6c5491)

Author SHA1 Message Date
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
Angie Byron cf6f4d9fee #461512 by akahn: Clean up aggregator_form_feed(). 2009-05-13 19:38:28 +00:00
Angie Byron 9c0f25fee6 #448268 by dww: Fix typo preventing update status cache from being cleared on theme admin page. 2009-05-13 18:21:42 +00:00
Angie Byron 679e9011d9 #292565 follow-up by Jody Lynn: Remove ['destination'] hacks to get login redirection working again. 2009-05-13 17:23:48 +00:00
Angie Byron 0978742089 #367214 follow-up by alienbrain and Berdir: Fix syntax error introduced in API documentation. 2009-05-12 23:19:13 +00:00
Dries Buytaert ba3d12310f - Patch #460420 by wulff: it was impossible to localize the title of the forum administration page. 2009-05-12 18:28:23 +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 83ea3cd042 - Patch #460252 by John Morahan: fixed documentation. 2009-05-12 14:36:12 +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 417e2fc2bb - Patch #399248 by deekayen: detect when a signature is too long to prevent SQL errors. 2009-05-12 09:07:18 +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 da87545c48 - Patch #78941 by kkaefer and ksenzee: added missing file. 2009-05-12 08:33:19 +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
Dries Buytaert 6445ba5986 - Patch #367214 by alienbrain: added documentation for hook_node_build_alter and remove documentatin for hook_node_alter. 2009-05-10 20:41:17 +00:00
Dries Buytaert 188b23087a - Patch #78941 by kkaefer, Jody Lynn: auto-check permissions if 'authenticated' has them. 2009-05-10 19:16:03 +00:00
Dries Buytaert bfecaa09c9 - Patch #458612 by dereine: add version information. 2009-05-10 18:56:57 +00:00
Dries Buytaert 28afeba170 - Patch #295971 by deekayen: option for user contact options is badly phrased. 2009-05-10 18:24:06 +00:00
Dries Buytaert 2c71644dbc - Patch #394510 by Berdir, ksenzee: convert to new database abstraction layer. 2009-05-10 16:50:19 +00:00
Dries Buytaert 43ad4ad140 - Patch #458566 by chx: work around PHP's curly bracket madness. 2009-05-10 16:46:24 +00:00
Dries Buytaert b9b0063a48 - Patch #453572 by Xano: improve language. 2009-05-10 05:06:50 +00:00
Dries Buytaert 76f35b4ecf - Patch #367525 by zzolo: drupal_alter instead of hook_field_attach_view(). 2009-05-09 19:02:11 +00:00
Dries Buytaert e217837372 - Patch #382834 by cwgordon7: more documentation fixes. 2009-05-09 18:44:55 +00:00
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 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 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 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 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 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 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
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