weixin_39796238
weixin_39796238
2020-11-26 13:46

Check for and clear tips to a deactivated account

After deactivating jashkenas, they sent an email to support saying:

It appears that even after being cancelled, if I load gittip.com, it says this in the corner:

deactivated-jashkenas – sign out Giving: $1.00/wk Receiving: $30.00/wk

I asked to take a look, he says:

We needed to log them out by setting session_token to null. I've done now this for all 11 deactivated-% users and have updated https://github.com/gittip/www.gittip.com/issues/54#issuecomment-29240281. So we can tell Jeremy that he has been logged out (and could he confirm that?) and we haven't moved any money to his account.

I checked the transfers table and the last transfers we did for jashkenas were from Jan 9. We've had one payday since then, on Jan 16, so it looks like we haven't moved any money to him since then.

I'm getting a 500 on https://www.gittip.com/deactivated-jashkenas/history/ so I can't check that view. Here's the error: https://app.getsentry.com/gittip/gittip/group/13874404/.

Looking at the tips table, I see the zeroing out to jashkenas on the 13th, but then I do see four tips recorded (from one tipper) on the 14th and 15th. The ctime is actually on the 14th, so this appears to be a problem, and one we should resolve before payday this week to avoid moving money to the deactivated-jashkenas account. Could you please make a new GitHub ticket for this and mark it three stars?

该提问来源于开源项目:gratipay/gratipay.com

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

8条回答

  • weixin_39956036 weixin_39956036 5月前

    deactivated-jashkenas is showing up as a top receiver on the Ruby community page, which is especially unfortunate since it's a user-facing link that results in a 500. ( and I discussed this a bit on IRC)

    点赞 评论 复制链接分享
  • weixin_39546520 weixin_39546520 5月前

    deactivated-jashkenas is showing up as a top receiver on the Ruby community page

    Blech. Gross. :-(

    Bumping back up to ★★★.

    点赞 评论 复制链接分享
  • weixin_39845430 weixin_39845430 5月前

    :+1: Just got a 500 error as a result of this issue.

    点赞 评论 复制链接分享
  • weixin_39553904 weixin_39553904 5月前

    This was fixed by #2507.

    点赞 评论 复制链接分享
  • weixin_39546520 weixin_39546520 5月前

    Thankfully, it doesn't appear that we transferred money to deactivated-jashkenas this week. Why is that? My hunch is that we include claimed_time in the query for participants during payday. Yup. So that's good. :-)

    It's still a bug that andyet was able to tip deactivated-jashkenas after he was deactivated. Looks like it's time for another self-check, . :-)

    点赞 评论 复制链接分享
  • weixin_39546520 weixin_39546520 5月前

    I'm dropping this to ★★☆ since we don't actually move money in this case.

    点赞 评论 复制链接分享
  • weixin_39701735 weixin_39701735 5月前

    It's still a bug that andyet was able to tip deactivated-jashkenas after he was deactivated. Looks like it's time for another self-check,://github.com/zwn. :-)

    I don't think this is a bug. There is actually no code that prevents it :astonished:. Cf. #1705

    点赞 评论 复制链接分享
  • weixin_39701735 weixin_39701735 5月前

    How can we tell that a user is deactivated? Unsetting claimed_time without deleting appropriate elsewhere returns 500. See https://www.gittip.com/deactivated-jashkenas/. What it is we should forbid when fixing tipping to deactivated accounts? Because I was able to tip 6a2ab9485317 just fine. We need a definition of deactivated account.

    点赞 评论 复制链接分享

相关推荐