Commit Graph
100 Commits
Author SHA1 Message Date
Jamie Curnow 7745f8242b Debug ci 2023-04-11 21:36:13 +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 a5166435ff Update all frontend libraries 2023-04-11 21:24:18 +10:00
Jamie Curnow e3ce8b4d12 Add missing folder 2023-04-11 09:55:19 +10:00
Jamie Curnow c0c89e5d15 Updates to user/group determination after recent changes to v2 branch 2023-04-11 09:12:48 +10:00
Jamie Curnow fe46da3355 Fix escaping in groovy 2023-03-15 16:08:04 +10:00
Jamie Curnow 6ab5224353 Fix escaping in groovy 2023-03-15 16:06:42 +10:00
Jamie Curnow 12909de3c1 Moved base images docker repo back to jc21, as
docker is sunsetting free teams and this open source project isn't prepared to pay 300 shmackaroos for a nicer image url
2023-03-15 15:28:28 +10:00
Jamie Curnow 700518a0a2 Added fail2ban, though not sure its configured correctly yet 2023-03-09 22:11:28 +10:00
Jamie Curnow e959e54dc8 Strip colors in CI error outputs 2023-03-09 15:43:22 +10:00
Jamie Curnow 471ffa8dff Fix syntax 2023-03-08 16:15:20 +10:00
Jamie Curnow 35cc486fd7 Add comments to pr for failures 2023-03-08 16:12:57 +10:00
Jamie Curnow 292a209195 Ported #2582 to v3 2023-03-08 08:37:43 +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 15e4900133 locales 2023-03-05 22:37:54 +10:00
Jamie Curnow 6df4ea4d69 Cert creation fixes 2023-03-05 22:37:34 +10:00
Jamie Curnow cc9d556665 Fix wrong lang key 2023-03-05 22:37:06 +10:00
Jamie Curnow cb3f0ec9b4 Add locale picker to app header 2023-03-05 22:36:52 +10:00
Jamie Curnow 0244187c29 Improved pdns dev config 2023-03-05 22:36:14 +10:00
Jamie Curnow 0dd713e634 more help docs 2023-03-05 22:35:42 +10:00
Jamie Curnow 972e53df71 More documentation 2023-03-01 19:06:46 +10:00
Jamie Curnow 91fe448782 UI test for change password
Help docs
2023-03-01 16:34:52 +10:00
Jamie Curnow cfbd7f05d0 fix api doc 2023-02-28 21:29:13 +10:00
Jamie Curnow 3ea9f805f4 fix localesg 2023-02-28 21:18:11 +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 83a9666807 Nicer cert type create select 2023-02-27 17:21:10 +10:00
Jamie Curnow 6681da605e Remove extra debug 2023-02-26 01:30:49 +10:00
Jamie Curnow e433bdaeec Fix for pdns startup 2023-02-26 01:17:34 +10:00
Jamie Curnow 5b4fe24957 Backend builds should use cgo 2023-02-26 00:14:35 +10:00
Jamie Curnow 7166654215 CI docker logs without annoying docker-compose container name prefix 2023-02-25 23:12:11 +10:00
Jamie Curnow c8a255178e Archive acme.sh log file in CI 2023-02-25 23:08:24 +10:00
Jamie Curnow 5f27b9243f Use json log format in ci 2023-02-25 22:58:38 +10:00
Jamie Curnow 6b7ae48570 Fixes for start-dev and optimisations 2023-02-25 22:52:42 +10:00
Jamie Curnow bc3d9ec099 Skip build vcs lookups, go 1.20 thing 2023-02-24 21:21:14 +10:00
Jamie Curnow 0eeed1695c ignore nancy warning 2023-02-24 21:16:17 +10:00
Jamie Curnow 83e432793b Fix for locales error change 2023-02-24 21:12:11 +10:00
Jamie Curnow 6cdfd9ebc1 Updates chakra-ui 2023-02-24 18:32:04 +10:00
Jamie Curnow ecbc55f318 Updated to latest s6-overlay 2023-02-24 18:31:46 +10:00
Jamie Curnow c288886fd4 Use eris for error management 2023-02-24 17:19:07 +10:00
Jamie Curnow 80315bd50e Fix hot reloading backend with new updates to Task 2023-02-19 15:11:22 +10:00
Jamie Curnow a2b4fbc36f Basis for Certificate modal 2023-01-30 09:57:40 +10:00
Jamie Curnow df33db24bb Revert "Cypress debugging"
This reverts commit 437b06b64b.
2023-01-16 21:57:16 +10:00
Jamie Curnow 437b06b64b Cypress debugging 2023-01-16 21:43:02 +10:00
Jamie Curnow f649e2946e Fix tests 2023-01-16 16:18:36 +10:00
Jamie Curnow 1b61176818 Basis for create certificate dialog 2023-01-16 16:13:38 +10:00
Jamie Curnow 374447ccc7 Locales cleanup 2023-01-16 15:50:40 +10:00
Jamie Curnow af9349d4a7 Conform hosts table 2023-01-16 15:33:04 +10:00
Jamie Curnow 4ff911def0 Fix locales 2023-01-16 15:23:09 +10:00
Jamie Curnow e890bfcf10 Certificates table compliance and other stuff 2023-01-16 14:57:14 +10:00
Jamie Curnow 9a5cbbba49 Updated go packages 2023-01-16 14:11:12 +10:00
Jamie Curnow b877bea86c Table improvements, add modals 2023-01-16 14:02:36 +10:00
Jamie Curnow 306ac20457 Certificate table work, shows error message in popover 2023-01-16 11:32:45 +10:00
Jamie Curnow ba138581e1 Swagger/Lang additions 2023-01-14 09:50:32 +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 a239be993c Fix type in cypress test 2023-01-13 12:08:50 +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 18ecda7955 Ignore locales for acmesh-property. in checks 2023-01-13 11:12:02 +10:00
Jamie Curnow 8ddb191a7a Adds ajv schema validation for acmesh dns provider meta data fields and formik error messages 2023-01-13 11:06:16 +10:00
Jamie Curnow cd6b772e72 Support unmodified meta objects in frontend api 2023-01-13 10:21:05 +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 6d0bf1c68b fix failing test because of whitespace in randstring 2023-01-10 12:47:01 +10:00
Jamie Curnow 560f3d9b29 Basis for Upstreams UI 2023-01-10 11:50:30 +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 ef34f01914 Update readmes, change docker tag to v3 2023-01-09 21:36:54 +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 0a50672ab6 Fix for cypress randomstrings 2023-01-09 08:58:32 +10:00
Jamie Curnow f6b219772d Adds proxy host vars 2023-01-09 08:49:49 +10:00
Jamie Curnow ad848a6478 fix cypress dockerfile 2023-01-08 19:01:00 +10:00
Jamie Curnow 0418264070 Reverted cypress 2023-01-07 13:48:56 +10:00
Jamie Curnow 882674867c Added upstreams tests for cypress 2023-01-06 15:07:37 +10:00
Jamie Curnow e39f18b0d1 Udpate cypress 2023-01-06 15:02:40 +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
Jamie Curnow bc6825c148 Ignore vulnerability, can't fix until next golang version 2023-01-04 16:21:08 +10:00
Jamie Curnow 395152c1ab Fix locales 2023-01-04 15:57:19 +10:00
Jamie Curnow 5e5f0de0e2 - Added upstream objects
- Renamed host templates to nginx templates
- Generate upstream templates
- Better nginx error reporting when reloading
- Use tparse for golang test reporting
2023-01-04 15:53:52 +10:00
Jamie Curnow b3ae2f4dbb Fix dns provider name on dns providers page 2023-01-03 16:49:26 +10:00
Jamie Curnow 726b6e69f7 Skip acceptable vuln 2022-11-08 10:40:15 +10:00
Jamie Curnow c00b690ed3 Updated deps, go.19 migration, nginx template work 2022-11-08 10:03:45 +10:00
Jamie Curnow 8d37f5df8d Write host template on save 2022-07-21 18:02:07 +10:00
Jamie Curnow 5b6dbaf43e Add nginx exec 2022-07-15 14:26:12 +10:00
Jamie Curnow b8008606fd Add locales 2022-07-15 08:58:52 +10:00
Jamie Curnow f51c12ed9a New JobQueue worker 2022-07-15 08:52:38 +10:00
Jamie Curnow 3c0af95468 Fixes 2022-07-14 21:53:11 +10:00
Jamie Curnow ee4c6a3a8b broken dns provider edit modal 2022-06-14 11:02:25 +10:00
Jamie Curnow d44f75af1b Preliminary dns provider create working modal 2022-06-01 13:45:31 +04:00
Jamie Curnow b221446bb0 dns_conoha, dns_dpi, dns_euserv, dns_tele3 2022-06-01 13:23:56 +04:00
Jamie Curnow 523449f050 dns_acmedns 2022-06-01 13:11:21 +04:00
Jamie Curnow 322048d5af dns_loopia 2022-06-01 12:21:14 +04:00