Commit Graph

484 Commits (eeac53e45f99b51f4826703dab59c35fa4d7aab6)

Author SHA1 Message Date
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
Dries Buytaert a1d73f1342 - Patch #253702 by jscheel, gpk: clarified session handling functions. 2008-09-08 21:08:24 +00:00
Angie Byron af884c3888 #302763 by DamZ: Fixing test failures, removing legacy globals check cruft. 2008-09-06 15:20:09 +00:00
Dries Buytaert e5b0e5f76c - Patch #302763 by Dave Reid, Rob Loach: replace time() by ['REQUEST_TIME'] as per Rasmus' suggestion. Removed drupal_referrer() for consistency. 2008-09-06 08:36:22 +00:00
Dries Buytaert 69e6f411a9 - Patch #225450 by Crell, chx, bjaspan, catch, swentel, recidive et al: next generation database layer for Drupal 7. 2008-08-21 19:36:39 +00:00
Dries Buytaert 06379c5470 - Patch #170310 by mfb, JohnAlbin: avoid SSL cookie getting over-written by non-SSL cookie. 2008-08-18 18:56:01 +00:00
Dries Buytaert 6c1068e48d - Patch #287877 by dmitrig01: rename drupal_rebuild_code_registry() to registry_rebuild() for consistency. 2008-08-02 19:01:02 +00:00
Dries Buytaert fb3b6d13b8 - Patch #231190 by eli, mfb: page cache didn't work with HEAD requests. 2008-07-17 21:10:39 +00:00
Dries Buytaert ffdfefebbc - Patch #270508 by paul.levvik and pwolanin: usability improvement: image toolkits should not have to be copied. 2008-07-08 01:08:15 +00:00
Dries Buytaert 2a34c23bc8 - Patch #258397 by Dries: fixed spoofing attack. 2008-07-04 22:54:09 +00:00
Dries Buytaert fe06b4ccd8 - Patch #276581 by catch: wrote missing tests for contact module and simplified contact module thanks to that. Also removed some whitespace. 2008-07-02 20:05:11 +00:00
Dries Buytaert bb232c728a - Patch #277073 by threexk: improve consistency of offline vs off-line and online vs on-line. 2008-07-01 20:36:40 +00:00
Dries Buytaert df4ebc0135 - Patch #258397 by R.Muilwijk and myself: IP address detection improvements. Added support for clusters and wrote various IP address related tests. 2008-06-26 11:29:20 +00:00
Dries Buytaert c529e4afbe - Patch #101543 by webchick: document all constants. 2008-05-26 17:12:55 +00:00
Dries Buytaert 0d54577a9f - Patch #256579 by justinrandell: registry performance optimizations. 2008-05-13 17:38:42 +00:00
Dries Buytaert 2e18cb8924 - Patch #221964 by chx, dopry, webernet, moshe, webchick, justinrandall, flobruit
et al.  Can you say 'registry'?  Drupal now maintains an internal registry of
  all functions or classes in the system, allowing it to lazy-load code files as
  needed (reducing the amount of code that must be parsed on each request). The
  list of included files is cached per menu callback for subsequent loading by
  the menu router. This way, a given page request will have all the code it needs
  but little else, minimizing time spent parsing unneeded code.
2008-05-06 12:18:54 +00:00
Dries Buytaert 56d2664a90 - Patch #245115 by kkaefer, John Morahan, JohnAlbin et al: after a long discussion we've decided to make the concatenation operator consistent with the other operators. 2008-04-14 17:48:46 +00:00
Dries Buytaert 08aa23227e - Patch #228594 by catch et al: removed access rule functionality from core.
The access rules capability of user module has been stripped down to a
  simple method for blocking IP addresses. E-mail and username restrictions
  are now available in a contributed module. IP address range blocking is
  no longer supported and should be done at the server level.

  This patch is partly motiviated by the fact that at the usability testing,
  it frequently came up that users went to "access rules" when trying to
  configure their site settings.
2008-04-08 22:50:55 +00:00
Gábor Hojtsy 78bc68f304 Drupal 6 RC2 2008-01-10 22:47:17 +00:00
Gábor Hojtsy b78a990270 #207569 by ScoutBaker (minor code style): clean up @see usage in phpdoc blocks 2008-01-08 10:35:43 +00:00
Gábor Hojtsy d3c14ad6fe #50901 by chx: do not allow user login under maintenance mode, if the logged in user has no site config permission 2008-01-02 14:29:32 +00:00
Gábor Hojtsy 090b90227b #199780 by Pancho and chx: fix problem in access rules check introduced in #174025 2007-12-20 08:20:58 +00:00
Gábor Hojtsy 5622bce2d5 #198579 by webernet and hswong3i: a huge set of coding style fixes, including:
- whitespaces at end of lines
 - indentation
 - control structure usage
 - whitespace in empty lines
 - phpdoc comment formatting
2007-12-08 14:06:23 +00:00
Gábor Hojtsy e9f52b4248 #141727 by merlinofchaos, dvessel, sun: restore themeability support for maintenance pages (regression) 2007-11-30 12:19:10 +00:00
Gábor Hojtsy f337abfa69 #173408 by markus_petrux / add1sun: move proxy IP configuration options to settings.php, because these need to be used before Drupal has the variables loaded from the database 2007-11-26 08:06:52 +00:00
Gábor Hojtsy 702c0a2bcd #190283 by myself and JirkaRbyka: use get_t() in pre-database setup code, add missing javascript key to language objects (kills notices) and document st() better 2007-11-11 16:14:45 +00:00
Dries Buytaert ca0bbfee5b - Modified version of patch #121820 by Caleb et al: add an option for page compression. 2007-10-25 15:38:25 +00:00
Gábor Hojtsy 7e963c13ff #182675 by chx: fix caching bootstrap, so hook_boot() and the timer is called when required, integrating the cache init function right into the bootstrap 2007-10-24 11:30:39 +00:00
Dries Buytaert f75cec459e - Patch #180468 by hass: fixed notice on IIS. 2007-10-17 13:03:03 +00:00
Dries Buytaert 6f731d920a - Patch #183965 by alpritt: corrected PHPdoc. 2007-10-17 12:11:30 +00:00
Gábor Hojtsy 74a431e79a #163785 by Eaton, dvessel and quicksketch: theme .info files should be able to override core and module CSS files based on file basenames 2007-10-05 14:50:25 +00:00
Dries Buytaert 821221cc14 - Patch #181063 by chx: fixed problem with drupal_bootstrap() not booting to the proper level. 2007-10-05 14:48:49 +00:00
Gábor Hojtsy 89bf1e1235 #174025 by killes: small performance improvement for drupal_is_denied() 2007-09-10 12:19:11 +00:00
Gábor Hojtsy 470b2e374e #172262 by JirkaRybka: better globals handling in install system, so the choosen profile and language are remembered 2007-09-09 19:46:54 +00:00
Gábor Hojtsy a6f970e9d2 #173227 by Desbeers: make language listing work early in the bootstrap, when modules are not yet loaded (fix a regression from a previous patch) 2007-09-07 10:33:06 +00:00
Dries Buytaert d33f3df967 - Patch #165160 by chx: restored access checking. 2007-09-03 16:55:00 +00:00
Gábor Hojtsy a4b3217bd1 #169263 by Gerhard Killesreiter: fix IP address identification 2007-09-03 09:59:43 +00:00
Gábor Hojtsy 0fd16236ef #171562 by JirkaRybka: fix several issues with locales
- make searches work again, better worded
 - do not cache English stuff
 - fix strike through on string seek page
 - fix exports for translations
2007-09-01 12:50:47 +00:00
Gábor Hojtsy 0f845306c2 #151868 by chx: avoid using array_shift() because it takes a lot of time to rehash the array, so indexing the array is more performant, then shifting items one by one 2007-08-30 16:09:50 +00:00
Gábor Hojtsy 1a66aeb39e #171606 by Heine: ported security fix from Drupal 4.7/5; use SCRIPT_NAME instead of PHP_SELF in links to avoid XSS holes 2007-08-30 15:53:39 +00:00
Gábor Hojtsy 8836d94ecd #151394 by xqus and RobRoy: file.inc is required on maintanance pages for the JS aggregation 2007-08-30 15:47:27 +00:00
Gábor Hojtsy 1372700977 #170638 by JirkaRybka and chx: move update access variable to settings.php, so we can check whether it is wide open, and we have one place for settings 2007-08-28 11:42:56 +00:00
Gábor Hojtsy d1e33c191c #165331 by chx: call hook_boot() for cached pages too, moving it to the right place 2007-08-26 16:00:29 +00:00
Dries Buytaert a21275a58f - Patch #165160 by hswong3i: made two SQL queries work on DB2. 2007-08-07 08:41:24 +00:00
Dries Buytaert 2c3864d3c7 - Patch #147324 by Eaton: make multi-site installations work again. 2007-07-30 19:22:47 +00:00
Dries Buytaert 7b682ae9f8 - Patch #162944 by profix898: cleanup ip_address() code. 2007-07-29 21:04:03 +00:00
Dries Buytaert 80ff5109a7 - Patch #162708 by Eaton and Earl: add support for image buttons to FAPI3.
This is a small form API extension (doesn't break existing code) that
  facilitates the Drupal 6 upgrade of the Views module.  A good example
  of why it can be beneficial to start upgrading your modules early on in
  the code freeze. ;)
2007-07-29 17:28:23 +00:00
Steven Wittens 0676d8410f Re-add check_plain() in appropriate places after removing it from ip_address(). 2007-07-26 21:42:52 +00:00
Dries Buytaert e473168106 - We don't need to sanitize stuff on input. 2007-07-26 09:32:15 +00:00
Gábor Hojtsy dfcbe0591a #160107 by JohnAlbin: use the same session ID regardless of the protocol used to access the page (eg share sessions between http and https pages) 2007-07-25 10:06:44 +00:00
Gábor Hojtsy f5ea36bb4d #125533 by keve: do not continue bootstrap if the process was called back with a phase already executed 2007-07-11 22:04:57 +00:00
Gábor Hojtsy 8caf4da7f1 #82499 by Jose A Reyero and a little bit from myself: send emails localized in the language needed in specific situations, and centralize mail composing operations with hook_mail() 2007-07-01 19:49:19 +00:00
Dries Buytaert 5874ed1046 - Patch #151916 by JohnAlbin: fixing a double patch inclusion. 2007-06-15 06:45:05 +00:00
Dries Buytaert 53420729ea - Patch #101927 by cooferat: fixed problem with post information. 2007-06-11 15:21:14 +00:00
Dries Buytaert c83f05e284 - Patch #150452 by JohnAlbin: fixed strict notice. 2007-06-09 07:26:36 +00:00
Dries Buytaert 4fd54aabc5 - Patch #115267 by drewish, dopry et al: simplified file uploads code, improved file API, centralized file validation, implemented quotas and fixed file previews. 2007-05-30 08:08:59 +00:00
Gábor Hojtsy 36e87e190c #147640 by Jose A Reyero with further cleanup by myself: add language code to localization functions
This makes it possible to call these functions with a given language code when sending emails to multiple users with different languages in a request for example.
2007-05-29 14:37:49 +00:00
Dries Buytaert 1f86421497 - Patch #55516 by David Strauss et al: removed some database locking. 2007-05-25 21:01:30 +00:00
Dries Buytaert 4a6f5869e5 - Patch #142773 by kbahey: made Drupal work correctly when behind a reverse proxy. 2007-05-25 15:04:42 +00:00
Dries Buytaert a309ea2be2 - Patch #99011 by merlinofchaos: remove sites/default/settings.php and ship with sites/default/default.settings.php. 2007-05-08 16:36:55 +00:00
Dries Buytaert e66371cac1 - Patch #137211 by merlinofchaos: move theme information to .info files and improved theme inheritance. 2007-05-06 05:47:52 +00:00
Dries Buytaert b93ce19a9c - Patch #56357 by John Albin, alienbrain, moshe, etc: fixed more cookie domain problems. 2007-04-30 14:37:36 +00:00
Dries Buytaert 38d22252b9 - Patch #67893 by kbahey, dww, alienbrain, asimmonds et al: made it possible to filter log messages in the database log. 2007-04-30 11:12:35 +00:00
Dries Buytaert dbfcd7d137 - Patch #137415 by slantview: simplified the cache API/usages, and made it a tad smarter. Makes it easier to program for, and easier to replace. Will need to be documented. 2007-04-25 21:34:32 +00:00
Gábor Hojtsy 0a5ec93496 #76588: Small fixes after that patch landed
- typo fix in watchdog() phpdoc
 - add a missing array() on a watchdog call in ping.module
 - handle NULL 'variables' value in syslog module

Noticed these while writing the documentation for watchdog() updates and by comitting the updates into the i18n SVN repository.
2007-04-24 15:53:53 +00:00
Dries Buytaert f73610bec6 - Patch #76588 by Gabor: made log messages translatable. Yay. 2007-04-24 13:53:15 +00:00
Dries Buytaert df1bea8bca - Patch #138429: reroll. 2007-04-24 10:45:20 +00:00
Dries Buytaert 2e34699b59 - Patch #138429 by Zen: removed unused variables. 2007-04-24 08:43:31 +00:00
Dries Buytaert f4cbd7c63d - Patch #118660 by agentrickard: re-order arguments of cache_set() to match PHP/Drupal conventions. 2007-04-15 15:36:10 +00:00
Dries Buytaert e675979091 - Patch #134493 by douggreen: getting the Drupal coding standards right in core. Woot. Woot. 2007-04-13 08:56:59 +00:00
Dries Buytaert 07e6bdcdfe - Patch #63881 by kbahey and jakeg: improved Drupal's logging functionality. Added support for external loggers, and included a small syslog module into core. 2007-04-10 10:10:27 +00:00
Dries Buytaert 5bbbf10ba8 - Patch #130987 by merlinofchaos: added theme registry for easier themability. 2007-04-06 13:27:23 +00:00
Dries Buytaert 8fd0fdbd54 - Modified patch #133318 by hunmonk: drupal_get_messages() returning incorrect array value. 2007-04-04 20:50:53 +00:00
Dries Buytaert b20618aa12 - Patch #128866 by Gabor et al: new language subsystem fixes. 2007-03-28 14:08:23 +00:00
Steven Wittens f7440d4d73 #130971: Kitchen sink (E_NOTICE compliance / Code style / Bugfix in book toc) 2007-03-27 05:13:55 +00:00
Dries Buytaert eb0caa354e - Patch #128866 by Gabor, Steven, chx, Jose et al: new language subsystem. 2007-03-26 01:32:22 +00:00
Dries Buytaert 4d731dd369 - Patch #111697 by wesley: properly initialized user->time to prevent warnings/errors. 2007-03-25 20:54:33 +00:00
Dries Buytaert 5729c22f6f - Patch #109941 by morphir: allow the browser to store form fields. 2007-01-29 19:25:19 +00:00
Dries Buytaert 03752e35a4 - Patch #34755 by chx et al: faster menu system. HEAD is temporary broken and there is no upgrade path yet. 2007-01-24 14:48:36 +00:00
Steven Wittens b70e936d24 #109032: Make session.inc pluggable. 2007-01-15 11:52:02 +00:00
Dries Buytaert 6777463414 - Patch #104693 by ChrisKennedy: pragma dates back from previous protocal. 2007-01-02 10:21:39 +00:00
Dries Buytaert 983eda44ac - Patch #104693 by ChrisKennedy: send proper HTTP headers: HTTP/1.0 -> HTTP/1.1. 2006-12-21 22:20:19 +00:00
Steven Wittens cfe44ef80c #100859: Fix aggregator categorization form 2006-12-12 06:27:17 +00:00
Steven Wittens a5d5c6aa4b #102602: Even more documentation for constants (webchick) 2006-12-12 06:16:33 +00:00
Dries Buytaert 161a856ab8 - Patch #102603 by webchick: documenting watchdog constants. 2006-12-11 12:01:54 +00:00
Dries Buytaert eb5e171cb6 - Patch #102612 by webchick: document constants. 2006-12-11 12:00:07 +00:00
Dries Buytaert a98fa4c2c8 - Patch #102232 by webernet: roll-back of #87310. 2006-12-10 20:13:36 +00:00
Steven Wittens b86f45b1e6 #100516: CSS preprocessor to cache and compress all .css files. Benchmarks show up to 40% faster page loads. 2006-12-10 09:54:35 +00:00
Dries Buytaert 5af372289c - Patch #101531 by webchick: documenting bootstrap constants. 2006-12-08 12:09:54 +00:00
Dries Buytaert ea7224fb6a - Patch #87310 by dfaulkner and Grugnog2: fix borken request_uri() on some systems. 2006-12-08 11:55:56 +00:00
Dries Buytaert 0a3d7ae588 - Patch #101531 by jvandyk: document all the bootstrap phases in Drupal 5.0. 2006-12-06 16:14:11 +00:00
Dries Buytaert ab1d68d166 - Patch #90612 by Bart Jansens: user_logout should only end the current session. 2006-12-04 10:41:20 +00:00
Dries Buytaert f191e197ee - Added database checks. 2006-11-24 10:16:50 +00:00
Dries Buytaert 13d538287e - Patch #93204 by chx et al: made Drupal work on FastCGI setups. 2006-11-22 09:07:03 +00:00
Dries Buytaert 926e6830d6 - Patch #81076 by Bart Jansens: documentation correction. 2006-11-12 19:16:09 +00:00
Neil Drumm 723056cbb9 #93491 by chx. Don't attempt to read non-existent timers. 2006-11-12 00:21:15 +00:00
Neil Drumm 2310bd9723 #54238 by gopherspidey and fago. Don't cache pages with messages. 2006-09-07 07:11:15 +00:00
Dries Buytaert fd210c342c - Patch #81777 by havran: make access checking work on PostgreSQL. (ANSI SQL 92) 2006-09-06 12:27:50 +00:00
Neil Drumm 30b26cc4b8 #81777 by havran and Jaza. Postgres compatibility. 2006-09-06 08:51:53 +00:00
Dries Buytaert 5372c236bc - Patch #80725 by chx: move the access check up in the bootstrap process. Like that we don't have to load the session when the address is denied access. Can be a notable performance improvement when you block crawlers. 2006-09-06 07:53:01 +00:00
Neil Drumm bdfa735e1c #47535 by Wesley Tanaka and nickl. Fix a PHP notice with timers. 2006-09-06 06:43:03 +00:00
Neil Drumm e86c36cb5b #80887 by chx. Fix a bug with superglobal cleaning. 2006-09-03 07:08:24 +00:00
Steven Wittens dd4f143df6 #75002: Install-time and run-time requirements checking + status report page 2006-09-01 08:44:53 +00:00
Dries Buytaert c29daaaabb - Patch #80887 by Matt et al: added an aggressive caching strategy. 2006-08-31 18:40:04 +00:00
Dries Buytaert 8fdf7a8750 - Patch #72290 by killes: split up the cache table. 2006-08-30 08:46:17 +00:00
Neil Drumm 151ad8ba7f #80849 by robertDouglass. 'Already installed' error needs a filtering function. 2006-08-30 08:03:15 +00:00
Dries Buytaert ad0e8b5615 - Patch #81078 by M. Plumbley: documented drupal_is_denied(), and improved
performance of drupal_is_denied().
2006-08-29 08:36:14 +00:00
Dries Buytaert cc637b5579 - Patch #80837 by killes and Dries: fixed 403 handling. 2006-08-28 11:08:04 +00:00
Dries Buytaert bb8d583f4c - Patch #80597 by jvandyk: improved PHPdoc. Thanks 2006-08-25 05:42:00 +00:00
Dries Buytaert 49481f68f4 - Patch #79166 by hunmonk: fixed session breakage. 2006-08-18 19:24:52 +00:00
Dries Buytaert 3ace12caf8 - Patch #node/76931 by Robert: improved performance of Drupal's session handling. 2006-08-16 13:13:34 +00:00
Neil Drumm 81c25bcd43 #77183 (again) by m3avrck, add standard CSS to the maintenance pages. 2006-08-15 05:16:23 +00:00
Dries Buytaert d830edae04 - Patch #78328 by Bart: fixed incorrect Etag 2006-08-12 11:47:24 +00:00
Dries Buytaert 729fa6c11b - Patch #77422 by timcn: corrected various paths in the documentation. 2006-08-07 15:04:16 +00:00
Dries Buytaert 900ad2b099 - Patch #70521 by Grugnog2 et al: fixed 'double logins', caching, and logging in and out. 2006-08-03 13:42:34 +00:00
Dries Buytaert 2c0571b894 - Patch #73961 by m3avrck, timcn, et al: simplify adding CSS in Drupal. 2006-08-03 07:06:36 +00:00
Steven Wittens 38e4c1ae91 #76209: (Eaton et al)
- Make installer code integrate better with module.inc / system.module
- Fix schema version bug when installing core
2006-08-03 01:02:51 +00:00
Dries Buytaert 0c05ae7a03 - Patch #74744 by jhenry: 304 handling should send an ETag to meet the HTTP/1.1 spec. 2006-07-22 07:00:30 +00:00
Dries Buytaert 1c75a210bd - Patch #68926 by chx, jeremy, steven, eaton, webchick, amazon, neil, nedjo et al: an initial install system for Drupal core. 2006-07-13 13:14:25 +00:00
Dries Buytaert c45ca20d0f - Rolback previous patch: breaks Drupal. 2006-07-10 18:41:10 +00:00
Dries Buytaert 9adf9d8ce4 - Patch #71424 by Moshe: removed global variable. 2006-07-10 15:37:10 +00:00
Dries Buytaert e93f8be871 - Patch #72204 by nedjo: upper-cased all TRUE/FALSE/NULL constants. 2006-07-05 11:45:51 +00:00
Neil Drumm c990f2e1c8 #70075 by AjK, send proper headers if caching is turned off. 2006-07-02 19:25:34 +00:00
Dries Buytaert 77d695fe56 - Patch #69341 by chx: remove some SQL queries from the Drupal bootstrap process. 2006-06-28 21:18:30 +00:00
Dries Buytaert c7ae77cf5f - Patch #67675 by chx: added support for multiple cache backends. 2006-06-14 14:01:12 +00:00
Neil Drumm 9cff02e91b #61802 by Zen, Double spaced sentences clean up 2006-05-07 00:08:36 +00:00
Neil Drumm fc02bfed53 #61368 by chx, don't unset the global globals array. 2006-05-04 09:28:32 +00:00
Neil Drumm ac89011bfd #60457 by JonBob (slightly modified), bootstrap.inc produces [Notice] in error_log 2006-05-02 08:37:42 +00:00
Gerhard Killesreiter 3f4be0d693 #60846, fix Drupal for running as CGI, patch by chx 2006-04-28 11:52:31 +00:00
Gerhard Killesreiter 8e4524c0d8 #59378, unset disallowed globals in case register_globals is on, patch by chx 2006-04-21 06:39:00 +00:00
Steven Wittens bfb407601b #58418: $conf ignored after bootstrap patch 2006-04-12 21:39:15 +00:00
Steven Wittens 8ebf819ac2 #58480: Left over conf_init() 2006-04-12 20:58:09 +00:00
Steven Wittens 69726b0d7b #56634: Resolve issues with varying $base_url
- Fix locations links in watchdog
- Fix repeated subdirectory in page cache CIDs
2006-04-12 08:42:47 +00:00
Gerhard Killesreiter 70aae83c8e #58166, fixes for typos, patch by Uwe Herrmann 2006-04-11 11:33:15 +00:00
Gerhard Killesreiter 94355dd832 #56676, unset($_SESSION['messages']);, patch by chx 2006-04-01 14:53:03 +00:00
Gerhard Killesreiter 53d16d7da0 #42000, Watchdog can't log errors when using db_set_active(non-default), patch by Chris Johnson and myself 2006-03-26 14:11:38 +00:00
Gerhard Killesreiter 8ea7cb3f48 #50181, Timer counts not properly incremented, patch by puregin 2006-02-27 13:46:01 +00:00
Dries Buytaert 37ec1bca84 - Patch #44947 by rkerr / Moshe: fixed race condition in session handling, reduced query overhead of session handling, reduced database overhead of session handling. 2006-02-10 05:42:11 +00:00
Dries Buytaert 81660bc662 - Patch #13148: fix problems with using relative path names! (Please document this change.) 2006-01-29 07:36:29 +00:00
Dries Buytaert 4dd63e0385 - Patch #46183 by chx: made maintenance mode work again. 2006-01-24 18:18:41 +00:00
Dries Buytaert 1766d40093 - Patch #44828 by chx/Crell: make sure the url/path is properly initialized in statistics_exit(). 2006-01-23 07:54:08 +00:00
Dries Buytaert 4da4f4c1af - Patch #44379 by Moshe: code improvements: always grant the 'authenticated user' role to authenticated users. Fixed glitch with udpate path. 2006-01-21 08:28:55 +00:00
Steven Wittens 67fc0913ac - #44992: ./ prefix for conf file include (faster) 2006-01-17 06:17:29 +00:00
Dries Buytaert 54b8ad6550 - Patch #22035 by Matt: fixed problem with alias table getting corrupted. 2006-01-16 08:34:45 +00:00
Dries Buytaert 15299efc89 - Patch #43360 by Chris: minor code clean-up: renamed $op to $hook. 2006-01-05 10:51:47 +00:00
Dries Buytaert 5accfa08f5 - Patch #41133 by DriesK: as of PHP 5.1.0, strtotime() returns FALSE on failure instead of -1.
Changed code to be compatible with all versions.
2005-12-15 16:02:50 +00:00
Dries Buytaert 2917261693 - Removed valid_input_check(). 2005-11-30 10:27:13 +00:00
Dries Buytaert f4799d1ce9 - check_plain() missed its train. 2005-11-29 20:37:19 +00:00
Dries Buytaert 2d0df351d7 - Various fixes. Updated CHANGELOG.txt 2005-11-29 20:17:10 +00:00
Dries Buytaert 244945365d - Patch #10407 by Cvbge: fixed cache problems with PostgreSQL. 2005-11-27 11:52:08 +00:00
Dries Buytaert 7a5c5b83a7 - Patch #35725 by drumm: improved conf_init() documentation. 2005-11-21 21:33:44 +00:00
Steven Wittens cbc92f59cf #35725: Make site.com:80 work like site.com 2005-11-21 16:24:41 +00:00
Dries Buytaert f6764cfbd8 - Patch #30930 by m3avrck/deekayen: cured PHP5 warnings. 2005-10-22 15:14:46 +00:00
Dries Buytaert 59cb3c4568 - Patch #13224 by Richard Archer and Gerhard: improved gzip caching. 2005-10-09 21:51:43 +00:00
Dries Buytaert 2b3126b2cc Patch #19934 by Morbus, chx: conf_init() should strip out port numbers in bootstrap.inc. 2005-09-19 19:13:35 +00:00
Dries Buytaert ceb9859d70 - Patch #29030 by Goba, chx, Jose, et al: reworked the URL rewrite hook so URLs can be rewritten dynamically. 2005-09-18 10:32:05 +00:00
Dries Buytaert 013b73e6ec - Patch #30122 by m3verick: changed include_once()'s to include "./$file"
for performance's sake.
2005-09-08 19:19:01 +00:00
Dries Buytaert 8ae8865abc - Patch #22911 by Cvgbe: fixed table locking in PostgreSQL. You'll have to
use db_lock_table() and db_unlock_tables() for your code to be compatible.
2005-08-29 19:17:17 +00:00
Dries Buytaert 7b8a409675 - Patch #29385 by chx: no ?> add end of files. 2005-08-25 21:14:17 +00:00
Dries Buytaert afeff189b8 - Bug #22911: PostgreSQL doesn't like "LOCK TABLES", but does like "LOCK TABLE". MySQL likes both. 2005-08-25 21:11:52 +00:00
Dries Buytaert 8dd4b46351 - Removed some debug code. 2005-08-25 20:56:32 +00:00
Dries Buytaert 75abab2451 - Patch #29274 by Jeremy: the "fuzzy cache" mechanism is supposed to enforce a minimum time before the cache table is flushed. Logical errors in the fuzzy cache implementation are leading to the cache table being flushed more frequently. Configuration is simplified by removing all references to "strict" and "loose" caches. Instead, the cache is either "disabled" or "enabled". Additionally, the site administrator can now configure the "minimum cache lifetime", the minimum amount of time cached data will remain cached. 2005-08-22 05:09:01 +00:00
Steven Wittens 0bf97bed03 - #27853: PHP notices. 2005-08-05 00:49:02 +00:00
Steven Wittens aa2de74fa2 - #27624, #27614, #27627: dead code 2005-07-29 08:18:20 +00:00
Steven Wittens 354e0c1f83 - #23651: Display referrer info with watchdog messages. 2005-07-29 04:12:19 +00:00
Steven Wittens d9d4b9bdab - #27231: Friendly DB error screens. 2005-07-27 01:58:43 +00:00
Dries Buytaert ba1660168f - Patch #27003 by Neil: use named constants instead of strings 2005-07-23 05:57:27 +00:00
Dries Buytaert fac840fe86 - Patch by Bart: fixed update.php after bootstrap patch. 2005-07-03 10:09:08 +00:00
Dries Buytaert 578d266d2f - Patch #25816 by Robert Douglass: removed extra load of boostrap.inc. 2005-06-27 18:38:46 +00:00
Dries Buytaert 5c8843704c - Patch #18213 by chx: boostrap system. Modified to work with HEAD, tidied
up the documentation a little.

  chx: can you double-check whether the global $conf variable is secure?
       (That is, make sure it can't be send using the URL or something.)
2005-06-22 20:19:58 +00:00
Dries Buytaert 4c77761efb - Patch #3962 by deekayen: improved error message when a blocked user attempts to login. 2005-06-21 18:21:08 +00:00
Dries Buytaert 1474632aa0 - Patch #24135 by Moshe: made it possible to ban visitors based on hostname/IP. Banning visitors can either be done from the 'access control' pages, or directly from the statistics pages. This feature is very convenient to block badly behaving crawlers. 2005-06-07 18:54:37 +00:00
Dries Buytaert cdec2f7e3e - Patch #16303 by Gerhard: fixed some warnings. 2005-05-21 11:33:03 +00:00
Dries Buytaert ae98abc15b - Patch #22652 by Stefan: improved PHPdoc of drupal_set_message(). 2005-05-14 18:32:22 +00:00
Dries Buytaert 139ef4027c - Patch #22035 by mathias/mikeryan: improved performance of path aliases. 2005-05-14 09:23:47 +00:00
Dries Buytaert 2b7f504dc8 - Added the ability to track page generation times in the statistics module.
(Made some improvements as per the suggestions in the issue.)

- Added extended timer implementation.
2005-05-12 11:21:35 +00:00
Dries Buytaert b43a782b61 - Removed some dead code. 2005-04-12 16:55:11 +00:00
Dries Buytaert e3d62d907b - Patch #19298 by Jeremy: loose caching!
Drupal's existing caching mechanism doesn't perform well on highly dynamic websites in which the cache is flushed frequently. One example is a site that is under attack by a spambot that is posting spam comments every few seconds, causing all cached pages to be flushed every few seconds.  Loose caching immediately flushes the cache only for specific users who have modified cached data (whether or not they are logged in), delaying the flushing of data for other users by several minutes.

(I rewrote the help text a bit and made minor changes to the code comments.)
2005-04-11 19:05:52 +00:00
Dries Buytaert 18e852e4e7 - Patch #19933 by willmoy: stop output buffering once the page has been rendered. 2005-04-05 19:00:24 +00:00
Dries Buytaert 7bdcba1720 - Patch #19739 by Uwe: corrected many typo's in the documentation and code comments 2005-03-31 21:18:08 +00:00
Steven Wittens be14203534 - #18817: Clean up plain-text checking (see drupal-devel!) 2005-03-31 09:25:33 +00:00
Steven Wittens f60da5b071 - #19130: Handle trailing dot in hostname when scanning for config. 2005-03-19 01:24:18 +00:00
Steven Wittens 98c2d5b2b8 - #5900: Fix browser caching issues. 2005-03-18 09:13:55 +00:00
Dries Buytaert 97ae6568e6 - Patch #13738 by TDobes: theme system fixes:
* Fix a bug which would cause the "configure" link for styles to be broken.
* Fix a bug with using drupal_get_filename for theme engines. Although this is not called anywhere in core, we should still fix it for contrib. (i.e. themes that may want to manually invoke a theme engine to create a hybrid theme)
* Correct an inaccurate comment in theme.inc
* Populate the default primary links with an "edit primary links" link for consistency with the secondary links
* remove some unnecessary variables in the theme administration which had misleading and confusing names
* replace time-consuming foreach when rendering theme admin page with a more efficient array_key_exists
* usability: rather than completely removing the search box checkbox when search.module is disabled, simply disable it. (UI elements shouldn't appear/disappear.)
2005-03-16 19:41:12 +00:00
Dries Buytaert 64b100d19a - Patch #13260 by UnConeD: watchdog module improvements.
We added a 'severity' column to watchdog():
    watchdog($type, $message, $link) --> watchdog($type, $message, $severity, $link);

    * Specify a severity in case you are reporting a warning or error.
    * The $link-parameter is now the fourth parameter instead of the third.

  TODO: document this in the upgrade guide.
2005-01-09 09:22:40 +00:00
Dries Buytaert bc9aeff7dd - Patch #14890: corrected the documentation of conf_init(). 2004-12-29 19:56:25 +00:00
Dries Buytaert 3cd9a1b2d4 - Patch #13405 by Moshe: make you actually do something useful with the init hook. A recent patch to 4.5 and HEAD made this patch run too early in the request (for non-cached pages). 2004-12-01 22:16:50 +00:00
Dries Buytaert 5d0dfeb562 - Patch #13405 by Moshe:
+ Make bootstrap functionality work with HEAD.
   + Move functions into bootstrap.inc so that statistics_exit() works for cached pages.  (Does this close any issues?)
2004-11-25 06:14:59 +00:00