1. 13 May, 2003 1 commit
    • Dries's avatar
      · c2d2fb73
      Dries authored
      - Fixed a typo in the PostgreSQL database scheme.  Patch by Michael Frankowski.
      
      - Fixed a typo in the MSSQL database scheme.  Patch by Michael Frankowski.
      
      - Removed dependency on "register_globals = on"!  Patches by Michael Frankowski.
      
        Notes:
      
        + Updated the patches to use $foo["bar"] instead of $foo['bar'].
        + Updated the INSTALL and CHANGELOG files as well.
      
      - Tiny improvement to the "./scripts/code-clean.sh" script.
      c2d2fb73
  2. 07 May, 2003 1 commit
    • Dries's avatar
      · a161110a
      Dries authored
      - Applied  Michael Caerwyn's "%s -> %d" patch.
      
      - Changed all occurences of '%d' to %d as suggested on the mailing list.
      a161110a
  3. 21 Apr, 2003 1 commit
    • Dries's avatar
      · a956de78
      Dries authored
      - Fixed some PHP "notices".
      a956de78
  4. 04 Apr, 2003 1 commit
    • Dries's avatar
      - Bugfix: removed 'width="100%"' attributes from table tags. Patch by Al. · b7ddc3a4
      Dries authored
        "IE has a bug with tables inside divs with width=100%. I see no reason why
        the forum tables should be 100% - they are pretty much naturally padded to
        100% as soon as anyone puts any content in them. Removing them doesn't
        affect functionality and improves layout compatibility on IE."
      b7ddc3a4
  5. 25 Mar, 2003 1 commit
    • Dries's avatar
      · 3c1d5b9f
      Dries authored
      - Added missing title description.  Patch by Stefan.
      3c1d5b9f
  6. 16 Mar, 2003 1 commit
    • Dries's avatar
      · 170b674a
      Dries authored
      - All LIMIT queries must go through the pager or through db_query_range().
        The syntax for db_query_range() was enhanced so it matches db_query(). So
        you may pass extra arguments of the SQL statement which are checked via
        check_query() and then substituted into the SQL statement. After these
        optional arguments, you always pass $from and $count parameters which
        define your range.  Most often, the $from is 0 and the count is the max
        number of records you want returned.  Patch by Moshe.
      
      - The pager_query() function for PEAR was enhanced so that it adds  proper
        GROUP BY statement counting the number of records to be paged. Patch by
        James Arthur.
      
      - MSSQL database scheme by Moshe.
      170b674a
  7. 12 Mar, 2003 1 commit
    • Dries's avatar
      · e1cd7e08
      Dries authored
      - The name of a forum node is a "forum topic", not a "discussion forum".
      e1cd7e08
  8. 09 Mar, 2003 1 commit
  9. 07 Mar, 2003 1 commit
    • Kjartan's avatar
      - Renamed "form.admin" to "form admin". · 831ee213
      Kjartan authored
      - Added node_admin_settings() to let users set node defaults.
          * Added _nodeapi("conf")
      - Modified form_checkbox() to unset options. (Modified the patch from Ax.)
      - Removed the _save() hook.
      - Fixed a logical flaw in field_get() and field_set() which would break
        moderation.
      - Moved some admin menus around and cleaned up some typos.
      831ee213
  10. 04 Mar, 2003 1 commit
    • Dries's avatar
      · cf2802a7
      Dries authored
      - Fixed typo: $node->tid -> $node->tid[].
      cf2802a7
  11. 17 Feb, 2003 1 commit
    • Dries's avatar
      · 52314ddc
      Dries authored
      - Theme options patch.  See mailing list.
      52314ddc
  12. 15 Feb, 2003 1 commit
    • Dries's avatar
      · 83f5d828
      Dries authored
      - Everything is using theme("function") now instead of $theme->function().
      83f5d828
  13. 11 Feb, 2003 1 commit
  14. 02 Feb, 2003 1 commit
    • Dries's avatar
      · 6fcadb8e
      Dries authored
      - Made it possible to print forum submission guidelines.  Patch by Moshe.
      6fcadb8e
  15. 23 Jan, 2003 2 commits
  16. 15 Jan, 2003 1 commit
    • Dries's avatar
      Patch by Marco: · f6da12ca
      Dries authored
      - forum: fixed link to new topic
      - forum: new topic shows default forum correctly
      - forum: first_new is back; the anchor didn't consider multiple pages
      - forum: use standard pager, needed some changes/fixes to pager.inc
      - forum: some cleanup
      - forum: taxonomy hook
      - renamed first_new to simply new
      - added an optional parameter to pager_query for the count query
      - used the optional count param for paging forum topics
      - internal change: moving a topic doesn't duplicate the node anymore but just
        changes the forum (term); no change in functionality, and shadow still
        works (suggested by Dries).  This probably also made some queries somewhat
        lighter.
      - bug fixed: anonymous users always saw "n (n new)" in the replies column
      - updated pager help and moved from _help to phpdoc
      f6da12ca
  17. 08 Jan, 2003 1 commit
    • Dries's avatar
      · 22c3f055
      Dries authored
      - Bugfix: fixed the SQL query in _forum_topics_read to avoid counting shadowed
        topics in forums.  Patch by David.
      22c3f055
  18. 06 Jan, 2003 1 commit
    • Dries's avatar
      · 89b2069e
      Dries authored
      - Clean URL patch.
      89b2069e
  19. 02 Jan, 2003 1 commit
    • Dries's avatar
      · 408bf86a
      Dries authored
      - Usability improvement; the drop-down menu showed the first vocabulary in
        the list even though it has not been selected.  Reported by Adam Shand.
      408bf86a
  20. 31 Dec, 2002 1 commit
    • Dries's avatar
      · de95001c
      Dries authored
      - Tidied up the use of check_output().  Might make rendering pages a bit
        snappier (performance improvement).
      de95001c
  21. 30 Dec, 2002 1 commit
    • Dries's avatar
      · cc01e613
      Dries authored
      - Bugfix: user_save() should not be called for anonymous users.  Patch by
        Marco.
      cc01e613
  22. 21 Dec, 2002 1 commit
    • Dries's avatar
      · d21ba6b0
      Dries authored
      - Fixed glitch with the "leave shadow" option.
      d21ba6b0
  23. 18 Dec, 2002 1 commit
    • Dries's avatar
      · 623aaed1
      Dries authored
      - Made sure the taxonomy module doesn't display warning/error messages
        when the taxonomy module is disabled.  Reported by kyvinh.
      
      - Improved forum documentation.  Modified version of Kjartan's patch.
      
      TODO:
      
      - Updating a forum topic through the admin interface, results in a
        duplicate (and incomplete) forum topic.  Also note that "Leave
        shadow?" function is annoying; the status of the checkbox is lost
        when clicking preview.  Also, I think it should be disabled be
        default.
      623aaed1
  24. 15 Dec, 2002 1 commit
  25. 14 Dec, 2002 1 commit
    • Dries's avatar
      · ad80f143
      Dries authored
      - Fixed bug related to recent cache changes.
      ad80f143
  26. 11 Dec, 2002 1 commit
    • Dries's avatar
      · b6b24c28
      Dries authored
      Applied patch by Natrak:
      
      - page_header() now adds Last-Modified and ETag http headers.
      - When running PHP as an Apache module page_header() will check the HTTP
        headers for conditional gets, and will only push the content when it
        fails. (Works for html and xml pages as they are all cached). Note:
        this is a PHP limitation, so until PHP makes it work for other web
        servers this won't work for them.
      - Added created field to cache database to hold the timestamp when the
        cache was created.
      - Changed cache_get() to return an object with ->data and ->created.
      - Update forum and locale modules.
      b6b24c28
  27. 10 Dec, 2002 1 commit
    • Dries's avatar
      · 7ce686c1
      Dries authored
      o Permission improvements:
      
         + Removed the "post content" permission and replaced it by more fine-grained permissions such as "maintain static pages", "maintain personal blog", "maintain stories", etc.
      
      o Usability improvements to teasers:
      
         + Teaser forms are no more.  Teasers are extracted automatically but can also be instructed using a delimiter "---".  Furthermore, when a post it too short for a teaser, the user won't be bother with teaser stuff anymore.
      
         + Added an option to set the teaser length, or to disable teasers all together.
      
         + When previewing a post, both the short (if any) and the full version of a post are shown.  This addresses a common complaint; for example, when writing a book page there was no way you could preview the short version of your post.
      
         + Forum posts can be teasered now.  This is particularly helpful in the context of drupal.org where we promote forum topics.
      
      o Bugfix: replaced all PHP short tags (<?) with long tags (<?php).
      
      o Bugfix: removed hard-coded dependence on comment module.
      
      o Bugfix: when the queue module was disabled, it was not possible to approve updated book pages.
      
      o Bugfix: applied modified version of Marco's node_teaser() fix.
      7ce686c1
  28. 02 Dec, 2002 1 commit
    • Dries's avatar
      · 5b39f676
      Dries authored
      * Applied slightly modified version of Marco's taxonomy patch:
      
       - Fixed a bug with get_tree and multiple parents.
       - Fixed 3 wrong caches (this will avoid some queries).
       - Extension to taxonomy_term_count_nodes() (feature #159): "currently
         calling taxonomy_term_count_nodes() returns the amount of nodes in each
         term, would it be possible to extend this function so that it would only
         return the amount of nodes of a certain type under each term.
       - Confirm deleting a vocabulary or a term (requested by Moshe).
       - Use form_weight() in vocabulary and term forms.
       - After submitting a term, we end up at the term page (requested by Moshe).
       - Added status messages when adding, editing and deleting vocabularies and
         terms
       - Minor clean ups
      
      * Made sure all modules use the same link delimiter; "|" for now.
      5b39f676
  29. 26 Nov, 2002 2 commits
    • Dries's avatar
      · 1d63fec8
      Dries authored
      - Applied Stefan's forum module patch: changed the default settings to ease
        configuration.
      1d63fec8
    • Dries's avatar
      · 3d05bf49
      Dries authored
      - Fixed the forum block titles such that the username is displayed correctly.
        Reported by Jeremy.
      3d05bf49
  30. 17 Nov, 2002 1 commit
    • Dries's avatar
      · 9e32c2e9
      Dries authored
      Patch based on work of Kjartan:
      
      - Changed cache API.
      
      - Fixed caching bug in comment.module.  Odd this hasn't been reported yet.
      
      - Fixed caching bug in forum.module.
      
      - Fixed caching bug in system.module.
      
      - Fixed caching bug in block.module.
      
      - Simplified caching support in forum.module thanks to improved cache API.
      9e32c2e9
  31. 11 Nov, 2002 1 commit
    • Dries's avatar
      · a6c8b10d
      Dries authored
      Applied Moshe's patches:
      
      - Adds more title info to each line in the block: now showing author and number of comments in a unified way accross all modules.
      
      - Added pager support to blog module.
      
      - Blog module now uses standard node view, not its own hack which is more theme friendly (http://www.drupal.org/node.php?id=133).
      
      - Blog module now uses node_feed() function for making RSS feeds. since all feeds are now consolidated, a couple tweaks to node_feed() and format_rss_* would lead us to support new RSS formats easily.
      
      - Fixed bugs where unpublished entries were displayed.
      a6c8b10d
  32. 09 Nov, 2002 1 commit
    • Dries's avatar
      · 562df8fe
      Dries authored
      * Added Jeremy's pager:
      
       "This is a simple, generic pager for Drupal-CVS.  It is designed to be
        easily themeable and expandable.  The code is highly-commented to
        enhance readability."
      
       "Pagers are constructed by combining the provided pieces (all of which
        can be easily modified to display the text or image you prefer) into
        your custom pager."
      
      * Statistics module fixes by Jeremy:
      
       - removed superfluous check for existence of watchdog()
       - saving changes in admin page displays status and returns same page
       - no longer return 1971/01/01 in "view statistics" table
       - switched from "!=" to "<>" in SQL queries for ANSI-SQL compliance
       - switched from "MAX(timestamp) as timestamp" to "MAX(timestamp) as
         max_timestamp" moving towards ANSI-SQL compliance.
      
      * Added a "theme_item_list" function to format itemized lists.  Also
        changed a couple of modules to take advantage of it.  Makes for a
        more consistent UI.
      562df8fe
  33. 08 Nov, 2002 2 commits
  34. 01 Nov, 2002 1 commit
    • Dries's avatar
      · cc381c14
      Dries authored
      - Fixed glitch in block module: the admin links were not composed
        correctly.  Patch by Stefan.
      
      - Added missing t() functions and improved the %x directives for
        better readability and to ease the process of translating your
        site.  Patches by Stefan.
      
      - Made two small additions to the 'code-clean.sh' script; it will
        now remove patch related junk.
      
      NOTES:
      
      - I removed the &middot; related bits.  Let's tackle these later on
        in a separate patch after we got some sort of consensus.
      
      - I removed the 'module_exist("drupal")' check in the user module;
        I *think* it is incomplete and therefore incorrect.
      
      - Stefan, try using quotes in your translations and check whether
        everything still works.  Example: translate the "Create account"
        button to "Create \"haha\" account \'hihi\'" and see if you can
        still create new accounts.  Maybe automate this using a quick
        hack in the locale module ...
      cc381c14
  35. 28 Oct, 2002 1 commit
  36. 16 Oct, 2002 2 commits
    • Dries's avatar
      · 980f0700
      Dries authored
      - Fixed bug with "jump to recent comment" link.
      
      - Fixed bug with "nex topic" and "previous" topic links.
      
      - Removed "admin"-hook all together.
      980f0700
    • Dries's avatar
      · 0c42ca27
      Dries authored
      - Small improvement to the forum module block.
      0c42ca27