Commit Graph

43 Commits

Author SHA1 Message Date
Holly Stubbs 58f5afdfcb Support static mode and 404 override 2024-06-12 13:11:47 +01:00
Holly Stubbs 520b2ca3ad
Cache Database requests & decode uri better 2023-07-23 00:10:39 +01:00
Holly Stubbs f32396565b (finally) remove Feature-Policy 2022-11-14 10:35:29 +00:00
Holly Stubbs aa15a0bd95 Various changes to improve speed, reliability and code quality 2022-11-14 10:32:06 +00:00
Holly Stubbs 7f8ea1f843
whoops 2022-04-23 12:11:31 +01:00
Holly Stubbs 58aa2f6b47
update EUS to support the new Revolution node module checks and auto installer 2022-01-07 13:25:25 +00:00
Holly Stubbs 20d789f2e6
Fix filename fetching in line with busboy changes 2022-01-07 06:17:20 +00:00
Holly Stubbs 3a3fee6283
Add "(APIReq)" to API requests to make them easier to see in logs 2022-01-07 04:54:39 +00:00
Holly Stubbs bfe6676867
database shite 2021-12-11 06:24:35 +00:00
tgpethan df9d3fbd09 Asyncify 2021-03-16 18:48:55 +00:00
tgpethan f1c5019b07 Update EUS.js 2021-03-11 19:26:42 +00:00
tgpethan 8bbb2de40f Add Permissions-Policy 2021-02-21 02:52:47 +00:00
tgpethan 0502cba51d Stop stats api cache from halting 2020-10-16 16:14:25 +01:00
Ethan Stubbs 3761f911e3 Add Cache for Space Usage and File Totals 2020-10-15 07:18:07 +01:00
Ethan Stubbs 5de469b621 I have no idea how this didn't break 2020-07-13 06:58:40 +01:00
tgpethan 2ffaa4aacc Literally add a single comment 2020-07-09 00:38:33 +01:00
tgpethan 378438e4aa Move time getting to correct place 2020-07-09 00:37:28 +01:00
tgpethan ee896da2aa Remove a now unneeded calculation 2020-07-09 00:36:13 +01:00
tgpethan 37ff8c5d6e Add total disk space to space api 2020-07-09 00:13:28 +01:00
tgpethan 3ae2a87303 Add console logging to api endpoints + all endpoints page 2020-06-15 12:46:19 +01:00
tgpethan cca2ed6991 Remove lexical declaration from cases 2020-06-15 12:10:06 +01:00
tgpethan 4db94ce6c3 General code sanity 2020-06-15 12:04:17 +01:00
tgpethan 919bfd9993 Remove unnecessary semicolon 2020-06-15 11:48:03 +01:00
tgpethan 828f53a8d1 Change some other function to sync alternatives & put a / in the exists 2020-06-15 08:30:16 +01:00
tgpethan 076128d7f2 Startup fixes 2020-06-15 08:16:30 +01:00
tgpethan 1debf8dffa Use header instead of query 2020-05-21 16:00:22 +01:00
tgpethan 81047289b8 Add an uploadKey 2020-05-21 15:23:57 +01:00
tgpethan 1f92991bfc Add config checks 2020-05-21 15:10:43 +01:00
tgpethan 690fdad2fc Make handling the api more sensible 2020-05-21 13:15:39 +01:00
tgpethan 6b1acf059d Add headers to EUS.js 2020-05-05 17:40:37 +01:00
tgpethan e23dde6a98 Fix using req instead of res
How did I miss this?
2020-03-30 11:52:44 +01:00
tgpethan b7bed2957b Code formating and comments 2020-03-26 15:58:25 +00:00
tgpethan b72a94f733 Clean up API / Request handler 2020-03-26 15:40:38 +00:00
tgpethan 3c287f0579 Merge branch 'master' of https://github.com/tgpethan/EUS 2020-02-21 00:32:55 +00:00
tgpethan a2f0a6fa6e Add get-info api endpoint 2020-02-21 00:32:52 +00:00
tgpethan 891adcd4a9 Make the api return mb and gb values as well as a string for the space used 2020-02-20 23:54:31 +00:00
tgpethan 38d532d58c Add a total files counter 2020-02-20 07:45:42 +00:00
tgpethan 2fe9efd36a oops 2020-02-20 07:42:46 +00:00
tgpethan 9e23c68204 Add api endpoint for status 2020-02-20 07:41:04 +00:00
tgpethan e5ffe4a8a1 Add back ESL remote check and fix index errors
ESL is a status logger for EUS and I didn't notice when we moved from the old PHP version to the new Revolution version that I neglected to include the check for it, so that was missing for months and months.

Also that index fix is that req.url returns a "/" when you go to index but has no file in the url. Express understands it but fs.access let it through so Express was printing an error to the console which looked a bit ugly and was a bug so I fixed it here too.
2020-01-09 19:55:09 +00:00
tgpethan 7e4e9a4fee Add comments to EUS.js 2020-01-04 10:44:20 +00:00
tgpethan 3ff159935d Remove Hardcoded values (update README.md to reflect) and add moer comments 2019-12-22 07:51:04 +00:00
tgpethan 819ccad51e Push new stuff 2019-11-23 21:02:50 +00:00