1. 11 Apr, 2005 2 commits
    • Dries's avatar
      - Remove incorrect · 5b6472ef
      Dries authored
      5b6472ef
    • Dries's avatar
      - Patch #19298 by Jeremy: loose caching! · e3d62d90
      Dries authored
      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.)
      e3d62d90
  2. 08 Apr, 2005 1 commit
  3. 31 Mar, 2005 1 commit
  4. 15 Mar, 2005 1 commit
    • Dries's avatar
      - More improvements by Morbus, Goba, TDobes et al: · 2919df0e
      Dries authored
      Per TDobes' comments:
      
      * INSTALL.txt corrected to use 4.3.3, not 4.33.
      * .htaccess: removed allow_call_time_pass_reference. two confirmations that a) the setting was wrong in the first place, b) there were no adverse affects for the incorrect setting, c) the PHP docs say it is deprecated.
      * .htaccess: removed short_open_tag. Running grep -r "<? " * across the entire directory tree of both core and contributions only brought up contributions and no core. I agree that the fuller form is better. The following contributions will need to be updated: modules/edit_template/edit_template.module, sandbox/garym/themes/marvin_2k/templates/page.tpl.php, sandbox/killes/compare.php, sandbox/paolino/import/click.php, themes/spreadfirefox/block.tpl.php. For error's sake, I also did a manual verification for "<?" (no space) across core and came up against nothing in addition to the above contribs.
      
      Per Goba's comments:
      
      * .htaccess: Moved session.auto_start back.
      * sites/default/settings.php: Removed track_vars.
      
      Per mailing list comments:
      
      * INSTALL.txt: Added text about the files/ directory, creating it, and permissions.
      * INSTALL.txt: Added an example of why Drupal requires cron (the search.module) in an attempt to justify why a crontab is a good, nay, required step.
      
      And my own further analities:
      
      * .htaccess: cleaned up some whitespace valleys (i hate 'em, hate 'em!) and fixed a few stray colons.
      * settings.php: minor whitespace error.
      2919df0e
  5. 12 Mar, 2005 1 commit
    • Dries's avatar
      - Patch #18641 by Morbus: · a666c7da
      Dries authored
       # The INSTALL.txt no longer contains the SERVER CONFIGURATION block. These settings are now hardcoded into sites/default/settings.php, and are merely scary technical junk here.
      
       # The INSTALL.txt has been updated with the latest system requirements. A whole sentence was struck regarding differing versions of PHP for the OSs.
      
       # The INSTALL.txt contains URLs to MySQL and PostgreSQL. If we're including the URL for PHP in the same sentence, then there's no reason why we wouldn't include them for the database engines. What are the minimal requirements for the RDBMS? Those should be included here too.
      
       # The INSTALL.txt's OPTIONAL COMPONENTS has renamed to OPTIONAL REQUIREMENTS. The only difference between the meaning is the amount of user confusion.
      
       # The INSTALL.txt has a new CONTENTS OF THIS FILE, in hopes that people will more immediately notice that there are upgrade instructions at the bottom.
      
       # The INSTALL.txt had some potentially confusing lines adjusted, including further clarifications, standarding to "userid" (instead of using both userid and username interchangebly) and so on.
      
       # I've moved most of .htaccess php_value's to the ini_set system for /sites/. There are a few reasons for this, chiefly that it is centralizing all the PHP setting modifications to one place. But, this also clears up a few initial configuration issues: first, the user doesn't have to worry about whether they have Apache 1 or 2, and whether they need to change an IfModule line. Also, the running assumption is that these php_value's are /going to work by default anyways/, when the INSTALL.txt suggests otherwise (under OPTIONAL REQUIREMENTS, it talks about "the ability to use local .htaccess files", which suggests that "local .htaccess files" INCLUDING "mod_rewrite" are entirely optional.) Some variables, however, had to remain in .htaccess because they can't be overridden at runtime, but the amount was so small that duplicating them for both Apache 1 and Apache 2 possibilities is no longer a prohibitive concern.
      
       # There are two variables in .htaccess that I'm concerned about: track_vars, and allow_call_time_pass_reference. track_vars appears to be no longer necessary (as of 4.0.3, track_vars is always on, and my setting it here had no impact on the results of a phpinfo), and allow_call_time_pass_reference seems, at least here, to ONLY WORK if the .htaccess value is set to "1", and not "On" - meaning that Drupal installations are currently working correctly with its default value (off). According to the PHP docs, this feature is now deprecated. However, since both of these variables require further investigation, track_vars has been moved to settings.php, and allow_call_time_pass_reference has been "fixed" to a 1 (not 'On').
      
       # Along with the changes above for sites/default/settings.php, I've also removed the spacing indent in the documentation, as well as many a few grammatical/punctuation changes here and there. I don't think the leading spacing is "right" according to the style guidelines, but maybe there's a special need for it. Correct me if I'm wrong.
      a666c7da
  6. 28 Feb, 2005 2 commits
  7. 21 Feb, 2005 1 commit
  8. 18 Feb, 2005 1 commit
    • Dries's avatar
      - Patch #17303 by tangent: moved the session settings into... · 4f79fafb
      Dries authored
      - Patch #17303 by tangent: moved the session settings into /sites/default/settings.php so that subsites can have better control over them. One of the advantages of the site specific settings.php file is that it will never get overwritten during upgrades and having these settings here should prove to be more friendly.
      4f79fafb
  9. 25 Jan, 2005 1 commit
  10. 17 Jan, 2005 2 commits
  11. 30 Dec, 2004 1 commit
    • Dries's avatar
      · 828be2ad
      Dries authored
      - Patch #13020 by chx: let Drupal handle multiple database layers.
      
      - Removed the PEAR database backend.  It's no longer being used/maintained.
      828be2ad
  12. 24 Nov, 2004 1 commit
  13. 15 Nov, 2004 1 commit
  14. 19 Oct, 2004 1 commit
  15. 21 Sep, 2004 1 commit
    • Dries's avatar
      · c78fff8e
      Dries authored
      - Patch #10981 by Ber: removed custom links from configuration file.  They are no longer used.
      c78fff8e
  16. 21 Aug, 2004 1 commit
    • Dries's avatar
      · 94e30bf7
      Dries authored
      - Patch by JonBob: for consistency and readability, add brief descriptions of each source file inside the @file comment block at the head of the file. This helps with Doxygen indexing, and also allows neophytes to see what a file does immediately on opening the source, regardless of the organization of the hooks.
      94e30bf7
  17. 11 Aug, 2004 1 commit
    • Dries's avatar
      · 1831e1b6
      Dries authored
      - New locale module thanks to Gerhard, Goba, Marco, Kristjan and others.
      
        The new locale module provides every functionality on the web interface, so you don't need to edit the configuration files or add columns, when you add a new language. This module is an integration of the old locale and localegettext modules, plus a bunch of logic to parse Gettext Portable Object files (opposed to Machine Object files, as supported by localegettext).
      
        Note: I made some minor changes to the context-sensitive help texts and to some of the status messages.
      1831e1b6
  18. 30 Apr, 2004 1 commit
    • Dries's avatar
      · e4d45aae
      Dries authored
      - Patch by Adrian: added support for multiple database connections.
      e4d45aae
  19. 12 Mar, 2004 1 commit
  20. 10 Jul, 2003 1 commit
    • Dries's avatar
      · 337b3c9d
      Dries authored
      - Committed a slightly modified version of Slavica's table prefix patch.
      337b3c9d
  21. 16 Mar, 2003 1 commit
    • Dries's avatar
      · 170b674a
      Dries authored
      - All LIMIT queries must go through the pager or through db_query_range().
        The syntax for db_query_range() was enhanced so it matches db_query(). So
        you may pass extra arguments of the SQL statement which are checked via
        check_query() and then substituted into the SQL statement. After these
        optional arguments, you always pass $from and $count parameters which
        define your range.  Most often, the $from is 0 and the count is the max
        number of records you want returned.  Patch by Moshe.
      
      - The pager_query() function for PEAR was enhanced so that it adds  proper
        GROUP BY statement counting the number of records to be paged. Patch by
        James Arthur.
      
      - MSSQL database scheme by Moshe.
      170b674a
  22. 20 Feb, 2003 1 commit
    • Dries's avatar
      · 277ceae5
      Dries authored
      - New menu houskeeping.  Prototyped by Zbynek.
      
        The following modules need updating:
          * glossary module
          * feed module (Breyten's version)
          * mailhandler module
          * notify module
          * project module
          * smileys module
          * admin module
          * style module
          * taxonomy_dhtml module
      
        To avoid unexpected problems menu_add() is deprecated (it will print an
        error message when used) and menu() should be used instead.
      277ceae5
  23. 15 Feb, 2003 1 commit
    • Dries's avatar
      · 8f190d13
      Dries authored
      - Documented the fact that the $base_url should not have a trailing slash.
        Requested by Kjartan.
      
      - Fixed at least 3 typos.
      8f190d13
  24. 14 Feb, 2003 1 commit
    • Dries's avatar
      · d0387297
      Dries authored
      - Clean URLs.
      d0387297
  25. 06 Jan, 2003 1 commit
    • Dries's avatar
      · 89b2069e
      Dries authored
      - Clean URL patch.
      89b2069e
  26. 20 Dec, 2002 1 commit
    • Dries's avatar
      · 20e22ad2
      Dries authored
      - Removed some backslashes.  Reported by Adam.
      20e22ad2
  27. 10 Dec, 2002 1 commit
    • Dries's avatar
      · 7ce686c1
      Dries authored
      o Permission improvements:
      
         + Removed the "post content" permission and replaced it by more fine-grained permissions such as "maintain static pages", "maintain personal blog", "maintain stories", etc.
      
      o Usability improvements to teasers:
      
         + Teaser forms are no more.  Teasers are extracted automatically but can also be instructed using a delimiter "---".  Furthermore, when a post it too short for a teaser, the user won't be bother with teaser stuff anymore.
      
         + Added an option to set the teaser length, or to disable teasers all together.
      
         + When previewing a post, both the short (if any) and the full version of a post are shown.  This addresses a common complaint; for example, when writing a book page there was no way you could preview the short version of your post.
      
         + Forum posts can be teasered now.  This is particularly helpful in the context of drupal.org where we promote forum topics.
      
      o Bugfix: replaced all PHP short tags (<?) with long tags (<?php).
      
      o Bugfix: removed hard-coded dependence on comment module.
      
      o Bugfix: when the queue module was disabled, it was not possible to approve updated book pages.
      
      o Bugfix: applied modified version of Marco's node_teaser() fix.
      7ce686c1
  28. 08 Dec, 2002 1 commit
    • Dries's avatar
      · 296a01f3
      Dries authored
      - Made sure session.cache_limiter is set to "none" as suggested by Moshe
        and Ax.
      296a01f3
  29. 07 Dec, 2002 1 commit
    • Dries's avatar
      · 7c187f89
      Dries authored
      - Added "short_open_tag 1" to the PHP settings.
      7c187f89
  30. 02 Dec, 2002 1 commit
    • Dries's avatar
      · 8a91f1be
      Dries authored
      - Added some extra information about PHP settings.
      8a91f1be
  31. 26 Nov, 2002 1 commit
    • Dries's avatar
      · 4a723b90
      Dries authored
      - Added some comments/explanation wrt to the "$db_url" settings; this seemed
        to cause problems/confusion.
      4a723b90
  32. 14 Apr, 2002 1 commit
    • Kjartan's avatar
      This is a major change to the system, needs more testing! · 55927616
      Kjartan authored
      Committing Changes by Moshe Weitzman:
      - admin_user_account(), user_edit(), and user_view() no longer have any
        hard code for authentication modules. instead authentication modules
        implement the _user hook.
      - fixed a couple 'help' typos.
      - linked the 'REGISTER' text in the login block to the register page.
        this page now advertises DA better if site employs DA.
      - admins may now edit everything about a user account (was a feature
        request).
      - user #1 may now login immediately, in addition to receiving his
        password via email.
      
      Other changes:
      - modules and themes are now enabled/disabled in the administrative /
        settings / modules | themes pages. Requires SQL update and things must
        be enabled before your site returns to normal. TODO: enable all
        functionality. (For now just do UPDATE system SET status = 1;)
      - removed $themes from conf.php.
      - added a $theme->system() function where theme can specify settings.
        All themes in the Drupal CVS have been updated to use this.
      - added _system hook to modules. TODO: update modules to use this.
      - changed strange use of sprintf to the usual strtr. The disadvantage of
        sprintf is that it requires translations to keep the string order,
        which may not be possible in all languages.
      - an invalid/nonexisting theme in a user profile will now fallback to the
        BaseTheme instead of crashing.
      55927616
  33. 02 Apr, 2002 1 commit
    • Kjartan's avatar
      - made the user information block into two different blocks. One for · 1e4308a9
      Kjartan authored
        login and one for user information.
      - added link to help in book module (post-patch, see below).
      - applied various patches:
        Patch by Greg Tyrelle <greg@tyrelle.net>
        - tracker module now shows usernames next to comments.
      
        Patch by Moshe Weitzman <moshe@wallaware.com>
        - book module has a more complete help.
        - added administrative link to export book to html
        - fixed non book nodes not showing up in trees.
      
        Patch by moshe weitzman <weitzman@tejasa.com>
        - links can be defined in the configuration file.
      1e4308a9
  34. 19 Feb, 2002 1 commit
    • Dries's avatar
      · d0761b86
      Dries authored
      - Removed theme Trillian from the $themes-array.
      d0761b86
  35. 24 Dec, 2001 1 commit
  36. 01 Nov, 2001 1 commit
    • Dries's avatar
      · 336b713a
      Dries authored
      - A large batch of updates, amongst them a rewritten node system.  More
        information available on the mailing list.
      336b713a
  37. 23 Oct, 2001 1 commit
    • Dries's avatar
      · eb2a3f3f
      Dries authored
      - Added an ini_set(...) to conf.php to solve history/cache browsing issues
        on some Drupal/PHP installations.
      eb2a3f3f