Commit graph

108 commits

Author SHA1 Message Date
a3409c0a42 Updated chi
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2025-03-20 18:40:22 +00:00
6cda63c538 Fixed a potential directory traversal, fixed storage being very borked, made the auth login process less memory intensive and rely more on JWTs
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2025-01-25 14:47:51 +00:00
2ece60f84e Updated nucleus libs, yet again
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2025-01-11 15:50:51 +00:00
ffc03f2213 Updated nucleus libs, tidied modfile
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2025-01-11 15:45:57 +00:00
a65b7f6e0d Updated nucleus libs
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2025-01-11 15:42:55 +00:00
cff2e5b811 Made storage fork the ISM processor
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2025-01-08 19:10:18 +00:00
1e106bb4ca Fixed broken imports, made storage not send raw ISMs
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2025-01-08 19:07:56 +00:00
f7a1ecccdb Updated libraries
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2025-01-08 18:39:29 +00:00
d9a2999fae Updated libraries
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2025-01-08 18:37:48 +00:00
a6ef1c01fe Didn't include the main??
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2025-01-08 18:31:48 +00:00
7422201d98 ISM rewrite
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2025-01-08 18:31:34 +00:00
f26a267421 Upgrade fg library version
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2025-01-08 15:44:29 +00:00
f8fc9b7206 ISM rewrite
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2025-01-08 13:47:05 +00:00
9736939a07 Added file deletion functionality to the storage service
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-12-09 21:09:00 +00:00
6eeea11a75 Fixed the storage service not properly reading bytes out of the correct struct, and instead attempting to assert the struct as raw byte data
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-12-08 16:36:29 +00:00
48547833e4 Made the storage service make the user folders
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-15 18:54:28 +00:00
34a3580ec6 Fixed the storage service being very broken
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-15 18:51:33 +00:00
f0559ed5b5 Use int instead of float64 in configs
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-15 18:37:44 +00:00
8331219da4 Fixed autoaccept not working, made logout not run localStorage.Clear()
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-15 17:00:06 +00:00
9cbe1e8ecc Fixed registration not changing the redirect URI
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-15 16:45:13 +00:00
a2dab0869d Made mem work correctly
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-15 16:34:40 +00:00
684c9d6d48 Cleaned up the logging
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-14 19:52:57 +00:00
d8a6a48c43 Got rid of debug code
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-14 19:51:47 +00:00
5145c65d04 Added support for custom ports
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-14 19:48:39 +00:00
d04a40f655 Made it not constantly regenerate the oauth entries for services
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-13 16:36:58 +00:00
9ca7caf2c3 Fixed the password changing API using the old argon2 hashing algorithm
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-11 17:25:01 +00:00
a447fde86a Updated fulgens library versions
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-08 18:09:26 +00:00
1302147be2 Updated go version, updated dependencies
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-08 18:02:41 +00:00
e2a4c13a60 Made addReserved check for space
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-04 17:17:49 +00:00
d40bc7dc8e Fixed a bug where setting compression would crash the server on local routes, fixed some useless never-will-happen eventualities
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-04 17:09:45 +00:00
eebe3763f5 Added support for more advanced proxy configuration
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-03 19:10:28 +00:00
13d00e8222 Rewrote the entire blob storage service, made auth not use MarshalBinary, which is useless, and made the Start button in captchaDiv the correct colour and same size as it's surrounding elements
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-03 17:03:35 +00:00
d302745c9a Switch to httpcompression in order to save me some coding time and also fix all of our assorted compression problems
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-03 15:55:11 +00:00
3114dd556e Ok forget http/3
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-03 15:33:12 +00:00
dac060cee5 HTTP/3: Attempt 1
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-03 14:59:05 +00:00
8d27ad6b98 Add a "stealth mode" in case for whatever reason you don't want to show the entire world you're using a super obscure http server
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-03 14:26:02 +00:00
694f62f238 Added redirects, make one pathBlock able to contain multiple paths
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-03 13:20:09 +00:00
ac7230c6b5 Fixed not parsing yaml https certificates correctly
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-03 13:05:44 +00:00
322e901d16 Add globally defined HTTPS certs, fixed an ineffective assignment, isolated registering services into its own function
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-03 13:03:49 +00:00
975b24a13f This is hell
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-03 12:21:45 +00:00
144452f798 Fix the directory listing, once and for all
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-03 12:13:34 +00:00
65de87137d Make it always redirect to dir/ for directories otherwise it breaks HTML relatives
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-03 12:11:40 +00:00
b0fb00d7fd This directory listing isn't very good, is it...
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-03 12:09:05 +00:00
7b1188545d Made the directory listing not uber-broken, made it serve index.html by default
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-03 12:07:53 +00:00
d25e0a4877 Fixed subdomain routers not working if the service is activated after the file servers, which always happened. Also, do not load services not specified. Also, switch to a yaml config.
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-03 11:58:33 +00:00
7bc3ca8a37 Made readme accurate 2024-11-01 13:15:43 +00:00
cf5dbe7946 Switched to a new config file format, switched to a custom error handling screen instead of 404 Page Not Found, switched to per-route static file service, added proxying (in beta), reduced the cyclomatic complexity of main() function, broke up the compression handlers into different functions, added HTTPS functionality (beta), made the global router not special, use a custom http handler to automatically switch between compression schemes based on per-route compression settings, support comments in the configuration file.
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-11-01 13:09:35 +00:00
3fe89adee8 Fixed gitignore again
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-10-29 14:37:04 +00:00
9ec38c34b6 Fixed gitignore, fixed a font file being missing
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-10-29 14:36:44 +00:00
6b483f712e Added fancy printing when building, fixed compressionlevel attempting to be set when no compression is specified
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-10-29 12:51:04 +00:00