1. 25 Jul, 2004 1 commit
  2. 27 Jun, 2004 1 commit
    • 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
  3. 18 Jun, 2004 1 commit
    • Dries's avatar
      · 54b77d64
      Dries authored
      Tabs patch!
      
      CHANGES
      -------
      
       + Introduced tabs. First, we extended the menu system to support tabs. Next, a tab was added for every link that was (1) an administrative action other than the implicit 'view' (2) relevant to that particular page only. This is illustrated by the fact that all tabs are verbs and that clicking a page's tab leads you to a subpage of that page.
      
       + Flattened the administration menu. The tabs helped simplify the navigation menu as I could separate 'actions' from 'navigation'. In addition, I removed the 'administer > configuration'-menu, renamed 'blocks' to 'sidebars' which I hope is a bit more descriptive, and made a couple more changes. Earlier, we already renamed 'taxonomy' to 'categorization' and we move 'statistics' under 'logs'.
      
       + Grouped settings. All settings have been grouped under 'administer > settings'.
      
      TODO
      ----
      
       + Update core themes: only Xtemplate default supports tabs and even those look ugly.  Need help.
      
       + Update contributed modules.  The menu() hook changed drastically.  Updating your code adhere the new menu() function should be 90% of the work.  Moreover, ensure that your modue's admin links are still valid and that URLs to node get updated to the new scheme ('node/view/x' -> 'node/x').
      54b77d64
  4. 29 Apr, 2004 1 commit
  5. 21 Apr, 2004 1 commit
    • Dries's avatar
      · 7231c88a
      Dries authored
      - Added support for 403 handling.  Patch by JonBob.  As a side benefit,
        administrators will be able to define a custom 403 page, just as they
        can define 404 pages now.
      
        This needs to be documented in the "Changes since / migrating to ..."
        pages.
      7231c88a
  6. 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.
      10bdb51c
  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
           avatars.
      
         + Made it possible for administrators to replace or delete avatars.
      
         + ...
      
        I hope this make for a good base to build on collectively.
      2101f6c4
  8. 15 Feb, 2004 1 commit
    • 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
  9. 08 Feb, 2004 1 commit
    • Dries's avatar
      · bc8057df
      Dries authored
      - Patch #5613 by Goba: fixed translation issue with archive module and removed
        some locale module code that is now part of extractor.php.
      bc8057df
  10. 07 Feb, 2004 1 commit
    • 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
  11. 01 Feb, 2004 1 commit
    • Dries's avatar
      · dc938c53
      Dries authored
      - Patch #5567 by Goba: fixed t() functions, cleanup of locale module's help,
        fixed translation issues in taxonomy module, etc.
      dc938c53
  12. 26 Jan, 2004 1 commit
    • Dries's avatar
      · 10e8da69
      Dries authored
      - Patch 5246 by Stefan: usability improvements for the locale module.
      10e8da69
  13. 11 Jan, 2004 1 commit
  14. 28 Dec, 2003 1 commit
    • Dries's avatar
      · 7e67d991
      Dries authored
      - Locale module improvements: better performance, reduce memory footprint.
        Patch by Bart.
      7e67d991
  15. 17 Dec, 2003 1 commit
    • Dries's avatar
      · d5c80264
      Dries authored
      - Updated the calls to menu() to use MENU_HIDE instead of 1
      d5c80264
  16. 08 Dec, 2003 1 commit
    • 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
  17. 01 Dec, 2003 1 commit
    • Dries's avatar
      · 4e2c0b25
      Dries authored
      - Introduced a drupal_set_message() and drupal_get_message() function.
      
        Contributed themes and modules need to be updated:
         - modules: status() is no more; use drupal_set_message() instead.
         - themes: use drupal_get_message() to check for status messages and
           visualize them.
      4e2c0b25
  18. 25 Nov, 2003 1 commit
    • Dries's avatar
      · c0494c0a
      Dries authored
      - Committed phase 4 of JonBob's menu system changes.
      c0494c0a
  19. 20 Nov, 2003 1 commit
    • Dries's avatar
      · 4bdac433
      Dries authored
      - Patch by JonBob:
      
        Phase 2 of the menu system integration project. This unifies the interface
        used by admin and non-admin pages, and deprecates the _page hook in favor of
        explicit callbacks from menu(). Breadcrumbs, titles, and help text go away
        as a result of this patch; they will return in the phase 3 patch, printed
        by the theme.
      4bdac433
  20. 13 Nov, 2003 1 commit
    • Dries's avatar
      · 36bb5755
      Dries authored
      - table(...) -> theme("table", ...)
      36bb5755
  21. 07 Nov, 2003 1 commit
    • Dries's avatar
      · ef0fa006
      Dries authored
      - Usability improvement: replaced many selection boxes by radio buttons.
        Patch by Stefan.
      ef0fa006
  22. 05 Nov, 2003 1 commit
    • Dries's avatar
      · 6735be09
      Dries authored
      - Bugfix: PostgreSQL problem with locale module.   Fixed bug #3900.  Patch #139
        by Gerhard.
      
      - Forum module improvements.  Patch #138 by Ax.
      6735be09
  23. 09 Oct, 2003 2 commits
    • Dries's avatar
      · b11d99fe
      Dries authored
      - Fixed bug #3564: missing check in locale module.
      b11d99fe
    • Dries's avatar
      · 1a5fcacd
      Dries authored
      - Committed part 3 of Michael's help system improvements: removed the $help
        parameter from the menu() function.
      1a5fcacd
  24. 07 Oct, 2003 1 commit
    • Dries's avatar
      · 22c889e7
      Dries authored
      - Help system improvements: eliminated the _system hook.  Patch by Michael.
      
      - Bloggerapi module fixes.  Patch by Kjartan.
      
      - Coding style fixes.  Patch by Michael.
      22c889e7
  25. 05 Oct, 2003 1 commit
    • Dries's avatar
      · 87fe2d42
      Dries authored
      - Bugfix: fixed print problem.  Patch by Gabor.
      87fe2d42
  26. 03 Oct, 2003 2 commits
    • Dries's avatar
      · 6b2038d7
      Dries authored
      - Removed a debug statement from the locale module.  Thanks Gobar.
      6b2038d7
    • Dries's avatar
      · 058971c3
      Dries authored
      - Help improvements and translation improvements from Michael.  Thanks!
      058971c3
  27. 30 Sep, 2003 1 commit
    • Dries's avatar
      · 392304da
      Dries authored
      - Moved the locale settings from the user module to the locale module.
        Patch by Stefan.
      
      - Moved the theme settings from the user module to the system module and
        made the code more intelligent.  Patch by Stefan.
      392304da
  28. 28 Sep, 2003 1 commit
    • Dries's avatar
      · c8b28009
      Dries authored
      - Made sure all menu items can be translated.  Path by Goba.
      c8b28009
  29. 26 Sep, 2003 1 commit
    • Dries's avatar
      · f104d3cc
      Dries authored
      - Committed the admin menu integration patch.  Thanks Adrian, Stefan and others.
      f104d3cc
  30. 23 Sep, 2003 1 commit
    • Kjartan's avatar
      - Fixed bloggerapi not saving the uid for new nodes. · 8f7063b2
      Kjartan authored
      - Cleaned up coding style and unnecessary code in bloggerapi.module.
      
      - Removed moderation notice from queue module, it prints even when users
        are not posting from the web.
      
      - Fixed bug #2895: locale: pager doesn't work in search
      8f7063b2
  31. 19 Sep, 2003 1 commit
    • Dries's avatar
      · 2fbc7fcf
      Dries authored
      - Committed a partial administration page integration patch.
      2fbc7fcf
  32. 03 Sep, 2003 1 commit
  33. 30 Aug, 2003 1 commit
    • Dries's avatar
      · e330d7c6
      Dries authored
      - Fixed bug #2690.  Patch by Bruno.
      e330d7c6
  34. 21 Aug, 2003 1 commit
    • Dries's avatar
      · 022db9a2
      Dries authored
      - Updated the locale module to the new help system.  Patch from Michael.
      022db9a2
  35. 10 Jul, 2003 1 commit
    • Dries's avatar
      · 337b3c9d
      Dries authored
      - Committed a slightly modified version of Slavica's table prefix patch.
      337b3c9d
  36. 09 Jul, 2003 1 commit
  37. 17 Jun, 2003 1 commit
    • Dries's avatar
      · cc837807
      Dries authored
      - Bugfix: made searching locale strings work.  Patch by Al.  Fixes bug #1986.
      cc837807
  38. 15 Jun, 2003 1 commit
    • Dries's avatar
      · 10e1c075
      Dries authored
      - Bugfix: locale module fix for bug # 1822 (translated/untranslated and search
        issues).  Patch #12 by Al.
      10e1c075