Commit graph

31 commits

Author SHA1 Message Date
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
a63bb2f669
pkg/pools: Use pool for strings.Builder everywhere 2023-01-24 10:52:15 +01:00
Tom Wiesing
bcd1805001
Add SSH Key Management 2023-01-15 19:41:00 +01:00
Tom Wiesing
1caecc0f19
Use authentication for Distillery control page 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
52dbfbf56e
Add Cron interval to config 2022-12-07 11:02:44 +01:00
Tom Wiesing
55d5c9c529
config: Handle errors better 2022-11-23 15:27:58 +01:00
Tom Wiesing
4752c0fcec
Make SSH_PORT configurable 2022-11-17 09:43:01 +01:00
Tom Wiesing
10df1c3243
Move internal/core => internal/cli 2022-11-16 13:07:13 +01:00
Tom Wiesing
f8dd6cb956
Remove unuused legacy https functionality 2022-11-16 13:07:09 +01:00
Tom Wiesing
471ccbadc5
Move to Traefik 2022-11-16 13:07:09 +01:00
Tom Wiesing
3d4db1744b
internal/home: Add a status page on home 2022-11-16 13:07:07 +01:00
Tom Wiesing
845e927117
control: Move serves into a separate components 2022-10-04 11:36:45 +02:00
Tom Wiesing
3be5e85ef7
prefixes: Add 'resolver-blocked.txt' config 2022-09-21 16:04:22 +02:00
Tom Wiesing
07409a01be
Cleanup and document hacky sql interaction 2022-09-19 23:16:56 +02:00
Tom Wiesing
881b538dff
Make 'system_update' more generic 2022-09-19 14:56:46 +02:00
Tom Wiesing
f19619ef9f
Add 'environment' package
This commit adds a new environment package that manages all calls to the
underlying operating system.
2022-09-18 14:24:22 +02:00
Tom Wiesing
492a0c0404
component/dis: Check if instance alive 2022-09-15 18:11:19 +02:00
Tom Wiesing
47aeb05c82
Rework templating for bootstrap 2022-09-15 16:57:15 +02:00
Tom Wiesing
f5f2ac1a03
Merge all the server components 2022-09-15 15:12:48 +02:00
Tom Wiesing
feacd4eeae
Move runtime around 2022-09-14 14:42:21 +02:00
Tom Wiesing
ef1243ea39
Rename packages 2022-09-14 14:17:08 +02:00
Tom Wiesing
94263174cf
Minor refactor in 'core' package 2022-09-13 09:52:37 +02:00
Tom Wiesing
a360324f62
Refactor Package structure
This commit cleans up the package structure, to make two new top-level
packages `internal` (for internal-use packages) and `pkg` (for general
shared utility code).
2022-09-12 15:42:21 +02:00
Tom Wiesing
8210612198
Lots of internal cleanup 2022-09-12 11:15:52 +02:00
Tom Wiesing
7b2f79bea1
Move code into new component package
This commit cleans up the resources in the 'embed' package, and instead
moves them into subpackages of a new 'compose' package. This makes sure
that '.env' templates and docker compose contexts are located in the
same location.
2022-09-11 15:41:11 +02:00
Tom Wiesing
4b357476a3
Add 'dis' component
This commit adds a new 'dis' component to the distillery that serves a
list of all known instances for the moment.
2022-09-09 17:10:24 +02:00
Tom Wiesing
4bffc9e92a
backup: Prune old backups
This commit updates the backup command to prune old backups.
2022-09-08 14:39:05 +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