Commit graph

119 commits

Author SHA1 Message Date
Mahad Kalam
28fe4739f5
Leaderboard Inertia'd + use cache + util dedup (#1121)
* make leaderboards go vrooom

* goog

* Make leaderboards great again

* Bit o' cleanup?

* goog

* goog

* Greptile
2026-03-30 14:39:05 +00:00
Mahad Kalam
95580df3ba
Bye raw_heartbeat_uploads! (#1098)
* Drop raw_heartbeat_uploads

* oops

* Make it friendly

* finalizad

* goog

* bundlarr

* remove the newlines
2026-03-22 18:16:19 +00:00
Mahad Kalam
607480ff8d
Imports v2.5 (#1065)
* Imports are back!!

* Settings UI v3

* Use Inertia forms for heartbeat imports

* Update app/javascript/pages/Users/Settings/Data.svelte

* Update Bundle

* Fix broken Form/Button markup in Data.svelte settings page

* Update JS deps

* Greptile fixes

* Remove dead code

* Fixy wixy

* woohoo

* fixes

* Fix

* Fixes

* Fix TC

* Fix TC

* welp

* test

* Even more Greptile fixes
2026-03-13 09:34:40 +00:00
Mahad Kalam
667d3a7c93
WakaTime/Hackatime v1 imports + Settings v2 (#1062)
* Imports are back!!

* Settings UI v3

* Use Inertia forms for heartbeat imports

* Update app/javascript/pages/Users/Settings/Data.svelte

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Update Bundle

* Fix broken Form/Button markup in Data.svelte settings page

* Update JS deps

* Greptile fixes

* Remove dead code

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-03-12 21:27:10 +00:00
Mahad Kalam
60db83996a
Revert "Revert "Migrate Lapse heartbeats + concurrent index on heartbeats' user_agent"" (#1058)
* Revert "Revert "Migrate Lapse hbs + concurrent index on heartbeats' user_agen…"

This reverts commit 1d6947903b.

* Delete db/migrate/20260311170528_update_lapse_heartbeat_language.rb
2026-03-11 17:26:40 +00:00
Mahad Kalam
1d6947903b
Revert "Migrate Lapse hbs + concurrent index on heartbeats' user_agent (#1056)" (#1057)
This reverts commit cda06a30be.
2026-03-11 17:18:46 +00:00
Mahad Kalam
cda06a30be
Migrate Lapse hbs + concurrent index on heartbeats' user_agent (#1056)
* Add concurrent index on heartbeats user_agent

* whoops, forgot to commit :skulk:
2026-03-11 17:08:38 +00:00
Mahad Kalam
606bdaed01
Clean up migrations + schema.rb (#1055)
* Drop unused heartbeat lookup tables and their FK columns

Remove 8 abandoned normalization tables (heartbeat_branches,
heartbeat_categories, heartbeat_editors, heartbeat_languages,
heartbeat_machines, heartbeat_operating_systems, heartbeat_projects,
heartbeat_user_agents) and their corresponding foreign key columns
from the heartbeats table. None had models, associations, or any
application code referencing them.

* Remove migrations cancelling each other out
2026-03-11 16:52:35 +00:00
Mahad Kalam
1f695850e5
Bring back Mailkick (#1021)
* Sources say Charlie Kick is stable. Please god

* Some tests + guards + unsub URL fix

* Fix lockfile!

* bin/rubocop -A

* if this does not work I am going to kms

* phew
2026-03-01 14:26:54 +00:00
Mahad Kalam
c846217ce6
Revert all commits after d5d987a8f4 (#1020)
Reverts the following commits:
- 2e3cfd60 Revert Mailkick
- de320443 Merge branch 'main'
- efd189a8 Add safety-hatch for summary emails
- d5c62922 Remove exploding queries (#1018)
- 2b37201d Bump actions/upload-artifact from 6 to 7 (#1007)
- a4c10b47 Expand scopes to all time for summaries/goals (#1017)
- 4dec2f44 Unsubscribe links + slow job monitoring (#1016)
2026-03-01 13:09:10 +00:00
Mahad Kalam
0c7fb13c82
Revert Mailkick (#1019) 2026-03-01 12:56:23 +00:00
Mahad Kalam
4dec2f44a4
Unsubscribe links + slow job monitoring (#1016)
* Notable + unsubscribe links

* Add the migrations/initializers!

* oops

* Fix a bug

* Address Copilot warn

* Fixes

* stop swallowing errors!!!!

* Flipper flag WeeklySummaryEmailJob

* Split WeeklySummaryEmailJob into new email
2026-03-01 12:11:38 +00:00
Mahad Kalam
2816314df9
Weekly summary emails + move off Loops (#998)
* Weekly summary emails + move off Loops

* Remove unused asset
2026-02-23 22:15:02 +00:00
Mahad Kalam
7317cc45e7
Imports + mirrors :DD (#993)
* Imports + mirrors :DD

* Stuff and things

* Fixes

* Fixes x2

* Tests!

* Hmm
2026-02-23 15:00:43 +00:00
Mahad Kalam
1b7e0462dc
Make large exports go to ActiveStorage (#990)
* Make em go to ActiveStorage

* Oops!
2026-02-21 11:53:18 +00:00
Mahad Kalam
e3456be187
goaaaal! (#985)
* Add goals

* Fix up some migrations

* Formatting

* Simplify migration

* Update test/controllers/settings_goals_controller_test.rb

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Update test/controllers/settings_goals_controller_test.rb

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Fix svelte-check issues, make CI less janky on dev

* svelte-check/fix tests

* Fix N+1s

* Formatting!

* More tests, fix anonymization and N+1

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-02-19 18:47:01 +00:00
Mahad Kalam
d395617a3e
Revert "Fast leaderboards (#954)" (#955)
This reverts commit ac32690ee9.
2026-02-16 00:48:36 +00:00
Mahad Kalam
ac32690ee9
Fast leaderboards (#954)
* Fast leaderboards

* oop

* CUT index

* Update leaderboard_update_job.rb

* Update db/migrate/20260215223000_add_leaderboard_heartbeat_index.rb

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Update app/models/concerns/heartbeatable.rb

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-02-16 00:05:14 +00:00
Mahad Kalam
dd978bbeb9
Themes! (#952)
* Themes pt1

* Themes pt2

* Standard -> Classic, new default is Gruvbox Dark

* Make settings shell fatter
2026-02-15 22:14:46 +00:00
Mahad Kalam
f16c991808
Remove unused public_activity + downsize activity graph Inertia payload (#946)
* Remove public_activity

* Continue removal

* Uh-oh, re-add pganalyze

* Fix Vite HMR not working
2026-02-15 09:54:29 +00:00
Mahad Kalam
b9798b4f6c
Fix redirects! And add tests! (#930)
* Fix redirects in new account flow?

* Fix redirects! And tests!

* Make tests better

* I will test this club
2026-02-12 10:01:33 +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
Mahad Kalam
7e54f109ba
Revert "Add PgHero (#894)" (#895) 2026-02-02 17:45:00 -05:00
Mahad Kalam
a2716fcdb0
Add PgHero (#894) 2026-02-02 21:17:26 +00: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
ed839159fd
optimize geocoding user job (#799) 2026-01-17 17:59:38 -05:00
Echo
affe028b60
sort when slack data is updated (#794) 2026-01-17 15:31:56 -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
c62cb0f7da
remove mailing system (#763) 2026-01-03 09:25:47 -05:00
Echo
459b9ad6e2
add back pganalyze after #753 (#757) 2025-12-30 21:37:04 +01: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
29fb916bd9
add back pganalyze to production schema (#751) 2025-12-28 17:17:53 -05: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
Echo
64f9d9cb34
data deletion oneshot (#691) 2025-12-07 22:49:40 -05:00
Echo
b7aae15769
fix broken project labels table (#689)
* fix broken project labels table

* linting
2025-12-05 16:22:18 -05:00
Max Wofford
336ae5c944
Add HCA signin (#684) 2025-12-03 14:05:30 -05:00
Echo
5f5257c752
index users on username (#674) 2025-12-01 11:20:06 -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
ShyMike
a1bb20ab3f rename custom_name to username + fix audit logs 2025-10-21 22:15:16 +01:00
ShyMike
109ae988a0 deprecate username + name cleanup 2025-10-21 21:28:35 +01:00
ShyMike
7664daba45 add custom display name support 2025-10-19 10:40:41 +01:00
Max Wofford
ae76f20946
Initial new activity log (#562) 2025-10-03 20:52:36 -04:00
Max Wofford
5ae07f5643
Patch up oauth implementation (#560) 2025-10-03 18:22:37 -04:00
Fox Ellson-Taylor
c299e26e67
improve machine and ip address heartbeat querying speeds (#490) 2025-08-25 09:01:05 -04:00
Echo
e30e9862a7
rework lb generation (#467) 2025-08-08 22:10:33 -04:00
Echo
1251503729
project lookup indexes 2025-07-08 20:14:02 -04:00
Echo
619fc1eb74
first pass 2025-07-05 22:14:47 -04:00
Echo
256b0ab687
add support for admin api keys 2025-07-01 12:14:55 -04:00
Echo
158e065df3
Revert to 23acedcd76 2025-07-01 00:24:36 -04:00