Commit graph

50 commits

Author SHA1 Message Date
Mahad Kalam
922e7384c0
Fix email from name/dates, login flash, wakatime_setup redirect, Sunday 6:30pm GMT (#1067)
* Smol fixes

* Map <<LAST_LANGUAGE>

* whoops

* Fix

* Move emails from Friday to Sunday
2026-03-13 10:53:57 +00:00
Mahad Kalam
42ceec73cb
Upgrade Inertia + new settings page (#950)
* New settings?

* New Settings page!

* Vendor Inertia

* Fix some issues

* <Link>ify the site!
2026-02-15 17:32:26 +00:00
Mahad Kalam
5be691a0a2
Fix setup issues (#944) 2026-02-15 09:08:42 +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
07b8a24836 Fix settings layout 2026-02-09 22:19:15 +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
a395b23dd9
user change country (#828) 2026-01-25 12:31:41 -05:00
Echo
9a17248e4e
vscode heartbeat detections (#732) 2025-12-22 01:44:59 -05:00
Echo
bce3b1ae0d
wrap key rotation in a transaction (#626) 2025-11-15 18:11:00 -05:00
Echo
0250448b5a
andrew rotate keys (#624) 2025-11-15 17:57:10 -05:00
Echo
4466d8d820
leaderboards rework (#623)
* rolling leaderboards

* use actual deletions over soft deletes
2025-11-15 17:34:13 -05:00
ShyMike
a1bb20ab3f rename custom_name to username + fix audit logs 2025-10-21 22:15:16 +01:00
ShyMike
7664daba45 add custom display name support 2025-10-19 10:40:41 +01:00
Echo
619fc1eb74
first pass 2025-07-05 22:14:47 -04:00
Echo
1dcba5fb10
audit logs because neon messed it up 2025-06-30 22:52:29 -04:00
Echo
ce2b0c6f12
fix leaderboard settings not updating 2025-06-23 09:58:54 -04:00
Echo
96fac4bbbb
convict users in the review timeline 2025-06-20 11:13:57 -04:00
Echo
6172c737e1
make regional leaderboards the default 2025-06-18 15:41:46 -04:00
Max Wofford
c70c961431
Add regional leaderboard beta opt-in (#305) 2025-06-11 04:12:18 -04:00
Echo
3ac7d9e2b0
allow users to hide stats from public lookup 2025-05-31 22:46:40 -04:00
Max Wofford
4405b5bdcc Attempt to fix migration endpoint redirect 2025-05-13 17:36:48 -04:00
Max Wofford
86439c8630 Fix patching on user settings page 2025-05-13 17:31:06 -04:00
Max Wofford
7981154674 Rubocop format 2025-05-08 18:18:09 -04:00
Max Wofford
471388cdd0 Add admin trust level setting 2025-05-08 18:03:44 -04:00
Max Wofford
35d2efa2a2 User migration job is no longer an OTJ 2025-05-06 12:41:35 -04:00
Parneel B
3b5ea7ac97
Add work time stats (#200)
Co-authored-by: Max Wofford <max@maxwofford.com>
2025-05-05 09:37:46 -04:00
Max Wofford
cb5a170c98
Rewrite sailors log to work with user_id index (#156) 2025-04-11 14:28:21 -04:00
Max Wofford
c4c8e330ab
Make dashboard into partial (#127)
* Initial work to break out dashboard into own partial

* Fix chart initialization on filter change

* Factor out multiselect css & js

* Clean up js & css in filterable dashboard

* Refactor filter searching

* Fix projects filter

* Prevent race condition in dashboard async loading

* Move dashboard css / js out of user/show

* Move filterable dashboards over to homepage

* Clean up unused user controller routes
2025-03-26 01:54:00 -04:00
Max Wofford
8cad2548a5 Add caching to filterable dashboard 2025-03-25 14:10:12 -04:00
Max Wofford
a1aed018f0
Revert "Fixing #100 (#105)" (#118)
This reverts commit 00cea9993b.
2025-03-25 00:32:50 -04:00
Karthik Sankar
00cea9993b
Fixing #100 (#105)
* Fixing #100

* attempt to switch over

---------

Co-authored-by: Max Wofford <max@maxwofford.com>
2025-03-25 00:28:24 -04:00
Karthik Sankar
52d2b39dcc
switching 'tops' to time, not heartbeats (#116) 2025-03-25 00:12:08 -04:00
Max Wofford
3f8e0b3c8a
Add project timelines chart (#96) 2025-03-21 22:24:51 -04:00
Max Wofford
2519c17c98
Initial filterable dashboard (#72)
* Initial filterable dashboard

* Scope loading spinner to activity graph

* Fix turbo loading spinner

* Add new charts

* Fix tooltip having blank entries

* Humanize times in dashboard

* Split up html & json partial rendering

* Fix turbo-caused chart bugs

* Implement dark mode

* Bring back clear button

* Fix chart not rendering after fast refreshes

* Remove console.logs

* Scope loading to activity-graph

* Simplify loading indicator
2025-03-19 22:07:23 -04:00
Max Wofford
7787824073
Add timezone switching support (#65)
* Switch to local timezone in activity graph

* Validate timezone field

* Invalidate activity graph after updating timezone

* Delete dark.css

* Add timezone selector to settings

* Update heartbeats to support timezone

* Switch to timezone validation using TZInfo

* Fix link to user timezone
2025-03-19 12:05:48 -04:00
Max Wofford
8dc698aca7 Add step 4 of the intructions
(there is no step 4)
2025-03-13 12:07:43 -04:00
Max Wofford
82a5439a6b Add new setup instructions for time tracking 2025-03-12 19:44:51 -04:00
Max Wofford
55d0af0bd8 Automatically migrate user data on signin 2025-03-12 13:27:02 -04:00
Max Wofford
72007b74bd Fix typo 2025-03-11 15:00:47 -04:00
Max Wofford
af04d87e7c Hide sailors log default/debug channel
Closes https://github.com/hackclub/harbor/issues/28
2025-03-11 13:27:38 -04:00
Max Wofford
9ff787bb84 Fix params name for user controller 2025-03-05 22:09:00 -05:00
Max Wofford
21f6a20c76 Fix misconfigured concurrency on migration job 2025-03-04 15:16:49 -05:00
Max Wofford
acef1d5726 Add heartbeat migration tool 2025-03-04 15:12:49 -05:00
Max Wofford
638dfa6f9a Add status bar type to user settings 2025-03-03 23:21:55 -05:00
Max Wofford
27b71a8c83 Add wakatime user settings 2025-03-03 23:12:54 -05:00
Max Wofford
1d2cb0bc06 Handle people directly linking to settings page 2025-02-21 21:05:54 -05:00
Max Wofford
0343d412c4 Update slack status if setting is enabled 2025-02-21 20:59:21 -05:00
Max Wofford
6ce1e317e9 Fix old usage of viewing_own_settings 2025-02-21 20:58:56 -05:00
Max Wofford
8c1a8a5844 Fix typo in slack status updater 2025-02-21 20:05:12 -05:00
Max Wofford
454c7ed120 Add slack status feature 2025-02-21 17:39:41 -05:00