Zach Copley [Wed, 17 Feb 2010 07:30:08 +0000 (23:30 -0800)]
New Conversation DO to handle remote notices as conversation roots
Zach Copley [Wed, 17 Feb 2010 04:14:33 +0000 (20:14 -0800)]
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
* 'testing' of gitorious.org:statusnet/mainline:
OStatus: override source link with the source domain and link to original message
OStatus: moving parts of profile processing to Activity from feedmunger. Pausing before refactoring DB schema a bit to clean up feed vs person vs group info
Zach Copley [Wed, 17 Feb 2010 04:13:39 +0000 (20:13 -0800)]
More sensical profile::getUri()
Brion Vibber [Wed, 17 Feb 2010 02:16:03 +0000 (02:16 +0000)]
OStatus: override source link with the source domain and link to original message
Brion Vibber [Wed, 17 Feb 2010 01:52:57 +0000 (01:52 +0000)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Brion Vibber [Wed, 17 Feb 2010 01:49:49 +0000 (01:49 +0000)]
OStatus: moving parts of profile processing to Activity from feedmunger. Pausing before refactoring DB schema a bit to clean up feed vs person vs group info
Zach Copley [Wed, 17 Feb 2010 00:23:57 +0000 (16:23 -0800)]
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
* 'testing' of gitorious.org:statusnet/mainline:
OStatus: migrated notice parsing to use Activity helper classes; on the way to killing FeedMunger
Zach Copley [Wed, 17 Feb 2010 00:22:58 +0000 (16:22 -0800)]
Take remote profiles into account when looking up canonical profile URIs
Brion Vibber [Tue, 16 Feb 2010 23:31:11 +0000 (23:31 +0000)]
OStatus: migrated notice parsing to use Activity helper classes; on the way to killing FeedMunger
Brion Vibber [Tue, 16 Feb 2010 23:04:39 +0000 (23:04 +0000)]
OStatus: check only direct children in ActivityUtil::child; fixes pulling actor's info when we wanted post info
Brion Vibber [Tue, 16 Feb 2010 22:04:57 +0000 (22:04 +0000)]
OStatus: temporary output mode hack for apitimelineuser until PuSH feed generation is updated to use the shared code instead of output buffering
Brion Vibber [Tue, 16 Feb 2010 22:03:24 +0000 (22:03 +0000)]
OStatus: fix up some recent regressions in subscription setup; fix state checks and verification token, and avatar save on setup. Needs updates for new atom code next...
Brion Vibber [Tue, 16 Feb 2010 20:11:48 +0000 (20:11 +0000)]
OStatus: fix for low-level remote subscribe
Zach Copley [Tue, 16 Feb 2010 19:32:10 +0000 (11:32 -0800)]
Add rel="avatar" to img links in <activity:actor> stanzas
Evan Prodromou [Tue, 16 Feb 2010 17:49:54 +0000 (12:49 -0500)]
restructure Activity classes to push more DOM stuff to ActivityUtils
Evan Prodromou [Tue, 16 Feb 2010 17:46:02 +0000 (12:46 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Tue, 16 Feb 2010 17:45:00 +0000 (12:45 -0500)]
add a FIXME to Profile
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;