Commit Graph

1262 Commits

Author SHA1 Message Date
1c57a9b2a5 Prevent adding another user with the same email 2023-05-29 14:51:42 +10:00
a9d1ccde38 Fix inconsistency with settings storage 2023-05-29 14:45:00 +10:00
dde368f733 Skip auto dumping database migration
Fix user id from context
2023-05-29 14:33:58 +10:00
cbcb0cc0f8 Remove cruft 2023-05-29 14:26:45 +10:00
fd365dc8fd Remove debug 2023-05-29 14:19:40 +10:00
c849938da2 Fix schema responses not matching tests 2023-05-29 14:19:17 +10:00
4b39ef0eba Add entity filters back in for api 2023-05-29 13:53:16 +10:00
1ae247b2a6 Fix swagger doc and rename references for time db fields 2023-05-29 08:50:27 +10:00
a2f192280b Fix deleteall users sql 2023-05-29 08:29:53 +10:00
81c1a7eb16 Re-enable arm64 2023-05-27 12:43:40 +10:00
030f3c9d83 Switch to forked repos for Dbmate/Modernc-sqlite so that they use a non-cgo library for sqlite
thus hopefully enabling native compilation on arm/arm64
2023-05-27 12:43:07 +10:00
b4365f5c54 Enable Cgo again for use with embedded dbmate 2023-05-26 22:06:06 +10:00
e889714642 Avoid excess builds for now 2023-05-26 21:53:24 +10:00
e61cf52a65 Fix wrong chi version 2023-05-26 19:48:09 +10:00
e6ae25d081 Remove debug logs 2023-05-26 18:46:55 +10:00
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
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
b4e5b8b6db Remove cruft 2023-05-16 08:39:18 +10:00
d6e96dc3cb Fix ci build 2023-05-12 09:58:50 +10:00
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
f43e41d7d0 Fixes for npm user rename 2023-05-11 11:37:21 +10:00
fb8ca0b02f Bring up to recent v2 changes around s6 2023-05-11 10:55:30 +10:00
e7ef809b10 Remove cruft 2023-04-11 21:44:17 +10:00
798db6cb21 Fix formatting 2023-04-11 21:43:40 +10:00
7745f8242b Debug ci 2023-04-11 21:36:13 +10:00
00aaa024a6 Replace sqlite module with a non-cgo version. Removed usql from dev 2023-04-11 21:26:09 +10:00
a5166435ff Update all frontend libraries 2023-04-11 21:24:18 +10:00
e3ce8b4d12 Add missing folder 2023-04-11 09:55:19 +10:00
c0c89e5d15 Updates to user/group determination after recent changes to v2 branch 2023-04-11 09:12:48 +10:00
fe46da3355 Fix escaping in groovy 2023-03-15 16:08:04 +10:00
6ab5224353 Fix escaping in groovy 2023-03-15 16:06:42 +10:00
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
700518a0a2 Added fail2ban, though not sure its configured correctly yet 2023-03-09 22:11:28 +10:00
e959e54dc8 Strip colors in CI error outputs 2023-03-09 15:43:22 +10:00
471ffa8dff Fix syntax 2023-03-08 16:15:20 +10:00
35cc486fd7 Add comments to pr for failures 2023-03-08 16:12:57 +10:00
292a209195 Ported #2582 to v3 2023-03-08 08:37:43 +10:00
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
35550082bf Fix test 2023-03-06 08:59:36 +10:00
15e4900133 locales 2023-03-05 22:37:54 +10:00
6df4ea4d69 Cert creation fixes 2023-03-05 22:37:34 +10:00
cc9d556665 Fix wrong lang key 2023-03-05 22:37:06 +10:00
cb3f0ec9b4 Add locale picker to app header 2023-03-05 22:36:52 +10:00
0244187c29 Improved pdns dev config 2023-03-05 22:36:14 +10:00
0dd713e634 more help docs 2023-03-05 22:35:42 +10:00
972e53df71 More documentation 2023-03-01 19:06:46 +10:00
91fe448782 UI test for change password
Help docs
2023-03-01 16:34:52 +10:00
cfbd7f05d0 fix api doc 2023-02-28 21:29:13 +10:00
3ea9f805f4 fix localesg 2023-02-28 21:18:11 +10:00
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