Cloud-CV / EvalAI

:cloud: :rocket: :bar_chart: :chart_with_upwards_trend: Evaluating state of the art in AI
https://eval.ai
Other
1.77k stars 787 forks source link

Feature to reactivate deactivated accounts #4391

Open Harshit28j opened 4 months ago

Harshit28j commented 4 months ago

Issue: Currently, users can disable their accounts but have no way to reactivate them. Create a new page that allows users to reactivate their accounts.

Fix: I have created a new page on the front-end that generates an activation link based on the user's email address. This link is then sent to the user's email address. The account will be activated only when the user clicks on the link.

Harshit28j commented 4 months ago

In this video, I have shown the following conditions:

  1. When the account is already active
  2. If the user does not exist
  3. Successful account activation

https://github.com/Cloud-CV/EvalAI/assets/48647625/b727dfd7-3e2c-430a-97aa-c51095912e59

codecov-commenter commented 4 months ago

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 5.26316% with 18 lines in your changes missing coverage. Please review.

Project coverage is 68.96%. Comparing base (96968d6) to head (67a9cd9). Report is 1113 commits behind head on master.

Files with missing lines Patch % Lines
frontend/src/js/controllers/authCtrl.js 5.26% 18 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #4391 +/- ## ========================================== - Coverage 72.93% 68.96% -3.97% ========================================== Files 83 20 -63 Lines 5368 3593 -1775 ========================================== - Hits 3915 2478 -1437 + Misses 1453 1115 -338 ``` | [Files with missing lines](https://app.codecov.io/gh/Cloud-CV/EvalAI/pull/4391?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [frontend/src/js/controllers/authCtrl.js](https://app.codecov.io/gh/Cloud-CV/EvalAI/pull/4391?src=pr&el=tree&filepath=frontend%2Fsrc%2Fjs%2Fcontrollers%2FauthCtrl.js&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-ZnJvbnRlbmQvc3JjL2pzL2NvbnRyb2xsZXJzL2F1dGhDdHJsLmpz) | `50.00% <5.26%> (-16.87%)` | :arrow_down: | ... and [64 files with indirect coverage changes](https://app.codecov.io/gh/Cloud-CV/EvalAI/pull/4391/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | [Files with missing lines](https://app.codecov.io/gh/Cloud-CV/EvalAI/pull/4391?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [frontend/src/js/controllers/authCtrl.js](https://app.codecov.io/gh/Cloud-CV/EvalAI/pull/4391?src=pr&el=tree&filepath=frontend%2Fsrc%2Fjs%2Fcontrollers%2FauthCtrl.js&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-ZnJvbnRlbmQvc3JjL2pzL2NvbnRyb2xsZXJzL2F1dGhDdHJsLmpz) | `50.00% <5.26%> (-16.87%)` | :arrow_down: | ... and [64 files with indirect coverage changes](https://app.codecov.io/gh/Cloud-CV/EvalAI/pull/4391/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/Cloud-CV/EvalAI/pull/4391?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/Cloud-CV/EvalAI/pull/4391?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None). Last update [be3c597...67a9cd9](https://app.codecov.io/gh/Cloud-CV/EvalAI/pull/4391?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None).