Commit graph

466 commits

Author SHA1 Message Date
Mahad Kalam
ef3f36c829
Inertia migration/UI3 (#911)
* Inertia p1?

* Inertia'fied signed out homepage?

* Split up signed in page

* WIP signed in v2?

* Better signed in?

* Clean up extensions page!

* Fix currently hacking

* Better docs page?

* Docs update 2

* Clean up "What is Hackatime?" + get rid of that godawful green dev mode

* Better nav?

* Cleaner settings?

* Fix commit times

* Fix flashes + OS improv

* Setup v2

* Readd some of the syncers?

* Remove stray emdash

* Clean up Step 3

* Oops, remove .vite

* bye bye, /inertia-example

* bin/rubocop -A

* Fix docs vuln
2026-02-09 11:26:30 +00:00
Mahad Kalam
2e0f128946
Add /api/v1/banned_users/counts (#907) 2026-02-05 18:23:21 +00:00
Mahad Kalam
0f4d4f82c3
faster local imports (#904) 2026-02-04 14:35:48 +00:00
Mahad Kalam
166d9d30a0
ahoy is walking the plank (#903)
* Remove Ahoy

* Simplify migration

* sync migrations

* Update db/migrate/20260204113033_drop_ahoy_tables.rb

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-04 13:13:48 +00:00
Echo
797af036e9
feat: move streaks inside data block (#892)
* move streaks inside data

* docs docs docs
2026-02-02 12:24:01 -05:00
Echo
8edd8404d2
feat: add streaks to user stats endpoint (#891)
* add api to streaks

* swaggerize
2026-02-02 12:18:25 -05:00
Echo
a774e6b68e
feat: dashboard filter by date range (#883) 2026-02-02 00:57:04 -05:00
Echo
5d94361f5a
refactor: fix insite api docs to use swagger (#879) 2026-02-01 14:20:24 -05:00
Evan Gan
5a48670aac
Add banned_users endpoint to AdminController and update routes (#870)
* Add banned_users endpoint to AdminController and update routes

* Merge branch 'main' into addingGetBanAdminAPI_Endpoint

* move function out of private

* docs

* re swaggerize
2026-01-29 14:05:37 -05:00
Echo
96dce497f4
Refactor error handling to support multiple response formats in ErrorsController (#872) 2026-01-28 23:00:46 -05:00
Echo
593da0d690
properly handle user inputs on visualization_quantized (#871) 2026-01-28 20:21:56 -05:00
Echo
c1e9eec98f
fix user allow_public_stats_lookup bypass (#862) 2026-01-27 01:10:02 -05:00
Tom (Deployor)
8d0215ff0f
feat: added actual api docs (rswag) + ci enforcement (#846)
* 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
2026-01-27 01:05:49 -05:00
Echo
deaa299924
skeleton projects (#861)
* skeleton projects

* count total projects for loader

* simplify code to not be jank
2026-01-27 00:53:04 -05:00
Echo
a72ea34a81
sentry id on 500s (#856) 2026-01-26 15:20:34 -05:00
Echo
8a1d5bc94a
fix broken project updates (#855) 2026-01-26 15:11:53 -05:00
Echo
209b24effa
skeleton profiles (#853) 2026-01-26 00:08:33 -05:00
Echo
133f85d3a1
Joe endpoints for fraud (#850)
type shit

Co-Authored-By: ByteAtATime <byteatatime@proton.me>
2026-01-25 23:00:12 -05:00
Echo
3cb070e36c
skeleton leaderboards (#849) 2026-01-25 22:39:26 -05:00
Echo
8404191323
ozempic weight loss (#847) 2026-01-25 19:59:28 -05:00
Echo
a395b23dd9
user change country (#828) 2026-01-25 12:31:41 -05:00
Echo
85616ec182
homepage time update (#825) 2026-01-24 01:09:31 -05:00
Echo
0cafe81c9c
fix api token not showing (#823) 2026-01-23 12:32:28 -05:00
Echo
ca595aa0b9
lets not flash the admin api key (#821) 2026-01-23 00:04:03 -05:00
Echo
9705a34c5c
unlike github accounts (#818) 2026-01-21 18:29:07 -05:00
Echo
ae68306d46
fix n+1 on admin user batch (#817) 2026-01-21 17:36:44 -05:00
Echo
980ce2b95c
fix n+1 on admin users (#816) 2026-01-21 17:30:09 -05:00
Echo
e592f1db39
profile speedups and cache (#811) 2026-01-19 23:23:24 -05:00
Echo
55c8f5b926
Oauth apps for all! (#810)
* linting

* migrations

* user modelassss

* controllers

* views and shii

* fix bad input on seeds

* fix intenting

* DRY!!!
2026-01-19 22:24:21 -05:00
Echo
ee5653b8b6
optimize trust level api (#807) 2026-01-19 12:07:05 -05:00
Echo
58f106c746
additional admin api endpoints (#782)
* additional admin api endpoints

* lint
2026-01-12 22:46:47 -05:00
Echo
063403e4a0
admin api rework (#777)
Co-authored-by: TheUnknownHacker <128781393+The-UnknownHacker@users.noreply.github.com>
2026-01-08 12:28:21 -05:00
Jeffrey Wang
643782b0c9
Add a fix language function (#452)
Co-authored-by: Echo <github@3kh0.net>
2026-01-06 11:22:05 -05:00
Echo
ffcb6e6a00
put users on the main page if no more archived projects (#772) 2026-01-06 10:25:51 -05:00
Echo
6a6854f2db
allow repo mapping on projects without a repo url (#771) 2026-01-06 09:45:27 -05:00
Echo
7ebb1b2085
archive projects (#770) 2026-01-06 09:28:39 -05:00
Echo
9cc68b881a
fix fuzzy search for display_name (#769) 2026-01-03 11:51:44 -05:00
Echo
5df8857810
reduce the information returned by fuzzy search (#768) 2026-01-03 11:31:33 -05:00
Echo
7d553da1d2
fix searches for funny usernames (#767) 2026-01-03 11:01:02 -05:00
Echo
6b56134df4
protect against timing attacks for admin keys (#766) 2026-01-03 10:45:11 -05:00
Echo
097e48471f
fix how broken keys are errored (#765) 2026-01-03 09:34:43 -05:00
Echo
c62cb0f7da
remove mailing system (#763) 2026-01-03 09:25:47 -05:00
Echo
f406bec762
double check admin key holders (#761) 2026-01-03 09:08:08 -05:00
Echo
ae7d9c73fb
admin perms check (#760) 2026-01-03 08:34:57 -05:00
Echo
e2f4a3baca
apply ban checks across the board (#758) 2026-01-02 12:13:17 -05:00
Max Wofford
e6ed172d85
Remove old neighborhood logic (#753)
Co-authored-by: Echo <github@3kh0.net>
2025-12-30 21:31:57 +01:00
Echo
063db918bd
open up leaderboard api for all (#756)
* open up leaderboard api for all

* lint smh
2025-12-30 21:17:00 +01:00
nora
a1df7eddd1
add admin key revocation endpoint (#747)
* add admin key revocation endpoint

* include key name
2025-12-29 16:35:10 -05:00
Echo
3f13f453f2
block viewers from convicting (#746) 2025-12-28 21:10:29 +01:00
Fox Ellison-Taylor
aee56d48ce
fuzzy admin user search (#741)
Co-authored-by: Echo <github@3kh0.net>
2025-12-28 20:24:47 +01:00