1. 08 Oct, 2005 1 commit
    • Dries Buytaert's avatar
      - Patch #33433 by chx: fixed a number of form API problems. · 7863be5e
      Dries Buytaert authored
          * Default form value
          * Leftover debug function in form.inc
          * PHP5 issue with comment date (I got this patch from another issue)
          * Validation error fix (was calling legacy form validate)
          * Lots o' warnings on comment preview
          * Filter tips plus argument (gremlins. I swear this was not there.)
          * Message to clear what's going on with system settings
          * Non-freetagging taxonomies fixed
  2. 07 Oct, 2005 1 commit
  3. 18 Sep, 2005 1 commit
    • Dries Buytaert's avatar
      - Patch #3986 by James (and Boris :)):consolidated all feed-related settings in one place. · 1dc53d97
      Dries Buytaert authored
      * adds a "feed settings" section to admin/settings where 2 new settings are introduced:
      * number of items per feed
      * default length of feed descriptions (title only, teaser, full)
      * patches all of core to obey the above - including the new aggregator (out) feeds
      * adds support for adding namespaces in _nodeapi('rss item') - which means things like iTunes RSS and yahoo's media rss can be implemented by the appropriate modules (i.e. audio.module)
      * includes some additional info in the default node feed - specifically the element (links directly to comments) - and dc:creator - to show node author information.
  4. 13 Sep, 2005 1 commit
  5. 08 Sep, 2005 4 commits
  6. 28 Aug, 2005 2 commits
    • Dries Buytaert's avatar
    • Dries Buytaert's avatar
      - Patch #29785 by Chx: multiple node types were broken so we refactored · c9fc300b
      Dries Buytaert authored
        part of the node system!  If you have a module that implements node
        types, you'll have to udpate its CVS HEAD version.
        We replaced _node_name() and _node_types() by _node().  The new _node()
        hook let's you define one or more node types, including their names.
        The implementation of the _node() hook needs to:
         return array($type1 => array('name' => $name1, 'base' => $base1),
                      $type2 => array('name' => $name2, 'base' => $base2));
        where $type is the node type, $name is the human readable name of the type
        and $base is used instead of <hook> for <hook>_load, <hook>_view, etc.
        For example, the story module's node hook looks like this:
          function story_node() {
            return array('story' => array('name' => t('story'), 'base' => 'story'));
        The page module's node hook module like:
          function page_node() {
            return array('page' => array('name' => t('page'), 'base' => 'page'));
        However, more complex node modules like the project module and the
        flexinode module can use the 'base' parameter to specify a different base.
        The project module implements two node types, proejcts and issues, so it
        can do:
          function project_node() {
            return array(
             array('project_project' => array('name' => t('project'), 'base' => 'project'),
             array('project_issue' => array('name' => t('issue'), 'base' => 'project_issue'));
        In the flexinode module's case there can only one base ...
        This hook will simplify the CCK, and will make it easy (or easier) to merge
        the story and page module.
        In addition, node_list() became node_get_types().  In addition, we created
        the following functions: node_get_name($type) and node_get_base($type).
  7. 25 Aug, 2005 1 commit
  8. 22 Aug, 2005 1 commit
    • Dries Buytaert's avatar
      - Patch #29274 by Jeremy: the "fuzzy cache" mechanism is supposed to enforce a... · 75abab24
      Dries Buytaert authored
      - 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.
  9. 18 Aug, 2005 1 commit
    • Dries Buytaert's avatar
      - Patch #29002 by Neil: list_themes() currently returns all themes, not just... · 1836d3b3
      Dries Buytaert authored
      - Patch #29002 by Neil: list_themes() currently returns all themes, not just enabled themes. This functionality is only used in one place- configuration for disabled themes. These configuration pages can be removed with a usability improvement since you shouldn't be able to configure things which are disabled. Additionally, this allows us to remove some extra logic in system_user(). And it it more consistent with the module API which only lists enabled modules.
      list_themes() sorts the results by name. This uses filesort in MySQL since there aren't any indexes. Sorting is not used except in system_user(). This one use can be handled with ksort since it is not often executed (only on the user edit screen when multiple themes are enabled).
      And a one line fix to remove a variable in system_user() is in here too.
  10. 16 Aug, 2005 1 commit
  11. 31 Jul, 2005 2 commits
  12. 30 Jul, 2005 1 commit
  13. 26 Jul, 2005 1 commit
  14. 25 Jul, 2005 1 commit
  15. 23 Jul, 2005 1 commit
  16. 17 Jul, 2005 1 commit
  17. 27 Jun, 2005 1 commit
  18. 21 Jun, 2005 1 commit
  19. 07 Jun, 2005 1 commit
  20. 01 Jun, 2005 1 commit
  21. 25 May, 2005 1 commit
  22. 21 May, 2005 1 commit
  23. 17 May, 2005 1 commit
  24. 14 May, 2005 1 commit
  25. 05 May, 2005 1 commit
    • Dries Buytaert's avatar
      - Patch #21855 by TDobes: the recent commit of phptemplate caused a number of... · 6658273b
      Dries Buytaert authored
      - Patch #21855 by TDobes: the recent commit of phptemplate caused a number of problems for non-phptemplate themes. A patch is attached to address these issues.
        Changes include:
          * parsing of the primary/secondary links has been moved out of phptemplate and into theme_get_setting.
          * unnecessary and XHTML-invalidating duplicate div#help removed from themes/bluemarine/page.tpl.php (this is already generated by theme_help)
          * weird generation of the "edit primary/secondary links" messages removed from bluemarine and placed in theme.inc
          * unnecessary changes to themes/bluemarine/style.css rolled back (the phptemplate bluemarine had an older version of style.css than the one in core)
          * chameleon updated to work with new link scheme (passes links through theme_links)
  26. 04 May, 2005 1 commit
  27. 24 Apr, 2005 1 commit
    • Dries Buytaert's avatar
      · a76a1e1f
      Dries Buytaert authored
      - Patch 20910 by chx: centralize print theme page.
  28. 11 Apr, 2005 1 commit
    • Dries Buytaert's avatar
      - Patch #19298 by Jeremy: loose caching! · e3d62d90
      Dries Buytaert 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.)
  29. 01 Apr, 2005 1 commit
  30. 27 Mar, 2005 1 commit
  31. 23 Mar, 2005 1 commit
  32. 21 Mar, 2005 1 commit
    • Dries Buytaert's avatar
      · f8d634e3
      Dries Buytaert authored
      - Patch #18093 by Junyor: clean up handling of image toolkit code in absence of
        any toolkits.
  33. 18 Mar, 2005 2 commits
  34. 16 Mar, 2005 1 commit
    • Dries Buytaert's avatar
      · 97ae6568
      Dries Buytaert authored
      - 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.)