hackatime/app/controllers/settings
Mat eb3fa24315
feat: make regular api tokens revocable (#1027)
* add new icon from bounty

* feat: add hackatime normal token revocation

* chore: make linter not hate me (its always whitespace) <3

* fix: combine both revocation apis into one (as requested by mahad)

* chore: add HKA_REVOCATION_KEY to .env.example

* feat: add hackatime normal token revocation

* chore: make linter not hate me (its always whitespace) <3

* fix: combine both revocation apis into one (as requested by mahad)

* chore: add HKA_REVOCATION_KEY to .env.example

* feat: add hackatime normal token revocation

* chore: make linter not hate me (its always whitespace) <3

* fix: combine both revocation apis into one (as requested by mahad)

* chore: add HKA_REVOCATION_KEY to .env.example

* feat: add hackatime normal token revocation

* chore: make linter not hate me (its always whitespace) <3

* fix: combine both revocation apis into one (as requested by mahad)

* fix: stuff greptile suggested

* style: add final newline

* docs: apply .env.example suggestion from @skyfallwastaken

Co-authored-by: Mahad Kalam <55807755+skyfallwastaken@users.noreply.github.com>

* refactor: move apikey rotation to user model

* style: remove unnecessary comment

* fix: tests passing and inappropriate response codes

* refactor: fix response codes

* refactor: move key info request back into separate function

* fix: broken ci because of merge mistake :/

* refactor: remove unnecessary test line and switch to  report_error

* fix: returned name for admin & regular keys

---------

Co-authored-by: Mahad Kalam <55807755+skyfallwastaken@users.noreply.github.com>
2026-04-01 19:37:34 +01:00
..
access_controller.rb feat: make regular api tokens revocable (#1027) 2026-04-01 19:37:34 +01:00
badges_controller.rb Spring cleaning (#1074) 2026-03-15 15:26:32 +00:00
base_controller.rb Improve leaderboard UI responsiveness and emoji rendering (#1123) 2026-03-31 13:44:23 +00:00
data_controller.rb Spring cleaning (#1074) 2026-03-15 15:26:32 +00:00
goals_controller.rb Improve leaderboard UI responsiveness and emoji rendering (#1123) 2026-03-31 13:44:23 +00:00
integrations_controller.rb Spring cleaning (#1074) 2026-03-15 15:26:32 +00:00
notifications_controller.rb Spring cleaning (#1074) 2026-03-15 15:26:32 +00:00
profile_controller.rb Spring cleaning (#1074) 2026-03-15 15:26:32 +00:00