Commit graph

37 commits

Author SHA1 Message Date
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
39207a1cb5
pkg/environment: Remove 'net' related functions
This commit continues removing the environment abstraction and removes
all 'net' related functions, replacing them by their native equivalents.
2023-03-02 11:07:50 +01:00
Tom Wiesing
746ebcd9e3
socket: Explicitly communicate success
This commit updates the socket process to explicitly communicate the
process (and any potential error) on the server using a binary message.
2023-02-28 01:07:28 +01:00
Tom Wiesing
010fd536ea
pkg/httpx => github.com/tkw1536/pkglib/httpx 2023-02-26 10:08:17 +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
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
b0d3c686ba
Use environment DialContext and Listen everywhere 2022-09-19 12:42:33 +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
e75dc29de1
wdcli: Update handling of templates
This commit updates the handling of expanding of templates. This is to
prepare embeding templates directly as opposed to embedding a single
resource directory.
2022-09-09 23:20:47 +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
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