Commit graph

541 commits

Author SHA1 Message Date
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
Tom Wiesing
80906d3791
Syntax highlight configuration 2023-02-26 20:10:25 +01:00
Tom Wiesing
ccf8473ee2
package.json: remove wrongly placed file 2023-02-26 19:46:05 +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
010fd536ea
pkg/httpx => github.com/tkw1536/pkglib/httpx 2023-02-26 10:08:17 +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
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
568c005d15
httpx: Remove unuused methods 2023-02-10 12:44:01 +01:00
Tom Wiesing
b1009fa109
Add a logo 2023-02-10 12:01:06 +01:00
Tom Wiesing
5339c442b7
Add logo 2023-02-09 10:58:07 +01:00
Tom Wiesing
7f820224ec
Refactor: Menu 2023-02-09 10:22:22 +01:00
Tom Wiesing
a7309d5268
component.DummyMenuItem: Force early replacement 2023-02-03 15:12:52 +01:00
Tom Wiesing
2466238388
socket: Add option to create backup 2023-02-03 14:31:43 +01:00
Tom Wiesing
34d1f557a0
admin interface: Introduce seperate instance page 2023-02-03 14:11:52 +01:00
Tom Wiesing
a420155c7c
admin/instance: Properly display titles 2023-02-03 09:48:34 +01:00
Tom Wiesing
78b5a96294
Allow non-instance specific socket actions 2023-02-03 09:45:35 +01:00
Tom Wiesing
25c3af3516
Bugfix: Add missing forms 2023-02-02 16:46:42 +01:00
Tom Wiesing
2d163a4dad
templating: Rework timers 2023-01-31 12:51:54 +01:00
Tom Wiesing
66eb13df30
logger: Fix missing argument 2023-01-26 22:42:11 +01:00
Tom Wiesing
598de5b289
pools: Add a pool for buffers 2023-01-24 11:04:34 +01:00
Tom Wiesing
a63bb2f669
pkg/pools: Use pool for strings.Builder everywhere 2023-01-24 10:52:15 +01:00
Tom Wiesing
8af2213d5a
pkg/httpx/form: Remove unuused fields 2023-01-24 10:51:39 +01:00
Tom Wiesing
d235ee4e5c
Refactor html templates
This commit entirely refactors the use of html templates. Instead of
inheriting from a shared template, we insert the results into a base
template.
2023-01-23 11:41:20 +01:00
Tom Wiesing
6ede99d7c6
Refactor server and templates package 2023-01-19 13:22:48 +01:00
Tom Wiesing
b6bf0a8900
custom: Improve templating of assets 2023-01-19 11:25:39 +01:00
Tom Wiesing
7d0fb60d67
admin: Allow impersonation and deactivation 2023-01-17 12:25:23 +01:00
Tom Wiesing
2384ee0841
admin: Add purge interface
This commit adds a new option to the admin interface to purge an
instance. This requires the user to manually confirm the name of the
instance.
2023-01-16 18:22:13 +01:00
Tom Wiesing
3321b5d0ba
internal/status/wisski_user: Add String() 2023-01-16 17:29:56 +01:00
Tom Wiesing
e4a46658ae
internal/phpx: Decrease server code size 2023-01-16 17:29:56 +01:00
Tom Wiesing
bcd1805001
Add SSH Key Management 2023-01-15 19:41:00 +01:00
Tom Wiesing
ef76844922
totp: Directly show secret to add 2023-01-12 17:35:45 +01:00
Tom Wiesing
202599aaeb
templating: Move actions into template 2023-01-12 13:55:07 +01:00
Tom Wiesing
313af2b9e3
Update titles 2023-01-12 13:18:13 +01:00
Tom Wiesing
1f7d92bea8
instance_pause: Add buttons to start/stop instance 2023-01-12 13:15:18 +01:00
Tom Wiesing
092304f891
template/_base: Add aria role attribute 2023-01-11 22:04:27 +01:00
Tom Wiesing
a00195be16
templates: Add a proper menu and navigation 2023-01-11 14:34:04 +01:00
Tom Wiesing
0bb7f99fa3
instances/create: Add restricted slugs 2023-01-11 11:00:26 +01:00
Tom Wiesing
9d03c39e38
dis_grant: Add option to add grant for every wisski 2023-01-10 15:43:48 +01:00
Tom Wiesing
66e57183d6
User Management: Fix regressions 2023-01-10 14:20:48 +01:00
Tom Wiesing
6f257bd27f
Add a password policy for distillery users 2023-01-10 11:10:38 +01:00
Tom Wiesing
ab9998881b
server: Switch to custom mux 2023-01-10 00:41:53 +01:00