summaryrefslogtreecommitdiff
path: root/plugins/UserFlag
AgeCommit message (Collapse)Author
2010-12-16Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-11-07Localisation updates from http://translatewiki.netSiebrand Mazeland
2010-11-05Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-11-03UserFlagPlugin fix for ticket #2118 and ticket #2847: flagged state wasn't ↵Brion Vibber
reflected in profile lists such as group members page and profile search . Pulled common code for the profile page and profile list cases to give them the same logic on checking. Also fixes the problem that you'd get a flag button for yourself in profile lists, while we explicitly exclude that from the profile page -- it's now skipped in both places.
2010-11-03Fix for ticket #2168: if we've already flagged a profile from another ↵Brion Vibber
window, let the 'Flag' form submission gracefully show the updated state instead of throwing an error (error message isn't even exposed properly in AJAX submissions)
2010-11-03UserFlag fixes to prevent PHP notices breaking AJAX submissions when ↵Brion Vibber
display_errors is on. Key & seq defs weren't quite right, which caused accesses to unset array indices in DB_DataObject.
2010-10-28Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-10-23Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-10-09Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-10-05Localisation updates from http://translatewiki.netSiebrand Mazeland
2010-10-03Localisation updates from http://translatewiki.netSiebrand Mazeland
2010-10-02* i18n/L10n review.Siebrand Mazeland
* add onPluginVersion()
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