Skip to content
  1. May 03, 2005
  2. Mar 31, 2005
  3. Mar 03, 2005
  4. Jan 09, 2005
    • Dries Buytaert's avatar
      - Patch #13260 by UnConeD: watchdog module improvements. · 64b100d1
      Dries Buytaert authored
        We added a 'severity' column to watchdog():
          watchdog($type, $message, $link) --> watchdog($type, $message, $severity, $link);
      
          * Specify a severity in case you are reporting a warning or error.
          * The $link-parameter is now the fourth parameter instead of the third.
      
        TODO: document this in the upgrade guide.
      64b100d1
  5. Nov 27, 2004
    • Dries Buytaert's avatar
      · b8a556b8
      Dries Buytaert authored
      - Bug 13503: updating the locale settings might impact the interface (eg. menu's) so we have to flush the cache.
      b8a556b8
  6. Nov 21, 2004
    • Dries Buytaert's avatar
      · fa978390
      Dries Buytaert authored
      - Patch 13180 by chx: renamed check_query() to db_escape_string() and implemtented it properly per database backend.
      
        Read the manual for pg_escape_string:  "Use of this function is recommended instead of addslashes()." Or read sqlite_escape_string: "addslashes() should NOT be used to quote your strings for SQLite queries; it will lead to strange results when retrieving your data."
      fa978390
  7. Oct 26, 2004
  8. Oct 19, 2004
  9. Oct 14, 2004
  10. Oct 08, 2004
    • Dries Buytaert's avatar
      · 673f3503
      Dries Buytaert authored
      - Patch #11179 by stefan: fixed broken URL in context sensitive help.
      673f3503
  11. Sep 16, 2004
    • Dries Buytaert's avatar
      · 5c7983c4
      Dries Buytaert authored
      - Patch #8179 by JonBob: reintroduced menu caching.
      5c7983c4
  12. Sep 08, 2004
    • Dries Buytaert's avatar
      · 694b577b
      Dries Buytaert authored
      - Moved some documentation around and fixed a missing translation.
      694b577b
  13. Aug 21, 2004
    • Steven Wittens's avatar
      Locale: · 05714da2
      Steven Wittens authored
      - Fixing broken .po import (due to file.inc changes).
      - Do not show error notice on import page when no languages have been added (no longer necessary due to ability to add-and-import in one step).
      - Added a notice about importing possibly taking a while.
      - Raised the PHP execution time limit for importing (if not in safe mode, similar to cron.php).
      05714da2
    • Dries Buytaert's avatar
      · 94e30bf7
      Dries Buytaert 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
  14. Aug 18, 2004
    • Dries Buytaert's avatar
      · 83a739bd
      Dries Buytaert authored
      - Code improvements by Stefan: made all status messages consistent (and easier to translate).
      83a739bd
  15. Aug 16, 2004
  16. Aug 12, 2004
    • Dries Buytaert's avatar
      · 0f088b79
      Dries Buytaert authored
      - Patch #9983 by Stefan: various code style improvements.
      0f088b79
  17. Aug 11, 2004
    • Dries Buytaert's avatar
      · 1831e1b6
      Dries Buytaert authored
      - New locale module thanks to Gerhard, Goba, Marco, Kristjan and others.
      
        The new locale module provides every functionality on the web interface, so you don't need to edit the configuration files or add columns, when you add a new language. This module is an integration of the old locale and localegettext modules, plus a bunch of logic to parse Gettext Portable Object files (opposed to Machine Object files, as supported by localegettext).
      
        Note: I made some minor changes to the context-sensitive help texts and to some of the status messages.
      1831e1b6
  18. Jul 25, 2004
  19. Jun 27, 2004
    • Dries Buytaert's avatar
      I refactored quite a bit of the user.module: · 1b1c4702
      Dries Buytaert 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
  20. Jun 18, 2004
    • Dries Buytaert's avatar
      · 54b77d64
      Dries Buytaert 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
  21. Apr 29, 2004
  22. Apr 21, 2004
    • Dries Buytaert's avatar
      · 7231c88a
      Dries Buytaert 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
  23. Apr 15, 2004
    • Dries Buytaert's avatar
      - Patch by JonBob/Jonathan: reworked the menu system so that menus are · 10bdb51c
      Dries Buytaert 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
  24. Mar 11, 2004
    • Dries Buytaert's avatar
      · 2101f6c4
      Dries Buytaert 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
  25. Feb 15, 2004
    • Dries Buytaert's avatar
      · 4b0b2d02
      Dries Buytaert authored
      - Patch by Steven: removed redundant permission checks.  These are no longer
        required thanks to the new 404 handling.
      4b0b2d02
  26. Feb 08, 2004
    • Dries Buytaert's avatar
      · bc8057df
      Dries Buytaert 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
  27. Feb 07, 2004
    • Dries Buytaert's avatar
      - First batch of profile module improvements: · 5a8129e0
      Dries Buytaert 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
  28. Feb 01, 2004
    • Dries Buytaert's avatar
      · dc938c53
      Dries Buytaert authored
      - Patch #5567 by Goba: fixed t() functions, cleanup of locale module's help,
        fixed translation issues in taxonomy module, etc.
      dc938c53
  29. Jan 26, 2004
    • Dries Buytaert's avatar
      · 10e8da69
      Dries Buytaert authored
      - Patch 5246 by Stefan: usability improvements for the locale module.
      10e8da69
  30. Jan 11, 2004
  31. Dec 28, 2003
    • Dries Buytaert's avatar
      · 7e67d991
      Dries Buytaert authored
      - Locale module improvements: better performance, reduce memory footprint.
        Patch by Bart.
      7e67d991
  32. Dec 17, 2003
    • Dries Buytaert's avatar
      · d5c80264
      Dries Buytaert authored
      - Updated the calls to menu() to use MENU_HIDE instead of 1
      d5c80264
  33. Dec 08, 2003
    • Dries Buytaert's avatar
      - Improvements by Goba: · 712a30b5
      Dries Buytaert 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
  34. Dec 01, 2003
    • Dries Buytaert's avatar
      · 4e2c0b25
      Dries Buytaert 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
  35. Nov 25, 2003
    • Dries Buytaert's avatar
      · c0494c0a
      Dries Buytaert authored
      - Committed phase 4 of JonBob's menu system changes.
      c0494c0a
  36. Nov 20, 2003
    • Dries Buytaert's avatar
      · 4bdac433
      Dries Buytaert 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
  37. Nov 13, 2003
    • Dries Buytaert's avatar
      · 36bb5755
      Dries Buytaert authored
      - table(...) -> theme("table", ...)
      36bb5755
  38. Nov 07, 2003
    • Dries Buytaert's avatar
      · ef0fa006
      Dries Buytaert authored
      - Usability improvement: replaced many selection boxes by radio buttons.
        Patch by Stefan.
      ef0fa006
  39. Nov 05, 2003
    • Dries Buytaert's avatar
      · 6735be09
      Dries Buytaert authored
      - Bugfix: PostgreSQL problem with locale module.   Fixed bug #3900.  Patch #139
        by Gerhard.
      
      - Forum module improvements.  Patch #138 by Ax.
      6735be09