1. 08 Jul, 2004 2 commits
    • Dries's avatar
      · 82c9fab7
      Dries authored
      - Patch #9010 by Morbus: reorganized the order of functions in the comment
        module.
      82c9fab7
    • Dries's avatar
      · 898bdeff
      Dries authored
      - Marked required fields on the node (story, book, page, blog) and comment
        forms using the $required argument of the form_ functions.
      
      - Replaced all Optional's and Required's from the taxonomy forms with proper
        use of the form_ functions.
      
      Please check your contributed modules too!
      898bdeff
  2. 07 Jul, 2004 1 commit
  3. 05 Jul, 2004 1 commit
  4. 04 Jul, 2004 1 commit
    • Dries's avatar
      · fe2b3e7c
      Dries authored
      - Patch by Steven and me: refactored the form handling of nodes. The node system is now using form_set_error() and friends like the rest of Drupal does. This makes for both a consistent user experience and consistent code. It simplifies the forms and validation code, however, it does change the node API slightly:
      
          * The _validate hook and the _nodeapi('validate') hook of the node API (1) no longer take an 'error' parameter and (2) should no longer return an error array. To set an error, call form_set_error().
      
          * The _form hook of the node module no longer takes a form hook and should not worry about displaying errors. Ditto for _nodeapi('form_post') and _nodeapi('form_pre').
      fe2b3e7c
  5. 23 Jun, 2004 1 commit
    • Dries's avatar
      · 23142e0e
      Dries authored
      - Patch #8757 by Morbus Iff: fixed redirection after comment moderation.
      23142e0e
  6. 21 Jun, 2004 1 commit
  7. 20 Jun, 2004 3 commits
  8. 19 Jun, 2004 1 commit
    • Dries's avatar
      · a42b84e5
      Dries authored
      First tab improvements by Adrian:
      
        + Changed menu.inc to generate two separate lists instead of nested lists:
          that seems to be the only alternative to get rid of absolute positioning.
      
        + Changed the tabs code to be more sexy and put the code in misc/drupal.css
          so all themes are automagically updated.
      a42b84e5
  9. 18 Jun, 2004 1 commit
    • Dries's avatar
      · 54b77d64
      Dries authored
      Tabs patch!
      
      CHANGES
      -------
      
       + Introduced tabs. First, we extended the menu system to support tabs. Next, a tab was added for every link that was (1) an administrative action other than the implicit 'view' (2) relevant to that particular page only. This is illustrated by the fact that all tabs are verbs and that clicking a page's tab leads you to a subpage of that page.
      
       + Flattened the administration menu. The tabs helped simplify the navigation menu as I could separate 'actions' from 'navigation'. In addition, I removed the 'administer > configuration'-menu, renamed 'blocks' to 'sidebars' which I hope is a bit more descriptive, and made a couple more changes. Earlier, we already renamed 'taxonomy' to 'categorization' and we move 'statistics' under 'logs'.
      
       + Grouped settings. All settings have been grouped under 'administer > settings'.
      
      TODO
      ----
      
       + Update core themes: only Xtemplate default supports tabs and even those look ugly.  Need help.
      
       + Update contributed modules.  The menu() hook changed drastically.  Updating your code adhere the new menu() function should be 90% of the work.  Moreover, ensure that your modue's admin links are still valid and that URLs to node get updated to the new scheme ('node/view/x' -> 'node/x').
      54b77d64
  10. 17 Jun, 2004 1 commit
    • Dries's avatar
      · 7d19e3dc
      Dries authored
      - Patch #8553 by Moshe: hide the 'add new comment' link when showing the
        comment form.
      7d19e3dc
  11. 04 Jun, 2004 1 commit
  12. 02 Jun, 2004 2 commits
  13. 31 May, 2004 3 commits
    • Dries's avatar
      · 7a33d9f6
      Dries authored
      - Patch #7350 by Mathias: return part a taxonomy tree to a user-defined
        depth/level.
      
      - Updated CHANGELOG.txt.
      7a33d9f6
    • Dries's avatar
      · b08aba8f
      Dries authored
      - Reworked comment submission.  It is less broken now.
      b08aba8f
    • Dries's avatar
      · 7f08110a
      Dries authored
      - Improved form handling.
      
        + Introduced two new functions:
            1. form_set_error($name, $message): files an error against the form
               element with the specified  $name.
            2. form_has_errors(): returns true if errors has been filed against
               form elements.
      
        + Updated the form handling:
             1. The form_ functions will add 'class="error"' when a form field
                has been found to be erroneous.
             2. The error message is passed to theme_form_element() when the
                particular form field has been found to be erroneous.
      
        + I updated the user and profile module to take advantage of these new
          functions.
      
        + IMPORTANT: the _user() hook changed.  The 'validate' case should no
          longer retun an error message when something goes wrong but should
          set it with form_set_error().
      7f08110a
  14. 24 May, 2004 1 commit
    • Dries's avatar
      · a7713036
      Dries authored
      - Patch 7444 (#35) by Pablo.  This patch addresses some issues with showing
        anonymous usernames in comments.  It does not solve all my problems, but
        others claim it works as advertised.  I'm committing this because it does
        fix some pending issues (even though that might not be the end of it).
      a7713036
  15. 20 May, 2004 1 commit
    • Dries's avatar
      · fdb1fbfc
      Dries authored
      - Simplified the 'anonymous poster settings' of the comment module and
        made it possible to enforce a username/e-mail address.  Based on
        James Seng's work there are now 3 radio buttons:
      
         ( ) Anonymous users may not enter contact information
         ( ) Anonymous users may leave contact information
         ( ) Anonymous users must leave contact information
      
      - Fixed a bug in the default theme_comment_view() function.
      
      - Added permalinks for comments.  Requested by Michael and Christina.
        Maintainers of contributed themes might want to add permalinks too.
      
      TODO:
      
      - Fix the interaction design of the submission form: the page you are
        directed to and the validation of the contact information.
      
      - Changing the comment viewing options appears to be broken?
      fdb1fbfc
  16. 18 May, 2004 1 commit
    • Dries's avatar
      · 10c5e95a
      Dries authored
      - Made it possible for anonymous users to leave their name, e-mail address
        and the URL of their homepage.  Patch by Pablo.
      10c5e95a
  17. 10 May, 2004 2 commits
  18. 03 May, 2004 1 commit
    • Dries's avatar
      · bfca0888
      Dries authored
      - Patch #7504 by bylund: multiple form_radio-function calls is used instead
        of a single form_radios-call. This could cause problems when trying to
        style individual form elements.
      bfca0888
  19. 01 May, 2004 2 commits
  20. 21 Apr, 2004 1 commit
    • Dries's avatar
      · 7231c88a
      Dries authored
      - Added support for 403 handling.  Patch by JonBob.  As a side benefit,
        administrators will be able to define a custom 403 page, just as they
        can define 404 pages now.
      
        This needs to be documented in the "Changes since / migrating to ..."
        pages.
      7231c88a
  21. 18 Apr, 2004 1 commit
    • Dries's avatar
      · 291b56c0
      Dries authored
      - Fixed problem with global session variable that caused the wrong page to
        be rendered after posting a comment.
      291b56c0
  22. 15 Apr, 2004 2 commits
  23. 21 Mar, 2004 1 commit
    • Dries's avatar
      - More profile module improvements: · 754f2ac2
      Dries authored
        + Updated the _user() hook's "$type == 'view'" case to match the
           "$type == 'edit'" case.  That is, both have to return an associtive
           array of the format array('category' => 'fields').
      
         + Updated the profile pages to group fields by category.  Made possible
           thanks to the above change.
      
         + Moved logic out of the theme_ functions.
      754f2ac2
  24. 20 Mar, 2004 4 commits
  25. 12 Mar, 2004 1 commit
  26. 11 Mar, 2004 1 commit
    • Dries's avatar
      · 2101f6c4
      Dries authored
      - Rewrote the profile module:
      
         + Added a 'created' field to the users table and renamed the 'timestamp'
           fied to 'changed' (cfr. node table).  Update.php will try to determine
           a 'created' timestamp for existing users.
      
         + The profile module no longer uses serialized data but has its own set
           of tables.  Known existing profile data is migrated by these new tables.
             TODO: migrate the birthday field.
      
         + The profile fields can be grouped, and within each group, profile fields
           can be sorted using weights.
      
         + The profile pages can be themed.
      
         + The profiles can be browsed based on certain properties/settings.
      
         + Change the _user hook: (i) 'private_view' and 'public_view' are merged
           into 'view' as there are no private fields and (ii) 'edit_form' has
           been renamed to 'edit'.
      
         + Avatar handling has been refactored and is now part of the user module.
           The users table has a dedicted 'picture' field.
      
         + Simplified the way themes should use display/visualize pictures or
           avatars.
      
         + Made it possible for administrators to replace or delete avatars.
      
         + ...
      
        I hope this make for a good base to build on collectively.
      2101f6c4
  27. 01 Mar, 2004 1 commit
    • Dries's avatar
      · 0f980c24
      Dries authored
      - Removed broken throttle.
      0f980c24
  28. 29 Feb, 2004 1 commit
    • Dries's avatar
      · c73305f6
      Dries authored
      - Patch #6129 by Goba: fixed dependencies on search module.
      c73305f6