1. 27 Nov, 2004 2 commits
  2. 25 Nov, 2004 1 commit
    • Dries's avatar
      · 0c6a18cb
      Dries authored
      - Patch #5942 by TDobes: fixed theme stuff after multi-site configuration patch.
      0c6a18cb
  3. 24 Nov, 2004 3 commits
    • Dries's avatar
      · 4726c931
      Dries 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
    • Dries's avatar
      - Patch #5942 by jhriggs and Adrian: · 5d759ccb
      Dries authored
          + added support for multi-site configurations.
          + tidied up some old cruft and added code comments.
      5d759ccb
    • Dries's avatar
      - Patch #10990 by TDobes: adds a "create new blog entry" link at the top of... · 062a8abd
      Dries authored
      - Patch #10990 by TDobes: adds a "create new blog entry" link at the top of each user's own blog page, similar to the "post new forum topic" link displayed at the top of forum pages. This adds consistency as well as convenience for users.
      062a8abd
  4. 23 Nov, 2004 3 commits
  5. 21 Nov, 2004 2 commits
    • Dries's avatar
      - Patch #13263 and #13265 by arnab: added word-based truncation and made the... · b442fad0
      Dries authored
      - Patch #13263 and #13265 by arnab: added word-based truncation and made the comment module use it to extract subjects.
      b442fad0
    • Dries's avatar
      · fa978390
      Dries 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
  6. 18 Nov, 2004 2 commits
  7. 17 Nov, 2004 1 commit
    • Dries's avatar
      · 38c91a8d
      Dries authored
      - Patch #8506 by Gerhard: added basic node_load() caching.
      38c91a8d
  8. 15 Nov, 2004 6 commits
    • Dries's avatar
      · 9bf33e5a
      Dries authored
      - Added generic flood control mechanism to throttle certain operations per hostname (eg. posting comments, requesting passwords, sending e-mails).  See flood_register_event() and flood_is_allowed() for details.
      9bf33e5a
    • Dries's avatar
      · f67c046d
      Dries authored
      - Modified patch #8552 by Gerhard: added 'add child page' link to book pages you can edit.
      f67c046d
    • Dries's avatar
      · f37a65ca
      Dries authored
      - Patch #12353 by Stefan: usability improvement: don't show 'throttle fields' unless the throttle module is enabled.
      f37a65ca
    • Dries's avatar
      · 9979acea
      Dries authored
      - Patch #12783 by Stefan: various small consistency/usability improvements.
      9979acea
    • Dries's avatar
      - Patch #11977 by matteo: taxonomy_term_count() did not take node-level... · 52d9dd1b
      Dries authored
      - Patch #11977 by matteo: taxonomy_term_count() did not take node-level permissions into account and could return an incorrect number.
      52d9dd1b
    • Dries's avatar
      - Patch #11940 by kps: if the user is not allowed to view a newly submitted... · 40f6197c
      Dries authored
      - Patch #11940 by kps: if the user is not allowed to view a newly submitted node, redirect him to the main page.
      40f6197c
  9. 14 Nov, 2004 1 commit
    • Dries's avatar
      - Modified patch by Jeremy: throttle module improvements and fixes: · ef95773b
      Dries 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
  10. 08 Nov, 2004 1 commit
  11. 07 Nov, 2004 4 commits
    • Dries's avatar
      - Refactored the throttle module. Patch by Jeremy and me. · 3769665b
      Dries authored
        * There are only two throttle levels instead of 5, namely 'enabled' and 'disabled'.  This makes it a _lot_ easier to predict when the throttle will kick in.  However, if you maintain a module that is throttle-aware, it needs to be updated!
      
        * The throttle mechanism now uses the current number of anonymous users or the current number of authenticated users to kick in.  This is a _lot_ more intuitive than the old throttle mechanism.
      
        * The throttle block has been removed -- you can now use the "Who's online" block to determine the good throttle settings.
      
        * Most of the documentation has been removed because it was deprecated.
      
        * It's less code!
      3769665b
    • Dries's avatar
      · f01bd675
      Dries authored
      - Performance improvement: made 'sid' the primary key of the sessions table.
        That should improve performance of session handling as well improve
        performance of the "Who's online"-block.  Drupal.org's sessions table
        contains appr. 40.000 sessions on a slow day and rendering the "Who's
        online"-block became a performance bottleneck.
      
        This change has yet to be tested on a busy site so things might go wrong.
      f01bd675
    • Dries's avatar
      · 7a5884cd
      Dries authored
      - Patch #11427: added 'edit own forum topics' permission.
      7a5884cd
    • Dries's avatar
      - Patch #12658 by menesis: when an administrator adds a user, the... · a16be349
      Dries authored
      - Patch #12658 by menesis: when an administrator adds a user, the 'authenticated user' role was not assigned to the new user.
      a16be349
  12. 06 Nov, 2004 4 commits
  13. 04 Nov, 2004 6 commits
    • Dries's avatar
      - Patch #10632 by Gerhard: the book permissions in today's cvs are not... · bb3df8a1
      Dries authored
      - Patch #10632 by Gerhard: the book permissions in today's cvs are not consistent with the rest of Drupal. We have a "maintain books" and a "edit own book pages" permission. All other modules have a "create foo" permission. Thus the existing "maintain books" permission should be renamed to "create book pages" and a new "maintain books" permission should be introduced that allows editors to update book pages they haven't created themselves even without having "administer nodes" permission.
      bb3df8a1
    • Dries's avatar
      · b3e3f8ae
      Dries authored
      - Updated forum_block() to pass comment_count's to node_title_list().  This eliminates up to 10 SQL queries (sometimes less) for each non-cached page view on drupal.org.  Derived from ccourtne's patch.
      b3e3f8ae
    • Dries's avatar
      · 14353d18
      Dries authored
      - Slightly modified the API of node_title_list(): it will no longer call comment_num_all() for each node.  Instead, it checks for the availability of the node_comment field, available through the node_comment_statistics table.  If updated the Doxygen comments accordingly.
      
        People were using node_title_list() without realizing it would do numereous database queries.  This change greatly reduces the number of database queries required to render the node statistics block as well as to render the forum block (coming up next).
      
        If your module is using node_title_list() and you want the number of comments to be shown as title attributes, chances are you have to update your SQL query to join node_comment_statistics.
      14353d18
    • Dries's avatar
      - Modifed patch by ccourtne: made the tracker module take advantage of the... · 7ad36e3f
      Dries authored
      - Modifed patch by ccourtne: made the tracker module take advantage of the node_comment_statistics table.  Improves performance of the tracker page by facter 10 because it eliminates up to 20 SQL queries.
      7ad36e3f
    • Dries's avatar
      - Patch #12232 by Steven: more search improvements: · b6eee48c
      Dries authored
         + When a comment is posted, a node needs to be re-indexed. Luckily, we can use node_comment_statistics for this easily.
         + When a node is deleted, it should be deleted from the search index as well.
         + The search wipe didn't properly remove links to nodes from the index.
         + Section url was faulty in _help.
         + Minor code rearrangement.
      b6eee48c
    • Steven Wittens's avatar
      Fixing bad UTF-8. · d13943e2
      Steven Wittens authored
      d13943e2
  14. 03 Nov, 2004 3 commits
  15. 02 Nov, 2004 1 commit
    • Dries's avatar
      · b94f9af2
      Dries authored
      - Patch #12455 by Steven: optimized SQL query.  This problem caused Drupal.org's
        cron runs to time out.
      b94f9af2