]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
14 years agoMerge commit 'origin/master' into testing
Brion Vibber [Thu, 25 Mar 2010 18:43:26 +0000 (11:43 -0700)]
Merge commit 'origin/master' into testing

Conflicts:
classes/Notice.php

14 years agoMerge branch 'blacklisttable' into testing
Evan Prodromou [Thu, 25 Mar 2010 17:51:52 +0000 (13:51 -0400)]
Merge branch 'blacklisttable' into testing

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Thu, 25 Mar 2010 17:50:49 +0000 (13:50 -0400)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

14 years agoStore blacklist patterns in their own tables
Evan Prodromou [Thu, 25 Mar 2010 17:49:12 +0000 (13:49 -0400)]
Store blacklist patterns in their own tables

We were bumping into limits on the config format in the Blacklist
plugin. So, added new tables for nickname and homepage blacklists, and
changed the plugin to use those instead of config file (actually,
still uses config file in addition, for compatibility).

14 years agoFix for API group methods, caused failure or output corruption when pulling up local...
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

14 years agoFix for API group methods, caused failure or output corruption when pulling up local...
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

14 years agoMake sure we're requiring the library
James Walker [Wed, 24 Mar 2010 19:26:03 +0000 (15:26 -0400)]
Make sure we're requiring the library

14 years agoUpdated Math_Biginteger from upstream - removing safe* workarounds
James Walker [Wed, 24 Mar 2010 19:18:41 +0000 (15:18 -0400)]
Updated Math_Biginteger from upstream - removing safe* workarounds

14 years agoCheck for 0.9.0 bad keys from old Crypt_RSA library
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

14 years agoA bit safer checking in the keypair parsing
James Walker [Wed, 24 Mar 2010 18:27:35 +0000 (14:27 -0400)]
A bit safer checking in the keypair parsing

14 years agoLook for the first object in the Activity
Zach Copley [Wed, 24 Mar 2010 07:00:55 +0000 (00:00 -0700)]
Look for the first object in the Activity

14 years agoImprove legibility of OStatus remote tests output
Brion Vibber [Wed, 24 Mar 2010 01:56:40 +0000 (18:56 -0700)]
Improve legibility of OStatus remote tests output

14 years agoadd a general PuSHed post and an @-reply back to a subscribee by name to OStatus...
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

14 years agofixup_deletions.php script to look for notices posted by now-deleted profiles and...
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.

14 years agofixup_deletions.php script to look for notices posted by now-deleted profiles and...
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.

14 years agoAdd basic subscribe/unsubscribe test to OStatus test cases
Brion Vibber [Tue, 23 Mar 2010 21:19:12 +0000 (14:19 -0700)]
Add basic subscribe/unsubscribe test to OStatus test cases

14 years agoDon't spew XML parse warnings to output when checking a remote XRD page
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

14 years agoFOAF was missing OStatus remote subscriptions, now fixed.
Brion Vibber [Tue, 23 Mar 2010 20:10:23 +0000 (13:10 -0700)]
FOAF was missing OStatus remote subscriptions, now fixed.

14 years agoMerge branch 'master' of git@gitorious.org:statusnet/mainline into testing
Brion Vibber [Tue, 23 Mar 2010 19:13:32 +0000 (12:13 -0700)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing

14 years agoConsistently send Profiles into Fave::addNew()
Brion Vibber [Tue, 23 Mar 2010 18:06:37 +0000 (11:06 -0700)]
Consistently send Profiles into Fave::addNew()

14 years agoprevent password login actions in OpenID-only mode
Evan Prodromou [Tue, 23 Mar 2010 16:58:10 +0000 (12:58 -0400)]
prevent password login actions in OpenID-only mode

14 years agoDon't add PHPSESSID parameter onto notice and conversation URIs if we save a notice...
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.

14 years agochange router to allow hooking path connections
Evan Prodromou [Tue, 23 Mar 2010 16:33:41 +0000 (12:33 -0400)]
change router to allow hooking path connections

14 years agostart making OpenID-only mode work
Evan Prodromou [Tue, 23 Mar 2010 16:10:26 +0000 (12:10 -0400)]
start making OpenID-only mode work

14 years agoreformat OpenIDPlugin for PHPCS
Evan Prodromou [Tue, 23 Mar 2010 15:36:02 +0000 (11:36 -0400)]
reformat OpenIDPlugin for PHPCS

14 years agoFix reference. Look at the first ActivityObject in the list.
Zach Copley [Tue, 23 Mar 2010 04:48:21 +0000 (21:48 -0700)]
Fix reference. Look at the first ActivityObject in the list.

14 years agoSome initial media parsing
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

14 years agoMerge branch 'testing' of gitorious.org:statusnet/mainline into testing
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().

14 years agoOStatus remote sending test cases. Doesn't actually run within PHPUnit right now...
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.

14 years agoMath_BigInteger doesn't correctly handle serialization/deserialization for a value...
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.

14 years agoLog backtraces for non-ClientException exceptions caught at the top-level handler.
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.

14 years agoConfirm there's actually user and domain portions of acct string before assigning...
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

14 years agoReplace the "give up and dump object" attachment view fallback with a client-side...
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.

14 years agoFixing HTTP Header LRDD parsing (sites in subdirectories need this)
James Walker [Mon, 22 Mar 2010 17:44:05 +0000 (13:44 -0400)]
Fixing HTTP Header LRDD parsing (sites in subdirectories need this)

14 years agoReplace the "give up and dump object" attachment view fallback with a client-side...
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.

14 years agoignore unrecognized object types
Evan Prodromou [Mon, 22 Mar 2010 12:17:14 +0000 (08:17 -0400)]
ignore unrecognized object types

14 years agoFix broken assertion
Zach Copley [Mon, 22 Mar 2010 01:47:43 +0000 (18:47 -0700)]
Fix broken assertion

14 years agoPull <atom:author> info as well as <activity:actor> when we have an old-style Activit...
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

14 years agoAccept 'tag' and other non-http id URIs in Ostatus_profile::getActivityObjectProfileU...
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.)

14 years agoOStatus profile setup cleanup
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

14 years agoonly use Posterous author data if it matches the profile URL
Evan Prodromou [Sun, 21 Mar 2010 12:37:58 +0000 (07:37 -0500)]
only use Posterous author data if it matches the profile URL

14 years agouse Posterous element if available for RssChannel discovery
Evan Prodromou [Sat, 20 Mar 2010 22:18:55 +0000 (17:18 -0500)]
use Posterous element if available for RssChannel discovery

14 years agocorrect creation of avatar links for RSS and Posterous elements
Evan Prodromou [Sat, 20 Mar 2010 22:18:24 +0000 (17:18 -0500)]
correct creation of avatar links for RSS and Posterous elements

14 years agomove atom category to its own file, too
Evan Prodromou [Sat, 20 Mar 2010 21:55:36 +0000 (16:55 -0500)]
move atom category to its own file, too

14 years agotest posterous author use
Evan Prodromou [Sat, 20 Mar 2010 21:53:47 +0000 (16:53 -0500)]
test posterous author use

14 years agospecial-case Posterous author element for activity actor
Evan Prodromou [Sat, 20 Mar 2010 21:53:30 +0000 (16:53 -0500)]
special-case Posterous author element for activity actor

14 years agoMove activity classes to their own files
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.

14 years agouse feedEl for discovery
Evan Prodromou [Sat, 20 Mar 2010 14:46:22 +0000 (09:46 -0500)]
use feedEl for discovery

14 years agofall back to summary or title if content not available
Evan Prodromou [Sat, 20 Mar 2010 14:30:57 +0000 (09:30 -0500)]
fall back to summary or title if content not available

14 years agoallow html content in summary and clean it out of title
Evan Prodromou [Sat, 20 Mar 2010 14:30:28 +0000 (09:30 -0500)]
allow html content in summary and clean it out of title

14 years agoAllow PuSH posts without author information
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.

14 years agohandle RSS as well as Atom in Ostatus push hits
Evan Prodromou [Sat, 20 Mar 2010 12:23:13 +0000 (07:23 -0500)]
handle RSS as well as Atom in Ostatus push hits

14 years agorename $rss to $channel to prevent misunderstanding
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.

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Sat, 20 Mar 2010 11:44:55 +0000 (06:44 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

14 years agotry to make a nickname from the user profile url before using the URI
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

14 years agoAvoid 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

14 years agoOStatus: be a little laxer about attempts to start/stop PuSH subscriptions that were...
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.

14 years agoMerge branch 'master' of git@gitorious.org:statusnet/mainline into testing
Brion Vibber [Fri, 19 Mar 2010 22:29:00 +0000 (15:29 -0700)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing

14 years agoensure from an RSS channel
Evan Prodromou [Fri, 19 Mar 2010 20:50:06 +0000 (15:50 -0500)]
ensure from an RSS channel

14 years agomake deriving a subject from an RSS channel work
Evan Prodromou [Fri, 19 Mar 2010 20:49:38 +0000 (15:49 -0500)]
make deriving a subject from an RSS channel work

14 years agomove ActivityObject constructors from Activity to ActivityObject
Evan Prodromou [Fri, 19 Mar 2010 20:41:48 +0000 (15:41 -0500)]
move ActivityObject constructors from Activity to ActivityObject

14 years agoonly search elements for links
Evan Prodromou [Fri, 19 Mar 2010 20:28:25 +0000 (15:28 -0500)]
only search elements for links

14 years agoreturn empty hints if no hcard in the html
Evan Prodromou [Fri, 19 Mar 2010 20:28:06 +0000 (15:28 -0500)]
return empty hints if no hcard in the html

14 years agodefine a 'root' attribute for the channel or feed
Evan Prodromou [Fri, 19 Mar 2010 20:23:30 +0000 (15:23 -0500)]
define a 'root' attribute for the channel or feed

14 years agoFix 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.

14 years agoDrop result ID from data objects on clone(). This keeps the original object working...
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.

14 years agoclarify output on fixup-shadow.php
Brion Vibber [Fri, 19 Mar 2010 18:17:56 +0000 (11:17 -0700)]
clarify output on fixup-shadow.php

14 years agoMerge branch 'testing' of gitorious.org:statusnet/mainline into testing
Zach Copley [Fri, 19 Mar 2010 17:38:54 +0000 (10:38 -0700)]
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing

* 'testing' of gitorious.org:statusnet/mainline:
  Validate OStatus avatar URL before fetching.

14 years agoAllow admins to set a min site textlimit of 0 (unlimited)
Zach Copley [Fri, 19 Mar 2010 17:30:04 +0000 (10:30 -0700)]
Allow admins to set a min site textlimit of 0 (unlimited)

14 years agoValidate OStatus avatar URL before fetching.
Brion Vibber [Fri, 19 Mar 2010 17:15:00 +0000 (10:15 -0700)]
Validate OStatus avatar URL before fetching.

14 years agoValidate OStatus avatar URL before fetching.
Brion Vibber [Fri, 19 Mar 2010 17:15:00 +0000 (10:15 -0700)]
Validate OStatus avatar URL before fetching.

14 years agoMerge branch 'testing' of gitorious.org:statusnet/mainline into testing
Zach Copley [Fri, 19 Mar 2010 17:08:47 +0000 (10:08 -0700)]
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing

* 'testing' of gitorious.org:statusnet/mainline:
  Parse RSS items as activities
  Remove hkit and do our own hcard parsing
  Work around weird bug with HTML normalization via PHP DOM module; if source had xmlns and xml:lang I ended up with double output, breaking the subsequent parsing. Will have to track this down later and report upstream if not already resolved.

14 years agoParse RSS items as activities
Evan Prodromou [Fri, 19 Mar 2010 14:48:39 +0000 (09:48 -0500)]
Parse RSS items as activities

First steps to parsing RSS items as activities. RSS feeds don't seem
to have enough data to make good remote profiles, but this may work
with some "hints".

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Fri, 19 Mar 2010 01:57:38 +0000 (20:57 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

Conflicts:
plugins/OStatus/extlib/hkit/hkit.class.php
plugins/OStatus/lib/discoveryhints.php

14 years agoRemove hkit and do our own hcard parsing
Evan Prodromou [Fri, 19 Mar 2010 01:52:00 +0000 (20:52 -0500)]
Remove hkit and do our own hcard parsing

Parsing hcards for the data we need wasn't hard enough to justify using
hkit. It was dependent on a number of external systems (something to
run tidy), and only could handle XHTML.

We now parse HTML with the PHP dom libraries used elsewhere, and
scrape out our own hcards. Seems to work nicer and faster and most of
all works with Google Buzz profile URLs.

14 years agoWork around weird bug with HTML normalization via PHP DOM module; if source had xmlns...
Brion Vibber [Fri, 19 Mar 2010 00:55:21 +0000 (17:55 -0700)]
Work around weird bug with HTML normalization via PHP DOM module; if source had xmlns and xml:lang I ended up with double output, breaking the subsequent parsing. Will have to track this down later and report upstream if not already resolved.

14 years agoMerge branch 'testing' of gitorious.org:statusnet/mainline into testing
Zach Copley [Fri, 19 Mar 2010 00:20:09 +0000 (17:20 -0700)]
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing

* 'testing' of gitorious.org:statusnet/mainline:
  Handle "forgot to upload an avatar on avatarsettings" a little more gracefully.

14 years agoHandle "forgot to upload an avatar on avatarsettings" a little more gracefully.
Brion Vibber [Fri, 19 Mar 2010 00:18:01 +0000 (17:18 -0700)]
Handle "forgot to upload an avatar on avatarsettings" a little more gracefully.

14 years agoMerge branch 'testing' of gitorious.org:statusnet/mainline into testing
Zach Copley [Fri, 19 Mar 2010 00:11:06 +0000 (17:11 -0700)]
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing

* 'testing' of gitorious.org:statusnet/mainline:
  OStatus discover fixes:
  Remove xpm support (no one really uses it, and IMAGETYPE_XPM is undefined, causing warnings)
  Fix notice warning about unused var -- was renamed during refactoring.

14 years agoOStatus discover fixes:
Brion Vibber [Fri, 19 Mar 2010 00:08:19 +0000 (17:08 -0700)]
OStatus discover fixes:
* Subscription::start was sometimes passing users instead of profiles to hooks, which broke OStatus subscription notifications; now normalizing to profiles for processing.
* H-card parsing would trigger a lot of PHP warnings and notices in hKit. Now suppressing warnings and notices for the duration of the call to keep them out of output when display_errors is on.
* H-card parsing would trigger a PHP fatal error if the source page was not well-formed XML and Tidy was not present on the system. Switched normalization to use the PHP DOM module which is always present, as we have no need for Tidy's extra features here.
* Trying to fetch avatars from Google profiles failed and triggered a PHP warning due to the relative URL not being resolved during h-card parsing. Now passing profile page URL into hKit by sneaking a <base> tag in while we normalize the HTML source.
* Profile pages without a "Link" header could trigger PHP notices due to a bad NULL -> array(NULL) conversion in LinkHeader::getLink(). Now checking that there was a return value before converting single return value into array.

14 years agoMinor syntax err in TwitterBridge README example
Zach Copley [Fri, 19 Mar 2010 00:00:37 +0000 (17:00 -0700)]
Minor syntax err in TwitterBridge README example

14 years agoRemove xpm support (no one really uses it, and IMAGETYPE_XPM is undefined, causing...
Craig Andrews [Thu, 18 Mar 2010 22:13:54 +0000 (18:13 -0400)]
Remove xpm support (no one really uses it, and IMAGETYPE_XPM is undefined, causing warnings)
Remove erroneous call to unlink in the constructor

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Brion Vibber [Thu, 18 Mar 2010 22:39:04 +0000 (15:39 -0700)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

14 years agoMerge branch 'testing' of gitorious.org:statusnet/mainline into testing
Zach Copley [Thu, 18 Mar 2010 22:28:21 +0000 (15:28 -0700)]
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing

* 'testing' of gitorious.org:statusnet/mainline:
  Fix for xmpp/sms notification options appearing to be disabled on new subscriptions.

14 years agoAPI - handle any exceptions thrown during notice save. The API was
Zach Copley [Thu, 18 Mar 2010 22:26:13 +0000 (15:26 -0700)]
API - handle any exceptions thrown during notice save.  The API was
occasionally spitting out HTML, which is hard for clients to deal
with.

14 years agoFix notice warning about unused var -- was renamed during refactoring.
Brion Vibber [Thu, 18 Mar 2010 22:11:25 +0000 (15:11 -0700)]
Fix notice warning about unused var -- was renamed during refactoring.

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Brion Vibber [Thu, 18 Mar 2010 21:33:45 +0000 (14:33 -0700)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

14 years agoFix for xmpp/sms notification options appearing to be disabled on new subscriptions.
Brion Vibber [Thu, 18 Mar 2010 21:26:32 +0000 (14:26 -0700)]
Fix for xmpp/sms notification options appearing to be disabled on new subscriptions.
Base problem is that our caching-on-insert interferes with relying on column default values; the cached object is missing those fields, so they appear to be empty (null) when the object is retrieved from cache.
Now explicitly setting them when inserting subscriptions, and cleaned up some code that had alternate code paths.

May also have made auto-subscription work for remote OStatus subscribers, but can't test until magic sigs are working again.

14 years agoRemove deprecated call-by-reference. Was causing a warning on Dreamhost.
Zach Copley [Thu, 18 Mar 2010 20:46:11 +0000 (13:46 -0700)]
Remove deprecated call-by-reference. Was causing a warning on Dreamhost.

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Thu, 18 Mar 2010 20:21:43 +0000 (15:21 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

14 years agochange profile URL ensure method for OStatus
Evan Prodromou [Thu, 18 Mar 2010 20:21:26 +0000 (15:21 -0500)]
change profile URL ensure method for OStatus

14 years agoFix some remote subscription regressions from f21f78364a9cbde2ca535a3983b384707ad097ae
Brion Vibber [Thu, 18 Mar 2010 20:13:57 +0000 (13:13 -0700)]
Fix some remote subscription regressions from f21f78364a9cbde2ca535a3983b384707ad097ae
Ostatus_profile::ensureProfile() has been renamed to Ostatus_profile::ensureProfileURL()

14 years agoAdd readme notes about PHP <5.2.6 bug on 64-bit and PHP 5.3 issues.
Brion Vibber [Thu, 18 Mar 2010 18:12:27 +0000 (11:12 -0700)]
Add readme notes about PHP <5.2.6 bug on 64-bit and PHP 5.3 issues.

14 years agoRuntime check for known bad PHP versions with 64-bit stream_select() bug in xmppdaemo...
Brion Vibber [Thu, 18 Mar 2010 18:08:27 +0000 (11:08 -0700)]
Runtime check for known bad PHP versions with 64-bit stream_select() bug in xmppdaemon.php.

14 years agoMerge branch 'master' of git@gitorious.org:statusnet/mainline into testing
Brion Vibber [Thu, 18 Mar 2010 17:55:20 +0000 (10:55 -0700)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing

14 years agoEnsure that DB connection is active at start of User::updateKeys() and Foreign_user...
Brion Vibber [Thu, 18 Mar 2010 16:22:08 +0000 (09:22 -0700)]
Ensure that DB connection is active at start of User::updateKeys() and Foreign_user::updateKeys(); calls to $this->_quote() require a live connection object and don't lazy-initialize themselves.
May fix WSOD when changing incoming email address.

14 years agoadd exception on inconsistent db to User::getProfile()
Evan Prodromou [Thu, 18 Mar 2010 13:35:10 +0000 (08:35 -0500)]
add exception on inconsistent db to User::getProfile()

14 years agonew exception class for when a user has no profile
Evan Prodromou [Thu, 18 Mar 2010 13:32:17 +0000 (08:32 -0500)]
new exception class for when a user has no profile

14 years agoreverse order from delete, insert to insert, delete on ostatus conversion
Evan Prodromou [Thu, 18 Mar 2010 13:04:22 +0000 (08:04 -0500)]
reverse order from delete, insert to insert, delete on ostatus conversion

14 years agocatch exceptions in OStatus updates, log, and continue
Evan Prodromou [Thu, 18 Mar 2010 12:55:14 +0000 (07:55 -0500)]
catch exceptions in OStatus updates, log, and continue