Jamie Curnow
fd7095ad88
Remove sentry and error reporting
2023-07-20 15:19:42 +10:00
Jamie Curnow
824a22efad
Small tweaks
2023-07-19 11:52:47 +10:00
Jamie Curnow
b437119535
Remove last use of v4 jwtauth
2023-06-01 11:37:25 +10:00
Jamie Curnow
63845377d9
Another tweak for postgres sigh
2023-05-31 15:11:25 +10:00
Jamie Curnow
4b4c7baea4
Updates
2023-05-31 13:52:58 +10:00
Jamie Curnow
0461689d65
Fix panic using wrong err object
2023-05-31 11:35:24 +10:00
Jamie Curnow
4a57956093
More work to support nullable foreign keys
...
Adds nullable int/uint types
2023-05-30 22:26:44 +10:00
Jamie Curnow
98ff4a7dcc
Fix inconsistencies between int and bool in db
2023-05-30 15:51:57 +10:00
Jamie Curnow
3c1b4fdf34
Added migrations for mysql and postgres, added ci testing suites for them
2023-05-30 13:26:46 +10:00
Jamie Curnow
e0773b1c06
Fix change password function
2023-05-29 15:26:28 +10:00
Jamie Curnow
3301800f42
prevent panic when sse token is not found
2023-05-29 15:18:18 +10:00
Jamie Curnow
1c57a9b2a5
Prevent adding another user with the same email
2023-05-29 14:51:42 +10:00
Jamie Curnow
a9d1ccde38
Fix inconsistency with settings storage
2023-05-29 14:45:00 +10:00
Jamie Curnow
dde368f733
Skip auto dumping database migration
...
Fix user id from context
2023-05-29 14:33:58 +10:00
Jamie Curnow
fd365dc8fd
Remove debug
2023-05-29 14:19:40 +10:00
Jamie Curnow
c849938da2
Fix schema responses not matching tests
2023-05-29 14:19:17 +10:00
Jamie Curnow
4b39ef0eba
Add entity filters back in for api
2023-05-29 13:53:16 +10:00
Jamie Curnow
1ae247b2a6
Fix swagger doc and rename references for time db fields
2023-05-29 08:50:27 +10:00
Jamie Curnow
a2f192280b
Fix deleteall users sql
2023-05-29 08:29:53 +10:00
Jamie Curnow
e61cf52a65
Fix wrong chi version
2023-05-26 19:48:09 +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
ab772d645b
Support for dynamic ip ranges from urls
...
- Adds ipranges command to fetch ip ranges from Cloudfront and Cloudflare
- Write the ipranges file on docker start
- Support disabling ipv4 as well as ipv6 now
- Prevent disabling both
2023-05-12 09:40:45 +10:00
Jamie Curnow
00aaa024a6
Replace sqlite module with a non-cgo version. Removed usql from dev
2023-04-11 21:26:09 +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
35550082bf
Fix test
2023-03-06 08:59:36 +10:00
Jamie Curnow
0244187c29
Improved pdns dev config
2023-03-05 22:36:14 +10:00
Jamie Curnow
fc2df47753
Add certificate model for http and dns
...
change is_ecc to boolean, its still stored as int in sqlite
2023-02-28 20:55:40 +10:00
Jamie Curnow
7455accf58
Proper 404's for objects
2023-02-27 17:21:40 +10:00
Jamie Curnow
c288886fd4
Use eris for error management
2023-02-24 17:19:07 +10:00
Jamie Curnow
f649e2946e
Fix tests
2023-01-16 16:18:36 +10:00
Jamie Curnow
306ac20457
Certificate table work, shows error message in popover
2023-01-16 11:32:45 +10:00
Jamie Curnow
456c59c746
Improvements for certificates table, adds expansion object to certificates
2023-01-14 09:45:08 +10:00
Jamie Curnow
6c76c041c4
Access lists basics
2023-01-13 15:03:28 +10:00
Jamie Curnow
a82df0d931
Fix cypress tests
2023-01-13 11:57:09 +10:00
Jamie Curnow
e4595860f5
Fix unit test
2023-01-13 11:17:43 +10:00
Jamie Curnow
29a4ac42d0
Added missing object type
2023-01-13 10:09:26 +10:00
Jamie Curnow
5d3bc0fabd
Refactor acme.sh dns providers
...
- updated chakra and typescript
- added locales for dns provider configs
2023-01-12 16:25:43 +10:00
Jamie Curnow
1d5d3ecd7a
Add user expansion to upstream model
2023-01-10 12:57:43 +10:00
Jamie Curnow
8033d052fe
Trim whitespace from names of objects on save
2023-01-10 12:50:46 +10:00
Jamie Curnow
7ea64c46e9
Prevent deleting certificate that is use
2023-01-09 23:31:47 +10:00
Jamie Curnow
88b46ef9ef
Prevent deleting upstream that is use
2023-01-09 23:29:16 +10:00
Jamie Curnow
f5b3568893
Edit upstreams, added swagger docs
2023-01-09 16:19:23 +10:00
Jamie Curnow
6147ee925e
Tweak config content
2023-01-09 15:48:52 +10:00
Jamie Curnow
5586d16afd
Add endpoints to return nginx config from disk
2023-01-09 15:42:56 +10:00
Jamie Curnow
ca4d92d793
better host upstream support
2023-01-09 13:18:11 +10:00
Jamie Curnow
f6b219772d
Adds proxy host vars
2023-01-09 08:49:49 +10:00
Jamie Curnow
6efa4e2beb
Nginx config files with suffixes for deleted/disabled/errors
2023-01-06 14:23:04 +10:00
Jamie Curnow
17a108f75f
Use upstream in host config
2023-01-06 11:42:02 +10:00