From: Evan Prodromou Date: Thu, 27 Aug 2009 21:18:51 +0000 (-0700) Subject: Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bbb830e14c718c687f0636710a1827c90b11f4cc;p=quix0rs-gnu-social.git Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x --- bbb830e14c718c687f0636710a1827c90b11f4cc diff --cc README index bfc84662b3,4611b06d68..3dd365e1f8 --- a/README +++ b/README @@@ -622,13 -629,13 +622,13 @@@ key and secret, e.g. In Facebook's application editor, specify the following URLs for your app: - - Callback URL: http://example.net/mublog/facebook/ - - Post-Remove URL: http://example.net/mublog/facebook/remove + - Canvas Callback URL: http://example.net/mublog/facebook/ + - Post-Remove Callback URL: http://example.net/mublog/facebook/remove - Post-Add Redirect URL: http://apps.facebook.com/yourapp/ - - Canvas URL: http://apps.facebook.com/yourapp/ + - Canvas Page URL: http://apps.facebook.com/yourapp/ (Replace 'example.net' with your host's URL, 'mublog' with the path -to your Laconica installation, and 'yourapp' with the name of the +to your StatusNet installation, and 'yourapp' with the name of the Facebook application you created.) Additionally, Choose "Web" for Application type in the Advanced tab. diff --cc tests/HashTagDetectionTests.php index 0000000000,283226bd46..aeac4a5e3f mode 000000,100644..100644 --- a/tests/HashTagDetectionTests.php +++ b/tests/HashTagDetectionTests.php @@@ -1,0 -1,47 +1,47 @@@ + assertEquals($expected, $rendered); + } + + static public function provider() + { + return array( + array('hello', + 'hello'), + array('#hello people', + '# people'), + array('"#hello" people', + '"#" people'), + array('say "#hello" people', + 'say "#" people'), + array('say (#hello) people', + 'say (#) people'), + array('say [#hello] people', + 'say [#] people'), + array('say {#hello} people', + 'say {#} people'), + array('say \'#hello\' people', + 'say \'#\' people'), + ); + } + } +