Skip to content
  1. May 31, 2005
  2. May 18, 2005
  3. May 07, 2005
  4. Apr 23, 2005
  5. Apr 14, 2005
  6. Mar 31, 2005
  7. Mar 18, 2005
  8. 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
  9. Jan 23, 2005
  10. Jan 19, 2005
  11. Dec 15, 2004
    • Dries Buytaert's avatar
      - Patch #13907 by Neil: less ways to set the page title. · 2b17b3a9
      Dries Buytaert authored
         * Less logic in theme code.
         * Encourages use of the menu system.
         * Easier to find where a title or breadcrumb comes from in other people's code because there are less places to look. Look in menu and then grep for the appropriate set function. Looking for calls to theme_page() is hard because there are too many of them.
         * Very slightly more efficient.
      2b17b3a9
  12. Nov 29, 2004
  13. Nov 28, 2004
    • Dries Buytaert's avatar
      · 167c59e4
      Dries Buytaert authored
      - Beautified the contents of the table.
      
      - Removed some dead code.
      167c59e4
    • Dries Buytaert's avatar
      · a9ae8314
      Dries Buytaert authored
      - Made it possible to sort the referrers by last visit.
      a9ae8314
    • Dries Buytaert's avatar
      - Fixed typo. · 3981e571
      Dries Buytaert authored
      3981e571
    • Dries Buytaert's avatar
      - Refactored the statistics and watchdog module (views). The most important · 70fcf51e
      Dries Buytaert authored
        changes are:
      
        1. Simplified the statistics pages: there are less pages and on the
           remaining pages there is a lot less visual clutter (less columns and
           better presentation).
      
        2. Reorganized the 'administer - logs' menu: flattened the menu structure
           and removed a number of links.
      
        3. Improved performance.  Most statistics pages used about 160 slow SQL
           queries which made the statistics pages fairly unusable on my system.
           The new pages use at least 10 times less SQL queries and render much
           faster.  They are actually usable.
      
        4. There is now a 'track'-tab on node pages, and a second subtrab on the
           user accounts 'track'-tab for people with the 'access statistics'
           permission.  They can be used to resp. track the node and the user.
           This makes the statistics more accessible.
      
        5. Changed the way watchdog messages are filtered.  This makes it easier
           to introduce new watchdog types.
      
        6. Reworked the statistics module's permissions.
      
        7. Less code: 223 insertions(+), 343 deletions(-).
      
        8. Fixed several glitches: for example, the statistics pages sorted the
           'Name' column by user ID instead of by name.  Unfortunately, it is
           too difficult to backport these to DRUPAL-4-5.
      
        TODO:
      
        1. Review the statistics modules help pages.
      
        2. Help fine-tune the interfaces/views.
      
        NOTES:
      
        1. You'll want to run update.php.
      70fcf51e
  14. Nov 24, 2004
    • Dries Buytaert's avatar
      · 4726c931
      Dries Buytaert authored
      - Patch #13443 by Moshe: got rid of the semi-implemented 'page link' feature. All themes currently support primary and secondary links so page links are now deprecated.  Check your contributed modules and update them accordingly.
      4726c931
  15. Nov 23, 2004
  16. Nov 21, 2004
    • Dries Buytaert's avatar
      · fa978390
      Dries Buytaert authored
      - Patch 13180 by chx: renamed check_query() to db_escape_string() and implemtented it properly per database backend.
      
        Read the manual for pg_escape_string:  "Use of this function is recommended instead of addslashes()." Or read sqlite_escape_string: "addslashes() should NOT be used to quote your strings for SQLite queries; it will lead to strange results when retrieving your data."
      fa978390
  17. Nov 15, 2004
    • Dries Buytaert's avatar
      · 9979acea
      Dries Buytaert authored
      - Patch #12783 by Stefan: various small consistency/usability improvements.
      9979acea
  18. Nov 14, 2004
    • Dries Buytaert's avatar
      - Modified patch by Jeremy: throttle module improvements and fixes: · ef95773b
      Dries Buytaert authored
         + throttle module: flush cache when the throttle enables/disables
         + throttle module: prevent throttle being enabled by 0 users or guests when disabled
         + system module: remove requirement for statistics.module
         + block module: update help text to reflect access log is no longer required
         + statistics module: throttle is now enabled/disabled, not using levels 0-5
      ef95773b
  19. Nov 02, 2004
    • Dries Buytaert's avatar
      · b94f9af2
      Dries Buytaert authored
      - Patch #12455 by Steven: optimized SQL query.  This problem caused Drupal.org's
        cron runs to time out.
      b94f9af2
  20. Oct 31, 2004
    • Dries Buytaert's avatar
      - Patch #11875 by Neil Drumm: block module configuration improvements. · b3adcf05
      Dries Buytaert authored
      The primary goal of this patch is to take the 'custom' and 'path' columns of the block overview page and make them into something understandable. As of Drupal 4.5 'custom' lacked an explanation which wasn't buried in help text and path required dealing with regular expressions.
      
      Every block now has a configuration page to control these options. This gives more space to make form controls which do not require a lengthy explanation. This page also gives modules a chance to put their block configuration options in a place that makes sense using new operations in the block hook.
      
      The only required changes to modules implementing hook_block() is to be careful about what is returned. Do not return anything if $op is not 'list' or 'view'. Once this change is made, modules will still be compatible with Drupal 4.5. Required changes to core modules are included in this path.
      
      An additional optional change to modules is to implement the additional $op options added. 'configure' should return a string containing the configuration form for the block with the appropriate $delta. 'configure save' will come with an additional $edit argument, which will contain the submitted form data for saving. These changes to core modules are also included in this patch.
      b3adcf05
  21. Oct 23, 2004
  22. Oct 12, 2004
  23. Oct 08, 2004
    • Dries Buytaert's avatar
      · 57a96cbb
      Dries Buytaert authored
      - Bug #10530: added a missing period to a sentence in the help text.
      57a96cbb
  24. Sep 28, 2004
  25. Sep 27, 2004
    • Dries Buytaert's avatar
      · 8d2eb9a5
      Dries Buytaert authored
      - Patch #11083 by Allan Chandler: fixes PostgreSQL specific issue with the statistics pages.
      8d2eb9a5
  26. Sep 22, 2004
    • Dries Buytaert's avatar
      · db24d26d
      Dries Buytaert authored
      - Fixed HTML typo in the documentation: <p> -> </p>.  Fixes bug #10412.
      db24d26d
  27. Sep 16, 2004
    • Dries Buytaert's avatar
      · 5c7983c4
      Dries Buytaert authored
      - Patch #8179 by JonBob: reintroduced menu caching.
      5c7983c4
  28. Sep 11, 2004
  29. 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
  30. 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
  31. Aug 14, 2004
    • Dries Buytaert's avatar
      · 7a885c8f
      Dries Buytaert authored
      - Patch #10044 by TDobes: fixed broken links in the statistics module. In the current statistics.module, clicking a page title should lead to the appropriate page within the local site. Instead, it leads to a 404 because the / character is turned into %2F... this is due to the paths being passed through urlencode(). The attached patch removes the problematic calls to urlencode.
      7a885c8f
  32. Aug 10, 2004
    • Steven Wittens's avatar
      The Input formats - filter patch has landed. I still need to make update... · 660f9928
      Steven Wittens authored
      The Input formats - filter patch has landed. I still need to make update instructions for modules and update the hook docs.
      
      Here's an overview of the changes:
      1) Multiple Input formats: they are complete filter configurations (what filters to use, in what order and with which settings). Input formats are admin-definable, and usage of them is role-dependant. For example, you can set it up so that regular users can only use limited HTML, while admins can free HTML without any tag limitations.
      The input format can be chosen per content item (nodes, comments, blocks, ...) when you add/edit them. If only a single format is available, there is no choice, and nothing changes with before.
      
      The default install (and the upgrade) contains a basic set of formats which should satisfy the average user's needs.
      
      2) Filters have toggles
      Because now you might want to enable a filter only on some input formats, an explicit toggle is provided by the filter system. Modules do not need to worry about it and filters that still have their own on/off switch should get rid of it.
      
      3) Multiple filters per module
      This was necessary to accomodate the next change, and it's also a logical extension of the filter system.
      
      4) Embedded PHP is now a filter
      Thanks to the multiple input formats, I was able to move the 'embedded PHP' feature from block.module, page.module and book.module into a simple filter which executes PHP code. This filter is part of filter.module, and by default there is an input format 'PHP', restricted to the administrator only, which contains this filter.
      This change means that block.module now passes custom block contents through the filter system.
      As well as from reducing code duplication and avoiding two type selectors for page/book nodes, you can now combine PHP code with other filters.
      
      5) User-supplied PHP code now requires <?php ?> tags.
      This is required for teasers to work with PHP code. Because PHP evaluation is now just another step in the filter process, we can't do this. Also, because teasers are generated before filtering, this would result in errors when the teaser generation would cut off a piece of PHP code.
      
      Also, regular PHP syntax explicitly includes the <?php ?> tags for PHP files, so it makes sense to use the same convention for embedded PHP in Drupal.
      
      6) Filter caching was added.
      Benchmarking shows that even for a simple setup (basic html filtering + legacy URL rewriting), filtercache can offer speedups. Unlike the old filtercache, this uses the normal cache table.
      
      7) Filtertips were moved from help into a hook_filter_tips(). This was required to accomodate the fact that there are multiple filters per module, and that filter settings are format dependant. Shoehorning filter tips into _help was ugly and silly. The display of the filter tips is done through the input format selector, so filter_tips_short() no longer exists.
      
      8) A more intelligent linebreak convertor was added, which doesn't stop working if you use block-level tags and which adds <p> tags.
      660f9928
  33. Aug 05, 2004
    • Dries Buytaert's avatar
      · f971b768
      Dries Buytaert authored
      - Patch by Jeremy: usability improvements for the statistics.module's GUI.
      f971b768
  34. Aug 03, 2004
    • Dries Buytaert's avatar
      · 0582a304
      Dries Buytaert authored
      - Patch by Jeremy: statistics module improvements.
      0582a304
  35. Jun 30, 2004
  36. Jun 22, 2004