Sarven Capadisli [Thu, 25 Mar 2010 16:47:04 +0000 (17:47 +0100)]
If indenting is disabled on the output, this fixes the entity_tags crop
Sarven Capadisli [Thu, 25 Mar 2010 16:33:59 +0000 (17:33 +0100)]
Fix for processing indicator for aside
Sarven Capadisli [Thu, 25 Mar 2010 14:08:00 +0000 (15:08 +0100)]
Updated biz theme to use realtime icons from core
Sarven Capadisli [Wed, 24 Mar 2010 22:33:00 +0000 (23:33 +0100)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Sarven Capadisli [Wed, 24 Mar 2010 22:31:30 +0000 (23:31 +0100)]
A lot of updates to keep the themes current (at least in functionality)
Sarven Capadisli [Wed, 24 Mar 2010 21:40:59 +0000 (22:40 +0100)]
location -> label class for cloudy
Brion Vibber [Wed, 24 Mar 2010 20:57:20 +0000 (13:57 -0700)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Wed, 24 Mar 2010 20:36:57 +0000 (13:36 -0700)]
Fix for API group methods, caused failure or output corruption when pulling up local groups by name in api/statusnet/groups/is_member.json/xml
Sarven Capadisli [Wed, 24 Mar 2010 20:34:53 +0000 (21:34 +0100)]
Using unique @for, @id pair for jabber and sms options in subscriptions
Sarven Capadisli [Wed, 24 Mar 2010 19:58:13 +0000 (20:58 +0100)]
Using hCard label instead of location. Matches userprofile.
Sarven Capadisli [Wed, 24 Mar 2010 19:50:07 +0000 (20:50 +0100)]
Updated tag list output in subscriptions list. Matches userprofile.
James Walker [Wed, 24 Mar 2010 19:26:03 +0000 (15:26 -0400)]
Make sure we're requiring the library
James Walker [Wed, 24 Mar 2010 19:18:41 +0000 (15:18 -0400)]
Updated Math_Biginteger from upstream - removing safe* workarounds
James Walker [Wed, 24 Mar 2010 19:15:20 +0000 (15:15 -0400)]
Check for 0.9.0 bad keys from old Crypt_RSA library
James Walker [Wed, 24 Mar 2010 18:27:35 +0000 (14:27 -0400)]
A bit safer checking in the keypair parsing
Sarven Capadisli [Wed, 24 Mar 2010 14:13:38 +0000 (15:13 +0100)]
Removed print stylesheet
Sarven Capadisli [Wed, 24 Mar 2010 13:50:12 +0000 (14:50 +0100)]
Moved print inside base stylesheet using media rules. One less HTTP GET.
Zach Copley [Wed, 24 Mar 2010 07:00:55 +0000 (00:00 -0700)]
Look for the first object in the Activity
Julien C [Sun, 7 Feb 2010 17:29:42 +0000 (18:29 +0100)]
Misc small fixes, plus a new hook in tag.php
Craig Andrews [Wed, 24 Mar 2010 02:42:30 +0000 (22:42 -0400)]
Use $param instead of hardcoded 'attach' name.
Craig Andrews [Wed, 24 Mar 2010 01:57:47 +0000 (21:57 -0400)]
Move the bundled Net/LDAP2 library to the LdapCommon directory
Brion Vibber [Wed, 24 Mar 2010 01:56:40 +0000 (18:56 -0700)]
Improve legibility of OStatus remote tests output
Craig Andrews [Wed, 24 Mar 2010 01:50:31 +0000 (21:50 -0400)]
Fix some regressions caused by refactor of LDAP plugin
Brion Vibber [Wed, 24 Mar 2010 01:44:54 +0000 (18:44 -0700)]
add a general PuSHed post and an @-reply back to a subscribee by name to OStatus remote test cases
Nick Holliday [Tue, 23 Mar 2010 22:30:02 +0000 (22:30 +0000)]
Converts Spotify URI/HTTP Links to pretty ones.
Brion Vibber [Wed, 24 Mar 2010 00:24:01 +0000 (17:24 -0700)]
fixup_deletions.php script to look for notices posted by now-deleted profiles and remove them.
Brion Vibber [Tue, 23 Mar 2010 21:20:14 +0000 (14:20 -0700)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Tue, 23 Mar 2010 21:19:12 +0000 (14:19 -0700)]
Add basic subscribe/unsubscribe test to OStatus test cases
Brion Vibber [Tue, 23 Mar 2010 21:18:45 +0000 (14:18 -0700)]
Don't spew XML parse warnings to output when checking a remote XRD page
Siebrand Mazeland [Tue, 23 Mar 2010 20:15:20 +0000 (21:15 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
Brion Vibber [Tue, 23 Mar 2010 20:10:23 +0000 (13:10 -0700)]
FOAF was missing OStatus remote subscriptions, now fixed.
Brion Vibber [Tue, 23 Mar 2010 19:13:32 +0000 (12:13 -0700)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing
Brion Vibber [Tue, 23 Mar 2010 18:25:36 +0000 (11:25 -0700)]
Ticket 2188: add a daily average post count to profile statistics sidebar.
When we have more detailed history stats, this'd be a good place to link to details/graphs.
Brion Vibber [Tue, 23 Mar 2010 18:06:37 +0000 (11:06 -0700)]
Consistently send Profiles into Fave::addNew()
Brion Vibber [Tue, 23 Mar 2010 18:06:37 +0000 (11:06 -0700)]
Consistently send Profiles into Fave::addNew()
Brion Vibber [Tue, 23 Mar 2010 16:50:01 +0000 (09:50 -0700)]
Don't add PHPSESSID parameter onto notice and conversation URIs if we save a notice during a session override.
This was being triggered by welcomebot messages created at account creation time, then propagated through replies.
Brion Vibber [Tue, 23 Mar 2010 16:50:01 +0000 (09:50 -0700)]
Don't add PHPSESSID parameter onto notice and conversation URIs if we save a notice during a session override.
This was being triggered by welcomebot messages created at account creation time, then propagated through replies.
Evan Prodromou [Tue, 23 Mar 2010 15:36:02 +0000 (11:36 -0400)]
reformat OpenIDPlugin for PHPCS
Brion Vibber [Tue, 23 Mar 2010 15:21:32 +0000 (08:21 -0700)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Zach Copley [Tue, 23 Mar 2010 04:48:21 +0000 (21:48 -0700)]
Fix reference. Look at the first ActivityObject in the list.
Zach Copley [Tue, 23 Mar 2010 01:53:09 +0000 (18:53 -0700)]
Some initial media parsing
- Activity now returns a list of activity objects
- Processing of photo objects
Zach Copley [Tue, 23 Mar 2010 01:54:46 +0000 (18:54 -0700)]
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
* 'testing' of gitorious.org:statusnet/mainline:
OStatus remote sending test cases. Doesn't actually run within PHPUnit right now, must be run from command line -- specify base URLs to two StatusNet sites that will be able to communicate with each other.
Math_BigInteger doesn't correctly handle serialization/deserialization for a value of 0, which can end up spewing notices to output and otherwise intefering with Salmon signature setup and verification when using memcached.
Log backtraces for non-ClientException exceptions caught at the top-level handler.
Confirm there's actually user and domain portions of acct string before assigning things from output of explode(); avoids notice message when invalid input passed to main/xrd
Fixing HTTP Header LRDD parsing (sites in subdirectories need this)
Replace the "give up and dump object" attachment view fallback with a client-side redirect to the target URL, which will at least be useful.
ignore unrecognized object types
Pull <atom:author> info as well as <activity:actor> when we have an old-style ActivityStreams feed. This fixes subscription setup for Cliqset feeds, which currently have a bogus activity:actor/atom:id but a good atom:author/atom:uri
Accept 'tag' and other non-http id URIs in Ostatus_profile::getActivityObjectProfileURI().
Brion Vibber [Tue, 23 Mar 2010 00:08:05 +0000 (17:08 -0700)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Mon, 22 Mar 2010 22:55:13 +0000 (15:55 -0700)]
OStatus remote sending test cases. Doesn't actually run within PHPUnit right now, must be run from command line -- specify base URLs to two StatusNet sites that will be able to communicate with each other.
Current test run includes:
* register accounts (via web form)
* local post
* @-mention using path (@domain/path/to/user)
Subscriptions, webfinger mentions, various paths to subscription and unsubscription, etc to come.
Craig Andrews [Mon, 22 Mar 2010 20:04:06 +0000 (16:04 -0400)]
Need to pass the password parameter to checkPassword
Brion Vibber [Mon, 22 Mar 2010 19:37:45 +0000 (12:37 -0700)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Conflicts:
lib/attachmentlist.php
Brion Vibber [Mon, 22 Mar 2010 19:17:45 +0000 (12:17 -0700)]
Math_BigInteger doesn't correctly handle serialization/deserialization for a value of 0, which can end up spewing notices to output and otherwise intefering with Salmon signature setup and verification when using memcached.
Worked around this with a subclass that fixes the wakeup, used for the stored 0 value in the subclassed Crypt_RSA.
Brion Vibber [Mon, 22 Mar 2010 18:33:56 +0000 (11:33 -0700)]
Log backtraces for non-ClientException exceptions caught at the top-level handler.
Brion Vibber [Mon, 22 Mar 2010 18:27:39 +0000 (11:27 -0700)]
Confirm there's actually user and domain portions of acct string before assigning things from output of explode(); avoids notice message when invalid input passed to main/xrd
Craig Andrews [Mon, 22 Mar 2010 18:22:18 +0000 (14:22 -0400)]
blowSubscriberCount and blowSubscriptionCount - no 's'
Craig Andrews [Mon, 22 Mar 2010 03:05:23 +0000 (23:05 -0400)]
Refactor common parts of LdapAuthorization and LdapAuthentication plugins into a separate class
LdapAuthorization should get a performance improvement as LDAP schema caching is now used
Brion Vibber [Mon, 22 Mar 2010 17:35:54 +0000 (10:35 -0700)]
Replace the "give up and dump object" attachment view fallback with a client-side redirect to the target URL, which will at least be useful.
James Walker [Mon, 22 Mar 2010 17:44:05 +0000 (13:44 -0400)]
Fixing HTTP Header LRDD parsing (sites in subdirectories need this)
Brion Vibber [Mon, 22 Mar 2010 17:35:54 +0000 (10:35 -0700)]
Replace the "give up and dump object" attachment view fallback with a client-side redirect to the target URL, which will at least be useful.
Sean Carmody [Wed, 17 Mar 2010 13:06:42 +0000 (00:06 +1100)]
Added plugin AutoSandbox for spam-management: new users sandboxed by default
Sarven Capadisli [Mon, 22 Mar 2010 13:14:07 +0000 (14:14 +0100)]
Minor core alignment for cloudy
Sarven Capadisli [Mon, 22 Mar 2010 13:07:59 +0000 (14:07 +0100)]
Updated logos
Evan Prodromou [Mon, 22 Mar 2010 12:17:14 +0000 (08:17 -0400)]
ignore unrecognized object types
Zach Copley [Mon, 22 Mar 2010 01:47:43 +0000 (18:47 -0700)]
Fix broken assertion
Craig Andrews [Mon, 22 Mar 2010 00:28:33 +0000 (20:28 -0400)]
Fix stupid typo in ldap authorization debug logging
Brion Vibber [Sun, 21 Mar 2010 23:28:56 +0000 (16:28 -0700)]
Merge branch 'testing' into 0.9.x
Brion Vibber [Sun, 21 Mar 2010 23:25:12 +0000 (16:25 -0700)]
Pull <atom:author> info as well as <activity:actor> when we have an old-style ActivityStreams feed. This fixes subscription setup for Cliqset feeds, which currently have a bogus activity:actor/atom:id but a good atom:author/atom:uri
Brion Vibber [Sun, 21 Mar 2010 22:46:28 +0000 (15:46 -0700)]
Accept 'tag' and other non-http id URIs in Ostatus_profile::getActivityObjectProfileURI().
(If there's not a valid ID we fall back to the link, which we do still validate as http/s.)
Brion Vibber [Sun, 21 Mar 2010 22:18:37 +0000 (15:18 -0700)]
OStatus profile setup cleanup
* drop OStatusPlugin::localProfileFromUrl(), we can just look up on user.uri
* clean up a few edge cases that returned null through Ostatus_profile::ensure* code paths, now throws clear exception when we can't find a feed from the given profile url
* add some doc comments on the ensure* methods
Evan Prodromou [Sun, 21 Mar 2010 12:37:58 +0000 (07:37 -0500)]
only use Posterous author data if it matches the profile URL
Evan Prodromou [Sat, 20 Mar 2010 22:18:55 +0000 (17:18 -0500)]
use Posterous element if available for RssChannel discovery
Evan Prodromou [Sat, 20 Mar 2010 22:18:24 +0000 (17:18 -0500)]
correct creation of avatar links for RSS and Posterous elements
Evan Prodromou [Sat, 20 Mar 2010 21:55:36 +0000 (16:55 -0500)]
move atom category to its own file, too
Evan Prodromou [Sat, 20 Mar 2010 21:53:47 +0000 (16:53 -0500)]
test posterous author use
Evan Prodromou [Sat, 20 Mar 2010 21:53:30 +0000 (16:53 -0500)]
special-case Posterous author element for activity actor
Evan Prodromou [Sat, 20 Mar 2010 21:11:42 +0000 (16:11 -0500)]
Merge branch 'testing' into 0.9.x
Conflicts:
lib/activity.php
Evan Prodromou [Sat, 20 Mar 2010 21:06:22 +0000 (16:06 -0500)]
Move activity classes to their own files
Moved the various classes used by the Activity class to their own
files. There were >10 classes in the same file, with around 1500 lines
in the file. Just too big.
This change makes autoloading work for these classes, so also removed
the hard require in lib/common.php.
Craig Andrews [Sat, 20 Mar 2010 16:02:00 +0000 (12:02 -0400)]
Remove deprecated call-time pass-by-reference
Evan Prodromou [Sat, 20 Mar 2010 14:46:22 +0000 (09:46 -0500)]
use feedEl for discovery
Evan Prodromou [Sat, 20 Mar 2010 14:30:57 +0000 (09:30 -0500)]
fall back to summary or title if content not available
Evan Prodromou [Sat, 20 Mar 2010 14:30:28 +0000 (09:30 -0500)]
allow html content in summary and clean it out of title
Evan Prodromou [Sat, 20 Mar 2010 13:25:56 +0000 (08:25 -0500)]
Allow PuSH posts without author information
Superfeedr (sp.?) posts entries without author information. We can
assume that this is intended to be by the original author.
Re-structured the checks for entries that come in by PuSH so they can
either have no author or an empty author, but not a different author.
Evan Prodromou [Sat, 20 Mar 2010 12:23:13 +0000 (07:23 -0500)]
handle RSS as well as Atom in Ostatus push hits
Evan Prodromou [Sat, 20 Mar 2010 12:19:54 +0000 (07:19 -0500)]
rename $rss to $channel to prevent misunderstanding
RSS feeds have the format
<rss><channel><item/><item/><item/></channel></rss>. The element named
$rss was actually the <channel> element, so I renamed the variable so
I wouldn't hurt my head.
Evan Prodromou [Sat, 20 Mar 2010 11:44:55 +0000 (06:44 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Sat, 20 Mar 2010 11:44:38 +0000 (06:44 -0500)]
try to make a nickname from the user profile url before using the URI
Brion Vibber [Fri, 19 Mar 2010 22:54:16 +0000 (15:54 -0700)]
Avoid notices for accessing undefined array indices in hcard processing
Brion Vibber [Fri, 19 Mar 2010 22:54:16 +0000 (15:54 -0700)]
Avoid notices for accessing undefined array indices in hcard processing
Brion Vibber [Fri, 19 Mar 2010 22:51:22 +0000 (15:51 -0700)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Conflicts:
plugins/OStatus/extlib/hkit/hkit.class.php
plugins/OStatus/lib/discoveryhints.php
Brion Vibber [Fri, 19 Mar 2010 22:47:43 +0000 (15:47 -0700)]
OStatus: be a little laxer about attempts to start/stop PuSH subscriptions that were left in an inconsistent state.
Instead of aborting, we'll try to reconfirm the sub/unsub, which once confirmed will replace whatever the previous state was on the server side.
Brion Vibber [Fri, 19 Mar 2010 22:29:00 +0000 (15:29 -0700)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing
Sarven Capadisli [Fri, 19 Mar 2010 21:27:27 +0000 (22:27 +0100)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Sarven Capadisli [Fri, 19 Mar 2010 21:26:50 +0000 (22:26 +0100)]
Removed box-shadow and outline on notice more link focus
Evan Prodromou [Fri, 19 Mar 2010 20:50:06 +0000 (15:50 -0500)]
ensure from an RSS channel
Evan Prodromou [Fri, 19 Mar 2010 20:49:38 +0000 (15:49 -0500)]
make deriving a subject from an RSS channel work
Evan Prodromou [Fri, 19 Mar 2010 20:41:48 +0000 (15:41 -0500)]
move ActivityObject constructors from Activity to ActivityObject
Evan Prodromou [Fri, 19 Mar 2010 20:28:25 +0000 (15:28 -0500)]
only search elements for links
Evan Prodromou [Fri, 19 Mar 2010 20:28:06 +0000 (15:28 -0500)]
return empty hints if no hcard in the html
Evan Prodromou [Fri, 19 Mar 2010 20:23:30 +0000 (15:23 -0500)]
define a 'root' attribute for the channel or feed
Brion Vibber [Fri, 19 Mar 2010 19:50:34 +0000 (12:50 -0700)]
Fix typo in public tag cloud query setup which caused the cutoff to get skipped.
Brion Vibber [Fri, 19 Mar 2010 19:50:34 +0000 (12:50 -0700)]
Fix typo in public tag cloud query setup which caused the cutoff to get skipped.
Brion Vibber [Fri, 19 Mar 2010 19:38:14 +0000 (12:38 -0700)]
Throw an exception when an undefined method is called on one of our DB_DataObjects, instead of failing silently.
The magic __call() method is used to implement a getter and setter interface, and simply didn't bother to throw an error for things it didn't recognize.
This may expose a number of existing errors where mistyped method names are called and we're not noticing that they're failing.
Brion Vibber [Mon, 15 Mar 2010 22:41:57 +0000 (15:41 -0700)]
Drop result ID from data objects on clone(). This keeps the original object working if it was in the middle of a query loop, even if the cloned object falls out of scope and triggers its destructor.
This bug was hitting a number of places where we had the pattern:
$db->find();
while($dbo->fetch()) {
$x = clone($dbo);
// do anything with $x other than storing it in an array
}
The cloned object's destructor would trigger on the second run through the loop, freeing the database result set -- not really what we wanted.
(Loops that stored the clones into an array were fine, since the clones stay in scope in the array longer than the original does.)
Detaching the database result from the clone lets us work with its data without interfering with the rest of the query.
In the unlikely even that somebody is making clones in the middle of a query, then trying to continue the query with the clone instead of the original object, well they're gonna be broken now.
Brion Vibber [Fri, 19 Mar 2010 18:17:56 +0000 (11:17 -0700)]
clarify output on fixup-shadow.php
Sarven Capadisli [Fri, 19 Mar 2010 18:06:54 +0000 (19:06 +0100)]
Using opacity on the notice more link icon