diff --git a/app/routes.py b/app/routes.py index 882a80e..74a7026 100644 --- a/app/routes.py +++ b/app/routes.py @@ -106,7 +106,7 @@ def about(): @app.route('/tos') def tos(): - return "placeholder" + return render_template('tos.html') @app.route('/privacy') def privacy(): @@ -118,7 +118,7 @@ def faq(): @app.route('/contact') def contact(): - return "placeholder" + return render_template('contact.html') @app.route('/transparency') def transparency(): diff --git a/app/static/css/style.css b/app/static/css/style.css index 4845c7f..8aa08b5 100644 --- a/app/static/css/style.css +++ b/app/static/css/style.css @@ -5,7 +5,7 @@ body { font-size: 16px; } -ul li { +.nav-item { display: inline; margin: 0 10px; } diff --git a/app/templates/base.html b/app/templates/base.html index 30a65f3..f60fbe0 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -8,15 +8,15 @@
diff --git a/app/templates/contact.html b/app/templates/contact.html new file mode 100644 index 0000000..b852af2 --- /dev/null +++ b/app/templates/contact.html @@ -0,0 +1,7 @@ +{% extends "base.html" %} + +{% block content %} +

Contact

+

For any and all enquiries, you can contact me on the E-Mail below;

+ jack@eilles.xyz +{% endblock %} \ No newline at end of file diff --git a/app/templates/faq.html b/app/templates/faq.html index 8c4e4fc..7866be3 100644 --- a/app/templates/faq.html +++ b/app/templates/faq.html @@ -1,18 +1,33 @@ {% extends 'base.html' %} {% block content %}

FAQ

-

What is this?

+

What is this?

Check about.

-

Who are you?

+

Who are you?

I'm Jack Eilles, the owner, developer and overall BDFL of xygt.cc

-

Help! I forgot my password!

+

What do you mean by "Donation perks"?

+

So to show appreciation to those who donate to xygt.cc, there are a few extra things they can take advantage of.

+

These include an increased retention time (365 days to 730 days), as well as an increased file size (256mb to 512mb).

+

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.

+

Help! I forgot my password!

If you can't find your IDPass, check your dashboard. You can reset it from there.

If you can't remember your regular password for the site, you're on your own. Glhf.

-

What is this licensed under?

+

Why are the CURL commands so complicated?

+

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.

+

What are the flags I can use?

+ +

What is this licensed under?

I decided to put it under the MIT License as it provides the most freedom.

-

Do you work with the government?

-

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.

+

Why is this free?

+

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.

+

Do you work with the government?

+

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.

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.

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.

-

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 @ here with sensitive information omitted.

+

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 @ this directory with sensitive information omitted.

{% endblock %} \ No newline at end of file diff --git a/app/templates/tos.html b/app/templates/tos.html new file mode 100644 index 0000000..059e4b7 --- /dev/null +++ b/app/templates/tos.html @@ -0,0 +1,30 @@ +{% extends "base.html" %} + +{% block content %} +

Terms of Service

+

Last updated 29/12/23 - 21:00 GMT

+

Don't sue me.

+

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.

+
+

Acceptable usage of xygt.cc

+

xygt.cc is not a place for:

+ +
+

Uploads that are found to be in violation of these rules will be immediately removed.

+

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.

+
+

Privacy Policy

+

A plain english Privacy Policy can be found here. This details what information about you is stored and how it is used.

+

By using xygt.cc, you agree to both the Terms of Service as well as the Privacy Policy.

+{% endblock %} \ No newline at end of file diff --git a/config.py b/config.py index b70c160..13860da 100644 --- a/config.py +++ b/config.py @@ -29,8 +29,13 @@ quotes = { disallowedMimeTypes = [ "application/x-dosexec", + "application/x-executable", + "application/x-sharedlib", + "application/x-hdf5", "application/java-archive", - "application/java-vm" + "application/vnd.android.package-archive", + "application/x-rar", + "application.vnd.microsoft.portable-executable", ] class Errors: