mirror of
https://github.com/jackeilles/xygt.git
synced 2024-11-27 17:22:40 +01:00
a few more pages done
This commit is contained in:
parent
888fbacb86
commit
daaea56ed8
7 changed files with 75 additions and 18 deletions
|
@ -106,7 +106,7 @@ def about():
|
||||||
|
|
||||||
@app.route('/tos')
|
@app.route('/tos')
|
||||||
def tos():
|
def tos():
|
||||||
return "placeholder"
|
return render_template('tos.html')
|
||||||
|
|
||||||
@app.route('/privacy')
|
@app.route('/privacy')
|
||||||
def privacy():
|
def privacy():
|
||||||
|
@ -118,7 +118,7 @@ def faq():
|
||||||
|
|
||||||
@app.route('/contact')
|
@app.route('/contact')
|
||||||
def contact():
|
def contact():
|
||||||
return "placeholder"
|
return render_template('contact.html')
|
||||||
|
|
||||||
@app.route('/transparency')
|
@app.route('/transparency')
|
||||||
def transparency():
|
def transparency():
|
||||||
|
|
|
@ -5,7 +5,7 @@ body {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul li {
|
.nav-item {
|
||||||
display: inline;
|
display: inline;
|
||||||
margin: 0 10px;
|
margin: 0 10px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,15 +8,15 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="{{ url_for('index') }}">Home</a></li>
|
<li class="nav-item"><a href="{{ url_for('index') }}">Home</a></li>
|
||||||
<li><a href="{{ url_for('about') }}">About</a></li>
|
<li class="nav-item"><a href="{{ url_for('about') }}">About</a></li>
|
||||||
<li><a href="{{ url_for('faq') }}">FAQ</a></li>
|
<li class="nav-item"><a href="{{ url_for('faq') }}">FAQ</a></li>
|
||||||
<li><a href="{{ url_for('contact') }}">Contact</a></li>
|
<li class="nav-item"><a href="{{ url_for('contact') }}">Contact</a></li>
|
||||||
{% if current_user.is_authenticated %}
|
{% if current_user.is_authenticated %}
|
||||||
<li><a href="{{ url_for('logout') }}">Logout</a></li>
|
<li class="nav-item"><a href="{{ url_for('logout') }}">Logout</a></li>
|
||||||
{% else %}
|
{% else %}
|
||||||
<li><a href="{{ url_for('login') }}">Login</a></li>
|
<li class="nav-item"><a href="{{ url_for('login') }}">Login</a></li>
|
||||||
<li><a href="{{ url_for('register') }}">Register</a></li>
|
<li class="nav-item"><a href="{{ url_for('register') }}">Register</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
7
app/templates/contact.html
Normal file
7
app/templates/contact.html
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{% extends "base.html" %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<h2>Contact</h2>
|
||||||
|
<p>For any and all enquiries, you can contact me on the E-Mail below;</p>
|
||||||
|
<a href="mailto:jack@eilles.xyz">jack@eilles.xyz</a>
|
||||||
|
{% endblock %}
|
|
@ -1,18 +1,33 @@
|
||||||
{% extends 'base.html' %}
|
{% extends 'base.html' %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>FAQ</h1>
|
<h1>FAQ</h1>
|
||||||
<h3>What is this?</h3>
|
<h3 id="what">What is this?</h3>
|
||||||
<p>Check <a href="about">about</a>.</p>
|
<p>Check <a href="about">about</a>.</p>
|
||||||
<h3>Who are you?</h3>
|
<h3 id="who">Who are you?</h3>
|
||||||
<p>I'm Jack Eilles, the owner, developer and overall <a href="https://en.wikipedia.org/wiki/Benevolent_dictator_for_life">BDFL</a> of xygt.cc</p>
|
<p>I'm Jack Eilles, the owner, developer and overall <a href="https://en.wikipedia.org/wiki/Benevolent_dictator_for_life">BDFL</a> of xygt.cc</p>
|
||||||
<h3>Help! I forgot my password!</h3>
|
<h3 id="perks">What do you mean by "Donation perks"?</h3>
|
||||||
|
<p>So to show appreciation to those who donate to xygt.cc, there are a few extra things they can take advantage of.</p>
|
||||||
|
<p>These include an increased retention time (365 days to 730 days), as well as an increased file size (256mb to 512mb).</p>
|
||||||
|
<p>Not gonna lie, don't know what you'd use these for but, have fun I guess? Obviously to use these, your userID and IDPass need to be added to your request, the server isn't magic.</p>
|
||||||
|
<h3 id="password">Help! I forgot my password!</h3>
|
||||||
<p>If you can't find your IDPass, check your <a href="dashboard">dashboard</a>. You can reset it from there.</p>
|
<p>If you can't find your IDPass, check your <a href="dashboard">dashboard</a>. You can reset it from there.</p>
|
||||||
<p>If you can't remember your regular password for the site, you're on your own. Glhf.</p>
|
<p>If you can't remember your regular password for the site, you're on your own. Glhf.</p>
|
||||||
<h3>What is this licensed under?</h3>
|
<h3 id="fuckcurljkjk">Why are the CURL commands so complicated?</h3>
|
||||||
|
<p>Thats just how CURL commands are, I'm going to write a helper tool for this at some point, let you store your userID and IDPass so you don't have to type it in every request.</p>
|
||||||
|
<h3 id="flags">What are the flags I can use?</h3>
|
||||||
|
<ul>
|
||||||
|
<li>file / url - These specify the data to be passed onto xygt.cc, either file data or a URL to be shortened. This is the only required field.</li>
|
||||||
|
<li>retention - You can specify a custom retention time in seconds, as long as its less than the calculated time for your file, if not then it'll use the default.</li>
|
||||||
|
<li>userid - This is your optional userid, it lets you link an upload to your account.</li>
|
||||||
|
<li>idpass - This allows you to use your userid, required if userid is present.</li>
|
||||||
|
</ul>
|
||||||
|
<h3 id="license">What is this licensed under?</h3>
|
||||||
<p>I decided to put it under the MIT License as it provides the most freedom.</p>
|
<p>I decided to put it under the MIT License as it provides the most freedom.</p>
|
||||||
<h3>Do you work with the government?</h3>
|
<h3 id="free">Why is this free?</h3>
|
||||||
<p>In the unlikely event that xygt.cc is given a request for information, we will provide as much information as possible without directly identifying the person behind the data requested.</p>
|
<p>I want to help out, to put it simply. As well as that, it's fun to work on, yeah I might be losing a bit of money yearly but oh well, if it's going towards something I enjoy doing, can it really be thought of as 'losing money'? I think not.</p>
|
||||||
|
<h3 id="gov">Do you work with the government?</h3>
|
||||||
|
<p>In the unlikely event that xygt.cc is served with a request for information, we will provide as much information as possible without directly identifying the person behind the data requested.</p>
|
||||||
<p>Due to the nature of xygt.cc's privacy policy, we will not provide any extra information about our users unless we are served with a legal order enforcable within its juristiction. In that case, extra logging will be enabled sitewide to collect data.</p>
|
<p>Due to the nature of xygt.cc's privacy policy, we will not provide any extra information about our users unless we are served with a legal order enforcable within its juristiction. In that case, extra logging will be enabled sitewide to collect data.</p>
|
||||||
<p>I encourage anyone to submit a request via E-Mail to me to take down any illegal activity being conducted on this site, just know I may not be able to provide all information required without a legal order.</p>
|
<p>I encourage anyone to submit a request via E-Mail to me to take down any illegal activity being conducted on this site, just know I may not be able to provide all information required without a legal order.</p>
|
||||||
<p>Per GDPR / UK DPA, I am willing to respond to FOI requests, as well as the orders mentioned above. All requests will be publicly available @ <a href="transparency/public">here</a> with sensitive information omitted.</p>
|
<p>Per GDPR / UK DPA, I am willing to respond to FOI requests, as well as the orders mentioned above. All requests will be publicly available @ <a href="transparency/public">this directory</a> with sensitive information omitted.</p>
|
||||||
{% endblock %}
|
{% endblock %}
|
30
app/templates/tos.html
Normal file
30
app/templates/tos.html
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
{% extends "base.html" %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<h1>Terms of Service</h1>
|
||||||
|
<p><i>Last updated 29/12/23 - 21:00 GMT</i></p>
|
||||||
|
<h3>Don't sue me.</h3>
|
||||||
|
<p>xygt.cc is provided as is with no warranty, express or implied. We are not under any legal obligation to keep up the service we provide, or keep the service consistent. So in laymans terms, don't sue me over this shit.</p>
|
||||||
|
<br>
|
||||||
|
<h4>Acceptable usage of xygt.cc</h4>
|
||||||
|
<p>xygt.cc is not a place for:</p>
|
||||||
|
<ul>
|
||||||
|
<li>Pornography</li>
|
||||||
|
<li>Piracy</li>
|
||||||
|
<li>Illicit Material</li>
|
||||||
|
<li>Extremist material of any nature</li>
|
||||||
|
<li>Malware / Botnet Command and Control</li>
|
||||||
|
<li>Crypto stuff (just don't man)</li>
|
||||||
|
<li>Backups (I must reiterate, TEMPORARY FILE HOSTING!)</li>
|
||||||
|
<li>Database dumps</li>
|
||||||
|
<li>Leaked data dumps</li>
|
||||||
|
<li>Anything illegal under United Kingdom and German Law.</li>
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
|
<p>Uploads that are found to be in violation of these rules will be immediately removed.</p>
|
||||||
|
<p>A large influx of these types of requests will force me to enable extended logging (IP Logs), users will be given 1 (one) days notice before this is turned on, along with an exact date and time of activation.</p>
|
||||||
|
<br>
|
||||||
|
<h4>Privacy Policy</h4>
|
||||||
|
<p>A plain english Privacy Policy can be found <a href="privacy">here</a>. This details what information about you is stored and how it is used.</p>
|
||||||
|
<p>By using xygt.cc, you agree to both the Terms of Service as well as the Privacy Policy.</p>
|
||||||
|
{% endblock %}
|
|
@ -29,8 +29,13 @@ quotes = {
|
||||||
|
|
||||||
disallowedMimeTypes = [
|
disallowedMimeTypes = [
|
||||||
"application/x-dosexec",
|
"application/x-dosexec",
|
||||||
|
"application/x-executable",
|
||||||
|
"application/x-sharedlib",
|
||||||
|
"application/x-hdf5",
|
||||||
"application/java-archive",
|
"application/java-archive",
|
||||||
"application/java-vm"
|
"application/vnd.android.package-archive",
|
||||||
|
"application/x-rar",
|
||||||
|
"application.vnd.microsoft.portable-executable",
|
||||||
]
|
]
|
||||||
|
|
||||||
class Errors:
|
class Errors:
|
||||||
|
|
Loading…
Reference in a new issue