Commit Graph

1239 Commits (2e0a4d26af0d47b177fd855ba5dfc1d8c50aa929)

Author SHA1 Message Date
Dries Buytaert e474fbbd6c - Patch #477944 by Damien Tournoud: fix and streamline page cache and session handling. 2009-06-02 06:58:17 +00:00
Dries Buytaert 88c9a015c1 - Patch #111011 by Josh Waihi: adding foreign key specifications. 2009-06-01 22:07:10 +00:00
Dries Buytaert 984f27efc9 - Patch #106559 by kbahey, catch, DamZ, chx et al: more drupal_lookup_path() optimizations. 2009-06-01 11:23:27 +00:00
Dries Buytaert ccd093b15d - Patch #423196 by frega, Xano, alienbrain et al: clean up the URL settings page. 2009-05-29 19:51:43 +00:00
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
Dries Buytaert 453d7c566e - Patch #440826 by brianV: whitespace clean-up. 2009-04-25 13:47:15 +00:00
Dries Buytaert e99838fbf4 - Patch #147310 by c960657: added tests for private files, fixed a problem with private files and minor improvements. 2009-04-24 08:16:56 +00:00
Dries Buytaert 526401c4c8 - Patch #147310 by c960657 et al: better cache headers for reverse proxies. 2009-04-22 09:45:03 +00:00
Dries Buytaert 3fbda2307d - Patch #375482 by mfb: avoid PDO exceptions when block module is not enabled. 2009-04-21 09:31:31 +00:00
Dries Buytaert 1280c324fa - Patch #423948 by mfb: updated documentation, update functions should include schema descriptions. 2009-04-21 05:07:08 +00:00
Dries Buytaert a6233dfe20 - Patch #439038 by JeremyFrench: fixed typo in CSS file. 2009-04-20 20:07:14 +00:00
Dries Buytaert 01a33182a5 - Patch #299176 by chx, Crell: added example of hook_query_alter to API documentation. 2009-04-20 07:42:22 +00:00
Dries Buytaert ff9b6c611e - Patch #427296 by taz88ny: move some code from system.module to bloc.module where it belongs. 2009-04-20 07:36:34 +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
Angie Byron cb3cde8be1 #372563 by cytefx: Rename drupal_set_html_head() to drupal_ADD_html_head() which actually describes what it does. 2009-04-15 23:49:08 +00:00
Dries Buytaert d79481b3a0 - Patch #394332 by Xano: clean up language around logging and alerts. 2009-04-13 18:50:43 +00:00
Angie Byron e888f0061c #323112 by dmitrig01, kkaefer, quicksketch, frando and many many more: Now presenting... Vertical Tabs. Fantastic new UI improvement for node forms and hopefully more in the future. 2009-04-11 22:19:46 +00:00
Dries Buytaert b658330d28 - Patch #424252 by swentel: move block cache settings from system module to block module now block module is optional. 2009-04-05 12:31:57 +00:00
Dries Buytaert 438aa99018 - Patch #392362 by Xano, Dave Reid: remove clean URL option from the installation process -- automatically enable clean URLs when possible, or hide the option when clean URLs cannot be enabled. 2009-04-04 00:35:46 +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
Angie Byron f40532da76 #376129 by boombatower, Damien Tournoud, and chx: Change getInfo() to a static method to reduce memory footprint of SimpleTest. 2009-03-31 01:49:55 +00:00
Angie Byron 3c8f1540e1 #414218 by cha0s: Document hook_update_N()'s ability to use batch API. 2009-03-29 23:11:09 +00:00
Angie Byron df6ec4d7ff #410638 follow-up by foxtrotcharlie and David Rothstein: Fix help text on blocks so that 'Powered by' doesn't show up on all system blocks. 2009-03-25 18:40:50 +00:00
Angie Byron 4bfda4db83 #410638 by foxtrotcharlie: Prevent 'Powered by Drupal' settings showing up on all system blocks. 2009-03-25 13:48:42 +00:00
Dries Buytaert 32076b4d32 - Patch #273137 by pwolanin, David_Rothstein, chx, et al: split navigation to user and administration menu. Will require follow-up patches. 2009-03-20 19:18:11 +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 3b30509599 #347250 by catch, drewish, and Berdir: Add function for loading multiple users in one request. 2009-03-14 23:01:38 +00:00
Angie Byron b77475baf5 #360081 by quicksketch: Stop using global variables for JavaScript settings. 2009-03-13 23:15:09 +00:00
Dries Buytaert 9aa14da49d - Patch #331013 by drewish: documentation clean-up. 2009-03-10 16:08:43 +00:00
Dries Buytaert a4ee7092e1 - Patch #373613 by drewish, quicksketch: working around some Debian issues. They ship a different GD library. 2009-03-10 09:43:01 +00:00
Dries Buytaert 0ea653502c - Patch #373613 by quicksketch and drewish: in order to operate on images multiple
times (such as crop, scale, then desaturate) without quality loss, we need to
  pass images by their raw GD (or other library) resources rather than re-opening
  the same image repeatedly, which causes wasted processing and loss of quality when
  using JPEG images.  This patch reworks the image toolkits, adds some new image
  manipulations and adds some impressive SimpleTests.
2009-03-09 11:44:54 +00:00
Dries Buytaert 6fe3c7c059 - Patch #244904 by keith.smith, edmund.kwok, xano, David_Rothstein: rename 'input formats'. 2009-03-08 21:25:18 +00:00
Angie Byron ddc2604d69 #383066 by David Strauss: Rename hook_nodeapi_X to hook_node_X. 2009-03-08 04:25:07 +00:00
Angie Byron ad84a92662 #331832 by jhodgdon: Add pointer from hook_form_alter() docs to hook_form_FORM_ID_alter(). 2009-03-08 03:46:31 +00:00
Angie Byron fbad7327af #387218 by geerlingguy, JohnAlbin, and scor: Print/document RDF variables in page.tpl.php. 2009-03-02 19:23:54 +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 068adf05b5 - Patch #243524 by Dave Reid, chx: display INFO_ALL output when calling system_php(). 2009-02-25 13:36: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 743c8adcf7 #367299 by EclipseGc, JohnAlbin, geerlingguy, and Todd Nienkerk: Update and polish default page.tpl.php to make it easier for CSS designers to theme. 2009-02-24 17:50:22 +00:00
Dries Buytaert 5d658d0848 - Patch #380064 by c960657: make file_scan_directory() use save property names as file_load(). 2009-02-22 17:55:30 +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
Angie Byron fb7347bc9d #371231 by JohnAlbin and EclipseGC: Rename clear-block CSS class to clearfix, which is the lingo that designers use for it. 2009-02-18 14:28:25 +00:00
Angie Byron ac484c277a #125030 by kkaefer, quicksketch, dvessel, Steven, and John Resig: Allow compatibility with other JavaScript libraries. 2009-02-18 13:46:55 +00:00
Angie Byron 6afc39c2e4 #135976 by Dave Reid: Move Administration Theme setting to the themes page where it is findable (with tests). 2009-02-11 05:33:18 +00:00
Angie Byron 1dafc60c26 #365149 by karschsp: Fix @endcode at the end of hook_page_alter() example. 2009-02-09 15:42:52 +00:00
Dries Buytaert 29c8e40e91 - Patch #355236 by Frando: refactor drupal_render() theming. 2009-02-03 18:55:32 +00:00
Dries Buytaert d4867346f5 - Patch #367380 by Moshe: make block module optional. 2009-02-03 12:30:14 +00:00