1. 21 Aug, 2004 1 commit
    • Dries's avatar
      · 94e30bf7
      Dries authored
      - Patch by JonBob: for consistency and readability, add brief descriptions of each source file inside the @file comment block at the head of the file. This helps with Doxygen indexing, and also allows neophytes to see what a file does immediately on opening the source, regardless of the organization of the hooks.
      94e30bf7
  2. 20 Aug, 2004 2 commits
    • Steven Wittens's avatar
      Avatar/picture fixes: · 9cb5f7cd
      Steven Wittens authored
      - Changing theme('image') so the automatic image size fetching can be toggled independently from attributes. Specifying attributes and autosizing are 2 different things.
      - Suppressing PHP errors from getimagesize() using @. drupal_set_message() is used to report these errors already and in a much prettier way.
      - #9958: Fixing broken displaying of avatars.
      - Don't show the default avatar in 'edit my account' if the user has no avatar of his/her own.
      - Added ability to delete avatars (without having to replace them).
      9cb5f7cd
    • Steven Wittens's avatar
      2436854a
  3. 19 Aug, 2004 1 commit
    • Dries's avatar
      · fa25c7a0
      Dries authored
      - Code improvements by Stefan: use capital letters for header titles (and added some missing t() functions).
      fa25c7a0
  4. 18 Aug, 2004 1 commit
    • Dries's avatar
      · 83a739bd
      Dries authored
      - Code improvements by Stefan: made all status messages consistent (and easier to translate).
      83a739bd
  5. 17 Aug, 2004 1 commit
    • Dries's avatar
      · 78b052a6
      Dries authored
      - The upload (filehandler) module has landed!
      78b052a6
  6. 16 Aug, 2004 1 commit
    • Dries's avatar
      · 2f33b939
      Dries authored
      - Patch #9983 by Stefan: usability improvement: made sure all status messages start with a capital letter.
      2f33b939
  7. 15 Aug, 2004 1 commit
    • Dries's avatar
      · ba70b534
      Dries authored
      - Removed the offline users feature.
      ba70b534
  8. 14 Aug, 2004 2 commits
    • Dries's avatar
      - Patch by James: made the blogapi work with DA. · 334f24b4
      Dries authored
         * Refactored the "brains" of user_login() to user_authenticate($user, $pass) so that blogapi (and others) can authenticate users (including those using DistAuth) without all the html and drupal_goto calls
         * Updates blogapi_validate_user to use user_authenticate.
      334f24b4
    • Dries's avatar
      - Patch #9975 by TDobes: fixes two consistency problems with watchdog entries: · 84c8ba50
      Dries authored
         * Adds missing quotes around the username in "session closed" watchdog messages from user.module (session opened has quotes, but session closed does not).
         * Changed "view detals" after watchdog entries to "details".
      84c8ba50
  9. 12 Aug, 2004 2 commits
    • Dries's avatar
      - Patch #9974 by njivi: report the number of offline users. · 5a566c55
      Dries authored
        I had some trouble adding this feature but realized that the "who's online" block is a geek think, and therefore it won't hurt to add some more geekiness.  If you don't know what "offline users" means, you would not have understood "online users" in the first place.  Either way, I think most people who have the block enabled, will find this an interesting addition.
      5a566c55
    • Dries's avatar
      · 0f088b79
      Dries authored
      - Patch #9983 by Stefan: various code style improvements.
      0f088b79
  10. 08 Aug, 2004 1 commit
  11. 07 Aug, 2004 1 commit
  12. 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.
      9bbdb71e
  13. 05 Aug, 2004 2 commits
    • Dries's avatar
      · 35cad55e
      Dries authored
      - Patch #8523 by killes: avoid profile data being deleted when requesting a new
        password.
      35cad55e
    • 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".
      c6b1eaa2
  14. 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.
      b87b2abe
    • Dries's avatar
      · c71bfded
      Dries authored
      - Patch #9657: more intelligent theme() function.  Hopefully, Adrian will be
        able to use this patch too.
      c71bfded
  15. 31 Jul, 2004 1 commit
    • Dries's avatar
      · 202eee42
      Dries authored
      - Patch #9543 by JonBob: added node-level access control!
      202eee42
  16. 28 Jul, 2004 1 commit
    • Dries's avatar
      · bd4f4ebb
      Dries authored
      - Patch #9547 by Eric: fixed avatar/picture upload bug.
      bd4f4ebb
  17. 15 Jul, 2004 1 commit
    • Dries's avatar
      · 8aa052dc
      Dries authored
      - Patch #9177 by James: fixed distributed authentication.
      8aa052dc
  18. 14 Jul, 2004 1 commit
  19. 10 Jul, 2004 1 commit
    • Dries's avatar
      · ac5b5616
      Dries authored
      - More tab-improvements by JonBob: improved support for the default tabs!
      ac5b5616
  20. 08 Jul, 2004 2 commits
  21. 07 Jul, 2004 1 commit
  22. 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.
      9d35fe7a
  23. 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
  24. 03 Jul, 2004 1 commit
  25. 02 Jul, 2004 1 commit
  26. 30 Jun, 2004 2 commits
  27. 28 Jun, 2004 3 commits
  28. 27 Jun, 2004 2 commits
    • 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
  29. 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.
      d4e7affb
    • 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