summaryrefslogtreecommitdiff
path: root/classes
AgeCommit message (Collapse)Author
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
2010-02-13Merge branch 'ssleverything' into testingEvan Prodromou
2010-02-12fix for Atom notice output: correct check against conversation & current idBrion Vibber
2010-02-12Initial upgraded Atom output for group timelinesZach Copley
2010-02-12PHP 5.3 compatibility hack for DB_DataObjectBrion Vibber
statusnet.links.ini file could not be read anymore due to the entry for nonce containing a comma in its key value. PHP's parse_ini_file() function no longer allows commas in keys, and rejects the *ENTIRE FILE* if it's present, breaking various automatic joins.
2010-02-12OStatus: prep work for sending notifications on ↵Brion Vibber
sub/unsub/join/leave/favorite/unfavorite via Salmon; needs to be completed and hooked up once feed gen is fixed.
2010-02-11Fix retarded spelling mistakeZach Copley
2010-02-11ostatus:attention links in Notice Atom outputZach Copley
2010-02-11let files go to SSL dir tooEvan Prodromou
2010-02-11let backgrounds be put under SSLEvan Prodromou
2010-02-11Some upgrades to Atom output for OStatusZach Copley
2010-02-11let avatars be served over SSLEvan Prodromou
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-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-06Moderator can make users admins of a groupEvan Prodromou
2010-02-05Don't spew warnings on usage of MEMCACHE_COMPRESSED constant when memcache ↵Brion Vibber
PHP extension is not present. Switched to a locally-defined Cache::COMPRESSED, translating that to MEMCACHE_COMPRESSED in the plugin.
2010-02-05Merge branch 'temp'Zach Copley
2010-02-05OAuth app name should not be nullZach Copley
2010-02-05Allow developers to delete OAuth applicationsZach Copley
2010-02-05OAuth app names should be unique.Zach Copley
2010-02-05Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingZach Copley
2010-02-05OAuth app name should not be nullZach Copley
2010-02-04Merge branch 'master' into testing - drop debug statementsBrion Vibber
2010-02-04drop debug messages from inbox deletion fixBrion Vibber
2010-02-04Inbox::streamNotices() with deletion compensation: inbox paging should more ↵Brion Vibber
or less work with deleted items now. No change in efficiency for the common case where nothing's deleted: does the same bulk fetch of just the notices we think we'll need as before, then if we turned up short keeps checking one by one until we've filled up to our $limit. This can leave us with overlap between pages, but we already have that when new messages come in between clicks; seems to be the lesser of evils versus not getting a 'before' button. More permanent fix for that will be to switch timeline paging in the UI to use notice IDs.
2010-02-04Inbox::streamNotices() with deletion compensation: inbox paging should more ↵Brion Vibber
or less work with deleted items now. No change in efficiency for the common case where nothing's deleted: does the same bulk fetch of just the notices we think we'll need as before, then if we turned up short keeps checking one by one until we've filled up to our $limit. This can leave us with overlap between pages, but we already have that when new messages come in between clicks; seems to be the lesser of evils versus not getting a 'before' button. More permanent fix for that will be to switch timeline paging in the UI to use notice IDs.
2010-02-04Merge branch 'master' of gitorious.org:statusnet/mainline into testingBrion Vibber