1. 24 Nov, 2001 1 commit
    • 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
  2. 18 Nov, 2001 1 commit
    • Dries's avatar
      · 0222ee66
      Dries authored
      - book.module:
         + Re-introduced and re-wrote the book admin pages; there is a separate
           page for every book and a page with all "orphan pages" (= pages that
           got de-linked).
      0222ee66
  3. 12 Nov, 2001 1 commit
    • Dries's avatar
      · ebb14ab9
      Dries authored
      - A couple of new node updates
      ebb14ab9
  4. 11 Nov, 2001 1 commit
    • Dries's avatar
      · b29af16b
      Dries authored
      - updated the "update help"-text
      b29af16b
  5. 07 Nov, 2001 1 commit
    • Dries's avatar
      · 234b40b2
      Dries authored
      - node system:
      
         + Added the "delete node"-link: apparently it got lost during the last
           commit.  Odd.
      
         + Changed "Edit node" to "Edit <node_name>" on the 'edit node'-page of
           the admin section.  (There a 4 "Node"s that still need to be removed
           though.)
      
         + Updated the initial submission page (the old submit.php) to include
           some descriptions.
      234b40b2
  6. 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
  7. 04 Nov, 2001 2 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
      · 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
  8. 03 Nov, 2001 1 commit
    • 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
  9. 01 Nov, 2001 3 commits
    • Dries's avatar
      · 4d8b485f
      Dries authored
      - Added error handling support to the <node>_form hook.
      4d8b485f
    • 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
  10. 20 Oct, 2001 1 commit
  11. 16 Oct, 2001 1 commit
    • Dries's avatar
      · 33a3502d
      Dries authored
      - Removed a node's link ID (lid) as discussed on the mailing list.  See
        'updates/3.00-to.x.xx.mysql' for the required MySQL updates.
      
      - Renamed some "author" fields to "uid" fields for sake of consistency.
      
      - Fixed the coding style of some PHP files.
      
      - Fixed the moderation queue (fairly untested though).
      
      - Re-introduced the temporary SQL table in _node_get().
      
      - Added a missing 'auto_increment' to 'updates/3.00-to-x.xx.mysql'.
      33a3502d
  12. 12 Oct, 2001 1 commit
    • Dries's avatar
      · 73d61b78
      Dries authored
      - fixed 4 SQL queries to use ANSI SQL instead: '||' --> 'OR'
      73d61b78
  13. 09 Oct, 2001 1 commit
    • Dries's avatar
      · f1932821
      Dries authored
      - PEAR-ification of Drupal by claw: you can now host Drupal on a wide
        range of databases including MySQL, PostgreSQL, MSSQL, and others.
      
        For additional information and an 'how to upgrade', check the mails
        sent to the mailing list.
      f1932821
  14. 29 Sep, 2001 1 commit
    • Dries's avatar
      · a55bfd16
      Dries authored
      - fixed a SQL bug in the "next / prev" code of book.module
      a55bfd16
  15. 28 Sep, 2001 1 commit
    • Dries's avatar
      · 0cce47f1
      Dries authored
      - fixed small glitch in node_del()
      
      - fixed small glitch in comment_del()
      
      - changed the API of the form() function.  The first parameter, the
        "action"-attribute in the <form>-tag has been made optional.  By
        default, it will be set to "$REQUEST_URI".
      
        Why? Because in 98% of the cases we would do:
      
          global $REQUEST_URI;
          $form = form($REQUEST_URI, $form_content);
      
        while we can do:
      
          $form = form($form_content);
      
        now.
      
        Update your modules (and sorry for the inconvenience)!
      0cce47f1
  16. 27 Sep, 2001 1 commit
    • Dries's avatar
      · 6cde6329
      Dries authored
      - book.module: fixed "/admin.php" bug reported by Gerhard.
      
      - search.module: made the search categories translatable.
      6cde6329
  17. 26 Sep, 2001 1 commit
    • Kjartan's avatar
      Bug fixes mostly · f6f04a82
      Kjartan authored
      - fixed book.module not generating next/prev links properly
      - re-added default node options to the admin page
      - fixed a potential bug in node.php. Nodes with same titles were confusing it
        at times, should fix the bug reported by Gerhard Killesreiter.
      f6f04a82
  18. 16 Sep, 2001 2 commits
    • Dries's avatar
      · e2f24987
      Dries authored
      - improved the search system by making it context sensitive
      e2f24987
    • Dries's avatar
      · 2d1e9126
      Dries authored
      - Added the new user module!
      2d1e9126
  19. 28 Aug, 2001 1 commit
    • Kjartan's avatar
      book.module · 70864b57
      Kjartan authored
      - just a minor update to sort books of the same weight by title.
      70864b57
  20. 11 Aug, 2001 1 commit
    • Dries's avatar
      · 808b6b6c
      Dries authored
      - Changed the authentication and login scheme as discussed on the mailing
        list.
      - Fixed the export function in book.module (patch my Julian).
      - Fixed the comment alignment (comments got truncated).
      808b6b6c
  21. 25 Jul, 2001 1 commit
    • Kjartan's avatar
      common.inc · 49155053
      Kjartan authored
      - format_username() now takes a second optional parameter which gives the
        real name of the user.
      
      Rest
      - updated the calls to format_username() where appropriate to show the name
        of the user instead of the account id. Clicking on a name will still give you
        the account info etc. If you find a place where the real name is not shown
        let me know.
      49155053
  22. 15 Jul, 2001 1 commit
    • Dries's avatar
      · 85341253
      Dries authored
      - Various updates, mostly related to our RDF/RSS backend.
      85341253
  23. 02 Jul, 2001 1 commit
    • Dries's avatar
      · 8f2ef076
      Dries authored
      - Added improvement locale.module, based on Gerhard K.'s implementation.
        (Thanks Gerhard!)
      
      - Various other small improvements.
      8f2ef076
  24. 29 Jun, 2001 1 commit
    • Dries's avatar
      · 9c43e8fc
      Dries authored
      Extremely large commit:
      
      - Fixed tiny quote problem in account.php.
      
      - Fixed tiny bug in comment.inc.
      
      - Fixed tiny bug in comment.module.
      
      - Fixed tiny bug in meta.module.
      
      - Simplified user_access() API.
      
      - Rewrote link system: still needs fine-tuning and testing so don't
        upgrade if you are running a production site. ;)
      
        Updated all modules and themes to reflect this change.  All other
        themes and modules need updating too!
      9c43e8fc
  25. 25 Jun, 2001 2 commits
    • Dries's avatar
      · 56b35360
      Dries authored
      - Fixed problem with book.module (reported by Jared).
      
      - Fixed problem with forum.module (reported by Jared).
      56b35360
    • Dries's avatar
      · 168db4c9
      Dries authored
      - Fixed problem with book.module (reported by Jared).
      
      - Fixed problem with forum.module (reported by Jared).
      168db4c9
  26. 24 Jun, 2001 2 commits
    • Dries's avatar
      · bd8e9dd0
      Dries authored
      - Fixed bug in export module when exporting books to HTML.
      bd8e9dd0
    • Dries's avatar
      · d0496d2e
      Dries authored
      - Fixed bug in SQL query in one of the sanity checks of book.module.
      d0496d2e
  27. 21 Jun, 2001 1 commit
    • Dries's avatar
      · 6d107b08
      Dries authored
      - Fixed bug in account.module (reported by Gerhard and Kristjan).
      
      - Incorporated some of the suggestions.  More to come.
      6d107b08
  28. 20 Jun, 2001 1 commit
    • Dries's avatar
      · 72065fb8
      Dries authored
      - Added a brand-new access.module which allows you to manage 'roles'
        (groups) and 'permissions' ... (inspired by Zope's system).
      
          + Once installed, click the help-link for more information.
      
          + See updates/2.00-to-x.xx.sql for the SQL updates.
      
      - Modified loads of code to use our new access.module.  The system
        still has to mature though: new permissions have to be added and
        existing permissions need stream-lining.  Awaiting suggestions.
      
      - As a direct result of the new access system, I had to rewrite the
        way the top-level links in admin.php are rendered and displayed,
        and xhtml-ified admin.php while I was at it.
      
      TODO
      
      - Home-brewed modules need updating, home-brewed themes not.
        (Examples: file.module, trip_link.module)
      
      - As soon we *finished* the refactoring of the user system (KJ has
        been working on this refactoring already) we should consider to
        embed this role and permission code into account.module ...
      72065fb8
  29. 17 Jun, 2001 1 commit
    • Dries's avatar
      · 03c06a86
      Dries authored
      Oops, a rather large commit:
      
      - Changed meta.module, node.module and index.php to use comma-seperated
        lists of attributes rather then "foo=a,bar=b" lists.  This makes it a
        a lot easier to use both modules.  In addition, error handling can be
        discarded as it can't be made any simpler, really ...
      
        It fits rather nicely in Drupal's design so I'm getting more and more
        happy with this meta.module (but we are not 100% there yet).
      
      - node.module, node.inc:
      
         + Improved the node-related admin interface so that navigating back
           and forth the administrative menus is made both easier and faster.
      
         + Removed some redundant database fields from the node table.  See
           2.00-to-x.xx.sql!
      
         + Added 2 news hooks called "node_insert" and "node_update".  Just
           like this is the case with the existing hook "node_delete" these
           new hooks will automatically get called when a node has been
           inserted or udpated.  Note that this is an optional call-back that
           only needs to be implemented when required.  With the addition of
           these two hooks, the node mechanism (version 1) is pretty well
           completed.
      
      - watchdog.module:
         + Fixed bug whit the 'regular messages' query in the watchdog.module.
      
      - book.module:
         + Fixed bug in book.module: the 'parent' was not set properly when
           updating a book page.
         + Made it so that older versions of a book page are automatically
           reactived upon deletion of the most recent version, i.e. when
           doing a version roll-back.
      
      - comment.inc:
         + Undid Remco's patch to comment.inc; it does not work in some cases.
      
      
      - conf.module:
         + Fine-tuned some of the options in conf.module a bit.
      
      - marvin.theme:
         + Visual changes to make it look better on Windows browsers.  Mind
           to give some feedback on this?
         + Fixed 3 HTML typos/bugs.
         + XHTML-ified the theme at a best effort basis; I didn't carry the
           XHTML specification with me.
         + Made use of the theme_slogan variable to display the site's slogan.
         + As soon we have at least one valid XHTML theme we can wonder on how
           to integrate other XML namespaces (cfr. MathML story at drop.org).
      
      - database.mysql:
         + Updated database.mysql so that it contains all the latest "database
           patches".
      03c06a86
  30. 14 Jun, 2001 1 commit
  31. 10 Jun, 2001 1 commit
    • Dries's avatar
      · d397bbe9
      Dries authored
      This a rather large commit that needs a lot of fine-tuning.  If you
      update, you'll break your site as you need switching from structure
      to index.module: so this can be considered an intermediate commit.
      
      If you upgrade, and you are welcome to, just create a collection
      called "section" (for now) and assign your nodes some attributes
      in the described format.
      
      Feedback and bugreports are welcomed.  Questions will be answered.
      
      CHANGES:
      
      - comment system:
         + when replying to a node (rather then to a comment), that
           node is displayed above the reply form.
         + when replying to a comment (rather then to a node), that
           comment is displayd above the reply form.
      
      - removed structure.inc, removed structure.module.
      
      - node.inc:
         + added 2 new node functions called 'node_attribute_edit()' and
           'node_attribute_save()' used to 'hook in' any indexing system
          including your home-brewed stuff if you'd want to.  Currently,
          index.module is the facto default index system.
      
          See story.module for usage.
      
      - book.module, story.module, poll.module, page.module, forum.module:
         + added preview functionality to administration section (via node
           module).
         + removed all references to structure.inc (category, topic).
      
      - moderate.module:
         + removed all references to structure.inc (category, topic).
      
      - book.module, story.module, page.module, forum.module:
         + increased the sizes of some textareas.
      
      - submit.php:
         + removed all references to structure.inc (category, topic).
      
      - marvin.theme:
         + removed dead code: function story() was depricated.
      
      - unconed.theme:
         + removed hardcoded references to drop.org.
      
      - marvin.theme, unconed.theme, jeroen.theme, yaroon.theme, example.theme:
         + removed all references to structure.inc (category, topic).
      
      TODO:
      
      - file.module, trip_link.module:
         + update preview functionality:
             see story.module for example.
         + remove references to 'cid' and 'tid', use 'attribute' instead:
             see story.module for example.
      
      - extend and build upon index.module as well as making it configurable
      d397bbe9
  32. 04 Jun, 2001 1 commit
    • Dries's avatar
      · b86d6a2f
      Dries authored
      - Patched book.module to work with the new node.module (which makes the
        book.module quite a bit shorter/simpler).
      b86d6a2f
  33. 02 Jun, 2001 1 commit
    • Dries's avatar
      · b0c349e2
      Dries authored
      - Moved most of the options in structure.module to node.module.  The
        structure.module either needs work, or replacement by index.module:
        see "admin > node > node settings".
      
        It will do for now and it can always made better when we can think
        of a better solution; it is the best I could think of.   Now what?
        index.module or structure.module?  I'm currently pro index.module.
      
      - Drastically simplified "variable.inc".
      
      - Removed most dependecies on structure.module from all content related
        modules.  Thus making our modules more modular.  ;)
      
      - Fixed calculation glitch in queue.module.
      
      - Fixed potential function name clash/conflict in rating.module, and
        simplified some code on my way.
      
      - Started removing all global variables $status and $rstatus.  Global
        variables are "yucky" so in near future, we will replace all global
        $status variables by a call to node_status().  Originally, $status
        was only introduced as a temporary hack and nothing is as permanent
        as a temporary hack so I took it out when still possible.
      
      - Changed the watchdog messages a bit.
      b0c349e2
  34. 24 May, 2001 1 commit
    • Dries's avatar
      · 540fdfc0
      Dries authored
      - Replaced $theme->story() by a more generic $theme->node().  All themes
        required an update (and so will your custom themes).
      540fdfc0