]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
13 years agoMerge branch 'testing' into 0.9.x
Brion Vibber [Wed, 8 Sep 2010 18:48:09 +0000 (11:48 -0700)]
Merge branch 'testing' into 0.9.x

13 years agoMerge branch 'master' into testing
Brion Vibber [Wed, 8 Sep 2010 18:47:44 +0000 (11:47 -0700)]
Merge branch 'master' into testing

13 years agoFix for #2663: fix for original/96px-size avatars getting saved with bad permissions...
Brion Vibber [Tue, 7 Sep 2010 23:49:05 +0000 (16:49 -0700)]
Fix for #2663: fix for original/96px-size avatars getting saved with bad permissions, causing failure to see images if background queues are different user from web server.

The original-size file is now forced to 0644 (all-readable), which should help. Not sure this is 100% ideal, but it's better than 0600!
(The other sizes were being created in other code and had sane read perms already.)

Watch out for similar issues in Twitter bridge etc; avatar import code should get cleaned up and consolidated.

13 years agoQuick fix for #2659: unable to login with Livejournal OpenID
Brion Vibber [Tue, 7 Sep 2010 23:15:32 +0000 (16:15 -0700)]
Quick fix for #2659: unable to login with Livejournal OpenID

The Net::OpenID::Server perl module that LJ uses appears to be very picky about input, and rejects most request types unless the data comes in as GET parameters (apparently following OpenID 1.1 rules, rather than OpenID 2.0 rules which permit any request to be POSTed but requires that if so, the data must all be in the POST body).
Apparently something got updated on LJ at some point that's either added that behavior or (more likely) added the OpenID 2.0 namespace info to discovery, which tells the Janrain-based OpenID libraries that they should go ahead and do POST requests instead of redirects to GET requests... thus breaking everything. ;)

GET should be just fine for both 1.1 and 2.0 though, and also saves having to sit through that lame autosubmit page.

Switched the authentication submission from checking whether it should redirect to GET or do a form POST, to simply always doing the redirect to GET.

Tested against providers:
* LiveJournal
* Google
* LaunchPad
* identi.ca

13 years agoMerge branch 'openid-fix' into 0.9.x
Brion Vibber [Tue, 7 Sep 2010 23:20:27 +0000 (16:20 -0700)]
Merge branch 'openid-fix' into 0.9.x

13 years agoQuick fix for #2659: unable to login with Livejournal OpenID
Brion Vibber [Tue, 7 Sep 2010 23:15:32 +0000 (16:15 -0700)]
Quick fix for #2659: unable to login with Livejournal OpenID

The Net::OpenID::Server perl module that LJ uses appears to be very picky about input, and rejects most request types unless the data comes in as GET parameters (apparently following OpenID 1.1 rules, rather than OpenID 2.0 rules which permit any request to be POSTed but requires that if so, the data must all be in the POST body).
Apparently something got updated on LJ at some point that's either added that behavior or (more likely) added the OpenID 2.0 namespace info to discovery, which tells the Janrain-based OpenID libraries that they should go ahead and do POST requests instead of redirects to GET requests... thus breaking everything. ;)

GET should be just fine for both 1.1 and 2.0 though, and also saves having to sit through that lame autosubmit page.

Switched the authentication submission from checking whether it should redirect to GET or do a form POST, to simply always doing the redirect to GET.

Tested against providers:
* LiveJournal
* Google
* LaunchPad
* identi.ca

13 years agoMerge branch 'apinamespace' into 0.9.x
Evan Prodromou [Tue, 7 Sep 2010 20:39:43 +0000 (16:39 -0400)]
Merge branch 'apinamespace' into 0.9.x

13 years agotext substitution is Unicode-aware for twitterstatusfetcher
Evan Prodromou [Tue, 7 Sep 2010 19:54:06 +0000 (15:54 -0400)]
text substitution is Unicode-aware for twitterstatusfetcher

13 years agoFix pkeyget call
Evan Prodromou [Tue, 7 Sep 2010 19:34:10 +0000 (15:34 -0400)]
Fix pkeyget call

Fix the pkeyget call in Twitter_synch_Status

13 years agostaticGet -> pkeyGet in Twitter_synch_status
Evan Prodromou [Tue, 7 Sep 2010 19:29:36 +0000 (15:29 -0400)]
staticGet -> pkeyGet in Twitter_synch_status

13 years agodebug statements for setting/getting last id
Evan Prodromou [Tue, 7 Sep 2010 15:53:26 +0000 (11:53 -0400)]
debug statements for setting/getting last id

13 years agoStore foreign ID for synch info, not user ID
Evan Prodromou [Tue, 7 Sep 2010 14:53:11 +0000 (10:53 -0400)]
Store foreign ID for synch info, not user ID

13 years agoremove data dump of retrieved statuses
Evan Prodromou [Tue, 7 Sep 2010 08:42:23 +0000 (04:42 -0400)]
remove data dump of retrieved statuses

13 years agoCorrect DB_DataObject constant in Twitter_synch_status
Evan Prodromou [Tue, 7 Sep 2010 08:35:14 +0000 (04:35 -0400)]
Correct DB_DataObject constant in Twitter_synch_status

13 years agoMissing comma in column list in Twitter_synch_status
Evan Prodromou [Tue, 7 Sep 2010 08:33:28 +0000 (04:33 -0400)]
Missing comma in column list in Twitter_synch_status

13 years agoadd modified column to twitter_synch_status
Evan Prodromou [Tue, 7 Sep 2010 08:32:01 +0000 (04:32 -0400)]
add modified column to twitter_synch_status

13 years agoMerge branch 'twitterannoyances' of gitorious.org:~evan/statusnet/evans-mainline...
Evan Prodromou [Tue, 7 Sep 2010 08:27:18 +0000 (04:27 -0400)]
Merge branch 'twitterannoyances' of gitorious.org:~evan/statusnet/evans-mainline into twitterannoyances

Conflicts:
plugins/TwitterBridge/TwitterBridgePlugin.php
plugins/TwitterBridge/daemons/twitterstatusfetcher.php

13 years agouse and save since_id parameter for home_timeline
Evan Prodromou [Tue, 7 Sep 2010 08:22:55 +0000 (04:22 -0400)]
use and save since_id parameter for home_timeline

13 years agosave synch status for different timelines
Evan Prodromou [Tue, 7 Sep 2010 08:17:36 +0000 (04:17 -0400)]
save synch status for different timelines

13 years agosave Twitter mentions as StatusNet replies
Evan Prodromou [Mon, 6 Sep 2010 12:54:04 +0000 (08:54 -0400)]
save Twitter mentions as StatusNet replies

13 years agoadd back in # and @ for links
Evan Prodromou [Sun, 5 Sep 2010 17:19:49 +0000 (13:19 -0400)]
add back in # and @ for links

13 years agoadd Twitter-approved links to Twitter statuses
Evan Prodromou [Sun, 5 Sep 2010 17:16:04 +0000 (13:16 -0400)]
add Twitter-approved links to Twitter statuses

13 years agobetter handling of params in oauthget
Evan Prodromou [Sun, 5 Sep 2010 05:49:49 +0000 (01:49 -0400)]
better handling of params in oauthget

13 years agobetter param handling in hometimeline
Evan Prodromou [Sun, 5 Sep 2010 05:40:15 +0000 (01:40 -0400)]
better param handling in hometimeline

13 years agoinclude entities in the results of home_timeline
Evan Prodromou [Sun, 5 Sep 2010 05:25:48 +0000 (01:25 -0400)]
include entities in the results of home_timeline

13 years agodelete Twitter notice if it was posted from here
Evan Prodromou [Sun, 5 Sep 2010 05:17:56 +0000 (01:17 -0400)]
delete Twitter notice if it was posted from here

13 years agoNotify Twitter when StatusNet user faves/disfaves a Twitter notice
Evan Prodromou [Sun, 5 Sep 2010 05:07:11 +0000 (01:07 -0400)]
Notify Twitter when StatusNet user faves/disfaves a Twitter notice

13 years agousing null variable in twitter_status_id()
Evan Prodromou [Sun, 5 Sep 2010 04:45:45 +0000 (00:45 -0400)]
using null variable in twitter_status_id()

13 years agocheck status_id before trying to retweet it
Evan Prodromou [Sun, 5 Sep 2010 04:42:58 +0000 (00:42 -0400)]
check status_id before trying to retweet it

13 years agotruncate retweeted stuff if it's too long
Evan Prodromou [Sun, 5 Sep 2010 04:32:56 +0000 (00:32 -0400)]
truncate retweeted stuff if it's too long

13 years agocorrectly mark repeats from Twitter as non-local
Evan Prodromou [Sun, 5 Sep 2010 04:25:58 +0000 (00:25 -0400)]
correctly mark repeats from Twitter as non-local

13 years agocorrectly check for local notice to status mappings when notice originated here
Evan Prodromou [Sun, 5 Sep 2010 04:22:37 +0000 (00:22 -0400)]
correctly check for local notice to status mappings when notice originated here

13 years agouse bigint for status_ids
Evan Prodromou [Sun, 5 Sep 2010 04:11:31 +0000 (00:11 -0400)]
use bigint for status_ids

13 years agodebug output when saving new mapping
Evan Prodromou [Sun, 5 Sep 2010 04:07:02 +0000 (00:07 -0400)]
debug output when saving new mapping

13 years agodo a uniqueness check before saving new notice-to-status mapping
Evan Prodromou [Sun, 5 Sep 2010 04:05:11 +0000 (00:05 -0400)]
do a uniqueness check before saving new notice-to-status mapping

13 years agoSQL syntax error when initializing notice_to_status table
Evan Prodromou [Sun, 5 Sep 2010 03:55:53 +0000 (23:55 -0400)]
SQL syntax error when initializing notice_to_status table

13 years agoDelete Notice_to_status when a notice is deleted
Evan Prodromou [Sun, 5 Sep 2010 03:52:26 +0000 (23:52 -0400)]
Delete Notice_to_status when a notice is deleted

13 years agouse Notice_to_status to check for duplicates
Evan Prodromou [Sun, 5 Sep 2010 03:49:52 +0000 (23:49 -0400)]
use Notice_to_status to check for duplicates

13 years agoSave notice-to-status mapping in its own table
Evan Prodromou [Sun, 5 Sep 2010 03:45:55 +0000 (23:45 -0400)]
Save notice-to-status mapping in its own table

Introduce a table mapping notices to Twitter statuses. Initialize
this table at checkSchema() time. Save the mapping when we push
or pull statuses. Use the table to determine if a notice has a
Twitter equivalent.

13 years agoadd in_reply_to_status_id if notice is from twitter
Evan Prodromou [Sun, 5 Sep 2010 03:00:18 +0000 (23:00 -0400)]
add in_reply_to_status_id if notice is from twitter

13 years agodo our own repeating so we can pass in a uri
Evan Prodromou [Sat, 4 Sep 2010 19:05:38 +0000 (15:05 -0400)]
do our own repeating so we can pass in a uri

13 years agoremove require_once for disappeared TwitterBasicAuthClient
Evan Prodromou [Sat, 4 Sep 2010 17:00:37 +0000 (13:00 -0400)]
remove require_once for disappeared TwitterBasicAuthClient

13 years agoremove basic auth code for Twitter since it's no longer supported
Evan Prodromou [Sat, 4 Sep 2010 16:58:20 +0000 (12:58 -0400)]
remove basic auth code for Twitter since it's no longer supported

13 years agouse home_timeline instead of friends_timeline
Evan Prodromou [Sat, 4 Sep 2010 16:54:46 +0000 (12:54 -0400)]
use home_timeline instead of friends_timeline

13 years agoswitch twitterstatusfetcher from friends_timeline to home_timeline
Evan Prodromou [Sat, 4 Sep 2010 16:54:20 +0000 (12:54 -0400)]
switch twitterstatusfetcher from friends_timeline to home_timeline

13 years agodebug code to dump new status data
Evan Prodromou [Sat, 4 Sep 2010 16:45:15 +0000 (12:45 -0400)]
debug code to dump new status data

13 years agomove inbox insert code to status saver main loop
Evan Prodromou [Sat, 4 Sep 2010 15:40:33 +0000 (11:40 -0400)]
move inbox insert code to status saver main loop

13 years agosome info notices in twitter status fetch for repeats and replies
Evan Prodromou [Sat, 4 Sep 2010 15:37:34 +0000 (11:37 -0400)]
some info notices in twitter status fetch for repeats and replies

13 years agoif something's a retweet, save it as a repeat in bridge
Evan Prodromou [Fri, 3 Sep 2010 21:51:28 +0000 (17:51 -0400)]
if something's a retweet, save it as a repeat in bridge

13 years agodo a real retweet for a local repeat
Evan Prodromou [Fri, 3 Sep 2010 21:34:10 +0000 (17:34 -0400)]
do a real retweet for a local repeat

13 years agopush notices through the bridge if they're in reply to a twitter notice
Evan Prodromou [Fri, 3 Sep 2010 20:37:18 +0000 (16:37 -0400)]
push notices through the bridge if they're in reply to a twitter notice

13 years agosave reply status for Twitter notices
Evan Prodromou [Fri, 3 Sep 2010 05:46:02 +0000 (01:46 -0400)]
save reply status for Twitter notices

13 years agodon't save statuses from protected users
Evan Prodromou [Fri, 3 Sep 2010 04:53:39 +0000 (00:53 -0400)]
don't save statuses from protected users

13 years agoMerge branch 'testing' into 0.9.x
Evan Prodromou [Mon, 6 Sep 2010 14:11:59 +0000 (10:11 -0400)]
Merge branch 'testing' into 0.9.x

13 years agosave Twitter mentions as StatusNet replies
Evan Prodromou [Mon, 6 Sep 2010 12:54:04 +0000 (08:54 -0400)]
save Twitter mentions as StatusNet replies

13 years agoadd back in # and @ for links
Evan Prodromou [Sun, 5 Sep 2010 17:19:49 +0000 (13:19 -0400)]
add back in # and @ for links

13 years agoadd Twitter-approved links to Twitter statuses
Evan Prodromou [Sun, 5 Sep 2010 17:16:04 +0000 (13:16 -0400)]
add Twitter-approved links to Twitter statuses

13 years agoLocalisation updates from http://translatewiki.net
Siebrand Mazeland [Sun, 5 Sep 2010 10:04:32 +0000 (12:04 +0200)]
Localisation updates from http://translatewiki.net

13 years agoAdd basic support for Georgian (ka)
Siebrand Mazeland [Sun, 5 Sep 2010 08:45:03 +0000 (10:45 +0200)]
Add basic support for Georgian (ka)

13 years agobetter handling of params in oauthget
Evan Prodromou [Sun, 5 Sep 2010 05:49:49 +0000 (01:49 -0400)]
better handling of params in oauthget

13 years agobetter param handling in hometimeline
Evan Prodromou [Sun, 5 Sep 2010 05:40:15 +0000 (01:40 -0400)]
better param handling in hometimeline

13 years agoinclude entities in the results of home_timeline
Evan Prodromou [Sun, 5 Sep 2010 05:25:48 +0000 (01:25 -0400)]
include entities in the results of home_timeline

13 years agodelete Twitter notice if it was posted from here
Evan Prodromou [Sun, 5 Sep 2010 05:17:56 +0000 (01:17 -0400)]
delete Twitter notice if it was posted from here

13 years agoNotify Twitter when StatusNet user faves/disfaves a Twitter notice
Evan Prodromou [Sun, 5 Sep 2010 05:07:11 +0000 (01:07 -0400)]
Notify Twitter when StatusNet user faves/disfaves a Twitter notice

13 years agousing null variable in twitter_status_id()
Evan Prodromou [Sun, 5 Sep 2010 04:45:45 +0000 (00:45 -0400)]
using null variable in twitter_status_id()

13 years agocheck status_id before trying to retweet it
Evan Prodromou [Sun, 5 Sep 2010 04:42:58 +0000 (00:42 -0400)]
check status_id before trying to retweet it

13 years agotruncate retweeted stuff if it's too long
Evan Prodromou [Sun, 5 Sep 2010 04:32:56 +0000 (00:32 -0400)]
truncate retweeted stuff if it's too long

13 years agocorrectly mark repeats from Twitter as non-local
Evan Prodromou [Sun, 5 Sep 2010 04:25:58 +0000 (00:25 -0400)]
correctly mark repeats from Twitter as non-local

13 years agocorrectly check for local notice to status mappings when notice originated here
Evan Prodromou [Sun, 5 Sep 2010 04:22:37 +0000 (00:22 -0400)]
correctly check for local notice to status mappings when notice originated here

13 years agouse bigint for status_ids
Evan Prodromou [Sun, 5 Sep 2010 04:11:31 +0000 (00:11 -0400)]
use bigint for status_ids

13 years agodebug output when saving new mapping
Evan Prodromou [Sun, 5 Sep 2010 04:07:02 +0000 (00:07 -0400)]
debug output when saving new mapping

13 years agodo a uniqueness check before saving new notice-to-status mapping
Evan Prodromou [Sun, 5 Sep 2010 04:05:11 +0000 (00:05 -0400)]
do a uniqueness check before saving new notice-to-status mapping

13 years agoSQL syntax error when initializing notice_to_status table
Evan Prodromou [Sun, 5 Sep 2010 03:55:53 +0000 (23:55 -0400)]
SQL syntax error when initializing notice_to_status table

13 years agoDelete Notice_to_status when a notice is deleted
Evan Prodromou [Sun, 5 Sep 2010 03:52:26 +0000 (23:52 -0400)]
Delete Notice_to_status when a notice is deleted

13 years agouse Notice_to_status to check for duplicates
Evan Prodromou [Sun, 5 Sep 2010 03:49:52 +0000 (23:49 -0400)]
use Notice_to_status to check for duplicates

13 years agoSave notice-to-status mapping in its own table
Evan Prodromou [Sun, 5 Sep 2010 03:45:55 +0000 (23:45 -0400)]
Save notice-to-status mapping in its own table

Introduce a table mapping notices to Twitter statuses. Initialize
this table at checkSchema() time. Save the mapping when we push
or pull statuses. Use the table to determine if a notice has a
Twitter equivalent.

13 years agoadd in_reply_to_status_id if notice is from twitter
Evan Prodromou [Sun, 5 Sep 2010 03:00:18 +0000 (23:00 -0400)]
add in_reply_to_status_id if notice is from twitter

13 years agodo our own repeating so we can pass in a uri
Evan Prodromou [Sat, 4 Sep 2010 19:05:38 +0000 (15:05 -0400)]
do our own repeating so we can pass in a uri

13 years agoremove require_once for disappeared TwitterBasicAuthClient
Evan Prodromou [Sat, 4 Sep 2010 17:00:37 +0000 (13:00 -0400)]
remove require_once for disappeared TwitterBasicAuthClient

13 years agoremove basic auth code for Twitter since it's no longer supported
Evan Prodromou [Sat, 4 Sep 2010 16:58:20 +0000 (12:58 -0400)]
remove basic auth code for Twitter since it's no longer supported

13 years agouse home_timeline instead of friends_timeline
Evan Prodromou [Sat, 4 Sep 2010 16:54:46 +0000 (12:54 -0400)]
use home_timeline instead of friends_timeline

13 years agoswitch twitterstatusfetcher from friends_timeline to home_timeline
Evan Prodromou [Sat, 4 Sep 2010 16:54:20 +0000 (12:54 -0400)]
switch twitterstatusfetcher from friends_timeline to home_timeline

13 years agodebug code to dump new status data
Evan Prodromou [Sat, 4 Sep 2010 16:45:15 +0000 (12:45 -0400)]
debug code to dump new status data

13 years agomove inbox insert code to status saver main loop
Evan Prodromou [Sat, 4 Sep 2010 15:40:33 +0000 (11:40 -0400)]
move inbox insert code to status saver main loop

13 years agosome info notices in twitter status fetch for repeats and replies
Evan Prodromou [Sat, 4 Sep 2010 15:37:34 +0000 (11:37 -0400)]
some info notices in twitter status fetch for repeats and replies

13 years agoMerge branch 'testing' of gitorious.org:statusnet/mainline into testing
Brion Vibber [Sat, 4 Sep 2010 01:01:08 +0000 (18:01 -0700)]
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing

13 years agoSuppress notices in index.php running under lighttpd
Brion Vibber [Sat, 4 Sep 2010 00:57:23 +0000 (17:57 -0700)]
Suppress notices in index.php running under lighttpd

13 years agoif something's a retweet, save it as a repeat in bridge
Evan Prodromou [Fri, 3 Sep 2010 21:51:28 +0000 (17:51 -0400)]
if something's a retweet, save it as a repeat in bridge

13 years agodo a real retweet for a local repeat
Evan Prodromou [Fri, 3 Sep 2010 21:34:10 +0000 (17:34 -0400)]
do a real retweet for a local repeat

13 years agopush notices through the bridge if they're in reply to a twitter notice
Evan Prodromou [Fri, 3 Sep 2010 20:37:18 +0000 (16:37 -0400)]
push notices through the bridge if they're in reply to a twitter notice

13 years agosave reply status for Twitter notices
Evan Prodromou [Fri, 3 Sep 2010 05:46:02 +0000 (01:46 -0400)]
save reply status for Twitter notices

13 years agodon't save statuses from protected users
Evan Prodromou [Fri, 3 Sep 2010 04:53:39 +0000 (00:53 -0400)]
don't save statuses from protected users

13 years agoDrop RSSCloud queue items if the notice has a bogus profile, rather than attempting...
Brion Vibber [Fri, 3 Sep 2010 19:34:05 +0000 (12:34 -0700)]
Drop RSSCloud queue items if the notice has a bogus profile, rather than attempting to rerun it due to the initial erroring-out. That's not a recoverable error

13 years agoMerge remote branch 'gitorious/0.9.x' into 0.9.x
Evan Prodromou [Fri, 3 Sep 2010 19:27:02 +0000 (15:27 -0400)]
Merge remote branch 'gitorious/0.9.x' into 0.9.x

13 years agoexplicitly license documentation under CC-BY 3.0
Evan Prodromou [Fri, 3 Sep 2010 19:26:25 +0000 (15:26 -0400)]
explicitly license documentation under CC-BY 3.0

13 years agoFix output bug in DisqusPlugin -- 'Comments' link contents was in attributes instead...
Brion Vibber [Fri, 3 Sep 2010 18:57:33 +0000 (11:57 -0700)]
Fix output bug in DisqusPlugin -- 'Comments' link contents was in attributes instead of comments, which broke output and spewed errors

13 years agosyntax error in exception string in discovery.php
Evan Prodromou [Fri, 3 Sep 2010 05:41:01 +0000 (01:41 -0400)]
syntax error in exception string in discovery.php

13 years agoMerge branch 'testing' into 0.9.x
Evan Prodromou [Fri, 3 Sep 2010 03:41:56 +0000 (23:41 -0400)]
Merge branch 'testing' into 0.9.x

13 years agoexplicit attribution
Evan Prodromou [Fri, 3 Sep 2010 03:41:48 +0000 (23:41 -0400)]
explicit attribution

13 years agoMerge branch 'testing' into 0.9.x
Evan Prodromou [Fri, 3 Sep 2010 03:30:24 +0000 (23:30 -0400)]
Merge branch 'testing' into 0.9.x