Commit graph

20 commits

Author SHA1 Message Date
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