1. 15 Apr, 2004 1 commit
    • Dries's avatar
      - Patch by JonBob/Jonathan: reworked the menu system so that menus are · 10bdb51c
      Dries authored
        configurable!  Menu items can be disabled, repositioned, added and
        so on.
        Upgrading to requires you to run update.php.
        This functionality depricates some of the 'navigation modules' in the
        contributions repository.  Furthermore, modules can now 'suggest'
        menu items and site adminstrators can choose to enable them.  Modules
        in the contributions repository should try to take advantage of this.
  2. 27 Mar, 2004 2 commits
    • Dries's avatar
      · 5f17ad3c
      Dries authored
      - Profile module improvement:
         * Made it possible to set certain fields as 'required'.
        To do:
         * Mark them as required visually.
         * Add required fields to the subscription page.
    • Dries's avatar
      · 0b876c44
      Dries authored
      - Patch #6425 by TDobes: made avatars work with private download method.  Added
        user_file_download() function to communicate with the file system layer.
  3. 24 Mar, 2004 1 commit
  4. 21 Mar, 2004 2 commits
    • Dries's avatar
      - Fixed braino · 2043b336
      Dries authored
    • 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.
  5. 15 Mar, 2004 1 commit
  6. 12 Mar, 2004 1 commit
  7. 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
         + Made it possible for administrators to replace or delete avatars.
         + ...
        I hope this make for a good base to build on collectively.
  8. 29 Feb, 2004 1 commit
    • Dries's avatar
      · c73305f6
      Dries authored
      - Patch #6129 by Goba: fixed dependencies on search module.
  9. 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'
  10. 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.
    • Dries's avatar
      · bd784227
      Dries authored
      - Patch 5592 by Goba: let drupal_map_assoc() rule.  :-)
      - Renamed CHANGELOG to CHANGELOG.txt for Windows uses.
  11. 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
  12. 09 Feb, 2004 1 commit
  13. 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)
  14. 07 Feb, 2004 4 commits
    • Dries's avatar
      · 229ac8de
      Dries authored
      - Small bugfix.
    • 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.
    • 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
         + 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.
    • Dries's avatar
  15. 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.
  16. 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.
  17. 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)
  18. 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.
  19. 23 Jan, 2004 1 commit
    • Dries's avatar
      · b85eb11e
      Dries authored
      Patch 5287 by Stefan: multiline help texts should become inside a single $output.
  20. 21 Jan, 2004 1 commit
    • Dries's avatar
      · f1dfe063
      Dries authored
      - Bug 5285: fixed broken URLs in user module.  Patch by Stefan.
  21. 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?
  22. 11 Jan, 2004 2 commits
  23. 05 Jan, 2004 1 commit
    • Dries's avatar
      · 30fb2345
      Dries authored
      - Changed some boxes to fieldsets/lengeds.
  24. 29 Dec, 2003 2 commits
    • Dries's avatar
    • 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.
  25. 28 Dec, 2003 1 commit
  26. 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().
  27. 24 Dec, 2003 1 commit
    • Dries's avatar
      · de19dc51
      Dries authored
      - Tiny change for sake of consistency: Blocked -> blocked, Active -> active.
  28. 22 Dec, 2003 2 commits
    • Dries's avatar
      · 770174b2
      Dries authored
      - Updated documentation, small bug fix and small improvements to the <label>
        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.
    • Dries's avatar
      · 0439e349
      Dries authored
      - Fixed password field.
  29. 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.
  30. 17 Dec, 2003 1 commit
    • Dries's avatar
      · d5c80264
      Dries authored
      - Updated the calls to menu() to use MENU_HIDE instead of 1
  31. 13 Dec, 2003 1 commit
    • Dries's avatar
      · e728cfba
      Dries authored
      - The 'my account' link is already part of the navigation block.