Commit graph

38 commits

Author SHA1 Message Date
Tom Wiesing
84799afda2
reflectx.TypeFor => reflect.TypeFor
Since go1.22 it is now in the standard library and is removed from a
future versio from pkglib
2024-04-08 23:30:15 +02:00
Tom Wiesing
8235ea9105
Require access to Still via method
This commit adds a safeguard to accessing the still from a specific
component by requiring access via the component.GetStill method.
2024-04-08 22:39:32 +02:00
Tom Wiesing
a90c68bf5e
Allow exposing graphdb and phpmyadmin via config 2023-11-02 13:31:54 +01:00
Tom Wiesing
873fdcd5c2
Update to new goprogram version 2023-11-02 12:05:13 +01:00
Tom Wiesing
b2c12ac9be
Update to new pkglib + goprogram versions 2023-07-19 02:55:46 +02:00
Tom
588cb7ebaa stack: Do not use templates for env files
This commit removes the templating logic for writing .env files.
Instead it simply writes a key-value directory directly to the destined
file.
2023-07-14 14:06:10 +02:00
Tom
b084e3673b internal/dis/component/sql: Fix backup for mariadb 2023-06-27 14:26:23 +02:00
Tom
865959f530 sql: Fix mariadb version and unsafeWaitShell
This commit pins the MariaDB version being used, and updates an
appropriate "mariadb" client being used in unsafeWaitShell.
2023-06-23 11:34:43 +02:00
Tom
fcdb3a1d6a Fix regression in stagingContext 2023-05-30 11:25:01 +02:00
Tom Wiesing
3a893bbfb6
Replace "errorx".First => "errors".Join 2023-05-10 13:36:08 +02:00
Tom
35544bd64c internal/sql: Add bugfix to display 2023-04-27 10:26:46 +02:00
Tom Wiesing
0f6803f890
Use fsx package and friends from pkglib 2023-04-08 17:52:19 +02:00
Tom Wiesing
9b30223b09
Update dependencies 2023-03-15 19:45:50 +01:00
Tom Wiesing
2493cbb078
pkg/logging: Remove unneeded argument 2023-03-13 13:24:19 +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
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
4681f3c33d
sql/snapshot: Bugfix 2023-03-08 15:06:59 +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
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
5e89fadeeb
Migrate pkg/lazy => pkglib/{lazy,lifetime} 2023-02-26 10:00:47 +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
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
66eb13df30
logger: Fix missing argument 2023-01-26 22:42:11 +01:00
Tom Wiesing
73d821e320
sql: Refactor use of tables 2023-01-09 10:24:24 +01:00
Tom Wiesing
6bf6d3a8f5
sql/update: Fix typo 2023-01-06 18:59:10 +01:00
Tom Wiesing
69b6579de7
Add initial implementation of grants 2023-01-06 18:59:09 +01:00
Tom Wiesing
b8f1281f78
auth: Refactor home page 2023-01-06 18:59:09 +01:00
Tom Wiesing
3aa79b0d23
Implement initial login functionality 2023-01-06 18:59:06 +01:00
Tom Wiesing
a590d93e76
environment/exec: Seperate Exec and Wait 2022-12-14 08:53:45 +01:00
Tom Wiesing
2a308ee03c
internal/component: Check for provisionable 2022-12-13 10:10:51 +01:00
Tom Wiesing
7006277409
sql/gorm: Use zerolog logger 2022-12-02 10:48:05 +01:00
Tom Wiesing
6f1ba24761
Update logging behavior 2022-12-01 12:42:04 +01:00
Tom Wiesing
3b78b06fff
wdcli: Use progress writer instead of IOStream 2022-11-30 13:17:12 +01:00
Tom Wiesing
890022ae64
internal: Annotate all components with groups
This commit ensures that the compiler has to check every component
against the groups they implement by explicitly annotating the
appropriate interfaces.
2022-11-30 11:08:46 +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
3a32b7f03a
{triplestore,sql}: Mount directories to allow dynamic import 2022-11-22 12:58:11 +01:00
Tom Wiesing
b5b1ce2340
internal/component => internal/dis/component 2022-11-16 13:07:14 +01:00