Skip to content
Snippets Groups Projects
  1. Apr 17, 2006
  2. Mar 17, 2006
  3. Feb 21, 2006
  4. Feb 06, 2006
  5. Jan 12, 2006
  6. Jan 08, 2006
  7. Nov 01, 2005
  8. Sep 24, 2005
  9. Aug 28, 2005
    • 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).
      c9fc300b
  10. Aug 25, 2005
  11. Aug 01, 2005
  12. May 14, 2005
  13. May 05, 2005
  14. May 01, 2005
  15. Apr 24, 2005
    • Dries Buytaert's avatar
      · a76a1e1f
      Dries Buytaert authored
      - Patch 20910 by chx: centralize print theme page.
      a76a1e1f
  16. Feb 12, 2005
    • Dries Buytaert's avatar
      - Patch #17208 by asimmonds: help text fixes: · 5b7ecb86
      Dries Buytaert authored
          - permissions menu link updates in a number of modules help
          - anchor link fix in distributed auth help
          - "my account" link fix in user help
          - spelling correction in tracker.module help
      
      - I also changed 'admin/access/perms' to 'admin/access/permissions'.
      5b7ecb86
  17. Jan 30, 2005
  18. Jan 29, 2005
  19. Jan 27, 2005
    • Dries Buytaert's avatar
      - Patch #16253 by Goba: this simple and straightforward patch adds the ability... · 467dbdc4
      Dries Buytaert authored
      - Patch #16253 by Goba: this simple and straightforward patch adds the ability to define different types of markers (while retaining the old default behaviour of the new and required markers to look the same). Someone with enough time on his hands might be able to partition the new marker to a real new marker and a changed marker (since node_is_new() returns TRUE even if nodes changed, and not only when they are new). This is the base on which the new patch can be worked though.
      467dbdc4
  20. Jan 19, 2005
  21. Jan 17, 2005
  22. Jan 16, 2005
    • Dries Buytaert's avatar
      · 971a0e24
      Dries Buytaert authored
      - Patch #14731 by chx: made it possible to rewrite node queries.
      971a0e24
  23. Dec 16, 2004
    • Dries Buytaert's avatar
      · 22869afd
      Dries Buytaert authored
      - Patch #14262 by Richard: help text improvements for the tracker module.
      22869afd
  24. Nov 23, 2004
  25. Nov 15, 2004
    • Dries Buytaert's avatar
      · 9979acea
      Dries Buytaert authored
      - Patch #12783 by Stefan: various small consistency/usability improvements.
      9979acea
  26. Nov 04, 2004
  27. Oct 15, 2004
    • Dries Buytaert's avatar
      · dfb3c3ae
      Dries Buytaert authored
      - Patch #11577 by drumm: changed t('ago') -> t('%time ago', ...) to make it
        translatable in languages such as Spanish.
      dfb3c3ae
  28. Oct 06, 2004
  29. Sep 16, 2004
    • Dries Buytaert's avatar
      · 5c7983c4
      Dries Buytaert authored
      - Patch #8179 by JonBob: reintroduced menu caching.
      5c7983c4
  30. Aug 21, 2004
    • Dries Buytaert's avatar
      · 94e30bf7
      Dries Buytaert 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
  31. Aug 19, 2004
    • Dries Buytaert's avatar
      · fa25c7a0
      Dries Buytaert authored
      - Code improvements by Stefan: use capital letters for header titles (and added some missing t() functions).
      fa25c7a0
  32. Aug 06, 2004
    • Dries Buytaert's avatar
      · 9bbdb71e
      Dries Buytaert authored
      - Patch #9330: ucfirst() gives problem when used with multibyte charset.
        Replaced the use of ucfirst() with a CSS-based solution.
      9bbdb71e
  33. Jul 31, 2004
    • Dries Buytaert's avatar
      · 202eee42
      Dries Buytaert authored
      - Patch #9543 by JonBob: added node-level access control!
      202eee42
  34. Jul 25, 2004
    • Dries Buytaert's avatar
      · 702a0576
      Dries Buytaert authored
      - Patch #9478 by JonBob: allow printf-style arguments in pager_query.
      
        Currently pager_query() is the black sheep of the database query family, because it does not allow for printf-style arguments to be inserted in the query. This is a problem because it introduces developer confusion when moving from an unpaged query to a paged one, and it encourages substitution of variables directly into the query, which can bypass our check_query() security feature.
      
        This patch adds this ability to pager_query(). The change is backwards-compatible, but a couple calls to the function in core have been changed to use the new capability.
      702a0576
  35. Jul 11, 2004
    • Dries Buytaert's avatar
      · 9e43afad
      Dries Buytaert authored
      - Patch by Matt: made it possible to alias an URL multiple times.
      9e43afad
Loading