Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

implement account disconnect #639

Closed
chadwhitacre opened this issue Feb 11, 2013 · 68 comments · Fixed by #1976
Closed

implement account disconnect #639

chadwhitacre opened this issue Feb 11, 2013 · 68 comments · Fixed by #1976

Comments

@chadwhitacre
Copy link
Contributor

Should be a simple delete from elsewhere where platform='foo' and participant_id='bar' (simple only because we're not storing events and computing state for this yet. :-( ) ... but we can't delete the last account.

The $150 bounty on this issue has been claimed at Bountysource.

@chadwhitacre
Copy link
Contributor Author

+1 from @JeffSpies over on #804.

@chadwhitacre
Copy link
Contributor Author

+1 from @kutf on #823.

@chadwhitacre
Copy link
Contributor Author

Actually, we want to leave the account in elsewhere, we just want to update the participant column. We also want to log the change.

@chadwhitacre
Copy link
Contributor Author

@chadwhitacre
Copy link
Contributor Author

+1 from @blakewatters

@chadwhitacre
Copy link
Contributor Author

+1 from @dansage in private email.

@dansage
Copy link

dansage commented Apr 29, 2013

Just verifying the +1 above

@chadwhitacre
Copy link
Contributor Author

+1 from @icyfenix.

@lizTheDeveloper
Copy link

Verified +1!

@chadwhitacre
Copy link
Contributor Author

+1 from @areski via Twitter.

@chadwhitacre
Copy link
Contributor Author

P.S. When the user has more than one linked account, I'm dealing with this by running:

delete from elsewhere where participant='foo' and platform='twitter';

@chadwhitacre
Copy link
Contributor Author

+1 from @cornchz via Twitter.

@chadwhitacre
Copy link
Contributor Author

+1 from @cmbeelby via Twitter DM.

@coolbreezechloe
Copy link

Thanks. Also just noticed when I reconnected to the correct account that Gittip request access to my private repo's (read and write) on bitbucket. Is this necessary? Not sure if you are even using that info.

@chadwhitacre
Copy link
Contributor Author

@cmbeelby That's a Bitbucket limitation: #822. :-(

@chadwhitacre
Copy link
Contributor Author

+1 from @ElijahLynn via Twitter.

@ElijahLynn
Copy link

Thanks Chad!

@chadwhitacre
Copy link
Contributor Author

+1 from @jorgeam91 in private email.

@chadwhitacre
Copy link
Contributor Author

+1 from @dansup in email.

@chadwhitacre
Copy link
Contributor Author

+1 from @amorgner in email.

@chadwhitacre
Copy link
Contributor Author

+1 from @add1sun on Twitter.

@chadwhitacre
Copy link
Contributor Author

+1 from @YesCT on Twitter.

@chris-morgan
Copy link

+1 from me; I have two Bitbucket accounts (personal and Uni) and connected the wrong one by accident; now I can't fix that.

@chadwhitacre
Copy link
Contributor Author

@chris-morgan Try now?

@chris-morgan
Copy link

@whit537 Thanks.

@chadwhitacre
Copy link
Contributor Author

+1 from @jdorfman on Twitter.

@chadwhitacre
Copy link
Contributor Author

+1 from @sc0ttkclark in IRC.

@ghost ghost assigned zwn Feb 2, 2014
@chadwhitacre
Copy link
Contributor Author

+1 from @marcelgruenauer on Twitter (two).

@sferik
Copy link

sferik commented Feb 19, 2014

FYI, my bounty expires in 10 days. Any hope this will be fixed by then?

@chadwhitacre
Copy link
Contributor Author

@sferik Yes! We have a PR open (#1976). It is backed up behind another long-standing major PR (#1369). My goal is to land #1369 "soon" so we can process #1976 before the bounty expires. @zwn deserves it. :-)

@sferik
Copy link

sferik commented Feb 19, 2014

@whit537 Cool. I don’t know if this is possible on Bountysource but I’d be willing to extend the deadline by a few days. Happy to see progress is being made on this year-old issue.

@chadwhitacre
Copy link
Contributor Author

@sferik Ready for review! :-)

@sferik
Copy link

sferik commented Feb 28, 2014

@whit537 It doesn’t seem to work. When I hit the “Disconnect” button, it shows me this dialog box:
screen shot 2014-02-28 at 14 13 23
Nothing happens if I press the “OK” button.

@zwn
Copy link
Contributor

zwn commented Feb 28, 2014

We should probably wait until #2089 gets in. It seems it is finding some problem in disconnecting but cannot report it back 😦

@zwn
Copy link
Contributor

zwn commented Feb 28, 2014

Unfortunately all I can say is that it works for me. I have just disconnected my twitter account. We don't keep logs for 400 requests because the error explanation is supposed to go the the user but it will not until we get #2089 where @whit537 and @Changaco are discussing some details. But the error can be only one of LastElsewhere or NonexistingElsewhere (see delete-elsewhere.json.spt). What I am trying to say is that I have no idea what is going on for you @sferik 😟

@seanlinsley
Copy link
Contributor

Added context: I'm able to disconnect Twitter, but not Venmo.

@sferik
Copy link

sferik commented Feb 28, 2014

Update: Disconnecting my Twitter, GitHub, Bitbucket, and OpenStreetMap all work successfully but disconnecting my Bountysource and Venmo accounts fails.

@zwn
Copy link
Contributor

zwn commented Mar 1, 2014

I see. The merge didn't go well and we have lost the ability to delete nonsigning platforms.
33be817
The original idea was that you should not be able to lock yourself out of your account so I was checking if there is at least one signing account left.

@zwn
Copy link
Contributor

zwn commented Mar 1, 2014

I am working on a fix.

@zwn zwn reopened this Mar 1, 2014
@Progi1984
Copy link

Ok for me with Twitter ;) Thanks :)

@zwn
Copy link
Contributor

zwn commented Mar 1, 2014

@sferik Care to give it another try? The fix has been deployed, I was able to detach my Bountysource account.

@zwn zwn closed this as completed Mar 2, 2014
@sferik
Copy link

sferik commented Mar 2, 2014

Nice job. Bounty approved. Get that money.

@untitaker
Copy link

It doesn't seem like this is implemented?
2014-04-12-204530_451x240_scrot

@seanlinsley
Copy link
Contributor

@untitaker it doesn't look like you're logged in. You should see something similar to this:

screen shot 2014-04-12 at 1 47 10 pm

@untitaker
Copy link

I am logged in. It does seem like the button is there, but... somewhere:

2014-04-12-205508_1920x1080_scrot

I am using Firefox 28.

@untitaker
Copy link

Removing position:absolute seems to work, seems the wrapping <td>'s position: relative doesn't have any effect.

@untitaker
Copy link

It seems like this is behavior special to <td>s, moving the account-details class to a div works too:

<td>
    <div class="account-details">
    ...
    </div>
</td>

@seanlinsley
Copy link
Contributor

Hmm, yeah that's definitely a problem. @clone1018 and I have confirmed with locally. Writing up a new ticket for this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.