1. 25 Mar, 2003 1 commit
  2. 17 Mar, 2003 1 commit
    • Dries's avatar
      · ff6976f6
      Dries authored
      - Fixed broken URL in the blog module's feed.  Reported by Gunnar.
      ff6976f6
  3. 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
  4. 13 Mar, 2003 1 commit
  5. 07 Mar, 2003 2 commits
    • 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
    • Dries's avatar
      · d659fedb
      Dries authored
      - Removed the path_uri() function in favor of the $base_url variable and
        fixes a handful of bugs introduced by the clean URL patch.
      d659fedb
  6. 17 Feb, 2003 1 commit
    • Dries's avatar
      · 52314ddc
      Dries authored
      - Theme options patch.  See mailing list.
      52314ddc
  7. 15 Feb, 2003 1 commit
    • Dries's avatar
      · 83f5d828
      Dries authored
      - Everything is using theme("function") now instead of $theme->function().
      83f5d828
  8. 12 Feb, 2003 1 commit
  9. 11 Feb, 2003 1 commit
  10. 09 Feb, 2003 1 commit
    • Dries's avatar
      · 9281d0cd
      Dries authored
      - Applied Alastair's date patch.
      
      - Removed all instances of '$user->nodes'.
      
      - Committed Moshe's taxonomy patch - minus the node_compact_list() bit.  It needs a bit more thought/work.  This patch changes the links of taxonomy pages/feeds so update your custom code and themes accordingly!
      
      Themes should now use "taxonomy_link("taxonomy terms", $node)" to get an array of taxonomy term links.  The old construct is deprecated and should be changed.
      
      // old theme blob:
      if (function_exists("taxonomy_node_get_terms")) {
        foreach (taxonomy_node_get_terms($node->nid) as $term) {
          $terms[] = l($term->name, NULL, array(), "or=$term->tid");
        }
      }
      
      // new theme blob:
      if (module_exist("taxonomy")) {
        $terms = taxonomy_link("taxonomy terms", $node);
      }
      
      // old URL:
      http://foo.com/index.php?or=1,2
      
      // new URL:
      http://foo.com/?q=taxonomy/page/or/1,2
      9281d0cd
  11. 23 Jan, 2003 2 commits
  12. 20 Jan, 2003 1 commit
    • Dries's avatar
      · ca68e8a3
      Dries authored
      - Tidied up some SQL queries.
      ca68e8a3
  13. 07 Jan, 2003 1 commit
    • Dries's avatar
      · 33da658c
      Dries authored
      - Bugfix: RSS auto-discovery was broken due to clean URL work.  Patch by
        Breyten.
      33da658c
  14. 06 Jan, 2003 1 commit
    • Dries's avatar
      · 89b2069e
      Dries authored
      - Clean URL patch.
      89b2069e
  15. 14 Dec, 2002 1 commit
    • Dries's avatar
      · 99d84c93
      Dries authored
      - Committed Marco's pager improvements.
      
      - Fixed another annoyance with editing content.
      99d84c93
  16. 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
  17. 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
  18. 09 Nov, 2002 3 commits
    • Dries's avatar
      · 554299df
      Dries authored
      - Small clean-up.
      554299df
    • Dries's avatar
      · a6a47a32
      Dries authored
      - Applied Moshe's "theme head" patch:
      
        "This patch to theme.inc adds the ability for modules to insert HTML
         into the <HEAD> section of all web pages. The additional modules in
         this directory [ed: blog.module] demonstate possible uses for the
         new _head() hook."
      a6a47a32
    • 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
  19. 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
  20. 26 Oct, 2002 1 commit
    • Dries's avatar
      · 8d103a08
      Dries authored
      - Committed Marco's block rewrite:
      
         + Blocks are not longer called if not rendered: major performance
           improvement.
         + Fixed some bugs (preview option was broken, path option was broken).
         + Removed "ascii"-type blocks.
         + Added permission to for "PHP blocks"
         + ...
      
        NOTES:
      
         + You'll want to run "update.php":
      
             ALTER TABLE blocks DROP remove;
             ALTER TABLE blocks DROP name;
      
         + You'll want to update your custom modules as well as the modules in
           the contrib repository.  Block function should now read:
      
             function *_block($op = "list", $delta = 0) {
               if ($op == "list") {
                 return array of block infos
               }
               else {
                 return subject and content of $delta block
               }
             }
      8d103a08
  21. 22 Oct, 2002 1 commit
    • Dries's avatar
      · 66c5b707
      Dries authored
      - Wrapped some hardcoded colors in "theme_invoke()"s; we can still create
        a drupal_error() later on but I think we better get used to theme_invoke().
      
      - Fixed translation bug.  Patch by Moshe.
      
      - Fixed PHP warning.  Patch by ax.
      66c5b707
  22. 15 Jun, 2002 1 commit
  23. 10 Jun, 2002 1 commit
  24. 09 Jun, 2002 1 commit
  25. 08 Jun, 2002 2 commits
    • Kjartan's avatar
      - improved module descriptions. · 5d36c704
      Kjartan authored
      - removed admin options for queue and comment module if the modules are not
        loaded.
      - nodes are now auto promoted when queue module isn't enabled.
      - moderation result block is now visible by the node author.
      5d36c704
    • Dries's avatar
      · e6096b60
      Dries authored
      - Extended the blog module documentation with input from the Drupal
        handbook.  The documentation is not particulary exciting/good but
        it is better than what it used to be.
      e6096b60
  26. 01 Jun, 2002 1 commit
    • Kjartan's avatar
      - adding descriptions to modules (thanks Joe + Scott). · 4a28077f
      Kjartan authored
      - fixed comment flat list view missing 1 comment.
      - changed update.php around a bit.
          * security check isn't in effect if the db hasn't been updated.
          * instructions re-organized.
          * fixed some minor updates.
      - updated database.mysql done by UnConeD.
      - changelog update.
      4a28077f
  27. 31 May, 2002 1 commit
    • Dries's avatar
      · 38aaf5f3
      Dries authored
      - Added missing translations and the like.
      38aaf5f3
  28. 29 May, 2002 1 commit
  29. 23 May, 2002 1 commit
    • Kjartan's avatar
      - pending user accounts will not be notified to the site_email. · 66e1bbfb
      Kjartan authored
      - fixed access checks on the register form, do this before you enter the
        _save function. If registrations are disabled the register link will
        no longer show (again).
      - changed &#187 to &raquo, using the names of entities are better than
        the numbers.
      - fixed user information being set when account is registered (properly this
        time, really!)
      - reversed the if(!...) commit.
      - node_add specifies more defaults.
      - added link to blog entries from user page.
      66e1bbfb
  30. 22 May, 2002 1 commit
    • Kjartan's avatar
      - node security fixes. · 5f6d733b
      Kjartan authored
      - fixing the UI to represent what actually happens when you are an admin.
      5f6d733b
  31. 20 May, 2002 3 commits
  32. 19 May, 2002 1 commit
    • Kjartan's avatar
      - updating all nodes to use taxonomy terms. · c9871b78
      Kjartan authored
      - updated node modules not to cause errors when taxonomy module is disabled.
      - added %date variable to user mail configuration.
      - added hyperlinks to admin.php?mod=system (site configuration) for easy access.
      - usual coding style and xhtml fixes.
      c9871b78
  33. 12 May, 2002 1 commit