1. 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
  2. 29 Feb, 2004 1 commit
    • Dries's avatar
      · c73305f6
      Dries authored
      - Patch #6129 by Goba: fixed dependencies on search module.
      c73305f6
  3. 26 Feb, 2004 1 commit
    • Dries's avatar
      · df2c0337
      Dries authored
      - Patch 6066 by Adrian: PostgreSQL does not return 'affected rows' when doing
        a select statement.  Even though PEAR supports this functionality, it fails
        silently when using PostgreSQL.  We use the db_num_rows() function instead
        to return the amount of rows returned.  (According to Killes, the MySQL
        manual also states that it should not return affected rows on a 'select'
        statement.)
      df2c0337
  4. 15 Feb, 2004 2 commits
    • Dries's avatar
      · 4b0b2d02
      Dries authored
      - Patch by Steven: removed redundant permission checks.  These are no longer
        required thanks to the new 404 handling.
      4b0b2d02
    • Dries's avatar
      · bd784227
      Dries authored
      - Patch 5592 by Goba: let drupal_map_assoc() rule.  :-)
      
      - Renamed CHANGELOG to CHANGELOG.txt for Windows uses.
      bd784227
  5. 11 Feb, 2004 1 commit
    • Dries's avatar
      - Patch 4902 by Goba: · f137b269
      Dries authored
        + only adds an optional parameter to url() and l(), so individual links
          can be set to be absolute
        + modifies drupal_goto() to accept the parameters of url() without the
          $absolute parameter, so cleaner invocations can be used
        + rework of some code in node_feed, making it much better to look at
          (the current code uses foreach with an immediate brake to get the first
          key of the associative array, geeeeez)
        + added xml:base to the rss tag generated by node_feed()
        + set all user mail URLs to be absolute
        + fix a small fragmented URL in user.module
      f137b269
  6. 09 Feb, 2004 1 commit
  7. 08 Feb, 2004 1 commit
    • Dries's avatar
      · 991cb5c9
      Dries authored
      Patch 5554 by Goba (slightly modified):
      
        - Modifies _user_mail_text() to automatically override the default
          strings when needed and apply t() on the strings. This lets Drupal translators
          include default messages in translations, and also removes a lot of repeated code.
          Modified the internal $messageid of the approval message from
          welcome_approval_body/subject to approval_body/subject, so automatic variable
          name computation can be done. This does not affect any variable table keys, since
          the change was especially done to keep the variable names...
      
        - Adds %login_uri and %edit_uri to move away from the concatenation approach used in
          the default messages, thus making those messages visible for the .po extractor
      
        - Uses direct return in help text generation when no more action need to be taken
          on the help string (the '$output .=' approach was just plain silly looking and
          misleading, since there was no preceding or appended string in $output)
      991cb5c9
  8. 07 Feb, 2004 4 commits
    • Dries's avatar
      · 229ac8de
      Dries authored
      - Small bugfix.
      229ac8de
    • Dries's avatar
      · e28bbf67
      Dries authored
      - Batch two with profile module improvements:
         + Reworked the 'account administration' page.
         + Fixed bug in the 'edit account' page.
         + Removed some dead code from the system.module.
      e28bbf67
    • Dries's avatar
      - First batch of profile module improvements: · 5a8129e0
      Dries authored
         + Tidied up the profile configuration page: grouped form elements.
      
         + Tidied up the block configuration settings: removed hard-coded
           table.
      
         + Changed the profile API to return the preferred group name, and
           changed the user module to group settings.  Modules implementing
           the _user hook will need to be udpated.
      
         + Removed register_form and register_validate for now.
      5a8129e0
    • Dries's avatar
      c6deda88
  9. 06 Feb, 2004 1 commit
    • Dries's avatar
      · fd64c56e
      Dries authored
      - Removed the 'remember me' feature.  It has been broken for many months.
        When an elegant fix is found, it will reappear.
      fd64c56e
  10. 31 Jan, 2004 1 commit
    • Dries's avatar
      · 384ae54c
      Dries authored
      - Cleanup: modified some context-sensitive help, changed "s to 's, added
        <legend> and <fieldset> tags, used drupal_set_message() to print a
        status message and removed some dead code.
      384ae54c
  11. 26 Jan, 2004 1 commit
    • Dries's avatar
      · 66190b17
      Dries authored
      - Patch #5393 by Goba: changes the search hook return value, and requires an array
        containing two elements, the first being the requested title, and the second being
        the result list. Advantages:
          * Cleaner search code in common.inc
          * Po extraction is possible and works fine
          * No hardcoded exceptions for node and comment modules, since any module can
            return results in order of relevance (or another order)
      66190b17
  12. 24 Jan, 2004 1 commit
    • Dries's avatar
      · 8a913ffe
      Dries authored
      - Removed the 'Page not found' message after the initial install and removed
        some old user module logic to install the initial role IDs.
      8a913ffe
  13. 23 Jan, 2004 1 commit
    • Dries's avatar
      · b85eb11e
      Dries authored
      Patch 5287 by Stefan: multiline help texts should become inside a single $output.
      b85eb11e
  14. 21 Jan, 2004 1 commit
    • Dries's avatar
      · f1dfe063
      Dries authored
      - Bug 5285: fixed broken URLs in user module.  Patch by Stefan.
      f1dfe063
  15. 13 Jan, 2004 1 commit
    • Dries's avatar
      · eee72bfa
      Dries authored
      - Patch 4859: new drupal_unpack() consolidates duplicate code and makes it
        easy to show avatars next to nodes and comments.  Patch by Moshe.  As a
        showcase, maybe Xtemplate should have an option to enable/disable avatars?
      eee72bfa
  16. 11 Jan, 2004 2 commits
  17. 05 Jan, 2004 1 commit
    • Dries's avatar
      · 30fb2345
      Dries authored
      - Changed some boxes to fieldsets/lengeds.
      30fb2345
  18. 29 Dec, 2003 2 commits
    • Dries's avatar
      80f34e5a
    • Dries's avatar
      · 90a5a6cf
      Dries authored
      - Updated the user login block to validate as XHTML strict: the
        <div class="user-login-block"> is now inside the <form> instead of the
        other way around.
      
      - Simplified the user login block by removing some CSS that was no longer
        needed.  The block module already emits block-related classes and an id.
      90a5a6cf
  19. 28 Dec, 2003 1 commit
  20. 26 Dec, 2003 1 commit
    • Dries's avatar
      · 097f6209
      Dries authored
      - First take at improving the user module's code: replaced the custom error
        printing with calls to drupal_set_message().
      097f6209
  21. 24 Dec, 2003 1 commit
    • Dries's avatar
      · de19dc51
      Dries authored
      - Tiny change for sake of consistency: Blocked -> blocked, Active -> active.
      de19dc51
  22. 22 Dec, 2003 2 commits
    • Dries's avatar
      · 770174b2
      Dries authored
      - Updated documentation, small bug fix and small improvements to the <label>
        tags.
      
        To be discussed and investigated: when a form element has no title an empty
        <label> tag will be emitted (eg. "remember me" checkbox).  This doesn't make
        sense but is our best option for now.
      770174b2
    • Dries's avatar
      · 0439e349
      Dries authored
      - Fixed password field.
      0439e349
  23. 18 Dec, 2003 1 commit
    • Dries's avatar
      · e06cdc57
      Dries authored
      - Fixed bug 4667: users with the deleted role are put back in the authenticated
        users pool.
      e06cdc57
  24. 17 Dec, 2003 1 commit
    • Dries's avatar
      · d5c80264
      Dries authored
      - Updated the calls to menu() to use MENU_HIDE instead of 1
      d5c80264
  25. 13 Dec, 2003 2 commits
    • Dries's avatar
      · e728cfba
      Dries authored
      - The 'my account' link is already part of the navigation block.
      e728cfba
    • Dries's avatar
      · d33f3973
      Dries authored
      - Committed Gerhard's user hook patch.  Patch 143.
      d33f3973
  26. 08 Dec, 2003 2 commits
    • Dries's avatar
      - Improvements by Goba: · 712a30b5
      Dries authored
        + removes the lots of pagers and indirect pager themeing
        + add the theme_pager() function, which should be called as
          theme("pager", ...) to get a pager.
      712a30b5
    • Dries's avatar
      · 427364a5
      Dries authored
      - Fixed visual glitch in "Who's online" block.  Patch by Jeremy.
      427364a5
  27. 07 Dec, 2003 1 commit
    • Dries's avatar
      · 71eac6dd
      Dries authored
      - Made the who's online block adhere better to the max user setting.
      71eac6dd
  28. 06 Dec, 2003 1 commit
    • Dries's avatar
      · 02f436b6
      Dries authored
      - Improved the way the "Who's online" block is visualized when the list of
        online users is truncated by to maximum user list length setting.
      02f436b6
  29. 05 Dec, 2003 1 commit
    • Dries's avatar
      · 237124c8
      Dries authored
      - Fixed bug #4416: added status checks to user_pass() to prevent mailing
        new passwords to blocked user accounts.
      237124c8
  30. 04 Dec, 2003 2 commits
    • Dries's avatar
      · d45bf0f1
      Dries authored
      - Patch 185 by Ax: fixed undefined variables, synchronized xtemplate with sf, etc.
      d45bf0f1
    • Dries's avatar
      · a5f76cd5
      Dries authored
      - Patch 180 by Jeremy: made the "Who is online" block respect the "user list length"
        settings.
      a5f76cd5