1. 16 Mar, 2003 3 commits
    • Dries's avatar
      · 2c0f3c94
      Dries authored
      - Cache improvement: only flush cache when told to.
      2c0f3c94
    • Dries's avatar
      Patch by Ax: · b2583b62
      Dries authored
      - db_query_range() in database.mysql.inc wasn't updated to match
        db_query().
      
      - Fixed phpdoc.
      b2583b62
    • 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
  2. 12 Mar, 2003 3 commits
    • Dries's avatar
      · 4ad174c4
      Dries authored
      - Eliminated system_init(), the session stuff, and made it possible to
        rebuild the menu.
      4ad174c4
    • Dries's avatar
      - Patch by Kjartan: · 53321baf
      Dries authored
         + Pager is not generated when there are less results than the limit.
         + Fixes ugly blank rows in administration pages when there is just one
           page.
      53321baf
    • Kjartan's avatar
      - Adding $Id$ keyword. · 54ea2de9
      Kjartan authored
      54ea2de9
  3. 11 Mar, 2003 1 commit
    • Dries's avatar
      · 7a88330d
      Dries authored
      - Committed slightly modified version of Kjartan's theme.inc patch: Drupal
        will now barf when trying to instantiate a non-existing theme class.
        This should help to identify broken themes, and to track down theme system
        related bugs.
      7a88330d
  4. 09 Mar, 2003 2 commits
  5. 08 Mar, 2003 3 commits
    • Dries's avatar
      - Removed debug statement · a3b25924
      Dries authored
      a3b25924
    • Dries's avatar
      · c1734532
      Dries authored
      - Made rewrite_old_url() distinguish between absolute and relative URLs.
        In case of a absolute URL it will try not to rewrite outgoing/external
        URLs.
      c1734532
    • Kjartan's avatar
      - Changed _nodeapi("conf") to _nodeapi("settings"). · a0deb476
      Kjartan authored
      - Changed node settings page to use table().
      - Minor code beautification here and there.
      a0deb476
  6. 07 Mar, 2003 3 commits
    • Kjartan's avatar
      - Renamed "form.admin" to "form admin". · 831ee213
      Kjartan authored
      - Added node_admin_settings() to let users set node defaults.
          * Added _nodeapi("conf")
      - Modified form_checkbox() to unset options. (Modified the patch from Ax.)
      - Removed the _save() hook.
      - Fixed a logical flaw in field_get() and field_set() which would break
        moderation.
      - Moved some admin menus around and cleaned up some typos.
      831ee213
    • Dries's avatar
      · 914bd030
      Dries authored
      - Fixed typo: "data_format" -> "date_format_short".  Patch by walkah.
      914bd030
    • Dries's avatar
      · d659fedb
      Dries authored
      - Removed the path_uri() function in favor of the $base_url variable and
        fixes a handful of bugs introduced by the clean URL patch.
      d659fedb
  7. 04 Mar, 2003 3 commits
    • Dries's avatar
      · 7775d5a3
      Dries authored
      - Fixed "SELECT lid, FROM locales WHERE string = 'Reset to defaults'" problem:
        invoke module_init() *after* the locale module has been initialized.  The
        system module was translating string from within its init hook which is now
        possible/allowed.
      7775d5a3
    • Dries's avatar
      · b10c5f42
      Dries authored
      - Small improvement to locale_init().
      b10c5f42
    • Dries's avatar
      · f4cdeb1f
      Dries authored
      - Calls set_error_handler("error_handler") before locale_init() /
      theme_init() so that errors happening there will be handled and don't
      result in warnings printed.  Patch by Ax.
      f4cdeb1f
  8. 27 Feb, 2003 3 commits
    • Dries's avatar
      · 41ac56a4
      Dries authored
      - Bugfix: transparent session ID handling wasn't working properly with
        drupal_goto().  Patch by Al.
      41ac56a4
    • Dries's avatar
      · f21742c7
      Dries authored
      - Patch by Ax: "The $block->path setting, which <cite>lets you define regular expressions to specify on which pages you want the specific blocks to be shown</cite> [1], has been disfunctional for some time (did it ever work at all?). one reason was the magic_quotes_gpc / stripslashes issue [2] - luckily, this got solved today. the other reason is a buggy implementation that a) compares the path to $PHP_SELF (which is the script name only, without any url params like "?op=view&id=13"; in the case of clean urls, worse, it is index.php always ...) instead of request_uri() (which does have these params and the proper value), and b) doesn't properly escape the regexp delimiter character in the expression ("/back\/slash/")."
      f21742c7
    • Dries's avatar
      · 6f6561a8
      Dries authored
      - Fixed some spelling mistakes.  Patch by Al.
      6f6561a8
  9. 26 Feb, 2003 1 commit
  10. 25 Feb, 2003 1 commit
    • Dries's avatar
      · cff898ff
      Dries authored
      - Fixed bug when an additional parameter is being passed to the callback.
        Patch by Zbynek.
      
      - Made the menu_tree() function emit CSS tags to identify which menus are
        expanded/collapsed/leafs.  Patch Zbynek and Al Maw.
      cff898ff
  11. 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
  12. 15 Feb, 2003 2 commits
    • 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
    • Dries's avatar
      · a7a323e7
      Dries authored
      - Made sure clean URLs are disabled by default.  Reported by Moshe.
      a7a323e7
  13. 14 Feb, 2003 1 commit
    • Dries's avatar
      · d0387297
      Dries authored
      - Clean URLs.
      d0387297
  14. 12 Feb, 2003 2 commits
  15. 11 Feb, 2003 1 commit
  16. 09 Feb, 2003 1 commit
    • Dries's avatar
      · 9281d0cd
      Dries authored
      - Applied Alastair's date patch.
      
      - Removed all instances of '$user->nodes'.
      
      - Committed Moshe's taxonomy patch - minus the node_compact_list() bit.  It needs a bit more thought/work.  This patch changes the links of taxonomy pages/feeds so update your custom code and themes accordingly!
      
      Themes should now use "taxonomy_link("taxonomy terms", $node)" to get an array of taxonomy term links.  The old construct is deprecated and should be changed.
      
      // old theme blob:
      if (function_exists("taxonomy_node_get_terms")) {
        foreach (taxonomy_node_get_terms($node->nid) as $term) {
          $terms[] = l($term->name, NULL, array(), "or=$term->tid");
        }
      }
      
      // new theme blob:
      if (module_exist("taxonomy")) {
        $terms = taxonomy_link("taxonomy terms", $node);
      }
      
      // old URL:
      http://foo.com/index.php?or=1,2
      
      // new URL:
      http://foo.com/?q=taxonomy/page/or/1,2
      9281d0cd
  17. 02 Feb, 2003 1 commit
    • Dries's avatar
      · e4ff4106
      Dries authored
      - Patch by Moshe: sometimes modules display content composed by people who
      are not members of the site. Two examples are listhandler and import modules.
      There is no easy way for these modules to display the true author of the
      content. Usually, the content appears as if authored by Anonymous User. This
      3 line patch enables modules to override the author name in their _view() hook.
      e4ff4106
  18. 01 Feb, 2003 1 commit
    • Dries's avatar
      · cfd31c93
      Dries authored
      Patch by Ax:
      
      - Bad usage of css ID's: they may be used for a single element only,
      but were used as #node, #block, which can occur multiple times in a
      single page.
      
      - Moved HTML from theme to template - thats what templates are all
      about!
      
      - Added support for head() hook
      
      - Added support for diffentiating between boxes and blocks.
      
      - Typo: secundary -> secondary
      cfd31c93
  19. 31 Jan, 2003 1 commit
  20. 27 Jan, 2003 2 commits
    • Dries's avatar
      · 4088adad
      Dries authored
      - Fixed bug introduced by Moshe's common.inc patch; posting content would
        cause "Array" to be displayed.
      4088adad
    • Dries's avatar
      · 92b5fc36
      Dries authored
      - Fixed XHTML glitch in the sitemap.  Thanks Moshe and Michael.
      92b5fc36
  21. 26 Jan, 2003 2 commits
    • Dries's avatar
      · a32e3d14
      Dries authored
      - Added sitemap feature to administration pages.  Requested by various
        people including Michael and Moshe.
      a32e3d14
    • Dries's avatar
      · 4028362f
      Dries authored
      - Applied Moshe's _exit patch (slightly modified).
      
      - Fixed bug in system.module.
      4028362f
  22. 21 Jan, 2003 2 commits
    • Dries's avatar
      · 4dac201e
      Dries authored
      - Patch by Ulf: XHTML-ified the code.
      4dac201e
    • Dries's avatar
      · 9a23223e
      Dries authored
      - Applied Ori's format_plural() patch; see mailing list for details.
      
        NOTE: some modules in the contributions repository might need to be updated.
      9a23223e