Commit graph

95 commits

Author SHA1 Message Date
Tom Wiesing
3455f491ca
Add context
This commit adds and passes context around to (almost) every function.
This allows cancelling (almost) every function call globally.
2022-11-29 15:32:31 +01:00
Tom Wiesing
996ecb9f80
Implement user password checking 2022-11-25 15:11:28 +01:00
Tom Wiesing
8e2d2cce3e
httpx: Add new redirect 2022-11-24 14:19:17 +01:00
Tom Wiesing
55d5c9c529
config: Handle errors better 2022-11-23 15:27:58 +01:00
Tom Wiesing
3fada6ad38
Move status into a seperate package 2022-11-18 08:40:44 +01:00
Tom Wiesing
4752c0fcec
Make SSH_PORT configurable 2022-11-17 09:43:01 +01:00
Tom Wiesing
45f63935cd
ssh: Implement authentication for new ssh server 2022-11-16 13:07:17 +01:00
Tom Wiesing
b27871f39a
Add initial support for solr 2022-11-16 13:07:17 +01:00
Tom Wiesing
d64e6f8ec3
templates: Share fragments 2022-11-16 13:07:16 +01:00
Tom Wiesing
e5cd57cb7d
debug: Expose list of components to frontend 2022-11-16 13:07:16 +01:00
Tom Wiesing
e17ab90269
pkg: Add spawner package 2022-11-16 13:07:15 +01:00
Tom Wiesing
063f3f9b7d
Move wisski instance code to separate package 2022-11-16 13:07:12 +01:00
Tom Wiesing
7c3c84e116
internal/component: Move Pool into lazy package 2022-11-16 13:07:12 +01:00
Tom Wiesing
f8c33075f1
pkg/lazy: Remove unusued methods 2022-11-16 13:07:12 +01:00
Tom Wiesing
8701fab93b
pkg/{timex,wait}: Unify code 2022-11-16 13:07:12 +01:00
Tom Wiesing
59fff07b59
Remove unuused resources package 2022-11-16 13:07:11 +01:00
Tom Wiesing
ccab2883a6
frontend: Rework asset generation
This commit reworks frontend asset generation to not need manually
written html files, but instead generate them automatically.
2022-11-16 13:07:11 +01:00
Tom Wiesing
cdc7d69ad9
dis: Rework styling and build procedure 2022-11-16 13:07:10 +01:00
Tom Wiesing
471ccbadc5
Move to Traefik 2022-11-16 13:07:09 +01:00
Tom Wiesing
b3a827e042
Allow server to make backups 2022-11-16 13:07:08 +01:00
Tom Wiesing
3d4db1744b
internal/home: Add a status page on home 2022-11-16 13:07:07 +01:00
Tom Wiesing
7cda92b342
Update to goprogram 0.1.0 2022-11-16 13:07:06 +01:00
Tom Wiesing
32107265d4
components/resolver: Use database instead of file approach 2022-11-16 13:07:05 +01:00
Tom Wiesing
84dcaa62a9
internal/component: Further optimize initialization 2022-11-16 13:07:05 +01:00
Tom Wiesing
abc985892a
internal/dis: Rework initialization 2022-11-16 13:07:04 +01:00
Tom Wiesing
4358320433
component/provision: Make components purgable 2022-10-04 13:27:55 +02:00
Tom Wiesing
6f409be8b2
Refactor component/extras into snapshotting 2022-10-04 10:25:51 +02:00
Tom Wiesing
2639cda69b
cmd/blind_update: Refactor parallel code 2022-10-03 14:15:39 +02:00
Tom Wiesing
894c23c137
cmd/info: Use 'info' struct 2022-10-03 13:37:36 +02:00
Tom Wiesing
630da9e12f
{backup,snapshot}: Log and display in control 2022-10-03 11:22:45 +02:00
Tom Wiesing
3b112f1b8e
snapshots: Handle as separate components 2022-10-02 18:17:47 +02:00
Tom Wiesing
ea56ff4aac
{backup,snapshot,system_update}: Use better UI 2022-09-30 18:33:42 +02:00
Tom Wiesing
6f2ba18227
Fetch Prefixes from Triplestore 2022-09-21 15:20:42 +02:00
Tom Wiesing
07409a01be
Cleanup and document hacky sql interaction 2022-09-19 23:16:56 +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
a1f35b97d3
Initial status page 2022-09-16 17:54:40 +02:00
Tom Wiesing
f5f2ac1a03
Merge all the server components 2022-09-15 15:12:48 +02:00
Tom Wiesing
a8da3f70eb
Move instances into a separate component 2022-09-14 18:07:12 +02:00
Tom Wiesing
ef1243ea39
Rename packages 2022-09-14 14:17:08 +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
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