Brion Vibber [Tue, 16 Feb 2010 17:22:02 +0000 (09:22 -0800)]
Merge branch 'master' into testing
Conflicts:
lib/stompqueuemanager.php
Brion Vibber [Tue, 16 Feb 2010 17:01:59 +0000 (09:01 -0800)]
Stomp queue restructuring for mass scalability:
- 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
Brion Vibber [Tue, 16 Feb 2010 17:15:29 +0000 (09:15 -0800)]
Pull fix from testing branch: use new encoding funcs w/ stomp queues
Sarven Capadisli [Tue, 16 Feb 2010 16:36:45 +0000 (17:36 +0100)]
Minor optimization to only bind an hover event to the notice at hand.
Sarven Capadisli [Tue, 16 Feb 2010 16:10:24 +0000 (17:10 +0100)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Sarven Capadisli [Tue, 16 Feb 2010 16:09:34 +0000 (17:09 +0100)]
Fix to allow any notice item with an attachment to use the overlay view
Evan Prodromou [Tue, 16 Feb 2010 16:06:10 +0000 (11:06 -0500)]
move some nickname-guessing code to lib/util.php from OpenID
Evan Prodromou [Tue, 16 Feb 2010 15:18:23 +0000 (10:18 -0500)]
add a couple of FIXME comments
Evan Prodromou [Tue, 16 Feb 2010 14:58:33 +0000 (09:58 -0500)]
change find() to staticGet() to use cache
Zach Copley [Tue, 16 Feb 2010 06:12:08 +0000 (06:12 +0000)]
Upgrade Twitter bridge to use OAuth 1.0a. It's more secure, and allows
us to automatically send in a callback url instead of having to manually
configure one for each StatusNet instance.
Brion Vibber [Mon, 15 Feb 2010 23:19:16 +0000 (15:19 -0800)]
Temporary debug hack tracking down 'revoked accesstoken' issue with OMB posts
Zach Copley [Mon, 15 Feb 2010 22:13:10 +0000 (22:13 +0000)]
Use static class method for looking up Twitter user
Zach Copley [Mon, 15 Feb 2010 22:13:10 +0000 (22:13 +0000)]
Use static class method for looking up Twitter user
Zach Copley [Mon, 15 Feb 2010 21:53:49 +0000 (21:53 +0000)]
Twitter-bridge: lookup old foreign_user by primary key not url
Zach Copley [Mon, 15 Feb 2010 21:53:49 +0000 (21:53 +0000)]
Twitter-bridge: lookup old foreign_user by primary key not url
Zach Copley [Mon, 15 Feb 2010 21:23:26 +0000 (21:23 +0000)]
Better log msgs. Removed debugging statement.
Zach Copley [Mon, 15 Feb 2010 21:23:26 +0000 (21:23 +0000)]
Better log msgs. Removed debugging statement.
Zach Copley [Mon, 15 Feb 2010 21:14:32 +0000 (21:14 +0000)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Zach Copley [Mon, 15 Feb 2010 21:10:45 +0000 (21:10 +0000)]
Fix for regression introduced with my last update to the
TwitterStatusFetcher: the Twitter bridge was not saving a foreign user
record when making a foreign link.
Zach Copley [Mon, 15 Feb 2010 21:10:45 +0000 (21:10 +0000)]
Fix for regression introduced with my last update to the
TwitterStatusFetcher: the Twitter bridge was not saving a foreign user
record when making a foreign link.
Sarven Capadisli [Mon, 15 Feb 2010 20:34:41 +0000 (21:34 +0100)]
Updated the base stylesheet for minor fixes (which relied on indenting)
Sarven Capadisli [Mon, 15 Feb 2010 20:21:25 +0000 (21:21 +0100)]
Added another single whitespace
Sarven Capadisli [Mon, 15 Feb 2010 19:41:46 +0000 (20:41 +0100)]
Added single whitespace to separate inline text words.
Evan Prodromou [Sun, 14 Feb 2010 18:19:32 +0000 (13:19 -0500)]
test parsing a default atom feed for activities
Evan Prodromou [Sun, 14 Feb 2010 17:12:47 +0000 (12:12 -0500)]
update activity and salmon for previous commit
Evan Prodromou [Sun, 14 Feb 2010 17:09:07 +0000 (12:09 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Sun, 14 Feb 2010 17:08:09 +0000 (12:08 -0500)]
More complete activity parsing
Began the process of actually digging up activity information
from an Atom entry. Added a test script to make sure parsing
is working right.
Sarven Capadisli [Sat, 13 Feb 2010 19:28:39 +0000 (20:28 +0100)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Sarven Capadisli [Sat, 13 Feb 2010 19:28:05 +0000 (20:28 +0100)]
Dialogbox for OStatus remote subscription
Sarven Capadisli [Sat, 13 Feb 2010 18:07:21 +0000 (19:07 +0100)]
Added dialogbox styles for OStatus subscribe form
Sarven Capadisli [Sat, 13 Feb 2010 17:49:14 +0000 (18:49 +0100)]
Added XHR channel for OStatus Subscribe button
Sarven Capadisli [Sat, 13 Feb 2010 17:46:10 +0000 (18:46 +0100)]
Updated feed subscription form markup
Sarven Capadisli [Sat, 13 Feb 2010 17:44:41 +0000 (18:44 +0100)]
Updated OStatus form markup
Sarven Capadisli [Sat, 13 Feb 2010 17:42:00 +0000 (18:42 +0100)]
Using the new remote subscription event and updated subscribe label
Sarven Capadisli [Sat, 13 Feb 2010 17:40:36 +0000 (18:40 +0100)]
Added event hook to remote subscription
Evan Prodromou [Sat, 13 Feb 2010 17:39:15 +0000 (12:39 -0500)]
Merge branch 'ssleverything' into testing
Zach Copley [Sat, 13 Feb 2010 03:00:35 +0000 (19:00 -0800)]
Add OStatus PuSH hub and Salmon links back into user and group feeds
Brion Vibber [Fri, 12 Feb 2010 23:30:23 +0000 (15:30 -0800)]
fix for Atom notice output: correct check against conversation & current id
Brion Vibber [Fri, 12 Feb 2010 23:24:15 +0000 (15:24 -0800)]
Session fix for PHP 5.3 configurations where cookies are excluded from $_REQUEST via request_order in php.ini (Fedora 12, MacPorts known to be affected)
Zach Copley [Fri, 12 Feb 2010 20:22:12 +0000 (12:22 -0800)]
Initial upgraded Atom output for group timelines
Brion Vibber [Fri, 12 Feb 2010 19:15:12 +0000 (11:15 -0800)]
PHP 5.3 compatibility hack for DB_DataObject
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.
Brion Vibber [Fri, 12 Feb 2010 18:58:29 +0000 (18:58 +0000)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Brion Vibber [Fri, 12 Feb 2010 18:54:48 +0000 (18:54 +0000)]
OStatus: prep work for sending notifications on sub/unsub/join/leave/favorite/unfavorite via Salmon; needs to be completed and hooked up once feed gen is fixed.
Sarven Capadisli [Fri, 12 Feb 2010 17:30:27 +0000 (18:30 +0100)]
Revert "Added 'pre' to pick up Palm Pre's UA string:"
This reverts commit
094565b4aa1893e6a4422f3d05a0a43844e47a67.
On second thought, "pre" is probably the stupidest way of
differentiating one agent from another. Need a different solution.
Sarven Capadisli [Fri, 12 Feb 2010 17:20:13 +0000 (18:20 +0100)]
Added 'pre' to pick up Palm Pre's UA string:
Mozilla/5.0 (webOS/1.3.5.1; U; en-US) AppleWebKit/525.27.1 (KHTML,
like Gecko) Version/1.0 Safari/525.27.1 Pre/1.0
Sarven Capadisli [Fri, 12 Feb 2010 13:16:38 +0000 (14:16 +0100)]
More style generalisation for dialogbox
Sarven Capadisli [Fri, 12 Feb 2010 11:04:14 +0000 (12:04 +0100)]
Extracted default values for dialogbox layout and uniqe for form_repeat
Sarven Capadisli [Fri, 12 Feb 2010 10:34:23 +0000 (11:34 +0100)]
Moved colour properties out of base stylesheet
Evan Prodromou [Fri, 12 Feb 2010 05:43:16 +0000 (00:43 -0500)]
flesh out salmon endpoint
Evan Prodromou [Fri, 12 Feb 2010 05:42:42 +0000 (00:42 -0500)]
stub for activities
Brion Vibber [Fri, 12 Feb 2010 01:11:46 +0000 (01:11 +0000)]
OStatus sub setup code cleanup and partial group fixes (needs more work after the Atom updates are done)
Zach Copley [Fri, 12 Feb 2010 01:08:50 +0000 (17:08 -0800)]
Fix retarded spelling mistake
Zach Copley [Thu, 11 Feb 2010 23:24:18 +0000 (15:24 -0800)]
ostatus:attention links in Notice Atom output
Brion Vibber [Fri, 12 Feb 2010 00:22:16 +0000 (00:22 +0000)]
OStatus: renamed feedinfo table to ostatus_profile -- will cover remote ostatus people and groups whether a subscription's active or not (maintains identity over unsub/resub, and between subscribers and subscribees)
Brion Vibber [Thu, 11 Feb 2010 22:42:36 +0000 (22:42 +0000)]
OStatus: correct parsing of georss:point for max interop (commas allowed, whitespace not strictly defined)
Evan Prodromou [Thu, 11 Feb 2010 22:06:57 +0000 (17:06 -0500)]
let files go to SSL dir too
Evan Prodromou [Thu, 11 Feb 2010 22:03:31 +0000 (17:03 -0500)]
let backgrounds be put under SSL
Evan Prodromou [Thu, 11 Feb 2010 21:59:39 +0000 (16:59 -0500)]
put Javascript files under SSL
Zach Copley [Thu, 11 Feb 2010 21:54:40 +0000 (13:54 -0800)]
Make Atom timelines in the API use Atom10feed
Zach Copley [Thu, 11 Feb 2010 05:21:42 +0000 (21:21 -0800)]
Added some boilerplate class comments, etc.
Zach Copley [Thu, 11 Feb 2010 02:55:14 +0000 (18:55 -0800)]
Some upgrades to Atom output for OStatus
Zach Copley [Wed, 10 Feb 2010 22:24:16 +0000 (14:24 -0800)]
Utility classes for atom feeds
Evan Prodromou [Thu, 11 Feb 2010 21:51:15 +0000 (16:51 -0500)]
let avatars be served over SSL
Evan Prodromou [Thu, 11 Feb 2010 21:48:15 +0000 (16:48 -0500)]
default theme ssl to null
Evan Prodromou [Thu, 11 Feb 2010 21:47:47 +0000 (16:47 -0500)]
null theme ssl setting means 'guess'
Evan Prodromou [Thu, 11 Feb 2010 21:42:58 +0000 (16:42 -0500)]
Themes can be served from an SSL server
Brion Vibber [Thu, 11 Feb 2010 20:12:48 +0000 (20:12 +0000)]
OStatus: save Salmon postback URI in feed subscription info, if provided. Will need it for sub/unsub postbacks and other notifications.
Brion Vibber [Thu, 11 Feb 2010 20:02:17 +0000 (20:02 +0000)]
OStatus: fix salmon link on Atom feeds; add a url spec for group feeds as well (endpoint needs impl)
Brion Vibber [Thu, 11 Feb 2010 19:44:03 +0000 (19:44 +0000)]
OStatus fix: include feed profile at notice text processing time, fixes replies
Brion Vibber [Thu, 11 Feb 2010 00:09:20 +0000 (00:09 +0000)]
OStatus: garbage collect unused PuSH subscriptions when the last local subscriber unsubs
Brion Vibber [Wed, 10 Feb 2010 22:58:39 +0000 (22:58 +0000)]
OStatus PuSH fixes:
* HMAC now calculated correctly - confirmed interop with Google's public hub
* Can optionally use an external PuSH hub, set URL in $config['ostatus']['hub']
(may have issues in replication environment, and will ping the hub for every
update rather than just those with subscribers) Internal hub will still function
when this is set, but won't be advertised. Warning: setting this, then turning
it off later will break subscriptions as that hub will no longer receive pings.
Brion Vibber [Wed, 10 Feb 2010 21:18:53 +0000 (21:18 +0000)]
OStatus update: now using standard save/delivery for incoming ostatus messages -- they get reflected to realtime and everything! woooo
Group delivery may still need some munging
Brion Vibber [Wed, 10 Feb 2010 20:47:42 +0000 (20:47 +0000)]
fix hubdistrib
Brion Vibber [Tue, 9 Feb 2010 00:43:37 +0000 (16:43 -0800)]
fix up hub queueing to work w/ stomp queues
Brion Vibber [Wed, 10 Feb 2010 19:12:11 +0000 (11:12 -0800)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing
Brion Vibber [Wed, 10 Feb 2010 18:59:30 +0000 (10:59 -0800)]
Queue daemon fixes:
* 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)
Brion Vibber [Wed, 10 Feb 2010 18:18:47 +0000 (10:18 -0800)]
Filename case fix
Sarven Capadisli [Wed, 10 Feb 2010 10:47:46 +0000 (10:47 +0000)]
Fix to Realtime's repeat notice form legend and notice id
Sarven Capadisli [Wed, 10 Feb 2010 10:16:27 +0000 (11:16 +0100)]
Refactored repeat confirmation dialog. Also fixes dialog skipping.
James Walker [Wed, 10 Feb 2010 02:50:51 +0000 (21:50 -0500)]
removing the webfinger hack for Notice::asAtomEntry since salmon can use a profile URL
James Walker [Tue, 9 Feb 2010 21:53:51 +0000 (16:53 -0500)]
moving salmon endpoint under 'main/'
Brion Vibber [Wed, 10 Feb 2010 02:32:52 +0000 (18:32 -0800)]
OStatus partial support for group subscriptions:
* 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!
Brion Vibber [Tue, 9 Feb 2010 20:39:31 +0000 (12:39 -0800)]
Configurable delay between queuedaemon.php spawns/respawns to help stagger out startups and subscriptions. Defaults to 1 second.
$config['queue']['spawndelay'] = 1;
Brion Vibber [Tue, 9 Feb 2010 20:41:46 +0000 (12:41 -0800)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Brion Vibber [Tue, 9 Feb 2010 20:39:31 +0000 (12:39 -0800)]
Configurable delay between queuedaemon.php spawns/respawns to help stagger out startups and subscriptions. Defaults to 1 second.
$config['queue']['spawndelay'] = 1;
James Walker [Tue, 9 Feb 2010 20:37:37 +0000 (15:37 -0500)]
in progress Salmon responses
James Walker [Tue, 9 Feb 2010 08:16:21 +0000 (03:16 -0500)]
Merge remote branch 'statusnet/testing' into testing
James Walker [Tue, 9 Feb 2010 06:37:45 +0000 (01:37 -0500)]
discovery piece - hand merged :P
Zach Copley [Tue, 9 Feb 2010 05:52:05 +0000 (21:52 -0800)]
Better checking for duplicate app names
Zach Copley [Tue, 9 Feb 2010 05:55:32 +0000 (21:55 -0800)]
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
* '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
Zach Copley [Tue, 9 Feb 2010 05:52:05 +0000 (21:52 -0800)]
Better checking for duplicate app names
Brion Vibber [Tue, 9 Feb 2010 03:22:55 +0000 (19:22 -0800)]
Disable deprecated 'since' parameter on public_timeline API; causes performance problems. (since_id will work cleanly)
Brion Vibber [Mon, 8 Feb 2010 23:47:55 +0000 (15:47 -0800)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing
Brion Vibber [Mon, 8 Feb 2010 23:46:38 +0000 (15:46 -0800)]
Pull GeoRSS locations over OStatus feeds
Brion Vibber [Mon, 8 Feb 2010 23:32:20 +0000 (15:32 -0800)]
Allow scripts/decache.php to blow out cache for objects that don't exist (anymore).
May miss keys other than the given or primary key, but should work for a lot of common cases where a bad entry's been removed from DB but lingers in cache.
Brion Vibber [Mon, 8 Feb 2010 22:06:36 +0000 (14:06 -0800)]
OStatus cleanup...
* 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
Evan Prodromou [Mon, 1 Feb 2010 18:44:06 +0000 (13:44 -0500)]
readme and version for beta5
Zach Copley [Sat, 6 Feb 2010 06:46:00 +0000 (06:46 +0000)]
Delete old Twitter user record when user changes screen name instead of updating. Simpler.
Zach Copley [Sat, 6 Feb 2010 05:39:29 +0000 (21:39 -0800)]
Store Twitter screen_name, not name, for foreign_user.nickname when saving Twitter user.
Brion Vibber [Mon, 8 Feb 2010 19:06:03 +0000 (11:06 -0800)]
First steps on converting FeedSub into the pub/sub basis for OStatus 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.