Commit graph

55 commits

Author SHA1 Message Date
Tom Wiesing
a90c68bf5e
Allow exposing graphdb and phpmyadmin via config 2023-11-02 13:31:54 +01:00
Tom
9db53d39c4 Implement basic API scoping 2023-05-04 15:13:51 +02:00
Tom
2fac0390b1 api: Begin implementing an API 2023-04-28 10:25:36 +02:00
Tom
1a5e83be10 internal/config: Fix host rule 2023-04-27 15:14:19 +02:00
Tom
8c4de32246 Update home config 2023-04-27 14:58:56 +02:00
Tom
44af84abe9 config/bool: Fix broken marshaling 2023-04-27 14:41:55 +02:00
Tom
5e9795ad0c home: allow disableing list 2023-04-27 10:49:30 +02:00
Tom Wiesing
285aaff77d
Experimental: Update traefik Host() rules for v3 2023-04-12 19:21:11 +02:00
Tom Wiesing
eacd59bb1b
slug: Prohibit slugs ending in '_' for future use 2023-04-12 11:26:25 +02:00
Tom Wiesing
7ff2ecf7fe
Update to newest pkglib 2023-04-09 22:00:24 +02:00
Tom Wiesing
0f6803f890
Use fsx package and friends from pkglib 2023-04-08 17:52:19 +02:00
Tom Wiesing
0c888eab1c
internal/dis/component/ssh: Shorten help text 2023-03-15 11:26:03 +01:00
Tom Wiesing
e969351f8e
config/network: Prepare for multiple networks
This commit futures proofs the code to allow for usage of more than one
docker network.
2023-03-13 10:11:28 +01:00
Tom Wiesing
9d74397512
Remove config-migrate command 2023-03-08 12:49:15 +01:00
Tom Wiesing
840efd5c03
config: Remove erronous yaml entries 2023-03-08 12:25:32 +01:00
Tom Wiesing
7371cc2163
internal/config/config: Remove unuused field 2023-03-08 12:09:17 +01:00
Tom Wiesing
f0073a649f
Multiplex http and ssh ports 2023-03-08 11:27:19 +01:00
Tom Wiesing
473040a69f
Remove environment.Environment struct
This commit completely removes the environment struct as it is no longer
used.
2023-03-02 12:52:51 +01:00
Tom Wiesing
3263920d6b
fsx: Remove environment references
This commit removes the reference to the environment from the fsx
package.
2023-03-02 11:51:51 +01:00
Tom Wiesing
14bb7f1086
pkg/environment: Remove exec related functions
This commit starts the migration to remove the environment package. It
introduced an abstraction that is not being used, and removing it makes
the code simpler to maintain.

This commit removes all 'exec' related package.
2023-03-02 11:03:33 +01:00
Tom Wiesing
eec8b89e06
admin/index.html: Display config as yaml 2023-02-26 19:21:42 +01:00
Tom Wiesing
2edd0f2fe2
internal/config/template: Cleanup
This commit cleans up the internal/config/template to remove code no
longer used because of the new configuration.
2023-02-26 10:46:10 +01:00
Tom Wiesing
aa3580c248
Migrat pkg/password to using pkglib package 2023-02-26 10:24:06 +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
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