1
0
Fork 0
File upload service tied to Linux that uses no RDBMS but file system. https://upload.arav.su
Go to file
Alexander Andreev 114d3cc931
Oh, with ioutil.ReadDir subtracting of 4096 isn't needed.
2023-05-26 22:41:48 +04:00
build Patch version part was incremented. 2023-05-26 13:01:49 +04:00
cmd ParseAddrPort replaced with ParseAddr. Removed !ap.IsValid() since it is already done in ParseAddr. Also there is no need to additionally check if an address is IPv6. If address is neither v4 or v6, then ParseAddr will return an error. 2023-05-26 17:25:36 +04:00
configs Added copytruncate to truncate a file instead of recreating. Removed script to send SIGHUP since it is not used anymore. 2023-05-25 02:27:03 +04:00
init/systemd Fixed a typo in upload dir path. 2023-05-26 12:49:18 +04:00
internal/http Saved 2 lines by deferring each of two calls instead of wrapping in an anonymous func. 2023-05-26 22:17:03 +04:00
pkg Oh, with ioutil.ReadDir subtracting of 4096 isn't needed. 2023-05-26 22:41:48 +04:00
tools Found that daemon-reload needs to be called when manually edit such files. 2023-05-25 00:57:36 +04:00
web Removed go:generate for error404.jade. 2023-05-26 04:40:58 +04:00
.gitignore jade.go is being automatically generated, so no need to keep it. Also removed unneeded flags from go:generate in web.go. 2023-05-24 22:28:36 +04:00
LICENSE Version up to 23.8.0. Changed arav.top to arav.su. Fixed templates. Deleted pre-compiled ones. 2023-02-23 18:16:06 +04:00
LICENSE.RobotoCondensed.txt Moved licenses for fonts off to root. They aren't needed to be in there. And it will save 16 KiB. 2022-03-29 18:02:33 +04:00
LICENSE.ShareTechMono.txt Renamed file of a license for ShareTechMono font. 2023-04-24 00:44:39 +04:00
Makefile Patch version part was incremented. 2023-05-26 13:01:49 +04:00
go.mod julienschmidt/httprouter was removed and my httpr added to go.mod and go.sum. 2023-05-26 04:31:05 +04:00
go.sum julienschmidt/httprouter was removed and my httpr added to go.mod and go.sum. 2023-05-26 04:31:05 +04:00