Commit graph

57 commits

Author SHA1 Message Date
Tom
8bd44cd91e Fix instance updating 2023-08-01 09:56:48 +02:00
Tom Wiesing
b2c12ac9be
Update to new pkglib + goprogram versions 2023-07-19 02:55:46 +02:00
Tom
17d64826df StackWithResources: Update ComposeYML behaviour
Previously, there was a function to manually read bytes for a
docker-compose.yml. But this proved to be akward at runtime.

Instead, this code automatically reads an existing docker-compose.yml,
and takes care of marshalling and unmarshalling.
2023-07-14 15:23:21 +02:00
Tom
1c68893a02 api: Cleanup websocket protocol
This commit cleans up the websocket protocol to be in line with the
documentation.
2023-07-13 23:24:11 +02:00
Tom
8ccd490bed Improvements for tokens 2023-06-29 14:52:12 +02:00
Tom
fcdb3a1d6a Fix regression in stagingContext 2023-05-30 11:25:01 +02:00
Tom
064ae2f564 Implement scopes 2023-05-03 14:21:58 +02:00
Tom
bcb7f558c9 phpx/server: Further performance improvements 2023-05-01 20:33:11 +02:00
Tom
ffd9d2e695 Record how long each fetcher took 2023-05-01 14:17:25 +02:00
Tom
2fac0390b1 api: Begin implementing an API 2023-04-28 10:25:36 +02:00
Tom
8c4de32246 Update home config 2023-04-27 14:58:56 +02:00
Tom
6362b2887b go1.20+: Refuse to work if cgo is enabled
On go1.20+ it is no longer possible to directly copy a cgo-enabled
library into a docker container. For this reason, this commit adds a
flag to commands that automatically make them fail with an appropriate
message if cgo is enabled.
2023-04-27 11:13:47 +02:00
Tom Wiesing
285aaff77d
Experimental: Update traefik Host() rules for v3 2023-04-12 19:21:11 +02:00
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