Commit Graph

16 Commits

Author SHA1 Message Date
Jamie Curnow
6da020aab1
Add goleak in unit tests 2023-11-08 09:57:15 +10:00
Jamie Curnow
9ac0e8c943
Add more unit tests 2023-08-02 15:32:16 +10:00
Jamie Curnow
9faa36315f
More unit tests and html coverage report
also fixes a limit bug on listquery
2023-07-27 12:38:35 +10:00
Jamie Curnow
b123ca4fd0
Add backend unit tests 2023-07-25 11:59:02 +10:00
Jamie Curnow
aae95798b2
Refactor some reflection 2023-07-24 13:42:50 +10:00
Jamie Curnow
a0e17f9678
Better checking for api sort param to prevent sql injection
And moved filters out and cached object reflection
2023-07-24 11:49:08 +10:00
Jamie Curnow
b437119535
Remove last use of v4 jwtauth 2023-06-01 11:37:25 +10:00
Jamie Curnow
3301800f42
prevent panic when sse token is not found 2023-05-29 15:18:18 +10:00
Jamie Curnow
4b39ef0eba
Add entity filters back in for api 2023-05-29 13:53:16 +10:00
Jamie Curnow
e6ae25d081
Remove debug logs 2023-05-26 18:46:55 +10:00
Jamie Curnow
ceb62fb0f2
Move jwt keys to database
Moved code for it to one place
Updated to chi v5
2023-05-26 14:50:41 +10:00
Jamie Curnow
29990110b1
Convert db backend to use Gorm, with basis for support
for Mysql and Postgres in addition to existing Sqlite
2023-05-26 11:37:39 +10:00
Jamie Curnow
215083f6cf
Certificates Renewal + SSE
- Certificate renewal is just a re-request as it's forced already
- Rejig the routes for readability
- Added Server Side Events so that the UI would invalidate the
cache when changes happen on the backend, such as certs being
provided or failing
- Added a SSE Token, which has the same shelf life as normal token
but can't be used interchangeably. The reason for this is, the
SSE endpoint needs a token for auth as a Query param, so it would
be stored in log files. If someone where to get a hold of that,
it's pretty useless as it can't be used to change anything, only
to listen for events until it expires
- Added test endpoint for SSE testing only availabe in debug mode
2023-03-07 16:42:26 +10:00
Jamie Curnow
c288886fd4
Use eris for error management 2023-02-24 17:19:07 +10:00
Jamie Curnow
c00b690ed3 Updated deps, go.19 migration, nginx template work 2022-11-08 10:03:45 +10:00
Jamie Curnow
2110ecc382 Moved v3 code from NginxProxyManager/nginx-proxy-manager-3 to NginxProxyManager/nginx-proxy-manager 2022-05-12 08:47:31 +10:00