gnu-social/actions
Mikael Nordfeldth cfa699e445 NewgroupAction converted to extend FormAction
Had to change Action function 'prepare' to 'protected', as you can't
(of course) protect something that's been public in a parent class. The
other way around seems fine for PHP... Eventually all actions will have
protected 'prepare' (use execute/run)

A feature of the previously fixed initialization of Action classes, is
that we now have $this->scoped which is the current profile in use. As
of now that is always a local User, except the corresponding Profile
object.

Also, instead of calling 'showForm' everywhere, in case of an error we
just throw an exception of some sort and pass the message along there.

I've also introduced in FormAction the 'showInstructions' function in
order to get a unified instructions/info/error display method.

TODO: Improve info/error message handling, and what/when/where to show.
2013-08-31 18:01:13 +02:00
..
accessadminpanel.php Message tweaks and elaborations as well as translator documentation tweaks. Based on comments by OsamaK. 2011-08-18 15:11:10 +02:00
addpeopletag.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
all.php Don't show big invite button if invites are disabled 2012-10-17 10:10:42 -04:00
allrss.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
apiaccountratelimitstatus.php Add/update translator documentation. 2011-04-04 00:12:52 +02:00
apiaccountupdatedeliverydevice.php Add/update translator documentation. 2011-04-04 00:12:52 +02:00
apiaccountupdateprofile.php Harmonize message for 'User has no profile.' and update translator documentation. 2011-04-25 22:44:19 +02:00
apiaccountupdateprofileimage.php Harmonize message for 'User has no profile.' and update translator documentation. 2011-04-25 22:44:19 +02:00
apiaccountverifycredentials.php Add/update translator documentation. 2011-04-04 00:12:52 +02:00
apiatomservice.php Update translator documentation 2011-01-20 18:40:20 +01:00
apiblockcreate.php Tabs to spaces. 2011-04-03 22:44:41 +02:00
apiblockdestroy.php * i18n/L10n fixes. 2010-10-28 01:21:09 +02:00
apiconversation.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
apidirectmessage.php Add/update translator documentation. 2011-04-04 00:12:52 +02:00
apidirectmessagenew.php * improve L10n consistency for English. For example proper punctuation for all button and label titles. 2011-02-17 00:40:47 +01:00
apifavoritecreate.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
apifavoritedestroy.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
apifriendshipscreate.php Add/update translator documentation. 2011-04-04 00:12:52 +02:00
apifriendshipsdestroy.php Add/update translator documentation. 2011-04-04 00:12:52 +02:00
apifriendshipsexists.php screen_name -> nick names. Spotted by The Evil IP address. 2010-11-07 22:31:02 +01:00
apifriendshipsshow.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
apigroupcreate.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
apigroupismember.php Add/update translator documentation. 2011-04-04 00:12:52 +02:00
apigroupjoin.php Add/update translator documentation. 2011-04-04 00:12:52 +02:00
apigroupleave.php Add/update translator documentation. 2011-04-04 00:12:52 +02:00
apigrouplist.php Add/update translator documentation. 2011-04-04 00:12:52 +02:00
apigrouplistall.php Merge branch '1.0.x' into testing 2011-04-05 13:16:28 -04:00
apigroupmembership.php Add/update translator documentation. 2011-04-04 00:12:52 +02:00
apigroupprofileupdate.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
apigroupshow.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
apihelptest.php Add/update translator documentation. 2011-04-04 00:12:52 +02:00
apilist.php Update/add translator documentation. 2011-04-10 19:59:55 +02:00
apilistmember.php Update/add translator documentation. 2011-04-10 19:59:55 +02:00
apilistmembers.php Update/add translator documentation. 2011-04-10 19:59:55 +02:00
apilistmemberships.php Update/add translator documentation. 2011-04-10 19:59:55 +02:00
apilists.php Profile::getOwnedTags -> Profile::getLists, first argument is the current user, or the user accessing the lists. 2011-04-16 00:52:58 +05:30
apilistsubscriber.php Update/add translator documentation. 2011-04-10 19:59:55 +02:00
apilistsubscribers.php Update/add translator documentation. 2011-04-10 19:59:55 +02:00
apilistsubscriptions.php Update/add translator documentation. 2011-04-10 19:59:55 +02:00
apimediaupload.php * i18n/L10n fixes. 2010-10-28 01:21:21 +02:00
apioauthaccesstoken.php * improve L10n consistency for English. For example proper punctuation for all button and label titles. 2011-02-17 00:40:47 +01:00
apioauthauthorize.php Squashed commit of the following: 2011-07-15 12:13:57 -07:00
apioauthpin.php * i18n/L10n fixes. 2010-10-28 01:21:21 +02:00
apioauthrequesttoken.php * i18n/L10n fixes. 2010-10-28 01:21:21 +02:00
apisearchatom.php remove common_debug() from search.json, search.atom 2011-12-30 22:23:50 -08:00
apisearchjson.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
apistatusesdestroy.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
apistatusesretweet.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
apistatusesretweets.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
apistatusesshow.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
apistatusesupdate.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
apistatusnetconfig.php Add/update translator documentation. 2011-04-04 00:12:52 +02:00
apistatusnetversion.php Add/update translator documentation. 2011-04-04 00:12:52 +02:00
apisubscriptions.php Add/update translator documentation. 2011-04-04 00:12:52 +02:00
apitimelinefavorites.php ActivityStreamJSONDocument served as application/stream+json 2011-06-23 11:38:46 -04:00
apitimelinefriends.php Update activity streams JSON to match spec 2011-08-25 10:01:20 -07:00
apitimelinegroup.php correct link for apitimelinegroup 2011-09-18 17:33:25 -04:00
apitimelinehome.php Use the current logged-in use for home timeline 2012-07-03 12:22:59 -04:00
apitimelinelist.php Update/add translator documentation. 2011-04-10 19:59:55 +02:00
apitimelinementions.php ActivityStreamJSONDocument served as application/stream+json 2011-06-23 11:38:46 -04:00
apitimelinepublic.php use new stream class rather than old Notice::publicStream() 2011-08-25 11:50:45 -04:00
apitimelineretweetedbyme.php * i18n/L10n fixes. 2010-10-28 01:21:21 +02:00
apitimelineretweetedtome.php ActivityStreamJSONDocument served as application/stream+json 2011-06-23 11:38:46 -04:00
apitimelineretweetsofme.php use a dummy notice stream for retweets_of_me under high load 2011-09-19 22:17:40 -04:00
apitimelinetag.php ActivityStreamJSONDocument served as application/stream+json 2011-06-23 11:38:46 -04:00
apitimelineuser.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
apitrends.php * i18n/L10n fixes. 2010-10-28 01:21:21 +02:00
apiuserfollowers.php * i18n/L10n fixes. 2010-10-28 01:21:21 +02:00
apiuserfriends.php * i18n/L10n fixes. 2010-10-28 01:21:21 +02:00
apiuserprofileimage.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
apiusershow.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
approvegroup.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
approvesub.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
atompubfavoritefeed.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
atompubmembershipfeed.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
atompubshowfavorite.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
atompubshowmembership.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
atompubshowsubscription.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
atompubsubscriptionfeed.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
attachment_ajax.php * i18n/L10n updates. 2010-10-31 00:58:35 +02:00
attachment_thumbnail.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
attachment.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
avatarbynickname.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
avatarsettings.php Harmonize message for 'User has no profile.' and update translator documentation. 2011-04-25 22:44:19 +02:00
backupaccount.php Merge branch 'master' into 0.9.x 2011-02-25 12:24:18 -08:00
block.php * improve L10n consistency for English. For example proper punctuation for all button and label titles. 2011-02-17 00:40:47 +01:00
blockedfromgroup.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
bookmarklet.php * i18n/L10n updates. 2010-10-31 00:58:35 +02:00
cancelgroup.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
cancelsubscription.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
confirmaddress.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
conversation.php optional conversation tree view 2011-09-24 09:29:12 -04:00
conversationreplies.php show full threaded notice list in conversation view 2011-04-11 12:39:06 -04:00
deleteaccount.php Message tweaks and elaborations as well as translator documentation tweaks. Based on comments by OsamaK. 2011-08-18 15:11:10 +02:00
deleteapplication.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
deletegroup.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
deletenotice.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
deleteuser.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
disfavor.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
doc.php Move docs menu to site primary menu 2011-09-30 14:24:27 -04:00
editapplication.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
editgroup.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
editpeopletag.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
emailsettings.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
favor.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
favorited.php Squashed commit of the following: 2011-10-20 10:40:39 -04:00
favoritesrss.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
featured.php default local nav in featured user list 2011-03-01 16:11:59 -05:00
file.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
foaf.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
foafgroup.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
geocode.php Update translator documentation. 2011-04-03 23:47:46 +02:00
getfile.php Merge branch '0.9.x' into 1.0.x 2011-02-28 15:39:43 -08:00
grantrole.php * update/add translator documentation. 2011-01-31 16:39:54 +01:00
groupblock.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
groupbyid.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
grouplogo.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
groupmembers.php Don't call free on the results of a member query 2012-07-04 14:45:50 -04:00
groupqueue.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
grouprss.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
groups.php defaultlocalnav in groups 2011-03-01 16:18:33 -05:00
groupsearch.php * add/update translator documentation. 2011-01-31 18:16:55 +01:00
groupunblock.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
hostmeta.php Remove debugging statement 2011-07-07 17:23:41 -07:00
imsettings.php Simplify message. 2011-08-18 14:21:43 +02:00
inbox.php * improve L10n consistency for English. For example proper punctuation for all button and label titles. 2011-02-17 00:40:47 +01:00
invite.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
joingroup.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
leavegroup.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
licenseadminpanel.php * translator documntation updated 2011-03-05 00:13:04 +01:00
login.php No such path 'index', so redirect to home timeline 2011-09-21 16:33:10 -04:00
logout.php use correct redirect on logout of single-user site 2011-09-17 15:08:04 -04:00
makeadmin.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
microsummary.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
newapplication.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
newgroup.php NewgroupAction converted to extend FormAction 2013-08-31 18:01:13 +02:00
newmessage.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
newnotice.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
noticesearch.php Show both empty and full notice search results inside event wrapper 2011-04-12 14:29:12 -04:00
noticesearchrss.php * update translator documentation. 2011-02-17 20:58:22 +01:00
nudge.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
oauthappssettings.php Fix for #3651: oAuth apps list does only show the latest registered application 2013-06-15 14:19:15 +02:00
oauthconnectionssettings.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
oembed.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
oldschoolsettings.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
opensearch.php * translator documntation updated 2011-03-05 00:13:04 +01:00
otp.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
outbox.php * improve L10n consistency for English. For example proper punctuation for all button and label titles. 2011-02-17 00:40:47 +01:00
passwordsettings.php Update translator documentation. 2011-04-03 23:47:46 +02:00
pathsadminpanel.php Remove old background validation stuff from paths admin panel 2011-08-27 19:22:02 -07:00
peoplesearch.php * update translator documentation. 2011-02-17 20:58:22 +01:00
peopletag.php people tag -> list 2011-04-17 02:11:46 +02:00
peopletagautocomplete.php Profile::getOwnedTags -> Profile::getLists, first argument is the current user, or the user accessing the lists. 2011-04-16 00:52:58 +05:30
peopletagged.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
peopletagsbyuser.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
peopletagsforuser.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
peopletagsubscribers.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
peopletagsubscriptions.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
plugindisable.php * update/add translator documentation. 2011-03-11 17:07:27 +01:00
pluginenable.php Translator documentation updated/added. 2011-04-04 00:41:48 +02:00
pluginsadminpanel.php * update/add translator documentation. 2011-03-11 17:07:27 +01:00
profilecompletion.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
profilesettings.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
profiletagbyid.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
public.php Don't show big invite button if invites are disabled 2012-10-17 10:10:42 -04:00
publicrss.php * update translator documentation. 2011-02-17 20:58:22 +01:00
publictagcloud.php Mass replacement of #-comments with //-comments 2011-03-22 11:54:23 -04:00
publicxrds.php * update/add translator documentation. 2011-03-11 17:07:27 +01:00
recoverpassword.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
redirect.php Add a doc page that links to the StatusNet wiki API page 2010-10-12 23:38:16 -04:00
redirecturl.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
register.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
removepeopletag.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
repeat.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
replies.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
repliesrss.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
restoreaccount.php Change "stream" to "timeline" for consistency. 2011-08-15 15:57:36 +02:00
revokerole.php Translator documentation added/updated. 2011-03-18 20:37:04 +01:00
robotstxt.php * update translator documentation. 2011-02-17 21:10:48 +01:00
rsd.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
sandbox.php Update translator documentation. 2011-03-24 11:48:53 +01:00
selftag.php Complete "people tag" to "list" in UI messages. 2011-04-17 20:08:03 +02:00
sessionsadminpanel.php Update translator documentation. 2011-03-24 11:48:53 +01:00
showapplication.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
showfavorites.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
showgroup.php add canonical rel 2012-01-26 11:02:29 -05:00
showmessage.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
shownotice.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
showprofiletag.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
showstream.php add canonical rel 2012-01-26 11:02:29 -05:00
silence.php Translator documentation updated. 2011-03-24 12:09:50 +01:00
siteadminpanel.php Update translator documentation and L10n. 2011-06-15 13:25:40 +02:00
sitenoticeadminpanel.php Message tweaks and elaborations as well as translator documentation tweaks. Based on comments by OsamaK. 2011-08-18 15:11:10 +02:00
smssettings.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
snapshotadminpanel.php Message tweaks and elaborations as well as translator documentation tweaks. Based on comments by OsamaK. 2011-08-18 15:11:10 +02:00
subedit.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
subqueue.php Working subscription approval! 2011-03-28 17:08:04 -07:00
subscribe.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
subscribepeopletag.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
subscribers.php hide subscriber tag sections 2011-04-14 15:51:00 -04:00
subscriptions.php Remove missing twittersettings page from subscriptions helper 2011-10-03 09:13:54 -04:00
sup.php Mass replacement of #-comments with //-comments 2011-03-22 11:54:23 -04:00
tag.php declare attributes of TagAction 2011-09-18 12:52:38 -04:00
tagprofile.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
tagrss.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
top.php Add a dummy 'top' action to take you to the main page of the site 2011-09-30 09:45:17 -04:00
unblock.php * update translator documentation. 2011-02-17 20:58:22 +01:00
unsandbox.php Update translator documentation. 2011-03-29 21:30:35 +02:00
unsilence.php Update translator documentation. 2011-03-29 21:30:35 +02:00
unsubscribe.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
unsubscribepeopletag.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
urlsettings.php Update translator documentation. 2011-04-03 23:47:46 +02:00
useradminpanel.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
userbyid.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
usergroups.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
userrss.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
userxrd.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
version.php Remove trailing whitespace in UI text. 2011-10-29 14:34:50 +02:00