Commit graph

282 commits

Author SHA1 Message Date
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
5bd4b7b0c7 Fix mirror auth 2026-02-23 20:46:28 +00:00
Mahad Kalam
8c0227cb57
Bye, warehouse! (#994) 2026-02-23 20:16:03 +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
d3af585822
Several tests and fixes. (#987)
* Several tests and fixes.

* Harden safe_return_url to reject URLs containing colons

Adds an extra guard in safe_return_url to reject paths containing ':'
characters, preventing edge-case scheme-like redirects (e.g.
/javascript:...). Addresses CodeQL URL redirection warning.

* Oops!
2026-02-20 15:30:48 +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
79c6bb80b2
Allow disabling Hackatime v1 import via Flipper flag (#975)
* Allow disabling Hackatime v1 import via Flipper flag

* Handle Greptile suggestion
2026-02-18 00:46:33 +00:00
Mahad Kalam
ef94a9da9d
OAuth2 apps inertia'd! (#966)
* OAuth2 apps Inertia'd!

* Rose Pine/Rose Pine Dawn themes!

* Run formatting pass

* add some tests?
2026-02-17 13:45:44 +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
ad95cf6c4f
Add PostHog (#906)
* Add PostHog

* Queue Posthog *after* adding to DB

* Update app/services/posthog_service.rb

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

* Add /api/v1/banned_users/counts

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-15 08:44:39 +00:00
Mahad Kalam
e1de26193a woosh 2026-02-10 01:26:14 +00:00
Mahad Kalam
30ec28cbb4 bin/rubocop -A 2026-02-10 00:32:17 +00:00
Mahad Kalam
c96da270d3 arr! 2026-02-10 00:29:59 +00:00
Mahad Kalam
26f3d4e814 Mahad's perf experiment 2026-02-09 23:50:01 +00:00
Mahad Kalam
0f42cd4b90 Optimizations and code cleanup 2026-02-09 21:05:50 +00:00
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
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
041f8ee3bb
feat: derive dummy users for testing (#880)
* install faker

* carry username over to display

* feat: derive dummies from you
2026-02-02 00:13:33 -05:00
Echo
ae6c6c089e
feat: tombstone data deletion (#815) 2026-02-01 14:23:48 -05:00
Echo
50d4e15a1c
Fix deletion failures in Heartbeat model (#877)
* fix deletion failures

* update gems
2026-01-30 20:11:02 -05:00
Echo
73f383843d
fix bad substring sanitization (#829) 2026-01-25 12:36:57 -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
742420caff
attempt 2 at fixing slack signing (#809) 2026-01-19 12:49:47 -05:00
Echo
ceb7a690d0
demote old slack email when signing in (#802)
* demote old slack email when signing in

* linting
2026-01-19 02:04:58 -05:00
Echo
affe028b60
sort when slack data is updated (#794) 2026-01-17 15:31:56 -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
Echo
8400178291
make archive and unarchive bypass validations (#773) 2026-01-06 11:19:44 -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
5f45d9f7af
scramble key names once revoked (#762) 2026-01-03 09:12:04 -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
Kartikey Chauhan
f28592b88a
Fix timezone typo in time_range_filterable.rb 2025-12-29 23:41:10 +05:30
Kartikey Chauhan
60ee35b9ba
Add 'Flavortown' time range filter (#752)
* Add 'Flavortown' time range filter

* chore: lint
2025-12-29 09:27:48 -05:00
Max Wofford
220b0afe7e
Revert primary direct database (#742) 2025-12-28 14:10:08 -05:00
Echo
335cc42654
Profiles (#719)
* new username logic

* lint

* change up settings for username

* user profiles
2025-12-21 00:54:04 -05:00
Arca Ege Cengiz
9dd246a80a
Change email unlink validation to allow "unknown" source emails to unlink (#699) 2025-12-09 19:03:35 -05:00
Arca Ege Cengiz
385bea56f7
add ability to unlink emails (#698) 2025-12-09 18:22:44 -05:00
Echo
89bad35ad2
hotfix 2025-12-07 23:02:11 -05:00
Echo
a2d7f6d9a3
filter out the goodies and beat the baddies (#692) 2025-12-07 23:01:14 -05:00
Echo
64f9d9cb34
data deletion oneshot (#691) 2025-12-07 22:49:40 -05:00
Max Wofford
6fedc362f1
Fix HCA scopes (#685) 2025-12-03 15:03:21 -05:00
Max Wofford
336ae5c944
Add HCA signin (#684) 2025-12-03 14:05:30 -05:00
Echo
de51ef0ce5
fix bad timezone handling (#670) 2025-12-01 10:57:09 -05:00
Echo
25ea2c00db
patch lb timezones (#631)
* patch lb timezones

* fix nil
2025-11-16 00:59:29 -05:00