Commit graph

338 commits

Author SHA1 Message Date
Tom
2459cc005f Unify instance_{rebuild,provision}.html
This commit unifies the templates for rebuild and provision as they are
nearly identical.
2023-07-15 15:13:42 +02:00
Tom
760aae0dc1 Add support for Content-Security-Policy in images
This commit adds support for the "Content-Security-Policy" header in the
barrel images.
2023-07-15 15:13:42 +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
e2f5c66b1c Remove custom template logic
This commit removes custom template logic in the entire distillery
codebase.
2023-07-14 15:23:21 +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
46b16e5700 templating: Remove unused lazy code 2023-07-13 23:24:31 +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
16fa721048 frontend: Add linting for ts code 2023-07-13 13:51:18 +02:00
Tom
ddb4bb3546 Add support for provisioning and rebuilding via interface 2023-07-13 10:05:16 +02:00
Tom
f5c5999f44 Add Status Report to Info page 2023-07-11 00:27:09 +02:00
Tom Wiesing
cda68d3454
Bugfix in provisioning 2023-07-09 14:22:33 +02:00
Tom
8f8d448836 Allow changing of php versions 2023-07-09 11:52:49 +02:00
Tom
e207496229 Properly name the fontawesome script 2023-07-04 13:59:59 +02:00
Tom
430a3d7286 Add install_fontawesome.sh script 2023-07-04 13:22:35 +02:00
Tom Wiesing
154f9a93ea
barrel: Use default value for base image 2023-06-30 12:42:07 +02:00
Tom Wiesing
5a85494194
Disable 'phpinfo' 2023-06-30 12:28:49 +02:00
Tom Wiesing
d114c8fafe Add support for php 8.1
This commit adds optional support for basing images on php 8.1 as
opposed to php 8.0.
2023-06-29 14:52:12 +02:00
Tom
3ef9c23a0c Add API for resolver 2023-06-29 14:52:12 +02:00
Tom
4f4fa2b3d7 Tokens: User improvements 2023-06-29 14:52:12 +02:00
Tom
8ccd490bed Improvements for tokens 2023-06-29 14:52:12 +02:00
Tom
effa79aacd WIP 2023-06-29 14:52:12 +02:00
Tom
161e08fe1f WIPL tokens 2023-06-29 14:52:12 +02:00
Tom
c09c729157 Add news item 2023-06-29 13:06:36 +02:00
Tom
2bda0e7ab9 Automatically remove <meta name="generator"> by default 2023-06-29 12:49:54 +02:00
Tom
7ca9686552 barrel: Remove server tags from output 2023-06-29 12:20:40 +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
75ceab241e barrel: Rename HOSTNAME=>WISSKI_HOSTNAME
This commit renames the HOSTNAME variable to WISSKI_HOSTNAME to avoid
breaking the container under specific circumstances.
2023-06-23 10:56:25 +02:00
Tom
290273e4ca Add a command to automatically create a block 2023-06-22 14:46:42 +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
bbbd1240eb grants: Actually order 2023-05-05 11:56:43 +02:00
Tom
6d48261876 user panel: Add admin interface button 2023-05-04 15:50:06 +02:00
Tom
8f362172db grants: List in alphabetical order 2023-05-04 15:49:18 +02:00
Tom
9db53d39c4 Implement basic API scoping 2023-05-04 15:13:51 +02:00
Tom
064ae2f564 Implement scopes 2023-05-03 14:21:58 +02:00
Tom
be07ac5d83 pathbuilder: Ignore error (when system is dead) 2023-05-02 23:15:58 +02:00
Tom
bcb7f558c9 phpx/server: Further performance improvements 2023-05-01 20:33:11 +02:00
Tom
9a9c4539a4 pathbuilder.php: Avoid extra sql requests 2023-05-01 15:52:43 +02:00
Tom
a9572e6613 phpx/server: improve wire format
This commit updates the wire format of the phpx server. Instead of being
string-based, messages sent back and forth between go and php are now
base64-encoded DEFLATEd strings. This makes them a lot smaller and
faster to send.
2023-05-01 15:50:21 +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
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
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
5e9795ad0c home: allow disableing list 2023-04-27 10:49:30 +02:00
Tom
35544bd64c internal/sql: Add bugfix to display 2023-04-27 10:26:46 +02:00
Tom Wiesing
285aaff77d
Experimental: Update traefik Host() rules for v3 2023-04-12 19:21:11 +02:00
Tom Wiesing
34db2e1923
Allow admin password to be revealed 2023-04-12 14:07:01 +02:00