Commit Graph

183 Commits (8889a5d168b44c526cabf8130568f640dcb51a17)

Author SHA1 Message Date
Dries Buytaert 5038c5d3df - Patch #846858 by kiamlaluno: it's/its grammar in various doc headers. 2010-07-21 00:26:21 +00:00
Angie Byron f83ac83582 #850060 by Dave Reid: Fixed Site mission token needs to be removed. 2010-07-11 01:01:11 +00:00
Angie Byron ea4f6bcef2 #363580 by rfay, chx, Berdir, Rob Loach, Gábor Hojtsy, Shawn DeArmond: Fixed OpenID login fails when in maintenance mode, and 403 errors on certain user paths for logged-in users. 2010-07-07 08:05:01 +00:00
Dries Buytaert 9e0af44f62 - Patch #523286 by aspilicious, Bojhan, anarcat, aaronbauman: cleanup IP blocking. 2010-06-30 15:51:51 +00:00
Dries Buytaert 8ce1c80cc7 - Patch #829484 by Berdir, Dave Reid, dereine: uncaught PDO Exception - XSS. 2010-06-28 20:27:34 +00:00
Dries Buytaert e27e1a0e0d - Patch #266246 by sun, effulgentsia, marcingy: remove smart defaults for system_settings_form(). 2010-06-26 21:32:20 +00:00
Angie Byron ce19c67110 #293223 follow-up by David_Rothstein: Roll back 'Hide required core modules'. This was removing useful information to both new and experienced site builders, as well as hiding critical 'help' links. 2010-06-21 02:27:47 +00:00
Angie Byron 1ecf2d1326 #808162 by carlos8f, agentrickard: Fixed update.php fails when optional modules disabled. 2010-06-13 18:27:39 +00:00
Dries Buytaert 7d0f0aed7d - Patch #592800 by cpliakas, Berdir, aufumy: critical bug: dependent modules are still installed when required modules return errors in hook_requirements(). 2010-05-26 07:31:47 +00:00
Angie Byron 7bb6753e9f #701818 by mcarbone: Test coverage of every core token, and bug fixes to make them work. AWESOME! :D 2010-04-20 09:48:06 +00:00
Dries Buytaert a8cb00de11 - Patch #655740 by ksenzee, casey, aspilicious: fixed small JavaScript issues in the overlay module. 2010-04-16 13:39:42 +00:00
Dries Buytaert ff301288f2 - Patch #348448 by mfb, c960657, marvil07, cdale, jpmckinney: fixed PHP strict warnings when running tests and for PHP 5.3. 2010-04-11 18:33:44 +00:00
Dries Buytaert bdb7e56143 - Patch #741578 by nikgregory, andypost, Berdir, noahb: 'File' is a reserved word that should not be used. 2010-04-10 17:30:15 +00:00
Dries Buytaert dde5c67ba0 - Patch #302327 by Josh Waihi, noahb, Crell, hswong3i: support cross-schema/database prefixing like we claim to. 2010-04-07 15:07:59 +00:00
Dries Buytaert 90351aa71c - Patch #748976 by jpmckinney, David_Rothstein: 'Show/hide descriptions' links no longer work. 2010-04-06 06:00:05 +00:00
Dries Buytaert fa63e6fe68 - Patch #305653 by donquixote, David_Rothstein, cdale, sun, snowball43, Dave Reid, JohnAlbin, aspilicious: themes disabled during update. 2010-03-31 19:10:39 +00:00
Dries Buytaert d8e62ff260 - Patch #681782 by Dave Reid: 'clean' option in token_replace() does not do anything. 2010-03-12 14:33:02 +00:00
Dries Buytaert aec10a8c7d - Patch #734146 by scor: white-space clean-up. 2010-03-06 06:39:01 +00:00
Dries Buytaert e5e3d279e2 - Patch #461938 by Kars-T, Garrett Albright, JamesAn, grendzy: fixed inconsistent use of filter_xss_admin() on () and (). 2010-03-04 09:03:08 +00:00
Dries Buytaert 0f3085c3b7 - Patch #210876 by deekayen, c960657: add logging of who installs/uninstalls a module. 2010-03-03 07:38:08 +00:00
Dries Buytaert bb5dc9d0c4 - Patch #573300 by eMPee584: system_retrieve_file() fails in file_unmanaged_copy() 2010-02-26 21:19:09 +00:00
Angie Byron 8d01aeb428 #710142 by Berdir, moshe weitzman, chx: Handle exceptions in shutdown functions (with tests). Hopefully the last of these weird 'Stack frame in Unknown line 0' errors. 2010-02-17 22:44:52 +00:00
Dries Buytaert f14395454c - Patch #652122 by mr.baileys, Berdir, catch: dashboard should insert itself as the default local task on /admin. 2010-02-17 08:56:48 +00:00
Dries Buytaert 54c6a3a989 - Rollbacked some changes that I accidentically committed along with the RDF patch. 2010-02-15 16:00:00 +00:00
Dries Buytaert d89f046426 - Patch #685034 by linclark: the number of comments in RDFa should be typed. 2010-02-15 15:12:22 +00:00
Dries Buytaert 17f3807f2b - Patch #566494 by Dave Reid, chx, JoshuaRogers, David_Rothstein, Gábor Hojtsy, moshe weitzman, Rob Loach, TheRec, catch: fixed cron doing a full bootstrap on every page request (including cached ones). 2010-02-05 21:15:43 +00:00
Dries Buytaert ea51c3215b - Patch #606526 by axyjo, scor: remove trailing whitespaces and add newlines at end of files. 2010-01-30 07:59:26 +00:00
Dries Buytaert af3f94b37e - Patch #693614 by asimmonds: fixed PHPDoc spelling typos. 2010-01-25 10:38:35 +00:00
Dries Buytaert e7b9ad7676 - Patch #678504 by heyrocker, David_Rothstein: incorrect menu argument for ip address blocking. 2010-01-18 17:08:20 +00:00
Dries Buytaert 36e33b75d5 - Patch #687716 by heyrocker: IP blocking test incorrectly checks for existence of blocked IP. 2010-01-18 17:05:35 +00:00
Angie Byron c33d0f7be8 #399642 follow-up by carlos8f: Replace drupal_install_modules() with an improved module_enable(). 2010-01-13 05:08:29 +00:00
Angie Byron 71ee49de3e #679890 follow-up by Bojhan, aspilicious, and agentrickard: Remove more extraneous 'Please' in the interface. 2010-01-09 23:03:22 +00:00
Angie Byron 147bb1389a #571654 follow-up by chx, peximo, plach, sun, et al:
Roll-back of node titles as fields. The Entity Translation module in
contrib can add this back, but for everyone else it creates a *huge* WTF.
Apologies for how late this is coming, but better now than post-alpha. :\
2010-01-09 21:54:01 +00:00
Angie Byron ec7ff41cc5 #580868 by anarcat and Dave Reid: Make 'Modules' its own top-level admin link. 2010-01-04 21:31:52 +00:00
Angie Byron 20ffb94644 #605892 by ksenzee and justinrandell: Convert theme logo upload to filestream wrappers (with tests so we don't break it again). 2009-12-24 16:54:56 +00:00
Dries Buytaert 2d6b6d492f - Patch #566494 by Dave Reid, chx, JoshuaRogers, David_Rothstein, Rob Loach, TheRec, moshe weitzman: cron image does a full bootstrap on every page request so changing to a Javascript-based solution instead. Important performance fix -- what were we smoking? ;-) 2009-12-15 08:45:32 +00:00
Angie Byron fc56c024d3 #656300 by JoshuaRogers: Fixed Typo in system.test prevents D7 from passing tests. 2009-12-10 17:22:35 +00:00
Dries Buytaert c2f26d3368 - Patch #653940 by sun: tests weren't reporting all errors. 2009-12-10 15:39:43 +00:00
Angie Byron daa59856c3 #375352 by Damien Tournoud, sun, and chx: Fixed errors caused by adding dependency to non-existing module (with tests). 2009-12-08 06:39:34 +00:00
Dries Buytaert 864408cefa - Patch #652420 by sun: fixed various failures. 2009-12-06 23:56:47 +00:00
Dries Buytaert 0baad49d62 - Patch #635094 by plach: unify 'language neutral' language codes. 2009-12-02 19:26:23 +00:00
Dries Buytaert bdf018696f - Patch #446666 by cweagans: split 'administer site configuration' into more granular permissions. 2009-12-01 22:30:31 +00:00
Dries Buytaert 886cc50e75 - Patch #491214 by JohnAlbin, Gábor Hojtsy, eigentor: implement a more usable top level Appearance page. Yay. 2009-12-01 00:39:35 +00:00
Dries Buytaert 566586a698 - Patch #608478 by seutje, Bojhan: replace 'Powered by' icon with text. 2009-10-23 00:45:51 +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 1650fea5d9 #516150 by David_Rothstein, dropcube, Senpai, alexanderpas, sun: Add fallback for main content block rendering. (Make it so you can't render your site completely unusable by disabling block module. Oopsie.) 2009-10-18 05:28:43 +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 3314d41771 - Patch #581118 by Gábor Hojtsy: blocks admin user interface should not do theme switching. 2009-10-14 02:13:15 +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 1d09ec33bd #602958 by chx: Added API function to SimpleTest to run cron, avoiding fatal errors. 2009-10-13 05:37:46 +00:00
Angie Byron b3265dbe17 #557292 by peximo, plach, catch, and yched: Convert node title to Field API. 2009-10-11 03:07:21 +00:00
Angie Byron 7df3f37295 #67234 by Ralf, Dave Reid, David_Rothstein, Rob Loach, dww, et al: Added a permission to update.php. 2009-10-09 07:48:07 +00:00
Dries Buytaert b544777095 - Patch #464862 by JohnAlbin, sun, dereine | dvessel, Jacine, Zarabadoo: added drupal_css_class() to clean class names and rename form_clean_id(). 2009-10-03 19:16:04 +00:00
Dries Buytaert 04fd066be2 - Patch #484868 by sime, sun | Dries: split parser from drupal_parse_info_file(). 2009-10-02 00:50:45 +00:00
Dries Buytaert 1983aed44b - Patch #590014 by sun, mr.baileys | Dries: fixed undefined language when language is specified in . 2009-09-30 18:37:30 +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 ee8aa910b9 Patch #579366 by sun, litwol | chx, Dries: simplified form API redirection handling. I can actually understand it now. ;-). 2009-09-21 06:44:14 +00:00
Angie Byron df02fa3ca4 #571086 by sun and merlinofchaos: Added a 'wrapper callback' that executes
before a form builder function, to facilitate common form elements. Clean-up
from form_builder changes from CTools patch. Has nice side-benefit of making
all form functions' signatures consistent.
2009-09-18 00:12:48 +00:00
Angie Byron ff813ab62c #564562 by Gábor Hojtsy, Bojhan, yoroy, and catch: Added 'System' configuration section. 2009-09-01 16:50:12 +00:00
Dries Buytaert 9d6dcc5682 - Patch #423992 by JohnAlbin, Davy Van Den Bremt: remove show_blocks page variable. 2009-08-26 10:53:45 +00:00
Dries Buytaert 14b233ec1d - Patch #368408 by jeffschuler: improve consistency of API and settings on administration pages. 2009-08-25 10:27:15 +00:00
Dries Buytaert 1d34a3e329 - Patch #549432 by jromine, Gábor Hojtsy: move ip blocking settings. 2009-08-24 12:32:10 +00:00
Dries Buytaert e77beba5da - Patch #113614 by John Morahan: small fix for token/placeholder substitution to core. 2009-08-23 13:02:38 +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
Dries Buytaert 4c028a19fb - Patch #331611 by sun, joshmiller, TheRec, Rob Loach, Damien Tournoud: add a poormanscron-like feature to core. 2009-08-22 16:01:10 +00:00
Dries Buytaert bb54be48b9 - Patch rollback of #549432: tests didn't actually ran successfully. 2009-08-22 09:44:56 +00:00
Dries Buytaert bee1240231 - Patch #549432 by Gábor Hojtsy: moving 'IP blocking' to 'People and permissions'. 2009-08-22 09:23:24 +00:00
Angie Byron 34a8a369aa #367595 by plach, catch, sun, yched, et al: Added support for translatable fields to Field API. 2009-08-22 00:58:55 +00:00
Dries Buytaert 40003c8307 - Patch #113614 by eaton, fago, et al: add centralized token/placeholder subsituation to core. 2009-08-19 20:19:37 +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
Angie Byron 049a8896f5 #545952 by yoroy and Gábor Hojtsy: move modules to config/modules. 2009-08-12 23:51:19 +00:00
Angie Byron e758e30450 #533584 by chx, dww, and Nick Lewis: Allow version-level dependency support to work with beta, rc, etc. 2009-08-05 16:16:41 +00:00
Dries Buytaert 9f44fd1b86 - Patch #536440 by Gábor Hojtsy: the attached patch moves the Structure >> Themes section to the top level Appearance item as outlined in the D7UX IA. 2009-07-31 11:20:43 +00:00
Dries Buytaert 1cb77e4622 - Patch #535990 by catch: removed a silly test. 2009-07-30 21:21:37 +00:00
Dries Buytaert 12d6d6662e - Patch #211747 by chx, alex_b, dww: allow specifying version information as part of module dependencies. 2009-07-28 19:06:16 +00:00
Angie Byron 708f3b970f #292565 follow-up by John Morahan: Restore ability to set 'user' as the 403/404 page. 2009-07-23 20:58:26 +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
Dries Buytaert 44740785fe - Patch #518750 by Damien Tournoud: rethink system settings form. 2009-07-16 10:44:21 +00:00
Angie Byron 735e1d904f #500866 by boombatower: Remove t() from getInfo in tests. 2009-07-13 21:51:42 +00:00
Dries Buytaert fb125851a3 - Patch #306027 by agentrickard, catch, dereine, Dave Reid, drewish, et al: automatically clean the {role_permission} table when modules are uninstalled. 2009-07-01 08:39:56 +00:00
Angie Byron 4dafb3953c #482346 by Berdir: Move module installation logic to module_enable() to prevent errors upon enabling modules. 2009-06-28 03:56:43 +00:00
Angie Byron 27ffb437a2 #504016 by catch: Remove faulty assertion that makes assumptions about default installed modules. 2009-06-27 17:29:38 +00:00
Dries Buytaert 77c643ec17 - Patch #501466 by catch: move comment administration to a tab. 2009-06-27 10:13:28 +00:00
Dries Buytaert 07b6c7bcd8 - Fixed a merge problem. 2009-06-13 21:08:31 +00:00
Dries Buytaert bc50341c5c - Fixed a merge problem. 2009-06-13 21:07:53 +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 0f4060f377 - Patch #472642 by stella, agentrickard: remove 'implementation of' nominalizations from Docblocks. 2009-05-27 18:34:03 +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 a24a6c2bba - Patch #471070 by stella: millions of code style fixes. 2009-05-24 17:39:35 +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
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 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
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 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 250e486bb0 #363687 by chx: Simplify DBTNG codeflow. 2009-01-25 12:19:32 +00:00
Dries Buytaert 60c06921ce - Patch #291026 by Dave Reid et al: further (usability) improvements to the E_NOTICE handling. 2009-01-21 14:22:33 +00:00
Dries Buytaert a10731cedf - Patch #320451 by chx, Damien Tournoud: improved Drupal's module dependency system. This helps with fields in core. Comes with tests\! 2009-01-14 12:18:37 +00:00
Dries Buytaert bdbd0dffe5 - Patch #266246 by David Strauss: added smart defaults for system_settings_form(). 2009-01-11 21:19:19 +00:00
Dries Buytaert 86aa636c8b - Patch #353207 by CitizenKane and drewish: cleaned up the FILE_STATUS_TEMPORARY field. 2009-01-02 21:45:11 +00:00