1. 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
  2. 02 Mar, 2003 1 commit
    • Dries's avatar
      · 6ccb8438
      Dries authored
      - Fixed the "adminster" link at the bottom of every node's display.  Patch
        by Al.
      6ccb8438
  3. 25 Feb, 2003 1 commit
    • Dries's avatar
      · 91dfef65
      Dries authored
      - Fixed some typos spotted by Al Maw.
      91dfef65
  4. 23 Feb, 2003 2 commits
    • Dries's avatar
      · b1f47584
      Dries authored
      - Fixed typo.  Patch by Garym.  (Something went wrong with my earlier commit.)
      b1f47584
    • Dries's avatar
      *** empty log message *** · 20e8bc12
      Dries authored
      20e8bc12
  5. 20 Feb, 2003 1 commit
    • Dries's avatar
      · 277ceae5
      Dries authored
      - New menu houskeeping.  Prototyped by Zbynek.
      
        The following modules need updating:
          * glossary module
          * feed module (Breyten's version)
          * mailhandler module
          * notify module
          * project module
          * smileys module
          * admin module
          * style module
          * taxonomy_dhtml module
      
        To avoid unexpected problems menu_add() is deprecated (it will print an
        error message when used) and menu() should be used instead.
      277ceae5
  6. 16 Feb, 2003 1 commit
    • Kjartan's avatar
      - Added function node_invoke_all($hook, &$node, $op, $arg = 0). · dd329e1d
      Kjartan authored
      - Added a _nodeapi hook that in time will replace the _node hook. Trying
        to make as few changes to existing code as possible until the new api
        is stabilized.
      - Modified node_form() to add administration options from other modules
        using the _nodeapi hook.
      - Modified node_save() to fetch which fields should be saved to the node
        table from the _nodeapi hook.
      - Moved comment and queue options from node_form() and node_save() to
        the modules _nodeapi hooks.
      dd329e1d
  7. 15 Feb, 2003 1 commit
    • Dries's avatar
      · 83f5d828
      Dries authored
      - Everything is using theme("function") now instead of $theme->function().
      83f5d828
  8. 11 Feb, 2003 1 commit
  9. 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
  10. 02 Feb, 2003 1 commit
    • Dries's avatar
      · 10cb57a0
      Dries authored
      - Removed redundant code.
      10cb57a0
  11. 29 Jan, 2003 1 commit
    • Dries's avatar
      · 2e6e1efb
      Dries authored
      - Renamed "Allow HTML tags" to "Filter HTML tags" for clarity.  Reported by
        Ax.
      2e6e1efb
  12. 23 Jan, 2003 2 commits
  13. 14 Jan, 2003 1 commit
    • Dries's avatar
      · d2687836
      Dries authored
      - Small improvement to the admin menu based on feedback from Michael.
      d2687836
  14. 12 Jan, 2003 1 commit
    • Dries's avatar
      · 0fba793a
      Dries authored
      - Fixed a typo that caused quite a few redundant SQL queries.
      0fba793a
  15. 09 Jan, 2003 1 commit
    • Dries's avatar
      · 6334ee20
      Dries authored
      - Code improvement: forgot to update an URL to the clean URL scheme.
      6334ee20
  16. 06 Jan, 2003 1 commit
    • Dries's avatar
      · 89b2069e
      Dries authored
      - Clean URL patch.
      89b2069e
  17. 04 Jan, 2003 1 commit
    • Dries's avatar
      · 8a636465
      Dries authored
      - Added an extra parameter to watchdog() which lets you specifiy an "action"
        or "operation" link.
      
      - Made the main page of the administration section show an overview of all
        watchdog entries with such action link.
      
      - Fixed typo in PostgreSQL database scheme.
      8a636465
  18. 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
  19. 30 Dec, 2002 1 commit
    • Dries's avatar
      · 5598417c
      Dries authored
      - Some small improvements/fixes to the node system.  Suggested by Marco.
      5598417c
  20. 29 Dec, 2002 2 commits
    • Dries's avatar
      · 24af61ed
      Dries authored
      - Put back the node table paging.
      24af61ed
    • Dries's avatar
      · 14158fbc
      Dries authored
      - Added table rendering functions.  As an example, I changed the node module
        to take advantage of it.
      14158fbc
  21. 27 Dec, 2002 1 commit
    • Dries's avatar
      · 22541606
      Dries authored
      - Added a "submit new content" link to the admin page.  Suggested by Amy.
        (Temporary solution only - probably needs better integration?)
      22541606
  22. 24 Dec, 2002 2 commits
    • Dries's avatar
      · 22fa9ed7
      Dries authored
      - Refactored the administration pages.
      22fa9ed7
    • Dries's avatar
      · ca07ff36
      Dries authored
      - Fixed typo: "Allow users comments" -> "Allow user comments"
      
      - By default, "Allow user comments" is set to "read-write".
      ca07ff36
  23. 21 Dec, 2002 2 commits
    • Kjartan's avatar
      - fixing doctype in rss feeds. · ca743aa6
      Kjartan authored
      ca743aa6
    • Dries's avatar
      · c10ce14d
      Dries authored
      - Switched the "short version" and the "long version" on the preview page.
      
      - Removed a broken filter which caused some line breaks to be stripped.
      
      - It is now possible to create short teasers and the '---' delimiter can
        be outside the allowed range but not more than a factor two.
      
      - Fine-tuned teaser extraction in absence of the '---' delimiter.
      c10ce14d
  24. 15 Dec, 2002 1 commit
    • Dries's avatar
      · 70c21f7e
      Dries authored
      - Added DOCTYPE.
      70c21f7e
  25. 14 Dec, 2002 1 commit
    • Dries's avatar
      · 99d84c93
      Dries authored
      - Committed Marco's pager improvements.
      
      - Fixed another annoyance with editing content.
      99d84c93
  26. 12 Dec, 2002 1 commit
    • Dries's avatar
      · 9c11b14d
      Dries authored
      - Bugfixes by Marco.
      
      - Attempt to fix linebreak handling.
      9c11b14d
  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 2 commits
    • Dries's avatar
      · dcbb71f4
      Dries authored
      - Fixed node revisions.
      dcbb71f4
    • Dries's avatar
      · ab143d68
      Dries authored
      - Fixed "Allow user comments: disabled" no longer works and so on.  Patch by
        Marco.
      ab143d68
  29. 26 Nov, 2002 1 commit
    • Dries's avatar
      · 8fa5440b
      Dries authored
      - Applied Jeremy's statistics module patches:
         + Fixed "recent users" title/timestamps.
         + Added statistics_node_delete() function.
      
      - Applied Jeremy's node module patches:
         + Added call to statistics_node_delete().
         + Fixed call to taxonomy_node_delete().
      8fa5440b
  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. 10 Nov, 2002 1 commit
  33. 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