Commit graph

44 commits

Author SHA1 Message Date
Tom Wiesing
7ff2ecf7fe
Update to newest pkglib 2023-04-09 22:00:24 +02:00
Tom Wiesing
1f68ded163
Use newer pkglib 2023-04-08 21:26:33 +02:00
Tom Wiesing
0f6803f890
Use fsx package and friends from pkglib 2023-04-08 17:52:19 +02:00
Tom Wiesing
b6d3575ee9
{snapshot,backup}: Write machine-readable report 2023-03-19 17:38:36 +01:00
Tom Wiesing
c79dcc6b90
Update dependencies 2023-03-16 12:25:46 +01:00
Tom Wiesing
9b30223b09
Update dependencies 2023-03-15 19:45:50 +01:00
Tom Wiesing
a5f77fc442
Update dependencies 2023-03-09 12:29:52 +01:00
Tom Wiesing
c31c46ee44
Rework error messages
This commit reworks error messages for all commands and makes sure they
pass liniting.
2023-03-09 12:18:39 +01:00
Tom Wiesing
aa36dc4108
Update pkglib dependency 2023-03-08 12:34:28 +01:00
Tom Wiesing
840efd5c03
config: Remove erronous yaml entries 2023-03-08 12:25:32 +01:00
Tom Wiesing
1855090f26
Initial support for native docker client
This commit updates the implementation to use a native docker client as
opposed to calling an external executable.
2023-03-07 09:45:20 +01:00
Tom Wiesing
2ee8dfaaec
internal/server: Log unknown errors
This commit updates the server code to log unknown errors to the
console.
2023-03-06 22:32:03 +01:00
Tom Wiesing
c3ca8e2974
Move to github.com/tkw1536/pkglib package
This commit removes various modules that can be migrated to the
github.com/tkw1536/pkglib package without any code changes (beyond
module renamings).
2023-02-26 09:53:25 +01:00
Tom Wiesing
30c25b8e2a
config: Properly use yaml template 2023-02-25 20:26:54 +01:00
Tom Wiesing
945329a080
Move to yaml-based configuration
This commit updates the configuration to be yaml-based and updates the
configuration to read in a yaml file.
2023-02-25 09:14:56 +01:00
Tom Wiesing
2d163a4dad
templating: Rework timers 2023-01-31 12:51:54 +01:00
Tom Wiesing
dcd5f910ae
Update handling of news 2023-01-09 11:21:15 +01:00
Tom Wiesing
729b9cfb51
resolver: Use custom template 2023-01-08 08:43:31 +01:00
Tom Wiesing
785130dc36
Minify html on-the-fly before sending it to users 2023-01-06 18:59:09 +01:00
Tom Wiesing
da32b67981
Add TOTP Token to account 2023-01-06 18:59:09 +01:00
Tom Wiesing
1af9d0d83f
auth/login: Add csrf protection 2023-01-06 18:59:08 +01:00
Tom Wiesing
3aa79b0d23
Implement initial login functionality 2023-01-06 18:59:06 +01:00
Tom Wiesing
2a308ee03c
internal/component: Check for provisionable 2022-12-13 10:10:51 +01:00
Tom Wiesing
aefde6eec2
fix typos in messages 2022-12-08 10:36:07 +01:00
Tom Wiesing
7006277409
sql/gorm: Use zerolog logger 2022-12-02 10:48:05 +01:00
Tom Wiesing
3b78b06fff
wdcli: Use progress writer instead of IOStream 2022-11-30 13:17:12 +01:00
Tom Wiesing
3455f491ca
Add context
This commit adds and passes context around to (almost) every function.
This allows cancelling (almost) every function call globally.
2022-11-29 15:32:31 +01:00
Tom Wiesing
996ecb9f80
Implement user password checking 2022-11-25 15:11:28 +01:00
Tom Wiesing
5bceaa0d47
Forward ssh2 ports into docker 2022-11-16 13:07:18 +01:00
Tom Wiesing
45f63935cd
ssh: Implement authentication for new ssh server 2022-11-16 13:07:17 +01:00
Tom Wiesing
8701fab93b
pkg/{timex,wait}: Unify code 2022-11-16 13:07:12 +01:00
Tom Wiesing
cdc7d69ad9
dis: Rework styling and build procedure 2022-11-16 13:07:10 +01:00
Tom Wiesing
b3a827e042
Allow server to make backups 2022-11-16 13:07:08 +01:00
Tom Wiesing
7cda92b342
Update to goprogram 0.1.0 2022-11-16 13:07:06 +01:00
Tom Wiesing
f6b38f055d
Use go1.19.2 2022-11-16 13:07:05 +01:00
Tom Wiesing
ea56ff4aac
{backup,snapshot,system_update}: Use better UI 2022-09-30 18:33:42 +02:00
Tom Wiesing
72d95f58ea
system_update: Perform provisioning in parallel 2022-09-22 18:06:46 +02:00
Tom Wiesing
37cdd201f0
Remove workspace files
This commit removes the accidentally commited workspace files and
prevents them from being committed again.
2022-09-15 17:52:09 +02:00
Tom Wiesing
8210612198
Lots of internal cleanup 2022-09-12 11:15:52 +02:00
Tom Wiesing
2881a5f65c
resolver: Use self-built image
This commit updates the resolver component to use an image that is built
locally.
2022-09-09 18:01:57 +02:00
Tom Wiesing
df4cfa3567
Add 'wdcli monday' command 2022-09-08 14:39:05 +02:00
Tom Wiesing
bb73a73f57
backup: Move taking snapshot to separate function
This commit moves taking a snapshot of a running instance to a separate
function.
2022-09-08 14:39:05 +02:00
Tom Wiesing
2a14d93d3c
Implement initial 'wdcli backup_instance' command
This commit performs an initial implementation of the 'backup_instance'
command.
2022-09-08 14:39:04 +02:00
Tom Wiesing
7b38fdd801
Do a large chunk of the move to go
This commit moves a huge chunk of the code to go. The TODO.md document
indicates what is left to be done.
2022-09-08 14:39:04 +02:00