Commit Graph

462 Commits (2c83cf581e2763ed694e3fb35dbcb15de7477dda)

Author SHA1 Message Date
Angie Byron ae70677b3d #524710 by catch and gordon: Add role_permission() table earlier in order to allow upgrade path to work. 2009-10-24 01:46:13 +00:00
Angie Byron cc88a19993 #612920 by catch: Added required table columns so that update.php doesn't spew fatal errors. 2009-10-24 01:22:28 +00:00
Angie Byron ee7bd3ceab #356074 follow-up by mfb: Fix sequences API upgrade path. 2009-10-20 19:06:09 +00:00
Dries Buytaert 509915ac3b - Fixed update number. 2009-10-18 12:02:40 +00:00
Dries Buytaert 2dc3c05a2b - Patch #589126 by mfb: fixed bug with user module using a flood window of 6 hours, but flood events more than 1 hour old being deleted by cron. Improved API documentation, and added tests. 2009-10-18 11:34:45 +00:00
Angie Byron c887d7bbd0 PHP really doesn't like more than one system_update_7043() function. No, no it does not. 2009-10-18 07:10:23 +00:00
Angie Byron 3dddaa3e6f #356074 by chx and Damien Tournoud: Provide a sequences API. Gets rid of stupid tables that only contain an incrementing ID, and fixes database import problems due to user ID 0. 2009-10-18 06:56:24 +00:00
Dries Buytaert f179b1f7c6 - Patch #278592 by catch, Dave Reid, andypost, lilou, sun, tobiasb: sync 6.x extra updates with HEAD. 2009-10-17 12:07:31 +00:00
Angie Byron 4278afa16b #473268 by David_Rothstein, sun, yoroy, Gábor Hojtsy, cwgordon7, et al.: Allow contextual editing of dang near everything on the page. Also adds a context system to menu local tasks. 2009-10-17 05:50:29 +00:00
Angie Byron a09822b363 #606640 by eojthebrave and sun: Use proper menu router paths for the block module. 2009-10-16 23:48:38 +00:00
Dries Buytaert 60c5878351 - Patch #593746 by #593746 by sun, andypost: prepare Drupal core for dynamic data translation. 2009-10-16 19:06:25 +00:00
Dries Buytaert 977d635bb1 - Patch #332333 by dmitrig01, alexw: add a real API to path.module. 2009-10-15 17:53:34 +00:00
Dries Buytaert f42bca3bd4 - Patch #599804 by effulgentsia, catch: unify page, AJAX 'path', and AJAX 'callback' callbacks. Oh my, this is the beginning of something big. 2009-10-15 14:07:30 +00:00
Dries Buytaert a019a9ebb0 - Patch #563708 by JohnAlbin, joshmiller: improve theme_get_setting() and make custom theme settings a true form_alter(). 2009-10-14 10:56:35 +00:00
Dries Buytaert 04d0ef5c8c - Patch #11623 by sun, stella, Gábor Hojtsy, Pancho: add ability to localize date formats. 2009-10-13 21:34:15 +00:00
Angie Byron 89d04ea78a #561452 by pwolanin and David_Rothstein: Add API function to get module/theme info without rebuilding it. 2009-10-13 05:26:57 +00:00
Dries Buytaert 76882b6fc6 - Patch #602306 by chx: simplify the default queue implementation. 2009-10-12 15:40:04 +00:00
Angie Byron 400fa96fc6 #224756 by christefano and lambic: Make phpinfo() link more obvious. 2009-10-05 04:34:04 +00:00
Dries Buytaert a8f8a26f6d - Patch #553944 by David_Rothstein, ksenzee | JacobSingh, sun, jhodgdon, pwolanin: allow modules to specify per-page custom themes in hook_menu(). 2009-09-30 13:09:30 +00:00
Angie Byron 34bc33baef #375931 by Dave Reid: Fix SimpleTests when cvs_deploy module is enabled. 2009-09-29 17:00:03 +00:00
Dries Buytaert 598e739208 - Patch #578520 by sun | c960657, mfb, Dries, catch, mattyoung: make in url() only accept an array. Another nice API clean-up! 2009-09-29 15:31:17 +00:00
Dries Buytaert cef1089389 - Patch #570900 by Crell | asimmonds: Changed Destroy remnants of update_sql(). 2009-09-29 15:13:57 +00:00
Dries Buytaert 65bb91c989 - Patch #215080 by andypost, drifter, Dave Reid | robertDouglass, catch, jaydub: drop unnecessary index. 2009-09-28 15:38:27 +00:00
Dries Buytaert 105bd63a99 - Patch #445062 by sun: removed system_requirements check for tokenizer now that the registry is gone. 2009-09-20 17:56:24 +00:00
Dries Buytaert 7cf7f99878 - Patch #11218 by David_Rothstein, sun, quicksketch, duncf, awood456, dropcube, mgifford | pwolanin, dww, RobRoy, Crell, webchick, beginner, ray007, bjaspan, chx, Gábor Hojtsy, Steven, Dries, lutegrass, sym, guardian, matt2000, geerlingguy, SeanBannister, matt westgate, com2, praseodym: allow default text formats per role, and integrate text format permissions. 2009-09-20 07:32:19 +00:00
Dries Buytaert fd1c63b5c0 - Patch ##525540 by jvandyk, sun, jhodgdon, fago | webchick, TheRec, Dave Reid, brianV, sun.core, cweagans, Dries: gave trigger.module and includes/actions.inc an API overhaul. Simplified definitions of actions and triggers and removed dependency on the combination of hooks and operations. Triggers now directly map to module hooks. 2009-09-19 11:07:37 +00:00
Angie Byron e18feedfdb #564394 by Berdir and Crell: Removed database BC layer. nah nah nah nah... hey hey hey... gooood byeeee... 2009-09-18 00:04:24 +00:00
Dries Buytaert 029c48c68d - Patch #306151 by agentrickard, David_Rothstein, Dave Reid, dbabbage, moshe weitzman: automatically install/uninstall schema. 2009-09-10 06:38:20 +00:00
Dries Buytaert 6586b76465 - Patch by #1577 by chx, boombatower, Bèr Kessels, kkaefer: made SSL support a bit easier by providing two cookies and ... hook_goto_alter. 2009-09-05 13:05:31 +00:00
Dries Buytaert 9ef1d496e9 - Patch #561970 by Davy Van Den Bremt: fix the upgrade path from {box} to {block_custom}. 2009-08-29 10:38:58 +00:00
Angie Byron f4c6b2ba5e #561970 by Davy Van Den Bremt: Rename 'box' to 'custom block'. Here's to core's database schema making sense. 2009-08-28 19:44:05 +00:00
Dries Buytaert 6f41d692fd - Patch #559658 by sun, dropcube: store filter settings per format, general API clean-up and documentation improvements. 2009-08-27 21:18:20 +00:00
Dries Buytaert ee64752e10 - Patch #300993 by dropcube, Dave Reid: user roles and permission API. Great patch. 2009-08-27 20:25:29 +00:00
Angie Byron 2c55219315 #497118 by chx, catch, pwolanin, JoshuaRogers, and Jacob Singh: Remove the function registry. While the hope was that this would result in improved performance for low-end hosts, it comes at the expense of critical development experience problems and less benefit than something like APC. Class registry remains intact to facilitate autoloading. 2009-08-24 00:14:23 +00:00
Angie Byron e63e85020b Of all the patches to accidentally commit without a message. :( Rolling back registry rip. Let's try that again. 2009-08-24 00:10:46 +00:00
Angie Byron 4ae238ea57 *** empty log message *** 2009-08-24 00:02:05 +00:00
Angie Byron a9762cd3bf #201415 by sun: Add a permission to access site in maintenance mode. 2009-08-22 18:24:14 +00:00
Angie Byron 4cbe60a533 #370454 follow-up by flobruit: Fix update function return value. 2009-08-22 16:55:46 +00:00
Dries Buytaert bc23bfaa11 - Patch #546350 by dropcube: remove hardcoded numeric deltas from hook_filter_info(). 2009-08-21 17:28:27 +00:00
Dries Buytaert 1f1734af01 - Patch #552958 by Gábor Hojtsy: create 'regional and language' section in 'configuration and modules'. 2009-08-21 14:28:52 +00:00
Angie Byron 716293e0fb #509398 by adrian: Turned install profiles into modules with full access to the Drupal API. Almost all WTFs/minute now removed from install profiles. Woohoo! :D 2009-08-21 07:50:08 +00:00
Dries Buytaert 0125b20cda - Patch #550228 by Bojhan: added 'Media' category on 'Configuration and modules' page. 2009-08-20 10:48:03 +00:00
Dries Buytaert 9eb6dd5eaa - Patch #251792 by pwolanin, Damien Tournoud, slantview, c960657: added a locking framework for long running operations. 2009-08-17 20:32:30 +00:00
Angie Byron b41323642b #517814 by jmstacey, justinrandell, pwolanin, drewish, Jody Lynn, aaron, dopry, and c960657: Converted File API to stream wrappers, for enhanced private/public file handling, and the ability to reference other storage mechanisms such as s3:// and flicker://. 2009-08-17 19:14:42 +00:00
Dries Buytaert a1593ab1c9 - Patch #370454 by chx, Damien Tournoud: simplify page caching. 2009-08-16 18:39:45 +00:00
Angie Byron 049a8896f5 #545952 by yoroy and Gábor Hojtsy: move modules to config/modules. 2009-08-12 23:51:19 +00:00
Dries Buytaert a9699f24bb - Patch #547290 by Xano: removed unused variable. 2009-08-12 18:18:50 +00:00
Angie Byron 1da6ef52c4 #485974 by pwolanin, Damien Tournoud, mr.baileys: Improved security by limiting the number of allowed login attempts. 2009-08-08 20:52:33 +00:00
Angie Byron 78e3681cde #211439 follow-up by catch: Add missing index for module_list(). 2009-08-08 19:25:58 +00:00
Angie Byron 18ae2e6775 #371458 by Damien Tournoud, Gerhard Killesreiter, and smk-ka: Add a missing index on menu_router tab_root. 2009-08-07 05:38:44 +00:00
Angie Byron 0bd7fcbf38 #226587 by JohnAlbin, E.Z, et al: Make sidebar regions semantic and RTL-friendly. 2009-08-03 03:04:34 +00:00
Dries Buytaert b3b7be43c0 - Patch #342950 by Josh Waihi: moving PostgreSQL stored procedures to the PostgreSQL database backend, where it belongs. 2009-08-01 20:31:50 +00:00
Dries Buytaert d455a8d921 - Patch #336483 by brianV: SELECT MAX(comment_count) FROM node_comment_statistics did a full table scan so added an index. 2009-07-30 19:27:11 +00:00
Dries Buytaert a938e18a1b - Patch #491556 by Berdir: completed converting core to DBTNG. Oh my. Kudos to Berdir for this humongous effort. 2009-07-28 19:18:08 +00:00
Dries Buytaert d6e113a3de - Patch #513592 by Damien Tournoud: make it faster to rebuild the registry, mainly to improve performance of SimpleTest. 2009-07-28 12:37:54 +00:00
Dries Buytaert 93728e5d32 - Patch #374441 by tic200, Damien Tournoud, scor: refactor Drupal HTML corrector using PHP5's XML/Dom parser. 2009-07-27 20:15:35 +00:00
Angie Byron ef5360ab3c #525754 by chx: Clean up some trailing whitespace. 2009-07-21 07:27:00 +00:00
Dries Buytaert d24d954479 - Patch #521474 by bangpound, JuliaKM et al: rename admin/site-building to admin/structure. 2009-07-20 18:51:36 +00:00
Angie Byron f8790b17b3 #452538 by Mike Wacker: Allow node access modules to have control over unpublished nodes. (with tests) 2009-07-10 04:28:15 +00:00
Dries Buytaert d51625c304 - Patch #509924 by quicksketch: fixed notice. 2009-07-04 14:45:36 +00:00
Angie Byron 1706f7354e #453254 follow-up by agentrickard: Move block update to block.install. 2009-07-04 04:23:27 +00:00
Dries Buytaert 603efa2763 - Patch #453254 by Pasqualle: upgrade path for per-content type visibility of blocks. 2009-07-01 12:03:35 +00:00
Dries Buytaert becb6f902f - Patch #437822 by jhodgdon: corrected documentation. 2009-07-01 08:41:52 +00:00
Angie Byron ef1693b836 #495956 follow-up by axyjo: Remove needless serialize() from system.install. 2009-06-30 17:15:09 +00:00
Angie Byron 7cc2218c09 #495956 by andypost, cafuego, fiasco: Convert initial queries in system_install() to DBTNG to stop weird inconsistencies on various platforms. 2009-06-28 17:04:52 +00:00
Dries Buytaert fabaaaaa6e - Patch #278592 by catch, Dave Reid, lilou et al: remove D5 to D6 updates. 2009-06-22 13:21:38 +00:00
Dries Buytaert 573e552e22 - Patch #495956 by cafuego, sun: system.install incorrectly assumes ANON and AUTH RID are always sequential. 2009-06-21 05:18:44 +00:00
Dries Buytaert e42450e4ad - Patch #490074 by andypost, bjaspan, catch: fix upgrade path from Drupal 6 to Drupal 7. 2009-06-18 15:46:30 +00:00
Dries Buytaert daedf71b7c - Patch #391412 by JamesAn et al: move contact form, post, and user settings below Site configuration. 2009-06-13 20:40:09 +00:00
Dries Buytaert 3d64cb5eca - Patch #372743 by bjaspan, yched, KarenS, catch et al: node body and teasers as fields. Oh, my. 2009-06-12 08:39:40 +00:00
Dries Buytaert 3692eee08d - Patch #288946 by jeffschuler, z.stolar: increase path length to 255. 2009-06-11 04:59:26 +00:00
Dries Buytaert d89758d05a - Patch #486090 by catch: fixed upgrade path from Drupal 6 to Drupal 7. 2009-06-09 11:20:16 +00:00
Dries Buytaert f24e031aca - Patch #484862 by andypost: whitespace issues. 2009-06-08 21:00:56 +00:00
Dries Buytaert 1f9077ee92 - Patch #147000 by Berdir: unify and rewrite module_rebuild_cache() and system_theme_data(). 2009-06-06 16:05:28 +00:00
Angie Byron cab88a7014 #220233 by Berdir, marcingy, et al: Add useful API functions for extracting node type data. 2009-06-04 03:33:29 +00:00
Angie Byron d61bd21b15 #106559 follow-up by Josh Waihi: Fix typo preventing Drupal from installing on PostgreSQL. 2009-06-03 03:29:23 +00:00
Dries Buytaert 34c996e28c - Patch #358315 by neochief et al: drupal_lookup_path() not respects alias' order. 2009-06-02 15:06:09 +00:00
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 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