1. 21 Jan, 2002 1 commit
    • Kjartan's avatar
      - moved user block from theme.inc to user.module. · 8c672011
      Kjartan authored
          * only problem is that the admin.php link is not available until the
            admin enables the block.
          * $theme->user is obsolete, will patch the themes properly in a
            later patch.
      - moved moderation block from theme.inc to queue.module.
          * removed theme_moderation_results().
      - updated database/database.mysql.
      8c672011
  2. 13 Jan, 2002 1 commit
  3. 12 Jan, 2002 1 commit
    • Dries's avatar
      · 7e503262
      Dries authored
      - Fixed a typo in the example theme.  (Patch by Mark)
      7e503262
  4. 11 Jan, 2002 1 commit
    • Dries's avatar
      · 0567413c
      Dries authored
      - Added a "title"-attribute to the "register" link and translated the
        "Rembember me" checkbox.
      0567413c
  5. 09 Jan, 2002 1 commit
    • Kjartan's avatar
      Session · 3b5c3806
      Kjartan authored
       - attempted to fixed crashes with the custom session handler.
      
      External SMTP library
       - added functionality to have Drupal not use the default PHP mail()
         function. For more info see: http://www.drupal.org/node.php?id=44
         Note: for this to work all modules that send mails should use the
         Drupal function to send mail:
           user_mail($mail, $subject, $message, $header);
      
      Calendar
       - added an archive page which users can use to find archives instead of
         the good old block.
      
      Miscellaneous
       - fixed a "random" offset bug on module.inc that occurred on Windows.
      
      All of this needs more testing, and further suggestions are welcome.
      3b5c3806
  6. 05 Jan, 2002 2 commits
    • Dries's avatar
      · 8b04230c
      Dries authored
      - Fixed a typo
      8b04230c
    • Dries's avatar
      · 58152c45
      Dries authored
      Integrated Marco's generic/improved cache into Drupal.  Requires an
      SQL update.  See below for more details.
      
      - Merged the file "cache.inc" into "common.inc".
      
      - In addition, I renamed the field 'url' in the cache table to
        a more generic 'cid' (cache identifier).  It's no longer for
        URLs only.
      
      - Made the "cache_set()" function ASNI compliant such that it
        will play nice with other databases such as Postgres.
      
      - Added some extra input checking.
      
      - Updated the old caching code in the functions "page_header()"
        and "page_footer()" to use the new, generic cache API.
      
      - Updated "update.php" to make the required SQL changes.
      58152c45
  7. 30 Dec, 2001 1 commit
    • Dries's avatar
      · a95c2a68
      Dries authored
      - import.module:
      
          + Improved input filtering; this should make the news items look
            more consistent in terms of mark-up.
      
          + Quoted all array indices: converted all instances of $foo[bar]
            to $foo["bar"].  Made various other changes to make the import
            module compliant with the coding style.
      
      - theme.inc:
      
          + Fixed small XHTML glitch
      
      - comment system:
      
          + Made it possible for users to edit their comments (when certain
            criteria are matched).
      
          + Renamed the SQL table field "lid" to "nid" and updated the code
            to reflect this change: this is a rather /annoying/ change that
            has been asked for a few times.  It will impact the contributed
            BBS/forum modules and requires a tiny SQL update:
      
              sql> ALTER TABLE comments CHANGE lid nid int(10) NOT NULL;
      
          + Moved most (all?) of the comment related logic from node.php to
            comment.module where it belongs.  This also marks a first step
            towards removing/reducing "node.php".
      
          + Added a delete button to the comment admin form and made it so
            that Drupal prompts for confirmation prior to deleting a comment
            from the database.  This behavior is similar to that of deleting
            nodes.
      
          + Disabled comment moderation for now.
      
          + Some of the above changes will make it easier to integrate the
            upcomcing mail-to-web and web-to-mail gateways.  They are part
            of a bigger plan.  ;)
      
      - node system:
      
          + Made it so that updating nodes (like for instance updating blog
            entries) won't trigger the submission rate throttle.
      
          + Fixed a small glitch where a node's title wasn't always passed
            to the $theme->header() function.
      
          + Made "node_array()" and "node_object()" more generic and named
            them "object2array()" and "array2object()".
      
          + Moved most (all?) of the comment related logic from node.php to
            comment.module where it belongs.  This also marks a first step
            towards removing/reducing "node.php".
      
      - misc:
      
          + Applied three patches by Foxen.  One to improve performance of
            the book module, and two other patches to fix small glitches in
            common.inc.  Thanks Foxen!
      a95c2a68
  8. 27 Dec, 2001 1 commit
    • Dries's avatar
      · d8e9eefa
      Dries authored
      - Merged 3 tiny include files into "common.inc".
      d8e9eefa
  9. 24 Dec, 2001 1 commit
  10. 23 Dec, 2001 1 commit
    • Dries's avatar
      · 8c8b3058
      Dries authored
      - Added "query log" functionality to Drupal.  Inspired by weitzman's
        code/patch.
      8c8b3058
  11. 20 Dec, 2001 2 commits
  12. 15 Dec, 2001 1 commit
    • Steven Wittens's avatar
      - Updated BaseTheme and the Drupal themes to have header($title = "") as the... · e28981f0
      Steven Wittens authored
      - Updated BaseTheme and the Drupal themes to have header($title = "") as the header declaration and use title when provided. This is just a step towards having unique titles.
      In all themes, except Marvin which already had $title, I put the $title first, because it's usually the thing the page is about:
      
      "The future of weblogs? - Drop.org"
      "Your account settings - Drop.org"
      
      rather than the other way around, right?
      e28981f0
  13. 08 Dec, 2001 2 commits
    • Dries's avatar
      · ab20a866
      Dries authored
      comment.module:
        - small improvements to the comment admin interface.
        - merged comment.inc and comment.module.
      ab20a866
    • Dries's avatar
      · 67ac175e
      Dries authored
      - Working on the filter code: removed the "filter()" statemets from the
        node.module; I'll move this to the individual modules as they are the
        only one's who know what to do best with it.
      
      - Merged node.inc and node.module.
      67ac175e
  14. 06 Dec, 2001 1 commit
    • Dries's avatar
      · 20b4b716
      Dries authored
      - book.module:
         + Added (1) support for "PHP pages" (dynamic pages), and (2) made
           it possible to link other node types into the book's tree/outline.
           It works just fine, yet the only (obvious) downside of (2) is
           that the navigation tree/links gets "interrupted" when you view
           non-book pages in the book.
             [SQL update required, see update.php]
      
         + Tidied up the book table.
             [SQL update required, see update.php]
      
      - various updates:
          + Fine-tuned the new node system.
          + Updated the inline/code documentation.
          + Improved teaser handling of all node types.
          + Made several small usability improvements to the node admin
            pages.
      20b4b716
  15. 05 Dec, 2001 2 commits
    • Dries's avatar
      · 91d11157
      Dries authored
      - Made a small improvement to format_name()
      91d11157
    • Dries's avatar
      · 6f0332a7
      Dries authored
      - Upgraded the XML-RPC libraries to the latest version as suggested by
        Julian.
      6f0332a7
  16. 01 Dec, 2001 1 commit
    • Dries's avatar
      · d852a999
      Dries authored
      Node and book updates:
        - Fixed a glitch in the book overview in the admin section.
        - When updating a book page through the admin section, no new revision
          is created unless explictely specified.
        - Improved the usability of the node and book pages a little.
      d852a999
  17. 26 Nov, 2001 2 commits
  18. 24 Nov, 2001 2 commits
    • Dries's avatar
      · eb7c5f60
      Dries authored
      - Bugfix: when updating a book page, the name of the author did not change.
      
      - Bugfix: the "Edit comments" part of the node administration pages did not
        display the correct comments.
      
      - Bugfix: somethimes, update in a book page would mess up the book.
      
      - Improvement: when "node administrators" update a book page through the
        "update this book page"-link (like regular users do), their update will
        be subject to moderation.
      
      - Improvement: made some intermediate changes to the filter mechanism. Needs
        more work.
      eb7c5f60
    • Dries's avatar
      · 42ecb278
      Dries authored
      A set of updates to the "_link" system:
      
       - Made the /comment links/ jump to the comments instead of to the top
         of the page.
      
       - Replaced the "Add comment"-button by a "add new comment"-link.
         (This should make UnConeD jump up and down of wild excitement.)
      
       - Moved all comment related logic from theme.inc and node.module to
         comment.inc and comment.module (where they belong).
      
       - Added some links to ease the site's usability/navigation.
      42ecb278
  19. 23 Nov, 2001 2 commits
  20. 18 Nov, 2001 1 commit
    • Dries's avatar
      · e7e104e8
      Dries authored
      - node system:
      
         + Made the filters work again!
      
         + There is one strange thing that I can't track down though: for some
           reason, "^M" characters (?) are padded after newline ("\n" and / or
           "\r") characters.
      e7e104e8
  21. 13 Nov, 2001 1 commit
  22. 12 Nov, 2001 2 commits
    • Dries's avatar
      · 84cdc3c6
      Dries authored
      - fixed a typo in an English sentence.
      84cdc3c6
    • Dries's avatar
      · 1291d8dc
      Dries authored
      - Made a small change to the submission rate throttle
      1291d8dc
  23. 05 Nov, 2001 1 commit
    • Dries's avatar
      · db47bac3
      Dries authored
      - node.module:
      
         + Changed node_form() to use good ol' tables instead of div/CSS-tags.
      
         + Revised the "revision API": I think we have both an easy and powerful
           API now that should make everyone happy.
      
         + Improved the usability of the rollback functionality a bit.
      
         + Removed the "view node" link from the "node overview" page in the
           admin section and added a "delete node" link instead.
      
         + Added a few missing translations; there might be missing more
           translations though.
      
      - book.module:
      
         + Made the book module use the "revision API" instead of having it poke
           and use the innards and underlying details of the revision system.
      
      - queue.module:
      
         + Made the queue module use the improved revision number.
      
      - module.inc:
         + Applied Moshe's patch: added more arguments to module_invoke()
      
      - mail-to-sql.pl:
         + Added support for more header fields and for folded fields
      
      Notes:
      
      - no database updates required
      db47bac3
  24. 04 Nov, 2001 3 commits
    • Dries's avatar
      · f88cfaa2
      Dries authored
      - Another batch of updates.  The most important bit is that the moderation
        queue should be functional again.  It's not ready yet but I'll be tuning
        it for the next two evenings or so.
      f88cfaa2
    • Dries's avatar
      - typo · 4af6c9d2
      Dries authored
      4af6c9d2
    • Dries's avatar
      · b6f1c9c7
      Dries authored
      - node system:
          + fixed a typo in node_load(): it should be faster now
      
      - book module:
          + removed the functions book_parent() and book_parent_query() as
            they were no longer needed.  Gerhard & co: this should fix the
            occasional SQL errors you get, and should improve performance.
      
          + made the "next", "previous" and "up" links work correctly ...
      
          + XHTML-ified the code
      
          + added some missing translations
      
        I'm working on the book module now to make it possible to update book
        pages.
      b6f1c9c7
  25. 03 Nov, 2001 2 commits
    • Dries's avatar
      · 50b92b91
      Dries authored
      - small bugfix
      50b92b91
    • Dries's avatar
      · a2e69109
      Dries authored
      - Made the node forms support "help texts": it is not possible to configure
        Drupal to display submission guidelines, or any other kind of explanation
        such as "NO TEST POSTS", for example.
      
      - Added node versioning: it is possible to create revisions, to view old
        revisions and to roll-back to older revisions.  You'll need to apply a
        SQL update.
      
        I'm going to work on the book module now, so I might be changing a few
        things to enable collaborative, moderated revisions - but feel free to
        send some first feedback, if you like.
      
      - Added some configuration options which can be used to set the minimum
        number of words a blog/story should consist of.  Hopefully this will
        be usefull to stop the (almost empty) test blogs.
      
      - Various improvements:
         + Fine-tuned new node permission system.
         + Fine-tuned the functions in node.inc.
         + Fine-tuned some forms.
         + XHTML-ified some code.
      a2e69109
  26. 01 Nov, 2001 2 commits
    • Dries's avatar
      · 23ca7a2d
      Dries authored
      - Another batch of updates/improvements:
      
         + introduced basic node permissions ("create", "delete", "update" and
           "view") at the node level: it's up to the "<$node->type>_module" to
           hide gory details (if any).
      
         + made the "blog it"-feature in the blog and import module work with
           the new node system, in specific with the new centralized forms.
      
         + made it possible to update blogs.
      
         + made the page module work with the new node system.
      
         + various smaller improvements.
      23ca7a2d
    • Dries's avatar
      · 336b713a
      Dries authored
      - A large batch of updates, amongst them a rewritten node system.  More
        information available on the mailing list.
      336b713a
  27. 31 Oct, 2001 1 commit
    • Dries's avatar
      · 7c181aba
      Dries authored
      - Made some improvements/updates to the database abstraction layer.
      7c181aba
  28. 23 Oct, 2001 1 commit
    • Dries's avatar
      · eb2a3f3f
      Dries authored
      - Added an ini_set(...) to conf.php to solve history/cache browsing issues
        on some Drupal/PHP installations.
      eb2a3f3f