Commit Graph

6557 Commits (dc4d421be78c471017fd8cf0d3b7986147844dab)

Author SHA1 Message Date
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
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 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 ce50ea5a20 - Patch #392696 by yched et al: save default values on insert. 2009-05-01 19:17:46 +00:00
Dries Buytaert 9fd65b6617 - Patch #392696 by yched et al: save default values on insert. 2009-05-01 15:28:13 +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
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 4516d0c7bd - Patch #392706 by yched: clean of field tests:
+ fixes a few missing whitelines
   + makes it clear that the same function tests field_attach_insert(), field_attach_update() and field_attach_load()
   + streamlines a few overly detailed explanations
   + add missing t() functions
2009-04-30 15:17:13 +00:00
Dries Buytaert fdd553f627 - Patch #441180 by bjaspan: added a point. 2009-04-30 14:41:41 +00:00
Dries Buytaert 34ed1f2a37 - Patch #374068 by alienbrain, bjaspan: improved documentation of field display settings. 2009-04-30 14:40:03 +00:00
Angie Byron 0bb5112239 #356908 by andypost and yched: Run field prefixes and suffixes through field_filter_xss() rather than check_plain() to prevent funny characters. 2009-04-29 22:36:42 +00:00
Dries Buytaert 16cb95557d - Patch #295864 by boombatower, sun: fixed typos in the documentation. Nice catches, sun\! 2009-04-29 21:35:38 +00:00
Dries Buytaert 4c05294527 - Patch #392706 by bjaspan, yched, puradata: some of the field attach tests in field.test use database queries to verify correct functionality. This makes the field attach tests work only if field_sql_module is the only field storage module in use. Instead, tests of database storage should be in the field storage module's tests, and field attach tests should operate purely at the field attach api level. 2009-04-29 21:33:00 +00:00
Angie Byron cac7e7c42e #220592 by dww and pwolanin: Update module now always uses the database for caching so that drupal.org project data persists and site performance (in both directions) is not horrifically mangled. 2009-04-29 18:39:50 +00:00
Dries Buytaert cce402d1cb - Patch #446742 by sun, dmitrig01: fixed various bugs. 2009-04-29 17:48:11 +00:00
Dries Buytaert e721147363 - Patch #295864 by boombatower: cleaned up the randomName() method by removing unnecessary prefix code, and added a new randomString() method which includes characters like spaces. 2009-04-29 12:08:28 +00:00
Dries Buytaert 7bf8e72aaa - Patch #340081 by dmitrig01, boombatower: clean-up of drupalCreateUser() 2009-04-29 12:04:47 +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 1ed25923a3 - Patch #251245 by c960657: added tests for the OpenID module. The test module implements a dummy OpenID provider/server. Most impressive patch of the month. 2009-04-29 07:29:59 +00:00
Dries Buytaert 2e709fe3cd - Patch #302632 by recidive, c960657: use PHP5 functionality for _openid_sha1(). Simplified some code. 2009-04-29 07:22:49 +00:00
Dries Buytaert f918903428 - Patch #408024 by brianV et al: rename drupal_execute() to drupal_submit_form(). 2009-04-29 07:18:04 +00:00
Angie Byron a703b3ee8a #431148 by pwolanin: Make it easier to visually distinguish between security updates and regular updates. 2009-04-29 03:57:21 +00:00
Angie Byron 37c8197b25 #445530 by jmburnz: Remove redundant title attribute from node title links. 2009-04-28 19:56:00 +00:00
Angie Byron 9e5f8a037b #445094 by yched: Fix failing tests in SQLite/PostgreSQL due to passing in NULL values for ftid and ftvid. 2009-04-28 05:24:41 +00:00
Angie Byron b8aad0a764 #446878 by boombatower: Fix concatenation typo in field tests. 2009-04-28 04:21:15 +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 031ba7d665 - Patch #345591 by pwolanin, c960657: make the tests work when running with CGI. 2009-04-27 19:11:25 +00:00
Angie Byron 468d7beea7 #362852 by Dave Reid: Convert enabled/disabled radios on statistics form to checkboxes. 2009-04-27 18:58:41 +00:00
Dries Buytaert c73a93e870 - Patch #382834 by cwgordon7: hook_menu API docs missedsome elements. 2009-04-27 16:35:05 +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
Dries Buytaert 91e7dc1365 - Patch #368067 by catch: move testing to a 'Development' menu. 2009-04-27 07:44:09 +00:00
Dries Buytaert b9f60c75a7 - Patch #353328 by brianV, catch: fixed glitch in comment paging. 2009-04-27 07:09:58 +00:00
Dries Buytaert 18117a43f4 - Patch #361529 by j.somers: illogical syntax for book_toc(). 2009-04-27 07:08:00 +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 c7d8e2060a - Patch #445600 by Rob Loach: allow 1 minimum number of words in content types. 2009-04-26 20:57:01 +00:00
Angie Byron 93688e77b1 #229660 by Dave Reid: Use theme_username() in personal contact form. 2009-04-26 20:09:12 +00:00
Angie Byron dac6a2be3d #423886 by Berdir: Fix fatal error when submitting aggregator block. 2009-04-26 19:59:31 +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 f2cbf55033 - Patch #440894 by brianV: code style and documentation clean-up. 2009-04-26 16:31:23 +00:00
Dries Buytaert 2a7c00bc4a - Patch #441962 by brianV: code style and documentation clean-up. 2009-04-26 16:30:28 +00:00
Dries Buytaert f83776a064 - Patch #444876 by Damien Tournoud: remove node_invoke_node(). 2009-04-26 15:40:24 +00:00
Dries Buytaert b5201d3797 - Patch #445410 by Damien Tournoud: fix $ tags. 2009-04-26 15:14:55 +00:00
Dries Buytaert 116d091a0c - Patch #392582 by karschsp: fixed broken anchor tags on permissions page. 2009-04-26 15:03:22 +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 840be5ba4e - Patch #444966 by dereine: code style clean-up. 2009-04-26 09:53:50 +00:00
Dries Buytaert d175324b0f - Patch #267484 by deviantintegral: corrected the filter api documentation. 2009-04-26 09:40:25 +00:00
Dries Buytaert 2abe0e0122 - Patch #445070 by Arancaytar: added missing parameter documentation. 2009-04-26 09:25:42 +00:00