- Jan 07, 2013
-
-
Nigel Cunningham authored
A couple of performance improvements in the hook_user implementation. Thanks to hefox again. Signed-off-by: Nigel Cunningham <nigel@nigelcunningham.com.au>
-
Nigel Cunningham authored
The action ones were right after the last commit that attempted to fix these, but the status labels were correct to start with. Argh! Signed-off-by: Nigel Cunningham <nigel@nigelcunningham.com.au>
-
Nigel Cunningham authored
Fix a number of coding style errors (the result of a kernel programmer doing PHP!) and add a check_plain for role names. Thanks to hefox and greggles for this work. Signed-off-by: Nigel Cunningham <nigel@nigelcunningham.com.au>
-
Nigel Cunningham authored
Avoid the possibility of difficulties with complex role names (#1880468 ) or XSS via role names by using role IDs. Thanks greggles. Signed-off-by: Nigel Cunningham <nigel@nigelcunningham.com.au>
-
- Jan 02, 2013
-
-
Nigel Cunningham authored
Signed-off-by: Nigel Cunningham <nigel@nigelcunningham.com.au>
-
Nigel Cunningham authored
fasttoggle_fasttoggle_options checks permissions so there's no need to recheck them here. We should also properly check for $links being empty after checking whether to make the user status a fasttoggle link and should get fasttoggle links always so that roles can still be toggled if blocking/unblocking the user is disabled. Signed-off-by: Nigel Cunningham <nigel@nigelcunningham.com.au>
-
Nigel Cunningham authored
Backport Drupal 7 changes, bringing the following new features to the D6 module: - Admin interface for sitewide control of fasttoggleable roles. - Per node type control of fasttoggling. - Options to disable enhancement of the node and user overview pages. - Optional support for blocking user 1. Signed-off-by: Nigel Cunningham <nigel@nigelcunningham.com.au>
-
- Jan 01, 2013
-
-
Nigel Cunningham authored
Thanks to killes for pointing out this issue (#1776878 ). Signed-off-by: Nigel Cunningham <nigel@nigelcunningham.com.au>
-
Add logging of fasttoggle actions. As part of this, change an label array element from comment_admin to node_comment to simplify the logic in retrieving the description for logs. The bug is against 6.x so this patch will be backported next. I think it might be wise to make this logging optional. I'll happily hear from people who want it so. Signed-off-by: Nigel <nigel@nigelcunningham.com.au>
-
- Dec 07, 2012
-
-
Nigel authored
Signed-off-by: Nigel <nigel@tuxonice.net>
-
- Oct 08, 2012
-
-
Nigel authored
Implement the fast toggling of roles, which requires two parameters (user id and role name). To achieve this, we rework things so that the data returned by fasttoggle_options includes not only labels, but also optionally the raw role name being addressed (probably to be changed to a more generic name in a future commit) and functions and data that can be used to calculate the data to be sent to user_save and return the resulting value to the javascript code. The array is also deeper, having labels grouped by the group to which they belong. I hope that all of this lays the groundwork for merging the node, user and comment specific code together and making a more generic framework that can be used to easily bring fasttoggling to other areas of a site. Permissions are implemented to allow the ability to fasttoggle a role to be granted separately. Please note that the names of classes change with this commit - themes will need updating. Signed-off-by: Nigel <nigel@tuxonice.net>
-
- Sep 05, 2012
-
-
Nigel authored
Signed-off-by: Nigel <nigel@tuxonice.net>
-
Nigel authored
Properly check the values set by the admin page, so that Ajax links don't appear if they shouldn't. Signed-off-by: Nigel <nigel@tuxonice.net>
-
- Sep 04, 2012
-
-
Nigel authored
Signed-off-by: Nigel <nigel@tuxonice.net>
-
- Jun 15, 2011
-
-
Nigel Cunningham authored
In http://drupal.org/node/217253 , there is debate about whether blocking user 1's account via fast toggle should be allowed. Let both sides of the debate have their way by making it option (defaulting to off). Signed-off-by: Nigel Cunningham <nigel@tuxonice.net>
-
- Feb 25, 2011
-
-
The Great Git Migration authored
-
- Nov 28, 2009
-
-
Konstantin Kaefer authored
-
- Mar 31, 2009
-
-
Konstantin Kaefer authored
#289076: Views 2 support for node links (by attiks, kjl, malaussene and nick.dap); slightly modified
-
Konstantin Kaefer authored
-
- Feb 03, 2009
-
-
Konstantin Kaefer authored
-
- Nov 08, 2008
-
-
Konstantin Kaefer authored
-
Konstantin Kaefer authored
-
Konstantin Kaefer authored
-
Konstantin Kaefer authored
-
- Apr 19, 2008
-
-
Konstantin Kaefer authored
-
- Mar 24, 2008
-
-
Konstantin Kaefer authored
- #227582 by nedjo: Allow modules to change the comment object (backport from HEAD) (was in previous commit)
-
Konstantin Kaefer authored
- #210860: Don't show the user status toggle when the user does not have permissions (patch by neofpo) (backported from HEAD) - Additional code style fixes (backported from HEAD)
-
Konstantin Kaefer authored
-
- Oct 07, 2007
-
-
The Great Git Migration authored
create branch 'DRUPAL-6--1'. Sprout from master 2007-10-07 12:44:04 UTC Konstantin Kaefer <kkaefer@gmail.com> 'missing include files' Delete: po/ja.po
-
Konstantin Kaefer authored
-
Konstantin Kaefer authored
-
Konstantin Kaefer authored
-
- Apr 24, 2007
-
-
Takafumi authored
-
- Apr 14, 2007
-
-
Konstantin Kaefer authored
- Added an API for JavaScript callback functions to alter the page when an option is toggled. This can for example add/remove the class 'node-unpublished' to the node container when the node is toggled to instantly visually reflect the state. This is imlemented for both nodes (sticky, published) and comments (published)
-
- Feb 03, 2007
-
-
Konstantin Kaefer authored
-
- Feb 01, 2007
-
-
Konstantin Kaefer authored
JSON has now the content type text/javascript to prevent devel.module from appending the query log to it
-
- Jan 30, 2007
-
-
Konstantin Kaefer authored
-
- Jan 23, 2007
-
-
Konstantin Kaefer authored
-
- Jan 21, 2007
-
-
Konstantin Kaefer authored
Converted toggle callbacks to POST
-
Konstantin Kaefer authored
-