summaryrefslogtreecommitdiff
path: root/modules/user.module
Commit message (Collapse)AuthorAge
* Removing a left-over debug statement from Distributed Authentication.Steven Wittens2004-08-24
|
* Patch by me and Kjartan.Steven Wittens2004-08-24
| | | | | | | | | | | | Upload.module - Fixing a bug caused by the PHP5 patches. Beware: PHP4's array_merge() will silently accept objects and convert them to arrays. We should not depend on this behaviour in the future. File.inc / file-using modules: - Removing the constant FILE_SEPARATOR: forward slashes work fine on Windows, and it was being used incorrectly as an URL separator sometimes. - Adding @ to mkdir and chmod to supress ugly PHP errors. They are already reported with drupal_set_message(). - Fixing default for variable 'file_directory_temp'. - Clarifying the help tip for 'file_directory_temp' in admin > settings.
* - #9292: Make Drupal (somewhat) PHP5 compatible. xtemplate is still horribly ↵Steven Wittens2004-08-22
| | | | broken.
* - Patch by JonBob: for consistency and readability, add brief descriptions ↵Dries Buytaert2004-08-21
| | | | 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.
* Avatar/picture fixes:Steven Wittens2004-08-20
| | | | | | | | - Changing theme('image') so the automatic image size fetching can be toggled independently from attributes. Specifying attributes and autosizing are 2 different things. - Suppressing PHP errors from getimagesize() using @. drupal_set_message() is used to report these errors already and in a much prettier way. - #9958: Fixing broken displaying of avatars. - Don't show the default avatar in 'edit my account' if the user has no avatar of his/her own. - Added ability to delete avatars (without having to replace them).
* user.module - Fixing incorrect t() replacement string.Steven Wittens2004-08-20
|
* - Code improvements by Stefan: use capital letters for header titles (and ↵Dries Buytaert2004-08-19
| | | | added some missing t() functions).
* - Code improvements by Stefan: made all status messages consistent (and ↵Dries Buytaert2004-08-18
| | | | easier to translate).
* - The upload (filehandler) module has landed!Dries Buytaert2004-08-17
|
* - Patch #9983 by Stefan: usability improvement: made sure all status ↵Dries Buytaert2004-08-16
| | | | messages start with a capital letter.
* - Removed the offline users feature.Dries Buytaert2004-08-15
|
* - Patch by James: made the blogapi work with DA.Dries Buytaert2004-08-14
| | | | | * Refactored the "brains" of user_login() to user_authenticate($user, $pass) so that blogapi (and others) can authenticate users (including those using DistAuth) without all the html and drupal_goto calls * Updates blogapi_validate_user to use user_authenticate.
* - Patch #9975 by TDobes: fixes two consistency problems with watchdog entries:Dries Buytaert2004-08-14
| | | | | * Adds missing quotes around the username in "session closed" watchdog messages from user.module (session opened has quotes, but session closed does not). * Changed "view detals" after watchdog entries to "details".
* - Patch #9974 by njivi: report the number of offline users.Dries Buytaert2004-08-12
| | | | I had some trouble adding this feature but realized that the "who's online" block is a geek think, and therefore it won't hurt to add some more geekiness. If you don't know what "offline users" means, you would not have understood "online users" in the first place. Either way, I think most people who have the block enabled, will find this an interesting addition.
* - Patch #9983 by Stefan: various code style improvements.Dries Buytaert2004-08-12
|
* Tiny code cleanup in user.module.Steven Wittens2004-08-08
|
* - #3606: Missing translations for user.module watchdogSteven Wittens2004-08-07
|
* - Patch #9330: ucfirst() gives problem when used with multibyte charset.Dries Buytaert2004-08-06
| | | | Replaced the use of ucfirst() with a CSS-based solution.
* - Patch #8523 by killes: avoid profile data being deleted when requesting a newDries Buytaert2004-08-05
| | | | password.
* - Patch #9775 by TDobes: consistency operation. Changed to "edit foo," ↵Dries Buytaert2004-08-05
| | | | "delete foo," and "view foo" links into simply "edit," "delete," and "view".
* - Patch #9768 by killes: admin/user/edit/$uid is no more, removed some ↵Dries Buytaert2004-08-04
| | | | left-overs.
* - Patch #9657: more intelligent theme() function. Hopefully, Adrian will beDries Buytaert2004-08-04
| | | | able to use this patch too.
* - Patch #9543 by JonBob: added node-level access control!Dries Buytaert2004-07-31
|
* - Patch #9547 by Eric: fixed avatar/picture upload bug.Dries Buytaert2004-07-28
|
* - Patch #9177 by James: fixed distributed authentication.Dries Buytaert2004-07-15
|
* Removed the 'user' item in the menu which appeared when editing someone ↵Steven Wittens2004-07-14
| | | | else's account.
* - More tab-improvements by JonBob: improved support for the default tabs!Dries Buytaert2004-07-10
|
* - Made the user module's administration form mark required form fields.Dries Buytaert2004-07-08
|
* - Patch #9125 by Morbus: remove access users permission. Will bring it back ↵Dries Buytaert2004-07-08
| | | | later.
* - Moving the title.module from core to contrib as discussed on the mailing list.Dries Buytaert2004-07-07
|
* - Patch #4166 by daBrado: don't show the profile fields when the user doesDries Buytaert2004-07-06
| | | | not have the 'access users' permission set.
* - Patch by Steven and me: refactored the form handling of nodes. The node ↵Dries Buytaert2004-07-04
| | | | | | | | system is now using form_set_error() and friends like the rest of Drupal does. This makes for both a consistent user experience and consistent code. It simplifies the forms and validation code, however, it does change the node API slightly: * The _validate hook and the _nodeapi('validate') hook of the node API (1) no longer take an 'error' parameter and (2) should no longer return an error array. To set an error, call form_set_error(). * The _form hook of the node module no longer takes a form hook and should not worry about displaying errors. Ditto for _nodeapi('form_post') and _nodeapi('form_pre').
* - 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
|