summaryrefslogtreecommitdiff
path: root/modules/locale.module
Commit message (Collapse)AuthorAge
* - Patch #9481 by JonBob: fixed small typo in help text.Dries Buytaert2004-07-25
|
* I refactored quite a bit of the user.module:Dries Buytaert2004-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 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.
* Tabs patch!Dries Buytaert2004-06-18
| | | | | | | | | | | | | | | | | | 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').
* - Fixed sitewide timezone settings not being saved.Kjartan Mannes2004-04-29
| | | | - Making sure profile fields are saved properly.
* - Added support for 403 handling. Patch by JonBob. As a side benefit,Dries Buytaert2004-04-21
| | | | | | | | 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.
* - Patch by JonBob/Jonathan: reworked the menu system so that menus areDries Buytaert2004-04-15
| | | | | | | | | | | | 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.
* - Rewrote the profile module:Dries Buytaert2004-03-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + 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.
* - Patch by Steven: removed redundant permission checks. These are no longerDries Buytaert2004-02-15
| | | | required thanks to the new 404 handling.
* - Patch #5613 by Goba: fixed translation issue with archive module and removedDries Buytaert2004-02-08
| | | | some locale module code that is now part of extractor.php.
* - First batch of profile module improvements:Dries Buytaert2004-02-07
| | | | | | | | | | | | | + 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.
* - Patch #5567 by Goba: fixed t() functions, cleanup of locale module's help,Dries Buytaert2004-02-01
| | | | fixed translation issues in taxonomy module, etc.
* - Patch 5246 by Stefan: usability improvements for the locale module.Dries Buytaert2004-01-26
|
* - Patch #5021: clean up URLs in _help texts. Patch by UnConeD.Dries Buytaert2004-01-11
|
* - Locale module improvements: better performance, reduce memory footprint.Dries Buytaert2003-12-28
| | | | Patch by Bart.
* - Updated the calls to menu() to use MENU_HIDE instead of 1Dries Buytaert2003-12-17
|
* - Improvements by Goba:Dries Buytaert2003-12-08
| | | | | | + 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.
* - Introduced a drupal_set_message() and drupal_get_message() function.Dries Buytaert2003-12-01
| | | | | | | 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.
* - Committed phase 4 of JonBob's menu system changes.Dries Buytaert2003-11-25
|
* - Patch by JonBob:Dries Buytaert2003-11-20
| | | | | | | | 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.
* - table(...) -> theme("table", ...)Dries Buytaert2003-11-13
|
* - Usability improvement: replaced many selection boxes by radio buttons.Dries Buytaert2003-11-07
| | | | Patch by Stefan.
* - Bugfix: PostgreSQL problem with locale module. Fixed bug #3900. Patch #139Dries Buytaert2003-11-05
| | | | | | by Gerhard. - Forum module improvements. Patch #138 by Ax.
* - Fixed bug #3564: missing check in locale module.Dries Buytaert2003-10-09
|
* - Committed part 3 of Michael's help system improvements: removed the $helpDries Buytaert2003-10-09
| | | | parameter from the menu() function.
* - Help system improvements: eliminated the _system hook. Patch by Michael.Dries Buytaert2003-10-07
| | | | | | - Bloggerapi module fixes. Patch by Kjartan. - Coding style fixes. Patch by Michael.
* - Bugfix: fixed print problem. Patch by Gabor.Dries Buytaert2003-10-05
|
* - Removed a debug statement from the locale module. Thanks Gobar.Dries Buytaert2003-10-03
|
* - Help improvements and translation improvements from Michael. Thanks!Dries Buytaert2003-10-03
|
* - Moved the locale settings from the user module to the locale module.Dries Buytaert2003-09-30
| | | | | | | Patch by Stefan. - Moved the theme settings from the user module to the system module and made the code more intelligent. Patch by Stefan.
* - Made sure all menu items can be translated. Path by Goba.Dries Buytaert2003-09-28
|
* - Committed the admin menu integration patch. Thanks Adrian, Stefan and others.Dries Buytaert2003-09-26
|
* - Fixed bloggerapi not saving the uid for new nodes.Kjartan Mannes2003-09-23
| | | | | | | | | - 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
* - Committed a partial administration page integration patch.Dries Buytaert2003-09-19
|
* - Fix for bug #2691: crash due to locale module. Patch by Bruno.Dries Buytaert2003-09-03
|
* - Fixed bug #2690. Patch by Bruno.Dries Buytaert2003-08-30
|
* - Updated the locale module to the new help system. Patch from Michael.Dries Buytaert2003-08-21
|
* - Committed a slightly modified version of Slavica's table prefix patch.Dries Buytaert2003-07-10
|
* - Made the tracker module link to your own posts. Patch 79 from Gerhard.Dries Buytaert2003-07-09
| | | | | | - Added a permalink to the Xtemplate theme. Requested by Scott. - Added pager support to the locale module.
* - Bugfix: made searching locale strings work. Patch by Al. Fixes bug #1986.Dries Buytaert2003-06-17
|
* - Bugfix: locale module fix for bug # 1822 (translated/untranslated and searchDries Buytaert2003-06-15
| | | | issues). Patch #12 by Al.
* - Bugfix: charset fixes/clean-up. Patch #52 by Al.Dries Buytaert2003-06-12
| | | | | | | | | | - Improvement: renamed some theme functions of the forum module for sake of consistency/readability. Patch #2 by Kristjan. - Improvement: usability improvements to the Xtemplate theme. Patch #3 by Kristjan. - Improvement: CSS'ified the book module pages. Patch #3 by Al. (I simplified the "l ocation" part. Al's approach gave you a bit more power but I'm not sure anyone wants to change that. Besides, this will change as soon we integrate the menu system so I kept it easy for now.)
* - Bugfix: fixed the CREATE FUNCTION in database.mssql as it needs to be ↵Dries Buytaert2003-06-11
| | | | | | | | | | | | | | | | | | | | | | | | prefixed with GO for some obscure reason. Patch by Kjartan. - Bugfix: fixed the defaults for blocks in database.mssql so the NOT NULL fields get values. Patch by Kjartan. - Bugfix: changed check_form() to use htmlspecialchars() instead of drupal_specialchars() as this caused Drupal to emit incorrect form items in presence of quotes. Example: <input type="submit" class="form-submit" name="op" value="Submit "top nodes" block changes" /> IMO, drupal_specialchars() is better called xmlspecialchars() to avoid confusion. - Bugfix: when an anonymous user visits a site, they shouldn't see any content (except the login block, if it is enabled) unless they have the "access content" permissions. Patch by Matt Westgate. - Improvement: improved the error checking and the error messages in the profile module. Updated the code to match the Drupal coding conventions. Modified patch from Matt Westgate. - Improvement: don't generate the <base href=""> tag in the base theme; it is already emitted by theme_head(). Patch by Kristjan. - Improvement: don't execute any SQL queries when checking the permissions of user #1. Patch by Kjartan. - Improvement: made a scalable layout form that works in IE and that behaves better with narrow themes. Part of patch #51 by Al. - Improvement: removed some redundant print statements from the comment module. Modified patch from Craig Courtney.
* - More charset patches by Al.Dries Buytaert2003-06-05
|
* - Bugfix: renamed the SQL field 'types' to 'nodes' because 'types' is a ↵Dries Buytaert2003-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reserved keyword in MySQL 4. This fixes critical bug #1618. Patch by Marco. ==> This fix requires to run update.php! - Bugfix: made sessions work without warnings when register_globals is turned off. The solution is to use $_SESSION instead of session_register(). This fixes critical bug #1797. Patch by Marco. - Bugfix: sometimes error messages where being discarded when previewing a node. Patch by Craig Courtney. - Bugfix: fixed charset problems. This fixes critical bug #1549. Patch '0023.charset.patch' by Al. - Code improvements: removed some dead code from the comment module. Patch by Marco. - Documentation improvements: polished the node module help texts and form descriptions. Patch '0019.node.module.help.patch' by Al. - CSS improvements all over the map! Patch '0021.more.css.patch' by Al. - GUI improvements: improved the position of Druplicon in the admin menu. Patch '0020.admin.logo.patch' by Al. - GUI improvements: new logos for theme Marvin and theme UnConeD. Logos by Kristjan Jansen. - GUI improvements: small changes to the output emitted by the profile module. Suggestions by Steven Wittens. - GUI improvements: small fixes to Xtemplate. Patch '0022.xtemplate.css.patch' by Al. TODO: - Some modules such as the buddy list module and the annotation module in the contributions repository are also using session_register(). They should be updated. We should setup a task on Drupal. - There is code emitting '<div align="right">' which doesn't validate. - Does our XML feeds validate with the charset changes? - The forum module's SQL doesn't work properly on PostgreSQL.
* - Removed the module field from the locale search form. It won't work andDries Buytaert2003-06-02
| | | | | | there is no easy replacement. - Wrapped the strings in htmlentities() such that one can see the HTML.
* - Michael Frankowski's excellent help text improvements!Dries Buytaert2003-05-29
|
* - Fixed a typo in the PostgreSQL database scheme. Patch by Michael Frankowski.Dries Buytaert2003-05-13
| | | | | | | | | | | | | - Fixed a typo in the MSSQL database scheme. Patch by Michael Frankowski. - Removed dependency on "register_globals = on"! Patches by Michael Frankowski. Notes: + Updated the patches to use $foo["bar"] instead of $foo['bar']. + Updated the INSTALL and CHANGELOG files as well. - Tiny improvement to the "./scripts/code-clean.sh" script.
* - Applied Michael Caerwyn's "%s -> %d" patch.Dries Buytaert2003-05-07
| | | | - Changed all occurences of '%d' to %d as suggested on the mailing list.
* - Added admin description suggested by Gunnar (slightly modified).Dries Buytaert2003-04-22
|
* - All LIMIT queries must go through the pager or through db_query_range().Dries Buytaert2003-03-16
| | | | | | | | | | | | | | | The syntax for db_query_range() was enhanced so it matches db_query(). So you may pass extra arguments of the SQL statement which are checked via check_query() and then substituted into the SQL statement. After these optional arguments, you always pass $from and $count parameters which define your range. Most often, the $from is 0 and the count is the max number of records you want returned. Patch by Moshe. - The pager_query() function for PEAR was enhanced so that it adds proper GROUP BY statement counting the number of records to be paged. Patch by James Arthur. - MSSQL database scheme by Moshe.