summaryrefslogtreecommitdiff
path: root/plugins/UserFlag
AgeCommit message (Collapse)Author
2010-05-20Added block link to subscription notification emails; block action can now ↵Brion Vibber
take a profile ID on the URL; added profile details to block page so there's an indication of who you're blocking before you pull the trigger. Fixed typo in RedirectingAction when no return-to data provided in form submission. RedirectingAction::returnToArgs() has been renamed to returnToPrevious() to avoid conflict with Action::returnToArgs() which returns arguments to be passed to other actions as return-to arguments. All callers should now be updated. More profile settings actions will now redirect through a login form if visited as a GET request, as would be expected from a bookmark, link sent in e-mail etc.
2010-02-02Removed entity flag stylesheet and icons from plugin to core.Sarven Capadisli
2010-02-02Added icon to Clear label for UserFlag pluginSarven Capadisli
2010-01-31Updated XHR binded events to work better in jQuery 1.4.1. UsingSarven Capadisli
.live() for event delegation instead of jQuery.data() and checking to see if an element was previously binded.
2010-01-24set correct key types for User_flag_profileEvan Prodromou
2010-01-24add function doc comment to User_flag_profile::create()Evan Prodromou
2010-01-06Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.xEvan Prodromou
2010-01-06pass through keys() as keyTypes() for UserFlagEvan Prodromou
2010-01-06...and drop the unnecessary &reference from child class pkeyGet() overrides.Brion Vibber
2010-01-06Fix for broken profile flag admin UI: delete stray flag entries when users ↵Brion Vibber
are deleted so broken entries don't litter the lookups. * added ProfileDeleteRelated event to match UserDeleteRelated, to allow plugins to add extra related tables on profile deletion * UserFlagPlugin: deleting flags when target profile is deleted * UserFlagPlugin: deleting flags when flagging user is deleted * UserFlagPlugin: fix for autoloader -- class names are case-insensitive. We may get lowercase class names coming in at times, such as when creating DB objects programatically from a table name. Note that any already-existing bogus entries need to be removed from the database: select * from user_flag_profile where (select id from profile where id=profile_id) is null; select * from user_flag_profile where (select id from user where id=user_id) is null;
2009-12-28don't add flag if it's already there at block timeEvan Prodromou
2009-12-28optionally flag a profile for review when blockedEvan Prodromou
2009-12-28move flag creation to a method of data objectEvan Prodromou
2009-12-28phpcs-clean User_flag_profile as best as possibleEvan Prodromou
2009-12-28phpcs-clean flagprofile.phpEvan Prodromou
2009-12-28phpcs-clean clearflag.phpEvan Prodromou
2009-12-28PHPCS-clean adminprofileflags.phpEvan Prodromou
2009-12-28PHPCS-clean UserFlagPluginEvan Prodromou
2009-12-28clear flags and show flaggers in adminflagprofileEvan Prodromou
2009-12-28add stuff for clearing flags to UserFlagPluginEvan Prodromou
2009-12-28Add tools to clear flagsEvan Prodromou
Added a form to clear all flags for a profile, when showed on adminprofileflags list. Add an action to handle the form, and a right for the action.
2009-12-27pagination works for flagged profilesEvan Prodromou
2009-12-27admin page checks for right to review flagsEvan Prodromou
2009-12-04Use inlineScript() everywhere inline scripts are writtenCraig Andrews
2009-12-03Remove unnecessary pass by reference indicatorsCraig Andrews
2009-11-30Merge branch 'master' into 0.9.xZach Copley
* master: (67 commits) Ticket 2038: fix bad bug tracker link Fix regression in group posting: bug introduced in commit 1319002e1519fafb0e82fbfd2d2723abdb3112e7. Need to use actual profile object rather than an id on a variable that doesn't exist when checking blocks :D Log database errors when saving notice_inbox entries Drop the username from the log id for now; seems to trigger an error loop in some circumstances request id on logs... pid + random id per web request + username + method + url Add OpenID ini info back into statusnet.ini as a stopgap until we can Some changes to the OpenID DataObjects to make them emit the exact same OpenID plugin should set 'user_openid.display' as unique key Remove relationship: user_openid.user_id -> user.id. I don't think this Have OpenID plugin DataObjects emit their own .ini info Revert "Allow plugin DB_DataObject classes to not have to use the .ini file by overriding keys(), table(), and sequenceKey() for them" Catch and report exceptions from notice_to_omb_notice() instead of letting the OMB queue handler die. Fix regression in remote subscription; added hasRole() shadow method on Remote_profile. Fix fatal error on OMB subscription for first-timers Remove annoying log msg Drop error message on setlocale() failure; this is harmless, since we actually have a working locale set up. Catch uncaught exception Fixed bug where reply-sync bit wasn't getting saved Forgot to render the nav menu when on FB Connect login tab Facebook plugin no longer takes over Login and Connect settings nav menus ... Conflicts: db/08to09_pg.sql db/statusnet_pg.sql locale/pt_BR/LC_MESSAGES/statusnet.mo plugins/Mapstraction/MapstractionPlugin.php
2009-11-28Bind for UserFlag only if there is a form for itSarven Capadisli
2009-11-26Moved moderation styles out of UserFlag and put it into core. UpdatedSarven Capadisli
icons.
2009-11-26Init UI to show/hide a group of moderation actions.Sarven Capadisli
2009-11-26Updated the cross line on silence iconSarven Capadisli
2009-11-26Updated moderation (sandbox, silence, delete) icons for UserFlagSarven Capadisli
2009-11-26Moved CSS out to its own file for UserFlagSarven Capadisli
2009-11-26Renamed icon fileSarven Capadisli
2009-11-25Revert "Allow plugin DB_DataObject classes to not have to use the .ini file ↵Zach Copley
by overriding keys(), table(), and sequenceKey() for them" This reverts commit a373d07ae00b878f47970f2e4a7d86c6ec3a65cf. Conflicts: classes/statusnet.ini lib/schema.php plugins/Authentication/AuthenticationPlugin.php plugins/OpenID/OpenIDPlugin.php plugins/UserFlag/UserFlagPlugin.php
2009-11-25Revert "Allow plugin DB_DataObject classes to not have to use the .ini file ↵Zach Copley
by overriding keys(), table(), and sequenceKey() for them" This reverts commit a373d07ae00b878f47970f2e4a7d86c6ec3a65cf. Conflicts: classes/statusnet.ini lib/schema.php plugins/Authentication/AuthenticationPlugin.php plugins/OpenID/OpenIDPlugin.php plugins/UserFlag/UserFlagPlugin.php
2009-11-19Don't show flag user button your own profileZach Copley
2009-11-19Fixed HXR response for flag userZach Copley
2009-11-20Using the right form class nameSarven Capadisli
2009-11-17Added li for entity_flagSarven Capadisli
2009-11-17Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.xEvan Prodromou
Conflicts: classes/statusnet.ini
2009-11-16Fix for PHP spewing notices from commit a373d07ae00b878f47970f2e4a7d86c6ec3a65cfBrion Vibber
Please test with error_reporting set to E_ALL! Classnames and function names aren't first-class objects in PHP and need to be referenced as strings here. :(
2009-11-16Allow plugin DB_DataObject classes to not have to use the .ini file by ↵Craig Andrews
overriding keys(), table(), and sequenceKey() for them
2009-11-16try to return to the correct page from FlagProfileFormEvan Prodromou
2009-11-16make profile flag actions work like other profile actionsEvan Prodromou
2009-11-16use return-to method for adminprofileflagEvan Prodromou
2009-11-16start showing actions for flagged profilesEvan Prodromou
2009-11-11Added XHR for form_entity_flagSarven Capadisli
2009-11-09shorten flag notification and include a classEvan Prodromou
2009-11-09Added flag icon for UserFlag pluginSarven Capadisli
2009-11-08Fixed Flagged for review viewSarven Capadisli