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

implement account cancellation #2412

Merged
merged 25 commits into from
Jun 13, 2014
Merged

implement account cancellation #2412

merged 25 commits into from
Jun 13, 2014

Conversation

chadwhitacre
Copy link
Contributor

Implements #54. This takes the three scripts involved in account cancellation--
final-gift, untip, and deactivate--and moves them pretty much unchanged (except for removing the hashbang and print_function import) into methods on the Participant object. It also roughs in a UI.

screen shot 2014-05-16 at 1 46 55 am

screen shot 2014-05-16 at 1 47 36 am

@chadwhitacre
Copy link
Contributor Author

@Changaco et al. Can we prioritize this one, please? Had some heat on Twitter tonight and don't want to be caught without this if/when people decide to abandon Gittip en masse. It's high-priority to begin with, of course.

@Changaco
Copy link
Contributor

I've added some commits, but there's still a lot to do:

  • implement the "Send it to my bank account" option
  • implement the "Refund it to my patrons" option Punting on this.—@whit537
  • add tests for all that stuff

@chadwhitacre
Copy link
Contributor Author

@Changaco Awesome. Thanks for jumping right on it. :-)

@chadwhitacre chadwhitacre changed the title Rough in account cancellation; #54 implement account cancellation May 16, 2014
@chadwhitacre chadwhitacre mentioned this pull request Jun 5, 2014
@chadwhitacre
Copy link
Contributor Author

I just rebased this on #2473.

@chadwhitacre
Copy link
Contributor Author

Rebased onto #2474.

Prolly starting to be ready for review @Changaco @seanlinsley @ESWAT @ivanmushketyk.

@chadwhitacre
Copy link
Contributor Author

Hashing out details on IRC.

@chadwhitacre
Copy link
Contributor Author

screen shot 2014-06-06 at 9 46 15 am
screen shot 2014-06-06 at 9 46 48 am

@chadwhitacre
Copy link
Contributor Author

More IRC.

@Changaco
Copy link
Contributor

Changaco commented Jun 6, 2014

Rebased on master and reviewed.

@chadwhitacre
Copy link
Contributor Author

TODO:

  • squish that newly failing test
  • tighten up disbursement workflow
  • implement deletion of personal information
  • implement "Account closed by user." page
  • review display of closed accounts in history pages
  • make sure closing works during payday

@chadwhitacre
Copy link
Contributor Author

The test is failing because there's too little money in the escrow for our public dev marketplace. I've added 100,000 but I guess it still takes 3-5 days to go through?

@chadwhitacre
Copy link
Contributor Author

Nope! Went through. :-)

chadwhitacre added a commit that referenced this pull request Jun 6, 2014
Method needed as part of account closing, #2412.
chadwhitacre added a commit that referenced this pull request Jun 6, 2014
Method needed as part of account closing, #2412.
@Changaco
Copy link
Contributor

Changaco commented Jun 7, 2014

Merged master into this, reviewed previous commits, and added a few more.

@chadwhitacre
Copy link
Contributor Author

Rebased on master.

@chadwhitacre
Copy link
Contributor Author

IRC

@chadwhitacre
Copy link
Contributor Author

Current verbiage:

screen shot 2014-06-10 at 1 19 16 pm
screen shot 2014-06-10 at 1 23 03 pm
screen shot 2014-06-10 at 1 20 12 pm

Now that the three scripts involved in account cancelation have been
moved to (tested) methods on Participant, we're ready to wire up the UI.
This commit rebases the original work we did on the UI on top of the
separate line of development we ended up pursuing for the Participant
methods.
Changaco and others added 4 commits June 11, 2014 14:16
We're not able to deliver on strong "we delete all your info" promises
yet, because we haven't formalized a data retention policy (#397).
@Changaco
Copy link
Contributor

Rebased on master.

These were actually using API that went away in #2352, but they're also
unused in the simplate anyway.
Conflicts:
	tests/py/test_close.py
@chadwhitacre
Copy link
Contributor Author

Oops. I merged master instead of rebasing.

@seanlinsley
Copy link
Contributor

IIRC rebasing now will automatically drop the merge commit

@chadwhitacre
Copy link
Contributor Author

screen shot 2014-06-12 at 10 13 37 am

@chadwhitacre
Copy link
Contributor Author

Looking at disbursement workflow.

@chadwhitacre
Copy link
Contributor Author

The methods are there and they work, but the catch is that conditions must be met.

@chadwhitacre
Copy link
Contributor Author

For the "Give it to the people I tip" case, they have to have tips set up. They can go do this if they haven't already (though our discovery features suck so that's a drag).

For the "Send it to my bank account" case, they have to have a bank account set up. We require participants to be whitelisted before we will send money to their bank account, and that requires admin intervention. We could decide to punt on that in this case but then that opens up a fraud loophole that I don't think we want to open.

@chadwhitacre
Copy link
Contributor Author

In either case we want to block the option and give them instructions if they don't meet the criterion.

Simple conditionals with instructions in non-available cases. Good
enough for now?
@chadwhitacre
Copy link
Contributor Author

@Changaco @seanlinsley @pjz @ESWAT @ivanmushketyk Ready for final review and merge!

Changaco added a commit that referenced this pull request Jun 13, 2014
implement account cancellation
@Changaco Changaco merged commit 5bd7e33 into master Jun 13, 2014
@Changaco Changaco deleted the cancel-account branch June 13, 2014 18:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants