summaryrefslogtreecommitdiff
path: root/actions
AgeCommit message (Collapse)Author
2010-05-21Merge branch 'master' of gitorious.org:statusnet/mainlineEvan Prodromou
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-05-18Remove errant double HTML entity encoding in API source attributionZach Copley
2010-05-18HTML entity encode source link URLs in plain XML output and add ↵Zach Copley
rel="nofollow" to them
2010-05-18Refactor and centralize notice source link calculationZach Copley
2010-05-18Redirect non-SSL hits to login & register actions to SSL if 'always' or ↵Brion Vibber
'sometimes' SSL modes are kicked in. The forms would already submit to SSL, but people are happier if they start on a secure page! Note: this really should be done for sensitive/all URLs in index.php, but it seems a bit awkward to reconstruct the SSL version of the link atm. Cleanup todo!
2010-05-13More direct text for registration licensing/tos checkbox for private and ↵Brion Vibber
all-rights-reserved sites.
2010-05-08Fix for repeats from the API having null source attributionZach Copley
2010-05-05Implement since_id and max_id param handling for /api/favoritesZach Copley
2010-04-30Merge branch 'master' of gitorious.org:statusnet/mainlineEvan Prodromou
2010-04-22Add statusnet: prefix for API to JSON and XML outputEvan Prodromou
I added the statusnet: prefix to the xml output. This prefix should be declared on the root element of all relevant XML output. I also added two StatusNet-specific fields: * statusnet:html - rendered HTML. Clients shouldn't have to guess at the correct HTML rendering for notices, especially since some of the links depend on context. * statusnet:profile_url - profile URL for a user. You can't count on a user being a local user in a distributed microblogging world. So, this shows the explicit profile_url.
2010-04-19Merge branch 'master' into testingBrion Vibber
2010-04-19Fix ticket #2289: registration links were showing in top nav bar, login page ↵Brion Vibber
message when site set to invite-only or closed registration, when the 'register' action can't be used.
2010-04-09Fix inconsistencies in clientError() messagesSiebrand Mazeland
* use correct punctuation * single quotes when replace was possible * wording updated when needed
2010-04-09Update message formatting for serverError to use a starting capital and a ↵Siebrand Mazeland
leading period.
2010-04-09Clean up badly formatted strings in OembedActionBrion Vibber
2010-04-09Merge branch 'master' of git@gitorious.org:statusnet/mainline into testingBrion Vibber
2010-04-09fix attributes on homepage outputEvan Prodromou
2010-04-09i18n cleanup: fix bad string breakdown in license agreement checkbox on ↵Brion Vibber
registration form. Note that much of that form is duplicated several times for Twitter, Facebook, and OpenID registrations -- these need to be refactored to avoid having multiple out-of-sync copies of code and messages.
2010-04-09Cleanup bad i18n format for page title on bookmarklet posting windowBrion Vibber
2010-04-09Avoid E_NOTICE spew when listing group members who aren't adminsBrion Vibber
2010-04-09Undefined Variable in foafgroup.phpChristopher Vollick
Probably just left over from the past.
2010-04-09Avoid E_NOTICE spew when listing group members who aren't adminsBrion Vibber
2010-04-09Undefined Variable in foafgroup.phpChristopher Vollick
Probably just left over from the past.
2010-04-08Maintain 'page' parameter for block from subscribers list, block & ↵Brion Vibber
make-admin from group members list. Refactored some of the returnto handling code. It looks like we have several different ways of handling this in the software, icky! Marked the session-based functions with fixmes (they'll stomp on other forms when multiple tabs/windows are used) and combined some commonish bits of code between ProfileFormAction and the group block & makeadmin actions where they're using hidden form parameters. Extended that to allow passing dynamic parameters (eg 'page') as well as static ones (action, target user/group).
2010-04-05Merge branch 'master' into testingBrion Vibber
2010-04-05use nofollow for subscribers listEvan Prodromou
2010-04-05use nofollow for group members listEvan Prodromou
2010-04-05use homepage link attributes method for peopletaglistEvan Prodromou
2010-04-05Merge branch 'nofollow'Evan Prodromou
2010-04-05nofollow for peopletag pagesEvan Prodromou
2010-04-05override linkAttributes() method for groupmembersminilistEvan Prodromou
2010-04-05add an event for group members minilistEvan Prodromou
2010-04-03Ticket #2272: Block confirmation form should let enter trigger the 'yes' buttonBrion Vibber
Setting focus into the form to make it easier to submit by keyboard. Enter or space will now trigger the button right off without having to mouse around to find the button after we've clicked into the conf form, and keyboarders can also get to the 'no' button more easily.
2010-04-03Ticket #2272: Block confirmation form should let enter trigger the 'yes' buttonBrion Vibber
Setting focus into the form to make it easier to submit by keyboard. Enter or space will now trigger the button right off without having to mouse around to find the button after we've clicked into the conf form, and keyboarders can also get to the 'no' button more easily.
2010-04-02Merge branch 'master' into testingBrion Vibber
2010-04-01Revert "Revert "if user allows location sharing but turned off browser ↵Evan Prodromou
location use profile location"" This reverts commit 8b24ad8a9c681585e95612084eb629df8b364b74.
2010-04-01Revert "if user allows location sharing but turned off browser location use ↵Evan Prodromou
profile location" This reverts commit 4b80ce0be89fe50eabec1a19dbf4a0c26a413423.
2010-04-01if user allows location sharing but turned off browser location use profile ↵Evan Prodromou
location
2010-03-30Ticket #1281: JID validation now more or less follows spec instead of ↵Brion Vibber
calling e-mail validator Basic splitting/validation code submitted via http://status.net/wiki/XMPP/JID_validation -- Copyright 2009 Patrick Georgi <patrick@georgi-clan.de> Licensed under ISC-L, which is compatible with everything else that keeps the copyright notice intact. Added PEAR Net_IDNA package to extlib to handle IDN normalization (also used by Validate's email verifier if present). * added test suite, supplemented my own test cases with JID validation and normalization test cases from libpurple * follows XMPP rules for validation of name part * fixes for normalization with non-ASCII names * will do domain checks if $config['email']['check_domain'] is on, checking for an XMPP-server SRV record or any lookup. (We don't actually need to ping those direct though.) * some more obscure stringprep validation rules aren't quite followed yet, but we err on the side of permissiveness. * we still don't actually let you save your address with a resource on it, as we strip resources when looking up users who've sent us presence or message updates. I would recommend saving the outgoing resource as a separate field if/when we add that..?
2010-03-30Fix for error output on invalid user ID to api groups listBrion Vibber
2010-03-30Fix for error output on invalid user ID to api groups listBrion Vibber
2010-03-30Fixes for apigrouplist - notice spew from undefined var, notice spew from ↵Brion Vibber
missing escape in sprintf format
2010-03-30Quick fixes for grouplistall:Brion Vibber
* respect count instead of listing all groups * respect page parameter * don't spew notice on undefined $id * don't spew notice on undefined $group->homepage_url (dropped the element since there's nothing to go in it)
2010-03-30Fixes for apigrouplist - notice spew from undefined var, notice spew from ↵Brion Vibber
missing escape in sprintf format
2010-03-30Quick fixes for grouplistall:Brion Vibber
* respect count instead of listing all groups * respect page parameter * don't spew notice on undefined $id * don't spew notice on undefined $group->homepage_url (dropped the element since there's nothing to go in it)
2010-03-29Fix to profile location in FOAF output: longitude was repeating the latitude ↵Brion Vibber
by mistake
2010-03-29Fix to profile location in FOAF output: longitude was repeating the latitude ↵Brion Vibber
by mistake
2010-03-26Really make sure we return 'true' and 'false' strings for boolean vals in ↵Zach Copley
api/statusnet/config.:format.
2010-03-25Using unique @for, @id pair for jabber and sms options in subscriptionsSarven Capadisli