David Dworken
|
3985010a17
|
Add test for the healthcheck endpoint
|
2022-11-26 22:53:14 -08:00 |
|
David Dworken
|
22330f3ee1
|
Ensure that tests assert a lack of leaked connections
|
2022-11-26 22:40:43 -08:00 |
|
David Dworken
|
f77eb38618
|
Rename misleading var
|
2022-11-26 22:16:11 -08:00 |
|
David Dworken
|
2ba535b650
|
Call Close() on sql.Rows to prevent connection leak
|
2022-11-26 22:15:16 -08:00 |
|
David Dworken
|
4e84f49de9
|
Revert "Move usage data into tx to optimize updating usage data"
This reverts commit aa501262e6 .
|
2022-11-26 18:59:32 -08:00 |
|
David Dworken
|
aa501262e6
|
Move usage data into tx to optimize updating usage data
|
2022-11-26 18:46:20 -08:00 |
|
David Dworken
|
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 |
|
David Dworken
|
a98bff0db8
|
Optimize query latency by moving the read count incrementing to a background task
|
2022-11-26 12:10:18 -08:00 |
|
David Dworken
|
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 |
|
David Dworken
|
8d87110405
|
Optimize the healthcheck analyzer to avoid a full table scan
|
2022-11-25 20:35:17 -08:00 |
|
David Dworken
|
1ce20157c7
|
Add datadog integration for monitoring the server
|
2022-11-25 20:04:40 -08:00 |
|
David Dworken
|
8dd9c1d9e4
|
Create the feedback table in pg
|
2022-11-20 00:12:41 -08:00 |
|
David Dworken
|
97d7c7e310
|
Add last registration date to internal status page
|
2022-11-19 09:41:40 -08:00 |
|
David Dworken
|
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 |
|
David Dworken
|
d4efc62df1
|
Add client-side code to ask for feedback when uninstalling
|
2022-11-16 21:54:05 -08:00 |
|
David Dworken
|
48c77d88f7
|
Add endpoint to handle feedback reports
|
2022-11-16 21:42:07 -08:00 |
|
David Dworken
|
78d33cf437
|
Make the healthcheck endpoint work for non-global production instance usages to fix #35
|
2022-11-16 20:58:19 -08:00 |
|
David Dworken
|
fd3d932e9d
|
Document that the server can use sqlite
|
2022-11-16 20:54:47 -08:00 |
|
David Dworken
|
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 |
|
David Dworken
|
35208680d8
|
Improve debug logs in server.go
|
2022-11-16 20:26:44 -08:00 |
|
m
|
77af69de86
|
allow for sqlite backend database for low-profile self-hosting deployments
|
2022-11-14 11:35:05 -05:00 |
|
David Dworken
|
3e0ed67518
|
Serve a HTML redirect
|
2022-11-06 14:59:00 -08:00 |
|
David Dworken
|
9cc485f3b1
|
Remove the redirect since it breaks the install.py
|
2022-11-06 14:43:49 -08:00 |
|
David Dworken
|
7ceb303caf
|
Delete the landing page and instead serve a redirect to the github repo
|
2022-11-06 14:33:28 -08:00 |
|
David Dworken
|
c2802f40dc
|
Use wait-for instead of a sleep for the dockerfile for self hosting
|
2022-11-05 13:46:08 -07:00 |
|
David Dworken
|
9ddae45b03
|
Add fully tested instructions for self hosting
|
2022-11-05 13:30:37 -07:00 |
|
David Dworken
|
36f776053b
|
Add docker-compose file for self hosting to fix #7
|
2022-11-04 23:41:56 -07:00 |
|
David Dworken
|
846f256fa4
|
Support a TMPDIR variable in case /tmp/ is mounted noexec
|
2022-11-03 18:04:16 -07:00 |
|
David Dworken
|
436d432065
|
Add warning message for the buggy slow version of hishtory
|
2022-11-02 20:52:37 -07:00 |
|
David Dworken
|
cc2a6046d3
|
Update demo gif to show search atoms
|
2022-11-01 22:39:54 -07:00 |
|
David Dworken
|
31ef7a2fdd
|
Better timing for the demo gif
|
2022-11-01 22:33:48 -07:00 |
|
David Dworken
|
24be30d1e1
|
Slow down gif
|
2022-11-01 19:13:47 -07:00 |
|
David Dworken
|
67bb2e979f
|
Add demo gif showing the control-r integration
|
2022-11-01 15:39:46 -07:00 |
|
David Dworken
|
4f708aa58c
|
Remove hard coded pg password and pull the new rotated password from an environment variable
|
2022-11-01 12:14:20 -07:00 |
|
David Dworken
|
19fbeda539
|
Set a correct version number for builds containing slsa-verifier <1.3.1
|
2022-11-01 11:16:23 -07:00 |
|
David Dworken
|
2efa93762a
|
Another attempt at getting github actions to pass
|
2022-11-01 11:03:49 -07:00 |
|
David Dworken
|
d2558c8fb5
|
Skip slsa updates only for the orphaned versions
|
2022-11-01 10:51:08 -07:00 |
|
David Dworken
|
2183a63f8f
|
Add an endpoint that is hit to determine if slsa is currently broken
|
2022-10-31 17:32:27 -07:00 |
|
David Dworken
|
cdc5421a7b
|
Move testutils to a separate package so as to move test-only code out of the main binary
|
2022-10-27 21:53:47 -07:00 |
|
David Dworken
|
b4936d588c
|
Add a very basic healthcheck handler to the backend
|
2022-10-23 17:54:07 -07:00 |
|
David Dworken
|
70c02bf0ed
|
Remove basic auth since that is now done by the LB
|
2022-10-22 11:08:33 -07:00 |
|
David Dworken
|
6b2e9059a4
|
Optimize the submit endpoint to only use 1 query and 1 insert rather than N
|
2022-10-18 14:52:35 -07:00 |
|
David Dworken
|
87d3dc4d97
|
Log the actual remote addr in log lines
|
2022-10-18 14:35:03 -07:00 |
|
David Dworken
|
ad809efef6
|
Migrate hishtory from k8s to docker compose
|
2022-10-18 11:53:35 -07:00 |
|
David Dworken
|
ab95b16ea2
|
Update comment
|
2022-10-17 20:38:40 -07:00 |
|
David Dworken
|
0da8021ab7
|
HTML escape the forced banner to prevent XSS (though this domain has no cookies so there would have been very limited harm from an XSS)
|
2022-10-15 09:58:47 -07:00 |
|
David Dworken
|
a40e44c985
|
Add explanation of why expectedPasswordHash is ok
|
2022-10-15 09:26:54 -07:00 |
|
David Dworken
|
38c185c9f9
|
Add environ variable to configure the postgres DB
|
2022-10-15 09:21:10 -07:00 |
|
David Dworken
|
68416f9d0f
|
Better string formatting for the internal analytics endpoint
|
2022-10-04 12:58:00 -07:00 |
|
David Dworken
|
9d95b4ca70
|
Add comma separation in stats page
|
2022-10-02 20:42:10 -07:00 |
|