1. 27 Jun, 2004 6 commits
    • Steven Wittens's avatar
    • Dries's avatar
      - Removed left-over instance of _user_profile(). · 7ebcac26
      Dries authored
      7ebcac26
    • 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.
      1b1c4702
    • Steven Wittens's avatar
      - Tweak for sticky patch: ANSI SQL does not allow ordering on a column which... · 83851509
      Steven Wittens authored
      - Tweak for sticky patch: ANSI SQL does not allow ordering on a column which is not part of the selected fields.
      83851509
    • Dries's avatar
      - More updates · 47e3055f
      Dries authored
      47e3055f
    • Dries's avatar
      · 0a352809
      Dries authored
      - Patch #8603 by TDobes: added support for sticky forum topics to the blog
        and forum module.
      0a352809
  2. 24 Jun, 2004 3 commits
    • Dries's avatar
      · d4e7affb
      Dries authored
      - Bugfix: made it possible for administrators to edit the values of custom
        profile fields of users.
      d4e7affb
    • Dries's avatar
      · ea676b3a
      Dries authored
      - Patch #8785 by Morbus Iff (modified): with the acceptance of "anonymous-but-named" comments, anonymous users can leave behind their names as opposed to the 'anonymous' setting. These names are shown as "$name (not verified)" on regular nodes. This change provides the same display for forums (assuming anonymous commenting on forums is allowed).
      ea676b3a
    • 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).
      3468310a
  3. 23 Jun, 2004 3 commits
    • Dries's avatar
      - Taxonomy fix by Matt. · 9f4a3358
      Dries authored
      9f4a3358
    • Dries's avatar
      · 23142e0e
      Dries authored
      - Patch #8757 by Morbus Iff: fixed redirection after comment moderation.
      23142e0e
    • Dries's avatar
      · ae6aa4e5
      Dries authored
      - Patch #8758 by Morbus Iff: allow users to modify their profile under
        the new tabs system.
      ae6aa4e5
  4. 22 Jun, 2004 6 commits
    • Dries's avatar
      · fa2be0b8
      Dries authored
      - Fixed administration pages being broken due to tabs changes, improved form
        handling and form descriptions and fixed an incorrect title.
      fa2be0b8
    • Dries's avatar
      · e288b4dd
      Dries authored
      - Patch #8747 by JonBob: extended and standardized node.module Doxygen
        comments, and made formatting and quote usage more consistent.
      e288b4dd
    • Dries's avatar
      · 0ee30cbc
      Dries authored
      - Fixed broken URLs in the user module (access rules) due the the recent
        tabs patch.
      0ee30cbc
    • Dries's avatar
      · 81bebc01
      Dries authored
      - Patch #8500 by jseng (modified/simplified): improved usability of editing
        URL aliases.
      81bebc01
    • Dries's avatar
      f6b7f755
    • Dries's avatar
      0be1e6cf
  5. 21 Jun, 2004 5 commits
  6. 20 Jun, 2004 8 commits
  7. 19 Jun, 2004 8 commits
    • Dries's avatar
      1b46d7fc
    • Dries's avatar
      Changed 'static' back to 'sticky' ... ;-) · d2ff1ca5
      Dries authored
      d2ff1ca5
    • Dries's avatar
      · cbc230a3
      Dries authored
      - Patch #7696 by TDobes: renamed 'static' to 'sticky' which is a more
        logical name.  Requires a database upgrade.
      cbc230a3
    • Dries's avatar
    • Dries's avatar
      - Added a note about the tabs. · 151acbb3
      Dries authored
      151acbb3
    • Dries's avatar
      71c99bb2
    • Dries's avatar
      · c3a6f3dc
      Dries authored
      - Patch #8632 by Mohse: made the taxonomy select menus more flexible.
        Specifically, it lets you edit more than one node's taxonomy within
        the same form.
      
        This patch also removes the behavior where taxonomy remembers your
        last choice for a given vocab and automatically selects it for you.
        That is poor behavior.  If someone changes a date or author in a
        node, he is likely to inadvertently add taxo terms using with this
        'feature'.
      c3a6f3dc
    • 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
  8. 18 Jun, 2004 1 commit