Commit graph

222 commits

Author SHA1 Message Date
Tom Wiesing
84974dd712
internal/component: Cleanup unused general code 2022-09-21 12:00:36 +02:00
Tom Wiesing
a5d9b1a386
provision: Dynamically find components to provision 2022-09-20 19:45:32 +02:00
Tom Wiesing
33cd18e9d9
internal/component: Rework resource paths 2022-09-20 19:20:54 +02:00
Tom Wiesing
af259747a2
dis: Change colors 2022-09-20 15:39:35 +02:00
Tom Wiesing
9f5ca27f55
Add download button for pathbuilders 2022-09-20 15:24:04 +02:00
Tom Wiesing
8b3218ad00
Add a metadata system 2022-09-20 13:11:24 +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
f7b8804c61
sql: Begin cleanup of code 2022-09-19 13:03:59 +02:00
Tom Wiesing
b0d3c686ba
Use environment DialContext and Listen everywhere 2022-09-19 12:42:33 +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
822c70cd69
'wdcli backup': Move to separate package 2022-09-17 18:17:37 +02:00
Tom Wiesing
5cd5ae9be2
'wdcli backup': Rework backup process
This commit reworks the backup process to dynamically find the list of
components.
2022-09-17 16:34:07 +02:00
Tom Wiesing
55bee7422d
component/web: Add http and https variants 2022-09-17 15:23:27 +02:00
Tom Wiesing
735d032865
components/dis: Properly load config file
This commit updates the 'component/dis' Dockerfile to properly load the
config file from an environment variable.
2022-09-17 12:11:43 +02:00
Tom Wiesing
10d295ff32
dis/instance: Render instance properties 2022-09-17 12:07:56 +02:00
Tom Wiesing
a1f35b97d3
Initial status page 2022-09-16 17:54:40 +02:00
Tom Wiesing
a3511b1bfc
instances: Add methods to evaluate PHP 2022-09-15 23:21:14 +02:00
Tom Wiesing
492a0c0404
component/dis: Check if instance alive 2022-09-15 18:11:19 +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
47aeb05c82
Rework templating for bootstrap 2022-09-15 16:57:15 +02:00
Tom Wiesing
08d1840a63
dis/server: '/wisski/navigate' => '/wisski/get' 2022-09-15 15:33:18 +02:00
Tom Wiesing
141b5ef945
components/dis/self: Bugfix 2022-09-15 15:30:45 +02:00
Tom Wiesing
fee4c790eb
cmd/purge: Bugfix 2022-09-15 15:15:59 +02:00
Tom Wiesing
f5f2ac1a03
Merge all the server components 2022-09-15 15:12:48 +02:00
Tom Wiesing
85b5603d9d
Split up WissKI Instance code 2022-09-15 12:54:16 +02:00
Tom Wiesing
d7110dd63c
components: allow access across goroutines 2022-09-14 19:47:54 +02:00
Tom Wiesing
a8da3f70eb
Move instances into a separate component 2022-09-14 18:07:12 +02:00
Tom Wiesing
233a51d4cd
cmd/shell: Bugfix 2022-09-14 15:10:19 +02:00
Tom Wiesing
694e673c38
settings_php_set: Fix on newer drupal versions 2022-09-14 14:56:40 +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
49b8760527
snapshot: remove unuused comment 2022-09-13 17:18:57 +02:00
Tom Wiesing
ee330682d9
program: Skip warning inside docker 2022-09-13 17:06:15 +02:00
Tom Wiesing
f674e50e10
snapshot: Separate into whitebox and blackbox backup 2022-09-13 16:34:18 +02:00
Tom Wiesing
ac43221932
{snapshot,backup}: Keep track of errors when writing report 2022-09-13 14:37:04 +02:00
Tom Wiesing
40a1aafbee
targz: Handle links properly 2022-09-13 11:50:20 +02:00
Tom Wiesing
a4f91ae7cf
{backup,snapshort}: Improve behaviour
This commit improves the behaviour of 'backup' and 'snapshot' by
treating symbolic links properly, as well as writes proper reports.
2022-09-13 11:44:32 +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
487ce09979
Refactor components 2022-09-12 14:44:45 +02:00
Tom Wiesing
17011a277f
backup.go: Fix typo 2022-09-12 14:42:17 +02:00
Tom Wiesing
8210612198
Lots of internal cleanup 2022-09-12 11:15:52 +02:00
Tom Wiesing
8b7fe41309
settings_php_set: Fix wrong variable name 2022-09-11 18:01:31 +02:00
Tom Wiesing
076adfa54d
Update completed TODO item 2022-09-11 17:37:41 +02:00
Tom Wiesing
04b74e0491
Remove unuused internal function 2022-09-11 17:26:09 +02:00
Tom Wiesing
abafab9f0a
Cleanup internal packages 2022-09-11 17:12:57 +02:00
Tom Wiesing
86a4334796
Remove embed package
This commit finally removes the embed package in favor of more specific
resource packages
2022-09-11 17:00:34 +02:00
Tom Wiesing
91a088a56a
Merge internal/stack => component 2022-09-11 16:03:13 +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