Commit graph

399 commits

Author SHA1 Message Date
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
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
b1009fa109
Add a logo 2023-02-10 12:01:06 +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
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
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
Tom Wiesing
a1069f115e
Home,News: Seperate data and rendering 2023-01-09 14:11:42 +01:00
Tom Wiesing
dcd5f910ae
Update handling of news 2023-01-09 11:21:15 +01:00
Tom Wiesing
73d821e320
sql: Refactor use of tables 2023-01-09 10:24:24 +01:00
Tom Wiesing
85fe5b5c5a
Remove old usage of 'control' wording 2023-01-08 17:17:49 +01:00
Tom Wiesing
c6f77e86fe
Add autocomplete attribute to forms 2023-01-08 17:16:38 +01:00
Tom Wiesing
cf59bd7db7
custom: Allow override of home page 2023-01-08 13:53:53 +01:00
Tom Wiesing
729b9cfb51
resolver: Use custom template 2023-01-08 08:43:31 +01:00
Tom Wiesing
a292c25f84
Add support for custom footer 2023-01-08 08:13:47 +01:00
Tom Wiesing
9f3e7a7b86
stack: Force recreating containers on 'up' call 2023-01-08 07:04:10 +01:00