summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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-20Add a library to mint tag URIsEvan Prodromou
We've been making pretty crummy tag: URIs for a while. We should continue to favor HTTP URIs, since it's nice to be able to discover things about an object you've shared the ID of. Where that's not possible, this makes nicer tag URIs.
2010-02-19Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingEvan Prodromou
Conflicts: plugins/OStatus/actions/salmon.php
2010-02-19remove unused subs_(un)subscribe_user functionsEvan Prodromou
2010-02-19replace calls to subs_(un)subscribe_user with Subscription methodsEvan Prodromou
2010-02-19Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingSarven Capadisli
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-19Using inlineScript instead for clickjacking checkSarven Capadisli
2010-02-19Only load json2.js if native JSON is not supportedSarven Capadisli
2010-02-18OStatus sub/unsub updates:Brion Vibber
- fix for PuSH unsub verification - send Salmon notification on unsub
2010-02-17Merge branch 'master' into testingBrion Vibber
2010-02-17Queues: redid the breakout control model so we can start up and subscribe to ↵Brion Vibber
queues without running through the complete site list, which is ok at 1k sites but too slow at 10k. All breakout queues that we're going to need to listen to now need to be explicitly listed in $config['queue']['breakout']. Until XMPP is moved to component model, this setting will let the individual processes work with their own queues: $config['queue']['breakout'][] = 'xmpp/xmppout/' . $config['site']['nickname'];
2010-02-17Upgrade Twitter bridge to use OAuth 1.0a. It's more secure, and allowsZach Copley
us to automatically send in a callback url instead of having to manually configure one for each StatusNet instance.
2010-02-17Merge branch 'master' into testingBrion Vibber
2010-02-17Fix exception on bad plugin loadBrion Vibber
2010-02-17parse_url returns an associative array - not an objectCraig Andrews
2010-02-17OStatus: override source link with the source domain and link to original ↵Brion Vibber
message
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-16Pull fix from testing branch: use new encoding funcs w/ stomp queuesBrion Vibber
2010-02-16move some nickname-guessing code to lib/util.php from OpenIDEvan Prodromou
2010-02-16Upgrade Twitter bridge to use OAuth 1.0a. It's more secure, and allowsZach Copley
us to automatically send in a callback url instead of having to manually configure one for each StatusNet instance.
2010-02-15Added another single whitespaceSarven Capadisli
2010-02-15Added single whitespace to separate inline text words.Sarven Capadisli
2010-02-13Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingSarven Capadisli
2010-02-13Added event hook to remote subscriptionSarven Capadisli
2010-02-13Merge branch 'ssleverything' into testingEvan Prodromou
2010-02-12Add OStatus PuSH hub and Salmon links back into user and group feedsZach Copley
2010-02-12Session fix for PHP 5.3 configurations where cookies are excluded from ↵Brion Vibber
$_REQUEST via request_order in php.ini (Fedora 12, MacPorts known to be affected)
2010-02-12Initial upgraded Atom output for group timelinesZach Copley
2010-02-11let files go to SSL dir tooEvan Prodromou
2010-02-11let backgrounds be put under SSLEvan Prodromou
2010-02-11put Javascript files under SSLEvan Prodromou
2010-02-11Make Atom timelines in the API use Atom10feedZach Copley
2010-02-11Added some boilerplate class comments, etc.Zach Copley
2010-02-11Some upgrades to Atom output for OStatusZach Copley
2010-02-11Utility classes for atom feedsZach Copley
2010-02-11let avatars be served over SSLEvan Prodromou
2010-02-11default theme ssl to nullEvan Prodromou
2010-02-11null theme ssl setting means 'guess'Evan Prodromou
2010-02-11Themes can be served from an SSL serverEvan Prodromou
2010-02-10fix up hub queueing to work w/ stomp queuesBrion Vibber
2010-02-10Merge branch 'master' of git@gitorious.org:statusnet/mainline into testingBrion Vibber
2010-02-10Queue daemon fixes:Brion Vibber
* skip unnecessary unsubscribes on graceful shutdown -- takes a long time for many queues, slows down our restarts when hitting graceful mem limit * fix control channel (was broken when we switched to support multiple queue servers)
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-09Configurable delay between queuedaemon.php spawns/respawns to help stagger ↵Brion Vibber
out startups and subscriptions. Defaults to 1 second. $config['queue']['spawndelay'] = 1;
2010-02-09Configurable delay between queuedaemon.php spawns/respawns to help stagger ↵Brion Vibber
out startups and subscriptions. Defaults to 1 second. $config['queue']['spawndelay'] = 1;
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-08readme and version for beta5Evan Prodromou
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.