summaryrefslogtreecommitdiff
path: root/classes
AgeCommit message (Collapse)Author
2010-03-02Revert "Show <activity:subject> and no activity actors for user feed"Evan Prodromou
This reverts commit c25fc8a4b51466f13c41efc0565bf15f78f6cb4d.
2010-03-02don't duplicate title in summary in Atom output per RFC4287 4.2.13Evan Prodromou
2010-03-02Show <activity:subject> and no activity actors for user feedEvan Prodromou
We only need one author for user feeds: the user themselves. So, show the user as the activity:subject, and don't repeat the same activity:actor for every notice unnecessarily.
2010-03-01Remove check for secret in token deletion on Subscription::cancel()Evan Prodromou
2010-03-01Better logging on bad token in subscriptionEvan Prodromou
2010-03-01drop tokens for OMB on unsubscribeEvan Prodromou
2010-02-27fix call of common_find_mentions() in Notice::saveReplies()Evan Prodromou
2010-02-27Use notice for context when deciding who @nickname refers toEvan Prodromou
In a federated system, "@nickname" is insufficient to uniquely identify a user. However, it's a very convenient idiom. We need to guess from context who 'nickname' refers to. Previously, we were using the sender's profile (or what we knew about them) as the only context. So, we assumed that they'd be mentioning to someone they followed, or someone who followed them, or someone on their own server. Now, we include the notice information for context. We check to see if the notice is a reply to another notice, and if the author of the original notice has the nickname 'nickname', then the mention is probably for them. Alternately, if the original notice mentions someone with nickname 'nickname', then this notice is probably referring to _them_. Doing this kind of context sleuthing means we have to render the content very late in the notice-saving process.
2010-02-26blow cache on known repliesEvan Prodromou
2010-02-25Fix a few keys that got dropped from statusnet.ini by mistakeBrion Vibber
2010-02-25Add lots of fun avatars to our Atom outputZach Copley
2010-02-25Rationalize group activity stuffZach Copley
2010-02-25Merge branch 'testing' of gitorious.org:statusnet/mainline into testingBrion Vibber
2010-02-25OStatus: save categories from the Atom entry as hashtags.Brion Vibber
2010-02-25method for getting a group's URIEvan Prodromou
2010-02-25save mainpage element for groupsEvan Prodromou
2010-02-25Add 'mainpage' to User_groupEvan Prodromou
Add the mainpage attribute to user_group objects.
2010-02-25modify group actions so they use Local_group to look up by nicknameEvan Prodromou
2010-02-24recover user_openid tables, which got lost in generationEvan Prodromou
2010-02-24fixup exe bitsEvan Prodromou
2010-02-24Make user_group able to handle remote groupsEvan Prodromou
We add a local_group table to store data about local groups. It has the unique key for nickname, so /group/<nickname> looks up here. Updated DB data object classes and data files.
2010-02-24Add class and (if present) id to DB_DataObject error exceptions; often ↵Brion Vibber
they're VERRRRRY vague, and it helps to know what type of item is failing!
2010-02-22Add PoCo namespace to optional ns output in Notice::asAtomEntry()Zach Copley
2010-02-22Merge branch 'rationalize-activity' into testingZach Copley
* rationalize-activity: Move ActivityObject and related stuff to core Add PoCo bits, avatar link, geo point, etc. to person activity obj output
2010-02-22Move ActivityObject and related stuff to coreZach Copley
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-22add PoCo preferredUsername for nickname in Profile::asActivityNoun()Evan Prodromou
2010-02-22add strongly-suggested link to Profile::asActivityNoun()Evan Prodromou
2010-02-22Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingZach Copley
2010-02-22Upgrade profile-based activity noun to have more complete set ofZach Copley
profile fields
2010-02-21don't calculate replies for remote noticesEvan Prodromou
2010-02-21slight rearrangement of getting profile URIsEvan Prodromou
2010-02-21Combine code that finds mentions into one place and add hook pointsEvan Prodromou
Combined the code that finds mentions of other profiles into one place. common_find_mentions() finds mentions and calls hooks to allow supplemental syntax for mentions (like OStatus). common_linkify_mentions() links mentions. common_linkify_mention() links a mention. Notice::saveReplies() now uses common_find_mentions() instead of trying to parse everything again.
2010-02-21permalink on a note represented by rel=alternateEvan Prodromou
2010-02-21Notice::saveNew() accepts url and rendered optionsEvan Prodromou
2010-02-20OStatus: send favorite/unfavorite notifications to remote authorsBrion Vibber
2010-02-20Add events for favor and disfavorEvan Prodromou
Added events to core code for when someone favors or disfavors a notice.
2010-02-19Refactor subs_* functions for remote useEvan Prodromou
The subs_* functions in subs.php have made a lot of assumptions about users versus profiles. I've refactored the functions to be methods of the Subscription class instead, and to use Profile objects throughout. Some of the checks for blocks or existing subscriptions depended on users or profiles, so I've moved those methods around a bit. I've left stubs for the subs_* functions until we get time to replace them.
2010-02-18add type='text/html' to alternate link in Notice AtomEvan Prodromou
2010-02-18always distribute to inbox of author immediatelyEvan Prodromou
2010-02-17- Set the root of a new local conversation to a new conversation.idZach Copley
- Output conversation URIs from conversation.uri
2010-02-17- conversation.uri needs to be nullableZach Copley
- factory method for creating new local conversations
2010-02-16New Conversation DO to handle remote notices as conversation rootsZach Copley
2010-02-16More sensical profile::getUri()Zach Copley
2010-02-16Take remote profiles into account when looking up canonical profile URIsZach Copley
2010-02-16Add rel="avatar" to img links in <activity:actor> stanzasZach Copley
2010-02-16Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingEvan Prodromou
2010-02-16add a FIXME to ProfileEvan Prodromou
2010-02-16Merge branch 'master' into testingBrion Vibber
Conflicts: lib/stompqueuemanager.php
2010-02-16Stomp queue restructuring for mass scalability:Brion Vibber
- Multiplexing queues into groups and for multiple sites. - Sharing vs breakout configurable per site and per queue via $config['queue']['breakout'] - Detect how many times a message is redelivered, discard if it's killed too many daemons - count configurable with $config['queue']['max_retries'] - can dump the items to files in $config['queue']['dead_letter_dir'] Queue daemon memory & resource leak fixes: - avoid unnecessary reconnections to memcached server (switch persistent connections back in on second initialization, assuming it's child process) - monkey-patch for leaky .ini loads in DB_DataObject::databaseStructure() - was leaking 200k per active switch - applied leak fixes to Status_network as well, using intermediate base Safe_DataObject for both it and Memcache_DataObject Misc queue fixes: - correct handling of child processes exiting due to signal termination instead of regular exit - shutdown instead of infinite respawn loop if we're already past the soft memory limit at startup - Added --all option for xmppdaemon... still opens one xmpp connection per site that has xmpp active Cache updates: - add Cache::increment() method with native support for memcached atomic increment