Commit graph

33 commits

Author SHA1 Message Date
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
8c0227cb57
Bye, warehouse! (#994) 2026-02-23 20:16:03 +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
Max Wofford
220b0afe7e
Revert primary direct database (#742) 2025-12-28 14:10:08 -05:00
Max Wofford
8eb6072612 Take 2 of switching to psql cache! 2025-06-27 21:26:29 -04:00
Max Wofford
fd55df1742 Revert "Switch to postgres for cache!"
This reverts commit 3babcbd8ef.
2025-06-27 21:07:35 -04:00
Max Wofford
3babcbd8ef Switch to postgres for cache! 2025-06-27 20:56:54 -04:00
Zach Latta
07a5b5b88d Increase database connection pools for GoodJob threads
- Set production pools to RAILS_MAX_THREADS + 8 for GoodJob threads
- Accounts for 16 web threads + 8 GoodJob threads per worker
- Prevents connection starvation with in-process job execution
2025-06-24 20:22:40 -04:00
Echo
03b4da1e8e
whoops 2025-06-16 15:15:01 -04:00
Echo
2831a5670e
prevent som 500s 2025-06-16 14:34:16 -04:00
Max Wofford
75539632f3 Add test wakatime db 2025-05-09 13:12:02 -04:00
Max Wofford
74aaea36ec Add other test databases 2025-05-09 12:54:58 -04:00
Max Wofford
5e3200f7d8 Set missing test adapter 2025-05-09 12:35:17 -04:00
Max Wofford
177f772df3 Turn off schema for direct connect db 2025-05-05 09:59:57 -04:00
Max Wofford
32b9846acb Add pool size for primary_direct database 2025-04-28 19:46:48 -04:00
Max Wofford
85700ea953 Add adapter and encoding for direct connect dbs 2025-04-28 19:45:59 -04:00
Max Wofford
78fce042d0 Attempt to fix race condition in goodjob 2025-04-28 19:41:42 -04:00
Max Wofford
6593e67d73 Switch prod over to pooled database url 2025-04-28 11:03:37 -04:00
Max Wofford
9a110f5326 Switch to pooled database URL with pgbouncer 2025-04-28 10:50:29 -04:00
Max Wofford
41ea56dac9 Switch to db pool of 50 connections 2025-03-31 14:05:35 -04:00
Max Wofford
92d37800f6 Add initial scrapyard leaderboard 2025-03-15 01:04:20 -04:00
Max Wofford
f43937ad54 Update database.yml 2025-02-23 13:14:07 -05:00
Max Wofford
e4327f0c80 Update database.yml 2025-02-23 05:39:30 -05:00
Max Wofford
d73bc84915 Update database.yml 2025-02-23 05:25:31 -05:00
Max Wofford
2521359d88 Add accidentally deleted line 2025-02-23 05:22:31 -05:00
Max Wofford
4720cd7a74 Add sailors log remote database 2025-02-22 23:12:00 -05:00
Max Wofford
c55b9c6caa Another attempt to fix the db url 2025-02-22 02:57:51 -05:00
Max Wofford
5c565d796b Update test db configs 2025-02-22 02:20:10 -05:00
Max Wofford
bec348bec8 Update database.yml 2025-02-22 01:59:03 -05:00
Max Wofford
f87348abab Further config changes to move to good_job 2025-02-21 19:00:07 -05:00
Max Wofford
a3bf5b26f3 Switch to postgres in prod 2025-02-17 14:22:56 -05:00
Max Wofford
ef9b1c7d0b Add connection to wakatime db 2025-02-16 12:28:11 -05:00
Max Wofford
394339fcf6 Initial commit 2025-02-16 03:21:30 -05:00