summaryrefslogtreecommitdiff
path: root/actions
AgeCommit message (Collapse)Author
2010-02-25Add an hcard actionEvan Prodromou
A dedicated hcard action for users. Our profile page includes an hcard, but it's so full of other hcards that it's ambiguous which one is the "real" one. So, this one make sense for meaning, "This is my hcard."
2010-02-25save mainpage element for groupsEvan Prodromou
2010-02-25modify group actions so they use Local_group to look up by nicknameEvan Prodromou
2010-02-23Drop user-only requirement for subscribe actionEvan Prodromou
I removed the check for local users in the subscribe button. I replaced it with a more specific check for OMB 0.1 remote profiles, which you can't use with this action. I also took the opportunity to split the handle() method into prepare() and handle(), and added PHPCS clean documentation.
2010-02-23OStatus group delivery initial implementation.Brion Vibber
- added rel="ostatus:attention" links for group delivery - added events for plugins to override group profile/permalink pages - pulled Notice::saveGroups up to save-time so we can override; it's relatively cheap and gives us a clean list of target groups for distrib time even with customized delivery. - fixed notice::getGroups to return group objects as expected - added some doc on new parameters to Notice::saveNew - 'groups' list of group IDs to push to in place of parsing - messages that come in via PuSH and contain local group targets are delivered to local group members - messages that come in via PuSH and contain remote group targets are delivered to local members of the remote group Todo: - handle group posts that only come through Salmon - handle conflicts in case something comes in both through Salmon and PuSH - better source verification - need a cleaner interface to look up groups by URI - need a way to handle remote groups with conflicting names
2010-02-22Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingSarven Capadisli
2010-02-22Merge branch 'master' into testingEvan Prodromou
2010-02-22clear the site owner when profile changesEvan Prodromou
2010-02-22Added before and after event hooks for subscriptions contentSarven Capadisli
2010-02-21Merge branch 'master' of gitorious.org:statusnet/mainline into testingBrion Vibber
2010-02-21Performance fix for FriendFeed sup interface: MySQL query optimizer was ↵Brion Vibber
doing a table scan on notice; explicit subquery makes it run much more efficiently, only scanning items within the period under consideration. Standard subquery should be PostgreSQL-compatible.
2010-02-21Fix for doc action on systems that return false for globbing in a ↵Brion Vibber
non-existing dir
2010-02-20make sure argument to Fave::addNew() is a profileEvan Prodromou
2010-02-20Change to use TagURI::base() instead of common_config()Evan Prodromou
I changed the way that tag: URIs are minted, so we now use the right base. Ideally most of these would use HTTP URIs instead, but for now at least they use the right base.
2010-02-19replace calls to subs_(un)subscribe_user with Subscription methodsEvan Prodromou
2010-02-16OStatus: temporary output mode hack for apitimelineuser until PuSH feed ↵Brion Vibber
generation is updated to use the shared code instead of output buffering
2010-02-12Add OStatus PuSH hub and Salmon links back into user and group feedsZach Copley
2010-02-12Initial upgraded Atom output for group timelinesZach Copley
2010-02-11Make Atom timelines in the API use Atom10feedZach Copley
2010-02-11Some upgrades to Atom output for OStatusZach Copley
2010-02-11Utility classes for atom feedsZach Copley
2010-02-10Merge branch 'master' of git@gitorious.org:statusnet/mainline into testingBrion Vibber
2010-02-09OStatus partial support for group subscriptions:Brion Vibber
* detection of group feeds is currently a nasty hack based on presence of '/groups/' in URL -- should use some property on the feed? * listing for the remote group is kinda cruddy; needs to be named more cleanly * still need to establish per-author profiles (easier once we have the updated Atom code in) * group delivery probably not right yet * saving of group messages still triggering some weird behavior Added support for since_id and max_id on group timeline feeds as a free extra. Enjoy!
2010-02-08Better checking for duplicate app namesZach Copley
2010-02-08Merge branch 'testing' of gitorious.org:statusnet/mainline into testingZach Copley
* 'testing' of gitorious.org:statusnet/mainline: Pull GeoRSS locations over OStatus feeds Allow scripts/decache.php to blow out cache for objects that don't exist (anymore). OStatus cleanup... readme and version for beta5 Delete old Twitter user record when user changes screen name instead of updating. Simpler. Store Twitter screen_name, not name, for foreign_user.nickname when saving Twitter user. Actually store the timestamp on each nonce OAuth app name should not be null Fix issue with OAuth request parameters being parsed/stored twice when - Fix cache handling in TwitterStatusFetcher Added right margin for notice text. Helps Conversation notices look Confirm dialog for reset OAuth consumer key and secret button Always check for an OAuth request. This allows OAuth clients to set an Linkify notice source when posting from registered OAuth apps Suppress notice input box on OAuth authorization page Better token revocation Allow developers to delete OAuth applications OAuth app names should be unique. Prevents app statistic text from wrapping around avatar Sentence case for app statistics
2010-02-08Better checking for duplicate app namesZach Copley
2010-02-08Disable deprecated 'since' parameter on public_timeline API; causes ↵Brion Vibber
performance problems. (since_id will work cleanly)
2010-02-08OStatus cleanup...Brion Vibber
* Treat linkless feed posts as status updates; drop the "New post:" prefix and quotes on them. * Use stable user IDs for atom/rss2 feed links instead of unstable nicknames * Pull Atom feed preferentially when subscribing -- can now put the remote user's profile page straight into the feed subscription form and get to the right place. * Clean up naming for push endpoints
2010-02-08First steps on converting FeedSub into the pub/sub basis for OStatus ↵Brion Vibber
communications: * renamed FeedSub plugin to OStatus * now setting avatar on subscriptions * general fixes for subscription * integrated PuSH hub to handle only user timelines on canonical ID url; sends updates directly * set $config['feedsub']['nohub'] = true to test w/ foreign feeds that don't have hubs (won't actually receive updates though) * a few bits of code documentation * HMAC support for verified distributions (safest if sub setup is on HTTPS) And a couple core changes: * minimizing HTML output for exceptions in API requests to aid in debugging * fix for rel=self link in apitimelineuser when id given This does not not yet include any of the individual subscription management (Salmon notifications for sub/unsub, etc) nor a nice UI for user subscriptions. Needs some further cleanup to treat posts as status updates instead of link references.
2010-02-06Moderator can make users admins of a groupEvan Prodromou
2010-02-05Merge branch 'temp'Zach Copley
2010-02-05Fix issue with OAuth request parameters being parsed/stored twice whenZach Copley
calling /api/account/verify_credentials.:format
2010-02-05Confirm dialog for reset OAuth consumer key and secret buttonZach Copley
2010-02-05Suppress notice input box on OAuth authorization pageZach Copley
2010-02-05Better token revocationZach Copley
2010-02-05Allow developers to delete OAuth applicationsZach Copley
2010-02-05OAuth app names should be unique.Zach Copley
2010-02-05Sentence case for app statisticsSarven Capadisli
2010-02-05Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingZach Copley
2010-02-05Fix issue with OAuth request parameters being parsed/stored twice whenZach Copley
calling /api/account/verify_credentials.:format
2010-02-04Missed change when refactoring groups. Thanks macnoEric Helgeson
2010-02-04Missed change when refactoring groups. Thanks macnoEric Helgeson
2010-02-04Merge branch 'master' of gitorious.org:statusnet/mainline into testingBrion Vibber
2010-02-04Should fix spurious 'nickname taken' and 'email taken' errors on ↵Brion Vibber
registration. Form's checks for existing nicks & emails would incorrectly return true on the second lookup due to bad interaction with negative caching. (was checking $obj !== false but we return null now on negative cache hits, with false for cache misses)
2010-02-04Merge branch 'master' of gitorious.org:statusnet/mainline into testingBrion Vibber
2010-02-04Add time-based cutoffs for public tag cloud, favorited lists to speed up ↵Brion Vibber
those queries. Defaulting to only looking at last 90 days of activity, can be adjusted up or down. $config['tag']['cutoff'] = 86400 * 90; $config['popular']['cutoff'] = 86400 * 90; Per-user and per-group tag clouds do not use the cutoff (and it doesn't help with indexing on them).
2010-02-04Fixes minor remote subscription profile layoutSarven Capadisli
2010-02-03Confirm dialog for reset OAuth consumer key and secret buttonZach Copley
2010-02-02Suppress notice input box on OAuth authorization pageZach Copley
2010-02-02Better token revocationZach Copley