summaryrefslogtreecommitdiff
path: root/modules/profile
Commit message (Collapse)AuthorAge
...
* - Patch #31585 by Thox: fixed author information block.Dries Buytaert2005-09-19
|
* - Patch #31123 by Ber: make it easier to theme the user profile pages.Dries Buytaert2005-09-14
|
* - Patch #23536 by chx: custom registration fields should appear on ↵Dries Buytaert2005-09-08
| | | | admin/user/create.
* - Patch #27949 by Robert: the two theme functions in profile.module both ↵Dries Buytaert2005-09-06
| | | | violate good theming practice by running user control logic in the middle of them. Worse yet, this isn't immediately visible since it happens in yet another function. Thus themers overriding these functions to style profile pages inadvertently break access control, thus leading to the misperception that overriding theme functions is inherently dangerous.
* - Patch #27948 by Robert Douglas: fixed problem with author information block.Dries Buytaert2005-09-06
| | | | (Looks like MySQL rewrites ORto IN() internally.)
* - Patch #29385 by chx: no ?> add end of files.Dries Buytaert2005-08-25
|
* - Patch #27947 by Robert Douglas: simplified code, removed SQL query.Dries Buytaert2005-08-10
|
* - Bug 23810: removed redundant variable from SQL query.Dries Buytaert2005-08-10
|
* - Patch #27737 by Gerhard: format_name($object) -> theme('username', $object).Dries Buytaert2005-08-01
| | | | | | Usernames can now be themed; eg. an icon/avatar could be added. TODO: update contributed modules + update the migration docs.
* - #27551: Rename check_output() to check_markup(). Needs contrib updates!Steven Wittens2005-07-29
|
* - Patch #25603 by Stefan: made the sizes of forms consistent.Dries Buytaert2005-06-27
| | | | TODO: document the defaults in the PHPdoc comments.
* - Removing some whitespaceDries Buytaert2005-06-06
|
* - #23685: urlencode() profile field names and values in the URL (any dynamic ↵Steven Wittens2005-06-01
| | | | data in an url should be urlencoded to prevent characters like # and & from being interpreted by the browser/server).
* - Bugfix: changed -> accessDries Buytaert2005-05-12
|
* - Modified patch #21617 by Robin: added confirmation screen to delete ↵Dries Buytaert2005-05-01
| | | | profile fields. (I tidied up the coding style and fixed two typos.)
* - Patch 20910 by chx: centralize print theme page.Dries Buytaert2005-04-24
|
* - Fixed broken queryDries Buytaert2005-04-21
|
* - Patch #12737 by pyromanfo: added support for private profile fields.Dries Buytaert2005-04-18
|
* - Modified version of patch #20115 by Nedjo: added author information block.Dries Buytaert2005-04-18
| | | | | | I rewrote part of the patch to improve the themability of the block, as well as its default look. I also left out the 'Recent posts' for now and shuffled some code around.
* - #4166: Respect 'access userlist' permission for profile data.Steven Wittens2005-04-11
|
* - Patch #19451 by JonBob: improved consistency of module descriptions. We ↵Dries Buytaert2005-04-01
| | | | should write guidelines for this -- maybe in the PHPDoc code of the _help hook.
* - #18817: Clean up plain-text checking (see drupal-devel!)Steven Wittens2005-03-31
|
* - #18939 (Stefan): Always use paragraph tags around page help text.Steven Wittens2005-03-18
|
* - #16271: Clean up Admin - users - configure.Steven Wittens2005-01-28
|
* - Patch #15937 by wulff: made it so that titles of profile fields only need ↵Dries Buytaert2005-01-24
| | | | to be unique within a single category.
* - Small bugfix + small improvement.Dries Buytaert2005-01-04
|
* - Patch #13907 by Neil: less ways to set the page title.Dries Buytaert2004-12-15
| | | | | | | * Less logic in theme code. * Encourages use of the menu system. * Easier to find where a title or breadcrumb comes from in other people's code because there are less places to look. Look in menu and then grep for the appropriate set function. Looking for calls to theme_page() is hard because there are too many of them. * Very slightly more efficient.
* - Patch #14035 by Goba: fixed problem with UTF-8 conversion when mixing ↵Dries Buytaert2004-12-07
| | | | LOWER() and strtolower().
* - Patch 13180 by chx: renamed check_query() to db_escape_string() and ↵Dries Buytaert2004-11-21
| | | | | | 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."
* - Patch #11505 by Steven: 'my account' information is not saved.Dries Buytaert2004-10-16
| | | | | | + Drupal 4.4 stored profile data in the serialized user->data column. Drupal 4.5 stores profile data in tables (but user->data is still available and used for other stuff, like locale or themes). The update from 4.4 to 4.5 didn't remove the old data from the user->data column properly, because there is no mechanism in user_save to do so (it did try to unset the fields, but this has no effect). + On registration, hook_user('insert') is invoked after saving the data column. This means that any module-specific data is put into the data field. We cannot move hook_user('insert') higher up, because before that point, we do not have a complete $user object yet.
* #6595: Unifying profile.module textbox widths with user.module.Steven Wittens2004-10-13
|
* Profile.module: removing incorrect use of strtolower which messes up UTF-8 data.Steven Wittens2004-09-20
|
* - Bugfix: making changes to the user profiles should flush the cache.Dries Buytaert2004-09-19
|
* - Patch #6500 by Mathias with help from Steven: made it possible to add ↵Dries Buytaert2004-09-19
| | | | fields to the registration form. This feature used to exist.
* - Patch #8179 by JonBob: reintroduced menu caching.Dries Buytaert2004-09-16
|
* - 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.
* - 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).
* #10012 - Profile.module:Steven Wittens2004-08-14
| | | | | | | | | | - Restoring broken update path. - Adding birthday/date function back, with update path. - Show private fields when viewing your own profile, or for admins. - Do not allow browsing of private fields for non admins (403) - Throw a 404 for browsing unbrowsable fields, rather than an SQL error - Fixing input processing: nothing is filtered twice anymore, and I replaced several strip_tags with specialchars (more flexible). - Minor admin UI tweaks + added friendly field type names.
* - Modified patch #9924 by njivi: added a basic member list to the profile ↵Dries Buytaert2004-08-12
| | | | | | module. (If this deprecates the memberlist module, it ought to be deprecated.) I removed the permission njivi introduced and made the page title match the link title.
* - Patch #9865 by njivy: avoid mangling %'s in the profile SQL query.Dries Buytaert2004-08-09
|
* - Patch #9866 by njivy: when the links are generated for each item in a ↵Dries Buytaert2004-08-08
| | | | list-type profile field, double quotes in the item name can break the link. To fix this, this patch gives drupal_specialchars() the ENT_QUOTES parameter to convert quotes into HTML entities. This fix is also applied to selection-type profile fields which can have the same problem.
* - Patch #9478 by JonBob: allow printf-style arguments in pager_query.Dries Buytaert2004-07-25
| | | | | | Currently pager_query() is the black sheep of the database query family, because it does not allow for printf-style arguments to be inserted in the query. This is a problem because it introduces developer confusion when moving from an unpaged query to a paged one, and it encourages substitution of variables directly into the query, which can bypass our check_query() security feature. This patch adds this ability to pager_query(). The change is backwards-compatible, but a couple calls to the function in core have been changed to use the new capability.
* - More tab-improvements by JonBob: improved support for the default tabs!Dries Buytaert2004-07-10
|
* - Usability improvement: users can also separate 'list items' (i.e. favoriteDries Buytaert2004-07-08
| | | | | movies) using a comma. Only few users actually read the form description, it seems ...
* - 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').
* Using drupal_specialchars() instead of htmlentities(). htmlentities() is not ↵Steven Wittens2004-06-27
| | | | UTF-8 safe.
* 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.
* - Fixed administration pages being broken due to tabs changes, improved formDries Buytaert2004-06-22
| | | | handling and form descriptions and fixed an incorrect title.
* 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').