Commit graph

52 commits

Author SHA1 Message Date
Mahad Kalam
28fa174861
Add Sentry monitoring for previously unreported errors (#1066)
* Add Sentry monitoring for previously unreported errors

* Fix

* Fixes

* whoops!
2026-03-13 11:06:12 +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
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
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
3f5470464a
New signed out page, new sign in page, no minimal login, fix redirect (#968)
* New signed out page, new sign in page, no minimal login, fix redirect
issue

* Format + deps

* Implement that fix

* Readd the numbers

* Remove the +s
2026-02-17 17:08:11 +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
7f300e32ba
Revert "Redirect to setup for new users entering OAuth flow (#931)" (#939)
This reverts commit bc2e64016d.
2026-02-15 01:03:40 +00:00
Mahad Kalam
bc2e64016d
Redirect to setup for new users entering OAuth flow (#931)
* Fix redirects in new account flow?

* Fix redirects! And tests!

* Make tests better

* I will test this club

* Uh oh, let's redirect to WakaTime setup

* Make it actually detect new users properly?
2026-02-12 10:44:00 +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
09fec72b2e
Fix redirects in new account flow? (#929) 2026-02-11 22:21:39 +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
Echo
9705a34c5c
unlike github accounts (#818) 2026-01-21 18:29:07 -05:00
Echo
443ecae2c6
handle users rejecting oauth flows (#731)
* handle users rejecting oauth flows

* lint
2025-12-21 22:02:00 -05:00
Kartikey Chauhan
b72d257470
fix: fix missing path helper (#705) 2025-12-14 15:44:42 -05:00
Kartikey Chauhan
e94fbd7866
redirect back to ft/uri for OAuth (#702) 2025-12-14 10:51:48 -05:00
Echo
fbe406d693
fix NoMethodError on email_verification_request.destory (#700) 2025-12-10 20:29:41 -05:00
Arca Ege Cengiz
385bea56f7
add ability to unlink emails (#698) 2025-12-09 18:22:44 -05:00
Max Wofford
e27a135036
HCA goes live (#687) 2025-12-05 11:53:35 -05:00
Max Wofford
336ae5c944
Add HCA signin (#684) 2025-12-03 14:05:30 -05:00
Echo
64fc0f1f1b
better error handling (#677)
* swap honeybadger for sentry

* better error pages
2025-12-01 12:33:01 -05:00
ShyMike
630177cf4a
Add custom name support (#579) 2025-10-21 16:42:08 -04:00
Echo
3fc69e4ad2
fix admin impersonate 2025-07-14 14:51:38 -04:00
Echo
b7eecc439c
pass 2 on perms 2025-07-05 23:23:03 -04:00
Echo
619fc1eb74
first pass 2025-07-05 22:14:47 -04:00
Echo
1a0d839602
fix admin impersonate perms 2025-07-04 11:25:29 -04:00
Echo
e46b9353bb
block admins from impersonating other admins 2025-07-02 00:23:08 -04:00
Echo
509f763e13
styles update! 2025-06-26 17:22:15 -04:00
nora
8da145d623
add program return button (#314) 2025-06-13 13:48:21 -04:00
Max Wofford
fa00180e86 Add github unlink + relink options 2025-06-09 11:20:43 -04:00
nora
9dfabf49f9
may i remind you, mr. wofford, you're under OAuth (#284) 2025-06-08 19:04:51 -04:00
Max Wofford
c289d710f0 Add honeybadger to compare to sentry 2025-05-15 09:30:41 -04:00
Max Wofford
35d2efa2a2 User migration job is no longer an OTJ 2025-05-06 12:41:35 -04:00
Max Wofford
58ddd7197a
Initial email verification request implementation (#205) 2025-05-05 11:46:31 -04:00
Max Wofford
f354dbe8a4 More specific host allow on slack auth 2025-04-29 11:25:17 -04:00
Max Wofford
5acd30f6f6 Add close_window param for Athena Awards 2025-04-29 11:13:05 -04:00
Max Wofford
5ff44aa0e6 Fully sign out admins when they're impersonating 2025-03-23 11:54:58 -04:00
Max Wofford
7e3d5e35f1
GitHub signin not signup (#95)
* Users can only sign in with github, not sign up

* Lock github oauth to signed in accounts
2025-03-21 21:16:00 -04:00
Max Wofford
a088df568a
Add github auth (#68)
* Add github auth

* Add project mapping background jobs

* Explicitly allow redirect to github for signin
2025-03-19 14:19:43 -04:00
Max Wofford
0a4f46283c Speed up sign-in mail sending 2025-03-17 10:48:00 -04:00
Max Wofford
60bc0a53ba Turn on transactional emails with loops 2025-03-12 16:03:54 -04:00
Max Wofford
55d0af0bd8 Automatically migrate user data on signin 2025-03-12 13:27:02 -04:00
Max Wofford
e067ecdaf4 Remove random slack_uid generation 2025-03-10 14:40:44 -04:00
Max Wofford
976741b391 Allow account creation without slack account 2025-03-10 11:39:35 -04:00
Max Wofford
f86209ccc0 Add links to letteropener in dev 2025-03-07 18:25:45 -05:00
Max Wofford
4271688194 Add email auth 2025-03-07 18:12:48 -05:00
Max Wofford
d6dd54289c Add impersonation feature for admins 2025-02-27 03:40:45 -05:00
Max Wofford
0e840bf3d6 Print full slack data on failure to login 2025-02-21 21:13:29 -05:00
Max Wofford
24976ff08f Log full error for slack data 2025-02-21 21:10:18 -05:00
Max Wofford
2d3dc8b9a3 Attempt to fix allow_other_host link to slack 2025-02-17 18:54:28 -05:00