1
0

More compact and sane template with less wording.

This commit is contained in:
Alexander Andreev 2023-03-12 00:36:46 +04:00
parent e09203ae6d
commit 71c6aae91d
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -7,10 +7,8 @@ block body
:go:func Index(mainSite string, storageCapacity, storageUsed int64, keepForHours int, fileMaxSize, storageUsedStr, storageCapacityStr, storageAvailableStr string)
section#rules.center
h2 Rules
ul
li Max. file size is #{fileMaxSize}.
li It will be kept for #{keepForHours} hours.
li Anything you upload should comply with Russian Federation's law. Generally speaking, anything illegal, like CP, extremist literature etc., is forbidden.
p Maximum file size is #{fileMaxSize} and it will be kept for #{keepForHours} hours.
p Content you upload should comply with with Russian Federation's law. Generally speaking, anything illegal, like CP, extremist literature, and so on is forbidden.
section#used-space.center
h2 Free space
div
@ -27,8 +25,7 @@ block body
section.center
p You can use cURL to upload a file: #[code curl -F 'file=@somefile.ext' https://upload.arav.su]
p Over I2P: #[code curl --proxy 127.0.0.1:4444 -F 'file=@somefile.ext' http://upload.arav.i2p]
p A resulted link looks like this: #[code /f/base64rawURL(sha256)/filename.ext].
p filename.ext is mandatory. It is a name the file will be retrieved with.
p A resulted link looks like this: #[code /f/base64rawURL(salted SHA-256)/filename.ext].
section.center
h2 Delete
form(action="/delete" method="POST")
@ -39,7 +36,5 @@ block body
p Over I2P: #[code curl --proxy 127.0.0.1:4444 -XDELETE http://upload.arav.i2p/<hash>]
section
h2 Privacy statements
p I WILL cooperate with law enforcements and provide them with logs, guess I shouldn't clarify why. Abuses should be sent to #[a(href="mailto:admin@arav.su") admin@arav.su].
p Upload logs include: access time, IP-address, name of a file it was uploaded with, a SHA-256 hash of the file, download name*, size of the file in bytes, User-Agent.
p Each download and deletion are also being logged and include: access time, IP-address, name of a file it was requested with, download name*, User-Agent.
p *Download name is a salted SHA-256 hash of the file encoded using base64 raw URL encoding. The hash is being salted to make useless any attempt of bruteforcing.
p Any abuses should be sent to #[a(href="mailto:admin@arav.su") admin@arav.su]. I WILL cooperate with law enforcements and provide them with logs.
p Logs include: access time, IP-address, file name it was uploaded/downloaded with, a SHA-256 hash of it, size of it, and User-Agent.