Commit Graph

1146 Commits

Author SHA1 Message Date
afa9ded1a7 partial implemetantion of bash preexec, works in manual testing but fails in test harness 2022-11-27 19:26:44 -08:00
ef976a08c6 Release v0.185 v0.185 2022-11-27 13:02:30 -08:00
35444bf56e Swap ioutil to non-deprecated alternatives + clean up pre-commit errors 2022-11-27 11:59:06 -08:00
369e7ec8ea Delete unused msg type 2022-11-27 09:03:12 -08:00
5249ee6709 Add better handling for invalid searches in the TUI + better error messages in a couple other places to improve #40 2022-11-27 08:54:34 -08:00
3985010a17 Add test for the healthcheck endpoint 2022-11-26 22:53:14 -08:00
22330f3ee1 Ensure that tests assert a lack of leaked connections 2022-11-26 22:40:43 -08:00
f77eb38618 Rename misleading var 2022-11-26 22:16:11 -08:00
2ba535b650 Call Close() on sql.Rows to prevent connection leak 2022-11-26 22:15:16 -08:00
4e84f49de9 Revert "Move usage data into tx to optimize updating usage data"
This reverts commit aa501262e6.
2022-11-26 18:59:32 -08:00
aa501262e6 Move usage data into tx to optimize updating usage data 2022-11-26 18:46:20 -08:00
865ce06b95 Optimize healthcheck handler to avoid unnecessary ping in prod + add prod-only config for connection reuse 2022-11-26 18:33:54 -08:00
a98bff0db8 Optimize query latency by moving the read count incrementing to a background task 2022-11-26 12:10:18 -08:00
c603537137 Optimize the apiSubmit function to ensure that it doesn't lead to errors from large insertions 2022-11-26 10:31:43 -08:00
8d87110405 Optimize the healthcheck analyzer to avoid a full table scan 2022-11-25 20:35:17 -08:00
1ce20157c7 Add datadog integration for monitoring the server 2022-11-25 20:04:40 -08:00
8dd9c1d9e4 Create the feedback table in pg 2022-11-20 00:12:41 -08:00
4e48f9351e Release v0.184 v0.184 2022-11-19 23:48:20 -08:00
a390bacf89 Support multi-line commands from zsh to fix #34 2022-11-19 22:27:08 -08:00
f5adac5140 Move code out of lib that is only referenced for one command 2022-11-19 17:14:27 -08:00
ab6bb719a7 Move code out of lib that is only referenced for one command 2022-11-19 17:12:43 -08:00
d9c4a59ddd Move code out of lib that is only referenced for one command 2022-11-19 17:06:28 -08:00
343f3cf1e5 Warn people if they're using an unsupported version of bash #37 2022-11-19 17:05:05 -08:00
31cea94096 Add TODO 2022-11-19 09:41:47 -08:00
97d7c7e310 Add last registration date to internal status page 2022-11-19 09:41:40 -08:00
0bd9249df3 Update the healthcheck endpoint so it also writes to the DB to detect future cases of #38 2022-11-17 23:43:25 -08:00
4eda871232 Release v0.183 v0.183 2022-11-17 23:21:31 -08:00
f53e02731d Replace newlines with semicolons to fix #34 2022-11-17 23:20:11 -08:00
3a623e6503 Release v0.182 v0.182 2022-11-17 23:15:01 -08:00
1ae6b87dc1 Print a message telling people they must restart their shell per #37 2022-11-17 23:14:33 -08:00
abcc0566d5 Fix action goldens for macos 2022-11-16 22:03:08 -08:00
ec830508ef Fix goldens for github actions 2022-11-16 22:00:23 -08:00
d4efc62df1 Add client-side code to ask for feedback when uninstalling 2022-11-16 21:54:05 -08:00
48c77d88f7 Add endpoint to handle feedback reports 2022-11-16 21:42:07 -08:00
8ace786f2b Release v0.181 v0.181 2022-11-16 21:34:15 -08:00
50dfa8ec5c Add missing new lines 2022-11-16 21:31:48 -08:00
78d33cf437 Make the healthcheck endpoint work for non-global production instance usages to fix #35 2022-11-16 20:58:19 -08:00
fd3d932e9d Document that the server can use sqlite 2022-11-16 20:54:47 -08:00
4aacd8b5e2 Merge pull request #31 from matthewcmead/sqlite_for_server
allow for sqlite backend database for low-profile self-hosting deploy…
2022-11-16 20:50:34 -08:00
2c8824c822 Merge branch 'cobra' 2022-11-16 20:48:45 -08:00
303033ef1f Update golden for github action only failure 2022-11-16 20:47:21 -08:00
666d9c6e81 Merge pull request #36 from ddworken/cobra
Migrate to cobra for CLI parsing
2022-11-16 20:47:06 -08:00
0cd7d2e4a4 Remove tmate 2022-11-16 20:43:29 -08:00
cb38bb1281 Add TODO 2022-11-16 20:43:11 -08:00
86f9d67aff Fix test failures caused by the cobra install command not respecting the secret key
Also added a persistLog() function so that I can easily inspect the hishtory logs from test runs.
2022-11-16 20:28:25 -08:00
35208680d8 Improve debug logs in server.go 2022-11-16 20:26:44 -08:00
ecbbcf533a Recommend an update before uninstalling 2022-11-16 08:17:52 -08:00
ba769ec700 Fix mis-alignment in example queries 2022-11-16 08:09:04 -08:00
65405b868f Remove no-op config-set that isn't needed now that we have good docs from cobra 2022-11-16 08:07:02 -08:00
fe6394d1b5 Some test fixes for the cobra integration 2022-11-16 08:03:23 -08:00