Commit Graph

65 Commits

Author SHA1 Message Date
Tracker-Friendly 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
Tracker-Friendly 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
Tracker-Friendly 7bc3ca8a37 Made readme accurate 2024-11-01 13:15:43 +00:00
Tracker-Friendly 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
Tracker-Friendly 3fe89adee8 Fixed gitignore again
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-10-29 14:37:04 +00:00
Tracker-Friendly 9ec38c34b6 Fixed gitignore, fixed a font file being missing
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-10-29 14:36:44 +00:00
Tracker-Friendly 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
Tracker-Friendly d6adc1c775 Added compression support, made all fetches use jsFetch for improved binary sizes
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-10-29 11:20:01 +00:00
Tracker-Friendly 5910a61f19 Tidied up the CSS files, made the delete account button red
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-10-27 15:50:18 +00:00
Tracker-Friendly 28003d7093 Fixed up dark mode, added placeholders for the dashboard inputs
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-10-27 15:29:21 +00:00
Tracker-Friendly 88bde3f592 fix the custom server header
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-10-24 19:41:37 +01:00
Tracker-Friendly dfe1fdf6f0 Use a custom server header
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-10-24 19:39:45 +01:00
Tracker-Friendly 4fc99aeb42 Add support for static files
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-10-24 19:27:25 +01:00
Tracker-Friendly 6f0bdb66db Fixed the body revealing transitions, removed broken font files
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-10-23 19:13:35 +01:00
Tracker-Friendly eff9f20fb3 Fixed the broken signup.html
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-10-22 20:31:09 +01:00
Tracker-Friendly 6e33618a75 Fixed mobile mode
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-10-22 20:27:45 +01:00
Tracker-Friendly af693051fa Delete the now unused backgrounds
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-10-22 20:24:09 +01:00
Tracker-Friendly 13b91d9916 Rename config.json, removed some accidental third-party modules that slipped in there
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-10-22 20:22:25 +01:00
Tracker-Friendly 93a984b951 Add some much-needed eye-candy :D
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-10-22 20:20:46 +01:00
Tracker-Friendly 6eb9e76316 Try to fix subdomain architecture
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-10-20 19:51:16 +01:00
Tracker-Friendly 5ebb572251 Switched to the CGO sqlite driver to fix an out of memory bug
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-10-20 18:39:20 +01:00
Tracker-Friendly 5b2d21825c Update storeFile to be able to remove the older file from the database when writing new information to it
Signed-off-by: arzumify <jliwin98@danwin1210.de>
2024-10-20 09:31:59 +01:00
Tracker-Friendly 36bdc178f2 Add functions for getting the quota and used for a user
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
2024-10-18 17:52:01 +01:00
Tracker-Friendly 5aa3082315 Updated fulgens library and used a better files api for blob storage
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
2024-10-16 18:05:52 +01:00
Tracker-Friendly 8943808264 Disable CORS again...
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
2024-10-15 20:13:38 +01:00
Tracker-Friendly 7a9af4ae67 Specify the CORS headers because it needs that for some reason on some browsers (god I hate CORS)
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
2024-10-15 20:12:11 +01:00
Tracker-Friendly 20aa69b26d Only disable CORS for the ones which need CORS disabled
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
2024-10-15 19:45:55 +01:00
Tracker-Friendly 8a994bb127 Uhh, I think I did the pattern wrong. I guess someone did get CORS.
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
2024-10-15 19:42:09 +01:00
Tracker-Friendly 343a0b0eb7 Disable even more CORS! Nobody gets CORS!
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
2024-10-15 19:40:58 +01:00
Tracker-Friendly b1e06cf673 Disable CORS
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
2024-10-15 19:39:16 +01:00
Tracker-Friendly 5492212611 Attempt yet another method of activating services
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
2024-10-15 19:17:29 +01:00
Tracker-Friendly 44a584e34d Updated fulgens library
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
2024-10-15 19:08:16 +01:00
Tracker-Friendly 02372cb9ed Moved to the v2 version of the fulgens library
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
2024-10-15 19:06:05 +01:00
Tracker-Friendly 518232d853 I forgot to mount the thing
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
2024-10-15 18:46:04 +01:00
Tracker-Friendly 673366f2c5 Remove accidental log 2024-10-15 18:34:59 +01:00
Tracker-Friendly 660d784fba Update gitignore to not replace my config 2024-10-15 18:34:47 +01:00
Tracker-Friendly eb4b07840e Try to fix subdomains (2/2)
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
2024-10-15 18:33:45 +01:00
Tracker-Friendly c4dae7ac03 Try to fix subdomains
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
2024-10-15 18:29:16 +01:00
Tracker-Friendly 1d445cb61b Made renderX provide content types to not make forgejo complain
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
2024-10-14 13:10:51 +01:00
Tracker-Friendly f4ee272865 Fixed duplicate created entry
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
2024-10-14 12:31:14 +01:00
Tracker-Friendly 58838f51ad Made the postgres connection be tested before opening, fixed the postgres create new users table
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
2024-10-14 12:23:33 +01:00
Tracker-Friendly 4fe28255fe Updated packages, removed unneeded double-check, switched over to RFC-2024-0008 as the authentication protocol, updated fulgens library, fixed broken quotas, fixed a broken JSON validator
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
2024-10-13 19:20:19 +01:00
Tracker-Friendly 5b6c547b9a Removed unneccesary deferrations
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
2024-10-05 10:22:42 +01:00
Tracker-Friendly 06596de49f Updated /x/net
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
2024-10-04 19:48:35 +01:00
Tracker-Friendly 1290b10774 Merged activatedServices and services, removed uses of fmt
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
2024-10-04 19:37:05 +01:00
Tracker-Friendly c3ffab9296 Fixed config.json
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
2024-10-04 18:31:42 +01:00
Tracker-Friendly 018cb6e74b Made the nucleus apps not have any special loading process over others except from loading first, fixed clientKeyShare interpreting the token wrongly
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
2024-10-04 18:30:17 +01:00
Tracker-Friendly 7c47df8587 Updated fg-library and ailur-pow to a tagged version
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
2024-10-04 17:43:40 +01:00
Tracker-Friendly d0c02e3729 Updated all modules and moved the authLibrary to a seperated library to prevent versioning issues
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
2024-10-04 17:33:00 +01:00
Tracker-Friendly ef0b04c55b Updated the auth module and fixed it's incorrect module path
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
2024-10-04 17:05:30 +01:00