1. 14 Apr, 2003 1 commit
    • Dries's avatar
      A batch of changes: · 70f5b864
      Dries authored
      - Renamed '---' to '<!--break-->'.
      
      - Removed hard-coded call to the statistics module from the node module.
        Patch by Gerhard.
      
      - Removed tables from poll module.  Modified patch by Al.  Changes to Al's
        patch are:
          "polltext" -> "poll-text"
          "pollfg"   -> "poll-foreground"
          "pollbg"   -> "poll-background"
      
      - Changed some 'statistics.foo's to 's.foo's.  Patch by Gary.
      
      [If this closes any bug reports, please update them on drupal.org.]
      70f5b864
  2. 29 Mar, 2003 1 commit
    • Dries's avatar
      · 4742ba35
      Dries authored
      - Fixed some SQL query directives.
      4742ba35
  3. 16 Mar, 2003 2 commits
    • Dries's avatar
      · 297bc73f
      Dries authored
      - Bugfix: deleting a node should flush the cache.
      297bc73f
    • 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. 14 Mar, 2003 1 commit
    • Dries's avatar
      · dc19b22f
      Dries authored
      - Modified patch of Moshe.  Enhances the tracker module so it displayes recent
        *nodes* in addition to comments.  This will be helpful for tracking down new
        book nodes, blog posts, news items, and other stuff which isn't interesting
        enough to be promoted to the home page.
      dc19b22f
  5. 11 Mar, 2003 1 commit
  6. 10 Mar, 2003 1 commit
  7. 09 Mar, 2003 2 commits
    • Kjartan's avatar
      - Ahem , trailing spaces. · 5a646024
      Kjartan authored
      5a646024
    • Kjartan's avatar
      - Moved moderation logic back into node module. · 1421c878
      Kjartan authored
          * After having a chat with Dries we have agreed on the logics (or
            more specifically he told me how its supposed to work). The queue
            module is just a method to make moderation public, but its not
            necessarily the only way. This brings the power back.
      - Minor interface tweaks (names, case changes, etc).
      - Fixed error that would show when you tried to view the profile of a
        blocked user.
      1421c878
  8. 08 Mar, 2003 1 commit
  9. 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
  10. 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
  11. 25 Feb, 2003 1 commit
    • Dries's avatar
      · 91dfef65
      Dries authored
      - Fixed some typos spotted by Al Maw.
      91dfef65
  12. 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
  13. 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
  14. 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
  15. 15 Feb, 2003 1 commit
    • Dries's avatar
      · 83f5d828
      Dries authored
      - Everything is using theme("function") now instead of $theme->function().
      83f5d828
  16. 11 Feb, 2003 1 commit
  17. 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
  18. 02 Feb, 2003 1 commit
    • Dries's avatar
      · 10cb57a0
      Dries authored
      - Removed redundant code.
      10cb57a0
  19. 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
  20. 23 Jan, 2003 2 commits
  21. 14 Jan, 2003 1 commit
    • Dries's avatar
      · d2687836
      Dries authored
      - Small improvement to the admin menu based on feedback from Michael.
      d2687836
  22. 12 Jan, 2003 1 commit
    • Dries's avatar
      · 0fba793a
      Dries authored
      - Fixed a typo that caused quite a few redundant SQL queries.
      0fba793a
  23. 09 Jan, 2003 1 commit
    • Dries's avatar
      · 6334ee20
      Dries authored
      - Code improvement: forgot to update an URL to the clean URL scheme.
      6334ee20
  24. 06 Jan, 2003 1 commit
    • Dries's avatar
      · 89b2069e
      Dries authored
      - Clean URL patch.
      89b2069e
  25. 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
  26. 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
  27. 30 Dec, 2002 1 commit
    • Dries's avatar
      · 5598417c
      Dries authored
      - Some small improvements/fixes to the node system.  Suggested by Marco.
      5598417c
  28. 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
  29. 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
  30. 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
  31. 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
  32. 15 Dec, 2002 1 commit
    • Dries's avatar
      · 70c21f7e
      Dries authored
      - Added DOCTYPE.
      70c21f7e