More compact and sane template with less wording.
This commit is contained in:
parent
e09203ae6d
commit
71c6aae91d
@ -7,10 +7,8 @@ block body
|
|||||||
:go:func Index(mainSite string, storageCapacity, storageUsed int64, keepForHours int, fileMaxSize, storageUsedStr, storageCapacityStr, storageAvailableStr string)
|
:go:func Index(mainSite string, storageCapacity, storageUsed int64, keepForHours int, fileMaxSize, storageUsedStr, storageCapacityStr, storageAvailableStr string)
|
||||||
section#rules.center
|
section#rules.center
|
||||||
h2 Rules
|
h2 Rules
|
||||||
ul
|
p Maximum file size is #{fileMaxSize} and it will be kept for #{keepForHours} hours.
|
||||||
li Max. file size is #{fileMaxSize}.
|
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.
|
||||||
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.
|
|
||||||
section#used-space.center
|
section#used-space.center
|
||||||
h2 Free space
|
h2 Free space
|
||||||
div
|
div
|
||||||
@ -27,8 +25,7 @@ block body
|
|||||||
section.center
|
section.center
|
||||||
p You can use cURL to upload a file: #[code curl -F 'file=@somefile.ext' https://upload.arav.su]
|
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 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 A resulted link looks like this: #[code /f/base64rawURL(salted SHA-256)/filename.ext].
|
||||||
p filename.ext is mandatory. It is a name the file will be retrieved with.
|
|
||||||
section.center
|
section.center
|
||||||
h2 Delete
|
h2 Delete
|
||||||
form(action="/delete" method="POST")
|
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>]
|
p Over I2P: #[code curl --proxy 127.0.0.1:4444 -XDELETE http://upload.arav.i2p/<hash>]
|
||||||
section
|
section
|
||||||
h2 Privacy statements
|
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 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 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 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.
|
||||||
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.
|
|
Loading…
Reference in New Issue
Block a user