1. 01 Jun, 2004 1 commit
  2. 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().
  3. 24 May, 2004 2 commits
  4. 21 May, 2004 1 commit
  5. 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?
  6. 19 May, 2004 1 commit
  7. 15 May, 2004 1 commit
    • Dries's avatar
      · fed7e664
      Dries authored
      - Patch #6682 by jhriggs: added form_checkboxes(), much like form_radios()
        and updated some modules to take advantage of it.
  8. 11 May, 2004 1 commit
  9. 10 May, 2004 1 commit
    • Dries's avatar
      · 1ad9afb8
      Dries authored
      - Added support for multiple user roles.  Patch by Jim Hriggs.
  10. 01 May, 2004 1 commit
  11. 29 Apr, 2004 2 commits
  12. 22 Apr, 2004 1 commit
  13. 21 Apr, 2004 3 commits
  14. 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.
  15. 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.
  16. 24 Mar, 2004 1 commit
  17. 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.
  18. 15 Mar, 2004 1 commit
  19. 12 Mar, 2004 1 commit
  20. 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.
  21. 29 Feb, 2004 1 commit
    • Dries's avatar
      · c73305f6
      Dries authored
      - Patch #6129 by Goba: fixed dependencies on search module.
  22. 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'
  23. 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.
  24. 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
  25. 09 Feb, 2004 1 commit
  26. 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)
  27. 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
  28. 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.
  29. 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.