Commit graph

168 commits

Author SHA1 Message Date
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
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
2fac0390b1 api: Begin implementing an API 2023-04-28 10:25:36 +02:00
Tom
8c4de32246 Update home config 2023-04-27 14:58:56 +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
34db2e1923
Allow admin password to be revealed 2023-04-12 14:07:01 +02:00
Tom Wiesing
85c63f24a9
ssh: Update help page and allow service forwarding 2023-04-12 13:42:27 +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
1f8c55da7c
backup.go: Add newline when adding file 2023-03-28 10:41:46 +02:00
Tom Wiesing
b6d3575ee9
{snapshot,backup}: Write machine-readable report 2023-03-19 17:38:36 +01:00
Tom Wiesing
2acf76e465
Fix 'blind_update' regression 2023-03-16 11:29:33 +01:00
Tom Wiesing
9b30223b09
Update dependencies 2023-03-15 19:45:50 +01:00
Tom Wiesing
0c888eab1c
internal/dis/component/ssh: Shorten help text 2023-03-15 11:26:03 +01:00
Tom Wiesing
ed00ef7aff
Fix regression: Wrong arguments to FPrintln 2023-03-15 10:29:10 +01:00
Tom Wiesing
cd476063c3
internal: Replace final public port name 2023-03-14 16:01:10 +01:00
Tom Wiesing
2493cbb078
pkg/logging: Remove unneeded argument 2023-03-13 13:24:19 +01:00
Tom Wiesing
d7847b5d69
logging: Replace functions by native equivalents 2023-03-13 13:19:32 +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
dependabot[bot]
1b38c01237
build(deps): bump json5 in /internal/dis/component/server/assets
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-10 19:49:02 +00:00
Tom Wiesing
4c0dd325ad
Update static files URL
This commit updates the static file url to the mountain emoji.
2023-03-10 20:47:55 +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
d22784e6f5
templating/flags: Clone actions and crumbs 2023-03-08 15:28:00 +01:00
Tom Wiesing
4681f3c33d
sql/snapshot: Bugfix 2023-03-08 15:06:59 +01:00
Tom Wiesing
854e756016
Add NEWS.md 2023-03-08 12:48:45 +01:00
Tom Wiesing
840efd5c03
config: Remove erronous yaml entries 2023-03-08 12:25:32 +01:00
Tom Wiesing
f0073a649f
Multiplex http and ssh ports 2023-03-08 11:27:19 +01:00
Tom Wiesing
668f1dd193
component/web: Implement nicer compose reader 2023-03-07 10:51:18 +01:00
Tom Wiesing
1855090f26
Initial support for native docker client
This commit updates the implementation to use a native docker client as
opposed to calling an external executable.
2023-03-07 09:45:20 +01:00
Tom Wiesing
2ee8dfaaec
internal/server: Log unknown errors
This commit updates the server code to log unknown errors to the
console.
2023-03-06 22:32:03 +01:00
Tom Wiesing
4cdf29d8bf
frontend/remote: Display "cancel" when cancelling a process 2023-03-02 13:08:27 +01:00
Tom Wiesing
9807213e60
Replace deprecated os.Is{Not,}Exist calls
This commit replaces deprecated calls to `os.Is{Not,}Exist` with the
newer `errors.Is(err, fs.Err{Not,}Exist)`.
2023-03-02 12:56:20 +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
5a43ecfaeb
pkg/environment: Migrate fs functions to fsx 2023-03-02 11:38:30 +01:00
Tom Wiesing
45540ab253
pkg/environment: Remove some file-based functions
This commit removes certain file-based functions from 'pkg/environment',
continuing the migration to entirely remove the package.
2023-03-02 11:15:15 +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
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
066390e30d
html/anal: Fix regression
Migration to the pkglib package caused a regression that prevents
Components and Ingredients from being rendered properly. This commit
fixes the issue.
2023-02-28 21:43:12 +01:00
Tom Wiesing
c19215068e
remote: Allow protocol input & cancellation
This commit reworks the protocol being used on top of websockets. It now
permits sending input to the server, and interrupting the remote
process.
2023-02-28 21:38:08 +01:00
Tom Wiesing
746ebcd9e3
socket: Explicitly communicate success
This commit updates the socket process to explicitly communicate the
process (and any potential error) on the server using a binary message.
2023-02-28 01:07:28 +01:00
Tom Wiesing
53f63d4efd
Add a form to provision a new instance 2023-02-27 11:12:22 +01:00