1. 06 Aug, 2004 1 commit
    • Dries's avatar
      · 9bbdb71e
      Dries authored
      - Patch #9330: ucfirst() gives problem when used with multibyte charset.
        Replaced the use of ucfirst() with a CSS-based solution.
  2. 05 Aug, 2004 2 commits
    • Dries's avatar
      · 35cad55e
      Dries authored
      - Patch #8523 by killes: avoid profile data being deleted when requesting a new
    • Dries's avatar
      · c6b1eaa2
      Dries authored
      - Patch #9775 by TDobes: consistency operation.  Changed to "edit foo," "delete foo," and "view foo" links into simply "edit," "delete," and "view".
  3. 04 Aug, 2004 2 commits
    • Dries's avatar
      · b87b2abe
      Dries authored
      - Patch #9768 by killes: admin/user/edit/$uid is no more, removed some left-overs.
    • Dries's avatar
      · c71bfded
      Dries authored
      - Patch #9657: more intelligent theme() function.  Hopefully, Adrian will be
        able to use this patch too.
  4. 31 Jul, 2004 1 commit
    • Dries's avatar
      · 202eee42
      Dries authored
      - Patch #9543 by JonBob: added node-level access control!
  5. 28 Jul, 2004 1 commit
    • Dries's avatar
      · bd4f4ebb
      Dries authored
      - Patch #9547 by Eric: fixed avatar/picture upload bug.
  6. 15 Jul, 2004 1 commit
    • Dries's avatar
      · 8aa052dc
      Dries authored
      - Patch #9177 by James: fixed distributed authentication.
  7. 14 Jul, 2004 1 commit
  8. 10 Jul, 2004 1 commit
    • Dries's avatar
      · ac5b5616
      Dries authored
      - More tab-improvements by JonBob: improved support for the default tabs!
  9. 08 Jul, 2004 2 commits
  10. 07 Jul, 2004 1 commit
  11. 06 Jul, 2004 1 commit
    • Dries's avatar
      · 9d35fe7a
      Dries authored
      - Patch #4166 by daBrado: don't show the profile fields when the user does
        not have the 'access users' permission set.
  12. 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').
  13. 03 Jul, 2004 1 commit
  14. 02 Jul, 2004 1 commit
  15. 30 Jun, 2004 2 commits
  16. 28 Jun, 2004 3 commits
  17. 27 Jun, 2004 2 commits
    • Dries's avatar
      - Removed left-over instance of _user_profile(). · 7ebcac26
      Dries authored
    • Dries's avatar
      I refactored quite a bit of the user.module: · 1b1c4702
      Dries authored
      $ diffstat user.patch
      database/database.mysql |    4
      database/database.pgsql |    2
      database/updates.inc    |   10 -
      modules/block.module    |   20 +-
      modules/locale.module   |    9
      modules/profile.module  |  108 +++++++----
      modules/system.module   |    8
      modules/user.module     |  456 +++++++++++++++++++-----------------------------
      8 files changed, 289 insertions(+), 328 deletions(-)
      More functionality, less code.  Here is a list of the changes:
      - Some user API changes:
         + When $type is 'form', you have to return an associative array of groups.  In turn, each group is an array with a 'title', 'data' and 'weight'.
         + A new $type has been added, namely 'categories'.  User settings can be organized in categories.  Categories can be sorted, as can the groups within a category.  (Ordering 'categories' is somewhat broken due to a bug in the menu system.)
      - The 'my account > edit' page will use subtabs for each 'category'.  Read: you can break down the account settings into multiple subpages.
      - Profile module improvements:
         + Added support for private fields to the profile module!
         + Improved workflow of profile administration pages.
         + Improved the form descriptions.
      - Code improvements:
         + Unified user_edit() and user_admin_edit().
         + Unified and cleaned up the validation code.  Fixed some validation glitches too.
  18. 24 Jun, 2004 2 commits
    • Dries's avatar
      · d4e7affb
      Dries authored
      - Bugfix: made it possible for administrators to edit the values of custom
        profile fields of users.
    • Dries's avatar
      · 3468310a
      Dries authored
      - Patch #8778 by Morbus Iff: with the tabs patch, user/login, user/register, and user/password now show all three forms, as opposed to just the requested relevance. The attached patch implements a quick workaround: three new callbacks, and a cheapy modification of user_page where I use a ternary to test whether arg(2) exists (as it would in the case of user/nnn/edit). If it does, we set that to $op, and if it doesn't (in the case of user/login, etc.), we set arg(1).
  19. 23 Jun, 2004 1 commit
    • Dries's avatar
      · ae6aa4e5
      Dries authored
      - Patch #8758 by Morbus Iff: allow users to modify their profile under
        the new tabs system.
  20. 22 Jun, 2004 1 commit
    • Dries's avatar
      · 0ee30cbc
      Dries authored
      - Fixed broken URLs in the user module (access rules) due the the recent
        tabs patch.
  21. 21 Jun, 2004 1 commit
  22. 20 Jun, 2004 2 commits
  23. 18 Jun, 2004 1 commit
    • Dries's avatar
      · 54b77d64
      Dries authored
      Tabs patch!
       + 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'.
       + 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').
  24. 14 Jun, 2004 1 commit
  25. 01 Jun, 2004 1 commit
  26. 31 May, 2004 2 commits
    • Kjartan's avatar
    • 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
        + 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().
  27. 24 May, 2004 2 commits
  28. 21 May, 2004 1 commit
  29. 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.
      - 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?