Skip to content
Snippets Groups Projects
  1. Feb 06, 2006
  2. Jan 12, 2006
  3. Jan 08, 2006
  4. Nov 01, 2005
  5. Sep 24, 2005
  6. 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
  7. Aug 25, 2005
  8. Aug 01, 2005
  9. May 14, 2005
  10. May 05, 2005
  11. May 01, 2005
  12. Apr 24, 2005
    • Dries Buytaert's avatar
      · a76a1e1f
      Dries Buytaert authored
      - Patch 20910 by chx: centralize print theme page.
      a76a1e1f
  13. 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
  14. Jan 30, 2005
  15. Jan 29, 2005
  16. 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
  17. Jan 19, 2005
  18. Jan 17, 2005
  19. Jan 16, 2005
    • Dries Buytaert's avatar
      · 971a0e24
      Dries Buytaert authored
      - Patch #14731 by chx: made it possible to rewrite node queries.
      971a0e24
  20. Dec 16, 2004
    • Dries Buytaert's avatar
      · 22869afd
      Dries Buytaert authored
      - Patch #14262 by Richard: help text improvements for the tracker module.
      22869afd
  21. Nov 23, 2004
  22. Nov 15, 2004
    • Dries Buytaert's avatar
      · 9979acea
      Dries Buytaert authored
      - Patch #12783 by Stefan: various small consistency/usability improvements.
      9979acea
  23. Nov 04, 2004
  24. 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
  25. Oct 06, 2004
  26. Sep 16, 2004
    • Dries Buytaert's avatar
      · 5c7983c4
      Dries Buytaert authored
      - Patch #8179 by JonBob: reintroduced menu caching.
      5c7983c4
  27. 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
  28. 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
  29. 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
  30. Jul 31, 2004
    • Dries Buytaert's avatar
      · 202eee42
      Dries Buytaert authored
      - Patch #9543 by JonBob: added node-level access control!
      202eee42
  31. 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
  32. Jul 11, 2004
    • Dries Buytaert's avatar
      · 9e43afad
      Dries Buytaert authored
      - Patch by Matt: made it possible to alias an URL multiple times.
      9e43afad
  33. Jul 08, 2004
    • Dries Buytaert's avatar
      · 78876f01
      Dries Buytaert authored
      - Fixed colspan in tracker table.
      
      - Renamed '... your ...' to '... my ...' (cfr. 'my account).
      78876f01
    • Dries Buytaert's avatar
      · 039c7712
      Dries Buytaert authored
      - Patch #9031 by Morbus: this last tracker patch was broken - for installations where the comment.module is turned on, $comments is never set to 0, and posts that have no comments instead get the value of the last successful comment_num_all. The attached patch corrects this ($comments is set to 0 before we do anything) and also merges the if statements.
      039c7712
  34. Jul 06, 2004
    • Dries Buytaert's avatar
      · 4e9ef338
      Dries Buytaert authored
      - Patch #9031 by Ber: if the comment module is not available comment_num_all()
        should not be called.
      4e9ef338
Loading