summaryrefslogtreecommitdiff
path: root/plugins/UserFlag/UserFlagPlugin.php
AgeCommit message (Collapse)Author
2010-02-02Removed entity flag stylesheet and icons from plugin to core.Sarven 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-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-28PHPCS-clean UserFlagPluginEvan Prodromou
2009-12-28add stuff for clearing flags to UserFlagPluginEvan 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 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-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-11Added XHR for form_entity_flagSarven Capadisli
2009-11-09shorten flag notification and include a classEvan Prodromou
2009-11-08Fixed Flagged for review viewSarven Capadisli
2009-11-08Fixed alignment for entity action anchors and responsesSarven Capadisli
2009-11-07fixup database interface and correct the flagged noticeEvan Prodromou
2009-11-07make sure UserFlagPlugin works without Profile_flagEvan Prodromou
2009-11-07Simply flag a profile for reviewEvan Prodromou
Instead of trying to have lots of different flags on different objects, cut to the core of this functionality: flag a profile for moderator review.
2009-11-01insert profile flags more or less correctlyEvan Prodromou
2009-11-01show profile flag form when showing profile list or profile pageEvan Prodromou
2009-11-01make sure tables are created correctlyEvan Prodromou
2009-10-13outline for pluginEvan Prodromou