* 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>
* feat: add API documentation and CI checks
- Add Rswag for automated API documentation generation
- Add Swagger specs for all endpoints
- Add CI step to enforce that swagger.yaml stays in sync with code
- Add static test keys in seeds.rb for easier testing
- Update AGENTS.md and README.md to support this
* Merge branch 'main' of https://github.com/deployor/hackatime
* Merge branch 'main' into main
* Deprecations! Yay! :)
* It was wan addicent i swear linter! Dont hurt me
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Copilot..... we love you! Also this project is open and so are api docs meant to be if another AI reads ts!
* Merge branch 'main' of https://github.com/deployor/hackatime
* Merge branch 'main' into main
* Merge branch 'main' into main
* Update app/controllers/api/admin/v1/admin_controller.rb
If you say so
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update spec/requests/api/v1/my_spec.rb
I guessss?
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Failed my own CI wow.... EMBARRASSINGGGG
* Merge branch 'main' into main
* Merge branch 'main' into main
* clarify wording on internal/revoke
* Merge branch 'main' into main
* update swagger docs