summaryrefslogtreecommitdiff
path: root/modules/user
Commit message (Collapse)AuthorAge
...
* - Patch #9006 by Killes: For some reason there is a array_merge that nobody ↵Dries Buytaert2004-07-03
| | | | seems to need. It generates an error under php5. Found by redLED.
* - Patch #8996 by James: theme_user_picture() linked to bad url.Dries Buytaert2004-07-02
|
* - Patch #8937 by James: fixed typo.Dries Buytaert2004-06-30
|
* - Fixed typo reported by Steven Mansour: form_set_name() -> form_set_error()Dries Buytaert2004-06-30
|
* - Fixed bug with user information not being shown in the profile forms.Dries Buytaert2004-06-28
|
* - Fixed glitch in _user_categories(). Reported by Steven Mansour.Dries Buytaert2004-06-28
|
* - Fixed 'pass by reference'-bug in the validation code and further simplifiedDries Buytaert2004-06-28
| | | | it.
* - Removed left-over instance of _user_profile().Dries Buytaert2004-06-27
|
* 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.
* - Bugfix: made it possible for administrators to edit the values of customDries Buytaert2004-06-24
| | | | profile fields of users.
* - Patch #8778 by Morbus Iff: with the tabs patch, user/login, user/register, ↵Dries Buytaert2004-06-24
| | | | and user/password now show all three forms, as opposed to just the requested relevance. The attached patch implements a quick workaround: three new callbacks, and a cheapy modification of user_page where I use a ternary to test whether arg(2) exists (as it would in the case of user/nnn/edit). If it does, we set that to $op, and if it doesn't (in the case of user/login, etc.), we set arg(1).
* - Patch #8758 by Morbus Iff: allow users to modify their profile underDries Buytaert2004-06-23
| | | | the new tabs system.
* - Fixed broken URLs in the user module (access rules) due the the recentDries Buytaert2004-06-22
| | | | tabs patch.
* - Patch #8670 by asimmonds: more spelling fixes.Dries Buytaert2004-06-21
|
* - Patch #8681 by stefan: fixed some broken URLs and help texts.Dries Buytaert2004-06-20
|
* - Patch #8679 by asimmonds: fixed spelling mistakes.Dries Buytaert2004-06-20
|
* 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').
* - Patch #8444 by jhriggs: creating new users was broken due to recent changes.Dries Buytaert2004-06-14
|
* - Patch #8105 by mathias: made the menu system aware of path aliases.Dries Buytaert2004-06-01
|
* - Make sure the form has been submitted before validating and saving user.Kjartan Mannes2004-05-31
|
* - Improved form handling.Dries Buytaert2004-05-31
| | | | | | | | | | | | | | | | | | | | | + 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 functions. + 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().
* - Fixed bug introduced by previous patch.Dries Buytaert2004-05-24
|
* - More code improvements by JonBob.Dries Buytaert2004-05-24
|
* - Patch #7723 by Roderik: added strtolower()s to make PostgreSQL behave like ↵Dries Buytaert2004-05-21
| | | | MySQL and to be more 'forgiving' for users logging in on a PostgreSQL powered Drupal site.
* - Simplified the 'anonymous poster settings' of the comment module andDries Buytaert2004-05-20
| | | | | | | | | | | | | | | | | | | | | 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. TODO: - 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?
* - Patch #7614 by jhriggs: fixed some role related problems.Dries Buytaert2004-05-19
|
* - Patch #6682 by jhriggs: added form_checkboxes(), much like form_radios()Dries Buytaert2004-05-15
| | | | and updated some modules to take advantage of it.
* - Patch #7704 by mathias: fixed warning due to initialization problem.Dries Buytaert2004-05-11
|
* - Added support for multiple user roles. Patch by Jim Hriggs.Dries Buytaert2004-05-10
|
* - Patch #6552 by Gerhard: fixed problem with user callbacks that slipped in ↵Dries Buytaert2004-05-01
| | | | with Natrak's last commit.
* - Fixed sitewide timezone settings not being saved.Kjartan Mannes2004-04-29
| | | | - Making sure profile fields are saved properly.
* - Applied patch #6552: Put back register_form and register_validate ↵Kjartan Mannes2004-04-29
| | | | | | callbacks in user.module. - Fixed bug #7406: User delete hook incorrect params.
* - Changing permissions on user menus.Kjartan Mannes2004-04-22
|
* - Patch #4635 by Ber: user search should translate wildcard characterDries Buytaert2004-04-21
|
* - 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.
* - Only encode strings that contain non-ASCII characters.Kjartan Mannes2004-04-21
|
* - 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.
* - Profile module improvement:Dries Buytaert2004-03-27
| | | | | | | | * Made it possible to set certain fields as 'required'. To do: * Mark them as required visually. * Add required fields to the subscription page.
* - Patch #6425 by TDobes: made avatars work with private download method. AddedDries Buytaert2004-03-27
| | | | user_file_download() function to communicate with the file system layer.
* - Patch #3987 by jhriggs: changed the location of the logout link.Dries Buytaert2004-03-24
|
* - Fixed brainoDries Buytaert2004-03-21
|
* - More profile module improvements:Dries Buytaert2004-03-21
| | | | | | | | | | | + 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.
* - Patch #6406 by TDobes: fixed typos in profile/user module.Dries Buytaert2004-03-15
|
* - Patch #6391 by jik: after deleting a user, return to the user list, not ↵Dries Buytaert2004-03-12
| | | | the edit user form.
* - 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 #6129 by Goba: fixed dependencies on search module.Dries Buytaert2004-02-29
|
* - Patch 6066 by Adrian: PostgreSQL does not return 'affected rows' when doingDries Buytaert2004-02-26
| | | | | | | | 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' statement.)
* - Patch by Steven: removed redundant permission checks. These are no longerDries Buytaert2004-02-15
| | | | required thanks to the new 404 handling.
* - Patch 5592 by Goba: let drupal_map_assoc() rule. :-)Dries Buytaert2004-02-15
| | | | - Renamed CHANGELOG to CHANGELOG.txt for Windows uses.
* - Patch 4902 by Goba:Dries Buytaert2004-02-11
| | | | | | | | | | | | | + 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