summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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.
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-05Actually store the timestamp on each nonceZach Copley
2010-02-05Always check for an OAuth request. This allows OAuth clients to set anZach Copley
auth user, similar to how they can set one via http basic auth, even if one is not required. I think I finally got this right.
2010-02-05Linkify notice source when posting from registered OAuth appsZach Copley
2010-02-05Better token revocationZach Copley
2010-02-05Allow developers to delete OAuth applicationsZach Copley
2010-02-05Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingZach Copley
2010-02-05Actually store the timestamp on each nonceZach Copley
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-02Always check for an OAuth request. This allows OAuth clients to set anZach Copley
auth user, similar to how they can set one via http basic auth, even if one is not required. I think I finally got this right.
2010-02-02Linkify notice source when posting from registered OAuth appsZach Copley
2010-02-02Better token revocationZach Copley
2010-02-02Allow developers to delete OAuth applicationsZach Copley
2010-02-01readme and version for beta50.9.0beta5Evan Prodromou
2010-02-01Don't enqueue into plugin or SMS queues when disabled (breaks unqueuehandler ↵Brion Vibber
if SMS queue isn't attached)
2010-01-31move schema.type.php to typeschema.php like other filesEvan Prodromou
2010-01-31Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingEvan Prodromou
2010-01-31Add Really Simple Discovery (RSD) supportEvan Prodromou
Anil Dash suggested that all implementers of the Twitter API include support for the remedial RSD format. This commit adds an RSD action that returns the API root and additional API data to help client developers discover and use our Twitter-compatible API. http://dashes.com/anil/2009/12/the-twitter-api-is-finished.html http://tales.phrasewise.com/rfc/rsd
2010-01-31Add a robots.txt URL to the site rootEvan Prodromou
Adds a robots.txt file to the site root. Defaults defined by 'robotstxt' section of config. New events StartRobotsTxt and EndRobotsTxt to let plugins add information. Probably not useful if path is not /, but won't hurt anything, either.
2010-01-30on exceptions, stomp logs the error and reenqueuesEvan Prodromou
2010-01-30removed describeTable from base class, and fixed it up in pgsqlBrenda Wallace
2010-01-30getTableDef() mostly working in postgresBrenda Wallace
2010-01-30move the schema DDL sql off into seperate files for each db we supportBrenda Wallace
2010-01-29for single-user mode, retrieve either site owner or defined nicknameEvan Prodromou
2010-01-28Fix more fatal errors in queue edge casesBrion Vibber
2010-01-28Don't attempt to resend XMPP messages that can't be broadcast due to the ↵Brion Vibber
profile being deleted.
2010-01-28Merge branch 'master' of git@gitorious.org:statusnet/mainlineBrion Vibber
2010-01-28Wrap each bit of distrib queue handler's saving operation in a try/catch; ↵Brion Vibber
log exceptions but let everything else continue.
2010-01-28Move sessions settings to its own panelZach Copley
2010-01-29Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingZach Copley
2010-01-29Adjust API authentication to also check for OAuth protocol params in theZach Copley
HTTP Authorization header, as defined in OAuth HTTP Authorization Scheme.
2010-01-28Manual failover for stomp queues.Brion Vibber
If an array of multiple servers is put in $config['queue']['stomp_server'], enqueues will pick a random server to send to (failing over automatically if any are down). Queue handling daemons connect all servers so they get events no matter where they were delivered. In case of disconnection, daemons should now handle it gracefully and attempt to reconnect every 60 seconds or so, automatically resubscribing to all queues once it's back up. Can put to 'native' failover for reads as well by disabling $config['stomp']['manual_failover'] = false; but this is untested and may explode in addition to requiring that your ActiveMQ cluster actually be set up to handle its own data distribution. Additionally, can choose which queues to mark as persistent by setting $config['stomp']['persistent'] to an array of queue names.
2010-01-28Merge commit 'origin/master' into testingBrion Vibber
2010-01-28Remove redundant session token field from form (was already being added by ↵Zach Copley
base class).
2010-01-28Can now set $config['queue']['stomp_persistent'] = false; to explicitly ↵Brion Vibber
disable persistence when we queue items
2010-01-28Removed unused variable assignment for avatar URL and added missing fnSarven Capadisli
2010-01-27dropping the setcookie() call from common_ensure_session() since we're ↵Brion Vibber
pretty sure it's unnecessary
2010-01-27append '/' on cookie path for now (may still need some refactoring)Brion Vibber