]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
13 years agoRemoved periods from instructions on some admin panels for consistency
Zach Copley [Fri, 17 Sep 2010 21:32:18 +0000 (14:32 -0700)]
Removed periods from instructions on some admin panels for consistency

13 years agoFixed typo, and updated copyright dates while I was there
Zach Copley [Fri, 17 Sep 2010 21:20:05 +0000 (14:20 -0700)]
Fixed typo, and updated copyright dates while I was there

13 years agoStatus_network::encache() doesn't exist
James Walker [Fri, 17 Sep 2010 20:33:02 +0000 (16:33 -0400)]
Status_network::encache() doesn't exist

13 years agoTicket #2731: Fix for regression in posting to remote groups (regression in 2d4e0693c...
Brion Vibber [Thu, 16 Sep 2010 21:43:27 +0000 (14:43 -0700)]
Ticket #2731: Fix for regression in posting to remote groups (regression in 2d4e0693c88bb8cad47f917db3ac5ecfacf28619)

Changes in 2d4e0693c88bb8cad47f917db3ac5ecfacf28619 changed Ostatus_profile::filterReplies() (which sorts out the local, remote, and group recipients on incoming remote messages) from checking for remote profiles with a safe call to Ostatus_profile::staticGet() to calls through Ostatus_profile::ensureProfileURL() and Ostatus_profile::ensureWebfinger(), which throw exceptions and thus abort processing.
Since this was done before checking for local groups, the filter would fail when the ensure* functions determined it was looking at a local group and rightfully refused to create a remote group profile for it.

Changing the calls to the ensure* functions was done so we can record remote reply recipients for future reply-to-reply processing (the staticGet() call was a cheaper way to do a lookup when we knew we only actually had to process groups that somebody signed up to); most important fix is simply to actually check for the exception! :)

Here I'm changing the order of processing so we do the local group lookup first -- where it's nice and safe -- and then when we do the remote checks, we'll go ahead and gracefully skip that entry if the full remote lookup fails, so we'll still process any following recipients.

13 years agoTicket #2701: old color settings now get reset when changing themes, so you don't...
Brion Vibber [Mon, 13 Sep 2010 20:37:13 +0000 (13:37 -0700)]
Ticket #2701: old color settings now get reset when changing themes, so you don't end up with the previous theme's colors.

13 years agoDeclare public options on DisqusPlugin to avoid notice warnings on access if not...
Brion Vibber [Mon, 13 Sep 2010 19:06:10 +0000 (12:06 -0700)]
Declare public options on DisqusPlugin to avoid notice warnings on access if not set.

13 years agoCatch exceptions during SubMirror mirror attempt; log & skip that one if found.
Brion Vibber [Fri, 10 Sep 2010 18:50:19 +0000 (11:50 -0700)]
Catch exceptions during SubMirror mirror attempt; log & skip that one if found.
Should avoid things like RequireValidatedEmailPlugin causing infinite retry loops if the mirror-er isn't validated yet.

13 years agouse capturing parens for matching at-mentions in twitterstatusfetcher
Evan Prodromou [Fri, 10 Sep 2010 13:21:01 +0000 (09:21 -0400)]
use capturing parens for matching at-mentions in twitterstatusfetcher

13 years agomake our own twitter links if Twitter doesn't give us entities
Evan Prodromou [Fri, 10 Sep 2010 13:10:53 +0000 (09:10 -0400)]
make our own twitter links if Twitter doesn't give us entities

13 years agoMerge branch 'master' into testing
Evan Prodromou [Thu, 9 Sep 2010 19:02:10 +0000 (15:02 -0400)]
Merge branch 'master' into testing

13 years agofix typo in the comment (for better copy & pasting)
James Walker [Thu, 9 Sep 2010 17:14:52 +0000 (13:14 -0400)]
fix typo in the comment (for better copy & pasting)

13 years agoinclude changelog and version changes in text
Evan Prodromou [Thu, 9 Sep 2010 15:26:15 +0000 (11:26 -0400)]
include changelog and version changes in text

13 years agoBump version to 0.9.5
Brion Vibber [Wed, 8 Sep 2010 22:35:23 +0000 (15:35 -0700)]
Bump version to 0.9.5

13 years agoFix for mismatched final newline in a message (also fixed upstream on translatewiki...
Brion Vibber [Wed, 8 Sep 2010 22:06:03 +0000 (15:06 -0700)]
Fix for mismatched final newline in a message (also fixed upstream on translatewiki.net)

13 years agochange the event we use for deleting a linked status on Twitter
Evan Prodromou [Wed, 8 Sep 2010 20:40:37 +0000 (16:40 -0400)]
change the event we use for deleting a linked status on Twitter

13 years agoadd a hook for when someone deletes their own notice
Evan Prodromou [Wed, 8 Sep 2010 20:37:12 +0000 (16:37 -0400)]
add a hook for when someone deletes their own notice

13 years agomove notice_to_status initialization code to run-once script
Evan Prodromou [Wed, 8 Sep 2010 20:10:07 +0000 (16:10 -0400)]
move notice_to_status initialization code to run-once script

13 years agoPragma was accidentally triggering some underwear-catapult-connected hardware
Evan Prodromou [Wed, 8 Sep 2010 19:41:39 +0000 (15:41 -0400)]
Pragma was accidentally triggering some underwear-catapult-connected hardware

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