Commit Graph

371 Commits (108220bb9007c8315172deedec9becf31257e735)

Author SHA1 Message Date
Dries Buytaert 54925d947b - Patch #620688 by chx: fixed drupal_static_reset(). 2009-11-08 20:36:12 +00:00
Angie Byron 07151b0c82 #523058 by catch, pwolanin, sun, and smk-ka, and jrchamp: Optimize check_plain(). 2009-11-08 13:58:03 +00:00
Dries Buytaert 373fee82b3 - Patch #622048 by sun: streamline drupal_bootstrap() and expose the flow to code profilers. 2009-11-05 03:00:21 +00:00
Angie Byron 3b427fae37 #341140 follow-up by JohnAlbin and chx: drupal_get_filename() fails for PHPTemplate themes when database is down. 2009-11-02 03:46:43 +00:00
Angie Byron 0d371742b6 #43462 by c960657 and andypost: Fixed issues with certain configurations of compressed pages. 2009-11-02 03:12:05 +00:00
Angie Byron 267c290cf5 #287647 by mikejoconnor, lilou, cafuego, bjaspan, and robertDouglass: Cast results of hook_schema() to an array to avoid schema corruption. 2009-11-01 23:10:14 +00:00
Dries Buytaert 086d189011 - Patch #572452 by catch, JoshuaRogers: drupal_get_filename() and drupal_load() should not use drupal_static(). Performance improvement. 2009-10-31 14:00:37 +00:00
Dries Buytaert 745b5b034c - Patch #618938 by pwolanin: fixed Drupal version is not being available until the end of bootstrap. 2009-10-30 22:33:35 +00:00
Dries Buytaert ccdf82a500 - Patch #532010 by c960657, catch: use require instead of require_once() in _registry_check_code(). 2009-10-26 13:00:54 +00:00
Angie Byron cd7b8f0999 #320331 by Dave Reid, dww, John Morahan, cwgordon7, moshe weitzman, c960657, and smoothify: Turn custom_url_rewrite_inbound() and custom_url_rewrite_outbound() into hooks. 2009-10-24 05:13:44 +00:00
Dries Buytaert c5ee590c6d - Patch #611048 by c960657: removed outdated comment in _registry_check_code(). 2009-10-22 01:15:15 +00:00
Dries Buytaert 8c6ee08ddf Patch #84008 by deviantintegral, plumbley, lilou, lambic: fixed timer_read() returns NULL (no value) after timer_stop(). Added timer tests. 2009-10-18 11:36:49 +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
Angie Byron 6061fa9781 #565480 by plach and peximo: TF #2: Multilingual field handling. Integration between field API and locale module + translatable node bodies. 2009-10-16 02:04:44 +00:00
Angie Byron 1b9cde9d85 #282191 by plach, nedjo, catch, et al: TF #1: Allow different interface language for the same path. 2009-10-09 16:33:14 +00:00
Dries Buytaert 919d94be6e - Patch #592008 by moshe weitzman | chx: don't initialize theme system before modules are included. 2009-10-03 19:27:44 +00:00
Dries Buytaert 7178f6b173 - Patch #451604 by brianV, sun | Dries, c960657: rename drupal_set_header(). 2009-09-30 18:36:02 +00:00
Dries Buytaert d92389ae11 - Patch #583008 by Damien Tournoud: DRUPAL_BOOTSTRAP_ACCESS doesn't exist anymore, but is still an explicit bootstrap step. 2009-09-21 08:07:07 +00:00
Dries Buytaert db81ff5205 - Patch #581286 by David Strauss | moshe weitzman: fixed detection of CLI environments properly. 2009-09-19 10:38:47 +00:00
Dries Buytaert ccb0977bee - Patch #572942 by cwgordon7: proper comment wrapping. 2009-09-14 07:43:11 +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
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 bf49ab7213 #551574 by emmajane and jhodgdon: Added @see also links to variable_set(), variable_get() and variable_del() to link them together. 2009-08-21 00:00:43 +00:00
Angie Byron 425a1f955c #554106 by dropcube: Attempt #2 at fixing random test failures. 2009-08-20 07:24:40 +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
Angie Byron 8a6d8660cb #370454 follow-up by chx: Enhance comments to page cache simplification patch, and add in missing settings.default.php hunk. 2009-08-16 23:20:43 +00:00
Dries Buytaert a1593ab1c9 - Patch #370454 by chx, Damien Tournoud: simplify page caching. 2009-08-16 18:39:45 +00:00
Angie Byron 65a1528f05 #341140 by JohnAlbin and chx: Allow drupal_get_path() to be used even when database is down. 2009-08-04 04:02:26 +00:00
Dries Buytaert aab51b9319 - Patch #524728 by David_Rothstein, JoshuaRogers, JacobSingh et al: refactor install.php to allow Drupal to be installed from the command line. 2009-07-28 12:13:47 +00:00
Dries Buytaert 3a29ee48f8 - Patch #3518404 by bopombatower: lock down DB config based on simpletest UA headers. 2009-07-22 04:45:35 +00:00
Angie Byron b1938ce091 #523358 by catch: Speed up drupal_function_exists(). 2009-07-19 05:26:11 +00:00
Dries Buytaert ef09cf93e5 - Patch #517542 by David Strauss: renamed functions for clarity. We say 'yay' to clarity! 2009-07-14 10:22:17 +00:00
Dries Buytaert 5962cc5ab2 - Patch #477944 by DamZ: more streamlining and clean-up of session handling code. 2009-07-01 12:47:30 +00:00
Dries Buytaert 05c39fe7a0 - Patch #487830 by c960657: fixed a HTTP header and improved the tests. 2009-06-10 20:00:10 +00:00
Dries Buytaert 967564af46 - Patch #145733 by brianV: enable cookies ... 2009-06-06 20:15:23 +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 3c4be3ab55 - Patch #472658 by agentrickard: clean up of inline code comments. 2009-05-26 09:12:29 +00:00
Dries Buytaert a24a6c2bba - Patch #471070 by stella: millions of code style fixes. 2009-05-24 17:39:35 +00:00
Dries Buytaert 6ef4875e87 - Rollback of last patch. 2009-05-23 19:21:30 +00:00
Dries Buytaert 77423ed423 - Patch #471032 by chx: variable_del is broken! 2009-05-23 19:14:42 +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 bbe7b77475 - Patch #304163 by chx, David_Rothstein: allow update.php to regenerate settings.php 2009-05-09 18:35:01 +00:00
Angie Byron 3e81a14a49 #449142 by pwolanin: SA-CORE-2009-005 #2. 2009-04-30 16:15:44 +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 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 7ec6429c1c #415316 by mr.baileys: Remove needless extra clarification about the size of a KB. 2009-04-11 23:01:35 +00:00
Dries Buytaert 3a35e28f92 - Patch #254491 by chx, catch, justinrandell, pwolanin, David_Rothstein, et al: centralized static caching to improve testability of the Drupal code, and to remove $reset-parameters. Thanks for taking the time to convince me, catch! 2009-04-02 20:39:45 +00:00
Dries Buytaert b59c662967 - Patch #309586 by mr.baileys: IP address from XFF header contains spaces and improved code comments. 2009-03-18 09:21:21 +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
Dries Buytaert 116de17933 - Patch #381438 by drumm: do not use page cache for drupal.sh requests. 2009-02-25 13:49:26 +00:00
Angie Byron 2c381622a5 #88264 by Rob Loach and kscheirer: Make variable_get()'s defaultparameter default to NULL so that NULLs do not need to be specified. 2009-01-31 16:50:57 +00:00
Angie Byron 250e486bb0 #363687 by chx: Simplify DBTNG codeflow. 2009-01-25 12:19:32 +00:00
Angie Byron 7ac380aa05 #346285 by Damien Tournoud: forward-port HTTP_HOST fix from 6.x. 2009-01-22 03:05:18 +00:00
Angie Byron fcc8211ab1 #203323 by JirkaRybka, robertgarrigos, thePanz, c960657, and sun: Fix undefined index locale in install.php and clean up crufty code. 2009-01-20 03:18:41 +00:00
Dries Buytaert d20e457121 - Patch #201122 by c960657, Moshe Weitzman: never write anonymous sessions, unless something has been written to . This is an important performance improvements -- as long as you use modules that use carefully. It might be good to report some analytics about this in the performance settings page so administrators can see if there is a 'broken' module. 2009-01-19 10:46:52 +00:00
Dries Buytaert dba81743a6 - Patch #346285 by grendzy, Damien Tournoud, thekevinday et al: fixed problem when HTTP_HOST is not transmitted. 2009-01-14 12:15:38 +00:00
Dries Buytaert 70c1d777ea - Patch #353803 by dereine: minor performance optimization -- multiple calls to require_once. 2009-01-04 16:15:54 +00:00
Dries Buytaert 92a8adea65 - Patch #352470 by scor: fixed typos and grammar in comments. 2008-12-30 16:43:20 +00:00
Dries Buytaert 5bbad8a4dc - Patch #223298 by Dave Reid: change {dblog}.type VARCHAR limit from 16 to 64. 2008-12-28 20:41:19 +00:00
Dries Buytaert e23a87d1f9 - Patch #303154 by John Morahan: fixed typo that slipped in. 2008-12-26 11:00:23 +00:00
Dries Buytaert dcf7502003 - Patch #303154 by c960657: clean-up and better document ini_set() calls in default.settings.php. 2008-12-23 19:59:17 +00:00
Dries Buytaert 0c63d9e24f - Patch #349504 by keith.smith: clean up sentence spacing in code comments. 2008-12-20 18:24:41 +00:00
Dries Buytaert 5c72eb294a - Patch #327269 by c960657: when drupal_page_cache_header() compares the client's If-Modified-Since header to $cache->created, it assumed a certain date format. However, HTTP/1.1 allows several variations of the date format, i.e. the same time may be represented in slightly different ways. If the client sends the date in a different format than the one generated by Drupal, it would never receive a 304 Not Modified response. Also added a good amount of tests for the drupal_page_cache_header() code. 2008-12-03 14:51:53 +00:00
Angie Byron 466e572685 #337794 by Damien Tournoud: Make SimpleTest work under PosthreSQL again. 2008-11-30 01:05:16 +00:00
Angie Byron 4f8168c39a #338184 by Damien Tournoud: Remove special workarounds for serialize() in the registry. 2008-11-29 23:21:22 +00:00
Dries Buytaert 5083e13522 - Patch #333143 by justinrandell: cleaning up the Drupal bootstrap code, removing bootstrap flag in system table. 2008-11-24 10:41:40 +00:00
Dries Buytaert 8e985b3fbc - Patch #319406 by AlexisWilke, Dave Reid, Damien Tournoud, kbahey: should only be cleared in the parent watchdog() call. 2008-11-24 06:17:40 +00:00
Angie Byron 2f6a71433d #308834 follow-up by gpk: Comment improvements. 2008-11-22 16:48:20 +00:00
Dries Buytaert 6608f70cff - Patch #308834 by c960657: move setting of magic_quotes_runtime out of settings.php because (i) we don't want a user to change it and (ii) it gets executed a bit earlier in the Drupal bootstrap. 2008-11-22 13:46:11 +00:00
Dries Buytaert 653e63bd05 - Patch #323474 by Dave Reid and catch: hook_boot() was not invoked on uncached page views if cache mode is aggressive. 2008-11-22 13:33:00 +00:00
Dries Buytaert dc65b62ace - Patch #74645 by drewish, roychri et al: modify file_scan_directory to use a regex for the nomask (and code clean-up). 2008-11-16 19:41:14 +00:00
Dries Buytaert 5fbdca023f - Patch #267883 by MadHarold, boombatower: parse_size() and format_size() do not use the same kilo standard. 2008-11-16 15:19:34 +00:00
Dries Buytaert 59ece2e39d - Patch #325665 by chx, Damien Tournoud, justinrandell et al: improved the cache registry lookups. 2008-11-11 22:39:59 +00:00
Dries Buytaert af0463c66a - Patch #279516 by c960657: remove workarounds for PHP versions less than 5.2.x 2008-11-07 17:21:54 +00:00
Dries Buytaert 72e81af12d - Patch #324875 by pwolanin, Damien Tournoud, goba: improved conf_path() header injection checking. 2008-11-02 10:56:35 +00:00
Dries Buytaert a6a58c16eb - Patch #319394 by Crell: force the default database for registry queries. 2008-11-02 06:33:56 +00:00
Dries Buytaert e2a6a3ed61 - Patch #298600 by chx, justinrandell, Damien, et al: make module_implements work regardless of bootstrap phase. 2008-10-31 02:18:22 +00:00
Angie Byron 63e8d1e3d3 #324875: SA-2008-067 (#324824): Fix file inclusion vulnerability. 2008-10-25 01:13:40 +00:00
Dries Buytaert 72cd8d63b6 - Patch #323391 by Damien Tournoud: made initialization of the variables an explicit bootstrap phase. 2008-10-22 20:44:53 +00:00
Dries Buytaert daad5033e9 - Patch #323372 by Damien Tournoud: fixed bootstrap phase issue that broke installer. 2008-10-20 11:33:00 +00:00
Dries Buytaert 3de6420cd5 - Patch #323372 by chx: clean up drupal_bootstrap(). 2008-10-19 21:27:13 +00:00
Dries Buytaert f7eac0049a - Patch #321337 by gpk: optmized timer_start() and timer_read() thanks to PHP5. 2008-10-16 21:16:06 +00:00
Dries Buytaert 967d8f67ac - Patch #304924 by Damien Tournoud: extend error handler to manage exceptions. I have one exception and one fail. 2008-10-15 16:05:51 +00:00
Angie Byron 404994e85f #242873 follow-up: Missed adding constants to bootstrap.inc. 2008-10-13 04:06:22 +00:00
Angie Byron 81b04e90cf #320171 by Dave Reid: Fix exception in ip_address() test. 2008-10-12 08:37:14 +00:00
Angie Byron a3a420c3e6 Roll-back of #242873: This caused horrendous problems with SimpleTest on some configurations. 2008-10-12 06:27:06 +00:00
Angie Byron 6575a26c88 #231298 by Crell and rednahead: Allow for aliased multi-site support. 2008-10-12 02:47:50 +00:00
Angie Byron 5dff3b8e15 #242873 follow-up by pwolanin: Move new check_plain() check constants to bootstrap.inc so they're there in early bootstrap. 2008-10-11 21:53:36 +00:00
Angie Byron 3715107d36 #318102 by Damien Tournoud and Dave Reid: hook_exit() not invoked for some cached requests. 2008-10-11 04:56:34 +00:00
Angie Byron 6560a8206e #317840 by lilou: Fix typo in Doxygen for REQUEST_TIME. 2008-10-06 22:40:20 +00:00
Dries Buytaert d35f1517c3 - Patch #313156 by Crell: convert bootstrap.inc to DBTNG and resurrected a kitten. 2008-10-06 14:26:54 +00:00
Angie Byron a3bb66e4e8 #259623 by dopry and Damien Tournoud: Convert includes/requires to use absolute paths. 2008-09-20 20:22:25 +00:00
Dries Buytaert 8fc581d4d7 - Patch #309488 by kbahey: correct capitalization of TRUE and FALSE. 2008-09-19 07:53:59 +00:00
Dries Buytaert 7f29b14277 - Patch #305645 by pwolanin: ['REQUEST_TIME'] -> REQUEST_TIME. Improved developer experience. 2008-09-17 07:11:59 +00:00
Dries Buytaert 312b97e9e9 - Patch #253702 by Damien Tournoud et al: further clean-up of the session handling code. 2008-09-15 15:18:59 +00:00
Dries Buytaert c2746a949e - Patch #208793 by kbahey, Damien Tournoud: stop hardcoding the HTTP protocol version where possible. 2008-09-08 21:24:30 +00:00