228 Commits

Author SHA1 Message Date
Echo
64f9d9cb34 data deletion oneshot (#691) 2025-12-07 22:49:40 -05:00
Echo
0653d8bb99 fix upsert error 2025-12-02 08:00:41 -05:00
Echo
451182e4f6 fix race on lb (#679)
* fix race on lb

* second pass on lb logic
2025-12-02 07:49:18 -05:00
Echo
04ce935e69 fix n+1 on mailing job (#673) 2025-12-01 11:12:21 -05:00
Echo
006bbfe388 fix repo mapping to wrong repos (#672) 2025-12-01 11:08:50 -05:00
Echo
810f09828c bug fixes (#630)
* fix on old repos

* clean up broken leaderboards

* Update app/jobs/sync_repo_metadata_job.rb

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

* remove broken lb logic

* Update db/migrate/20251116045400_clean_up_weekly_leaderboards.rb

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-16 00:23:42 -05:00
Echo
4466d8d820 leaderboards rework (#623)
* rolling leaderboards

* use actual deletions over soft deletes
2025-11-15 17:34:13 -05:00
Echo
7d4ca90e18 error handling on third party repo hosts (#622) 2025-11-15 17:15:09 -05:00
ShyMike
630177cf4a Add custom name support (#579) 2025-10-21 16:42:08 -04:00
Max Wofford
748e25c1c4 Move public_activity partials to user folder (#565) 2025-10-03 22:05:59 -04:00
Max Wofford
a23dff3640 Attempt to fix missing trackable on public activity 2025-10-03 21:18:15 -04:00
Max Wofford
ae76f20946 Initial new activity log (#562) 2025-10-03 20:52:36 -04:00
Max Wofford
ff314efff9 Add dryrun option for user data transfer job (#516) 2025-09-08 11:46:14 -04:00
Max Wofford
55797f4c55 Remove neighborhood specific jobs (#515) 2025-09-08 11:31:16 -04:00
Max Wofford
048ce1a12f Regional leaderboards persist to database (#494) 2025-08-25 08:23:51 -04:00
Echo
161c037b6e fix try 300 2025-08-08 23:00:50 -04:00
Echo
7315d45c52 this probs works 2025-08-08 22:46:59 -04:00
Echo
1ec6377779 misinput whoops 2025-08-08 22:26:05 -04:00
Echo
e30e9862a7 rework lb generation (#467) 2025-08-08 22:10:33 -04:00
Echo
db4c834c0e decrase job retain 2025-07-01 00:38:00 -04:00
Echo
158e065df3 Revert to 23acedcd76 2025-07-01 00:24:36 -04:00
Echo
8aff60f04c fix leaderboard generation jobs 2025-07-01 00:04:09 -04:00
Echo
c52738587c optimize currently hacking info box 2025-06-26 15:44:21 -04:00
Echo
752bbc7632 Merge pull request #344 from hackclub/main-patch1
delete old leaderboards after 2 days
2025-06-26 09:52:19 -04:00
Echo
05da3a6b84 optimize mini leaderboards 2025-06-25 20:41:38 -04:00
Echo
c5353cb29d delete old leaderboards after 2 days 2025-06-19 20:35:53 -04:00
Echo
4b5ac0c0ad block convicted users from leaderboards 2025-06-18 11:36:50 -04:00
Max Wofford
84e92cc844 Fix n+1 on currently_hacking email list (#319) 2025-06-16 14:29:53 -04:00
Max Wofford
47847e55b3 Attempt to fix issue with user country code not persisting 2025-06-11 10:50:08 -04:00
Max Wofford
c70c961431 Add regional leaderboard beta opt-in (#305) 2025-06-11 04:12:18 -04:00
Max Wofford
ffdc865ff1 Limit geocode job to 100 users per batch 2025-06-11 02:51:32 -04:00
Max Wofford
ee177df4e3 SyncRepoMetadataJob now queues as literally_whenever 2025-06-11 02:03:53 -04:00
Max Wofford
6caf3c5fc9 Remove redundant country code guard check 2025-06-11 01:55:44 -04:00
Max Wofford
f56da9c751 Filter out null bytes in process commit job
Fix #300
2025-06-09 18:25:48 -04:00
Max Wofford
09b06f0981 Fallback to geocoding user on timezone if IP not found 2025-06-09 14:14:38 -04:00
Max Wofford
0b4dca20f9 Speed up geocodable users check "empty?" -> "exists?" 2025-06-09 14:11:57 -04:00
Max Wofford
883acfde52 Handle 401 from github
Fixes https://github.com/hackclub/hackatime/issues/293
2025-06-09 11:19:19 -04:00
Max Wofford
bca96cc418 Fix #291: Prevent duplicate commit key violations 2025-06-09 03:04:22 -04:00
Max Wofford
21cb303bd7 Discard concurrency errors in jobs
Attempt to fix https://github.com/hackclub/hackatime/issues/292
2025-06-09 02:52:47 -04:00
Echo
0d5f5fa03b fix: Layout/TrailingWhitespace 2025-06-08 21:26:41 -04:00
Max Wofford
31169c5b2b Silence ConcurrencyExceededError 2025-06-08 21:04:55 -04:00
Max Wofford
e43f23065d Protect from invalid github org response
Attempt to fix #287
2025-06-08 20:56:09 -04:00
nora
9dfabf49f9 may i remind you, mr. wofford, you're under OAuth (#284) 2025-06-08 19:04:51 -04:00
Zach Latta
efd19568b7 Sync in and display repo metadata 2025-05-30 09:57:27 -04:00
Max Wofford
dc2019339d Add repo pulling job for more recent events
In implementation I'm finding github's repo events are delayed by 1-3 days.
2025-05-28 18:20:31 -04:00
Max Wofford
27768bee43 Add background job for triggering time updates...
...in neighborhood
2025-05-27 17:09:50 -04:00
Max Wofford
f62d57fbf0 Fix queueing on jobs still in default queue 2025-05-26 18:37:37 -04:00
Max Wofford
3134fef95f Add cron for clearing out good_job records 2025-05-26 17:52:11 -04:00
Max Wofford
5378a46863 Add timeouts in neighborhood airtable sync 2025-05-22 17:20:55 -04:00
Max Wofford
1fba58c6fb Initial implementation of post_reviews_controller (#247) 2025-05-22 03:14:27 -04:00