From 1422e24f056147ca2d962935c7c11726ad7f7c0b Mon Sep 17 00:00:00 2001 From: Fornax Date: Tue, 28 May 2024 13:37:17 +0200 Subject: [PATCH] Add account banning policy message --- svelte/src/admin_panel/AbuseReports.svelte | 2 +- svelte/src/home_page/HomePage.svelte | 4 +- svelte/src/home_page/PolicyChange.svelte | 63 ++++++++++++++++++++++ 3 files changed, 67 insertions(+), 2 deletions(-) create mode 100644 svelte/src/home_page/PolicyChange.svelte diff --git a/svelte/src/admin_panel/AbuseReports.svelte b/svelte/src/admin_panel/AbuseReports.svelte index 40fa18b..b73f825 100644 --- a/svelte/src/admin_panel/AbuseReports.svelte +++ b/svelte/src/admin_panel/AbuseReports.svelte @@ -183,7 +183,7 @@ onMount(() => { - {#each reports as report (report.id)} + {#each reports.slice(0, 100) as report (report.id)}
+
- +
diff --git a/svelte/src/home_page/PolicyChange.svelte b/svelte/src/home_page/PolicyChange.svelte new file mode 100644 index 0000000..90e1ea6 --- /dev/null +++ b/svelte/src/home_page/PolicyChange.svelte @@ -0,0 +1,63 @@ + + +
+ +
+ Important policy change! Click to expand +
+

+ Sometime this summer pixeldrain will start requiring you to be + logged in to an account in order to upload new files. This is + necessary due to the large amount of regional blockings that have + been implemented against pixeldrain recently. +

+

+ None of the countries that have blocked pixeldrain have specified a + valid reason, nor have I been able to contact them to ask what's + going on. But I can only guess that it has something to do with + abusive content being uploaded. Pixeldrain currently uses an IP + address banning system for restricting uploads from users who have + violated the content policy, but at the scale the site operates at + now that has proven to not be effective anymore. For that reason + pixeldrain will be switching to an account ban system. +

+

+ The account ban system will restrict file uploads to your account + for a certain amount of time which depends on the type of the + offence. Serious violations might get your account banned for up to + a year, minor violations maybe a day or a week per file. It will + depend on the amount of abuse that slips through. Once the account + ban system is activated the IP ban system will be disabled. +

+

+ Account banning is only effective if there is some system in place + to prevent the automated creation of accounts. There is already a + CAPTCHA in place on the registration page. I might start requiring + e-mail addresses for new accounts as well. The lack of an e-mail + address requirement has caused many issues with lost accounts as + well, so it had to happen anyway. I will also be looking into + integrating with OAuth providers (Google, Microsoft, Facebook, + Patreon, etc) to make the login flow simpler for newcomers. +

+

+ After the site has been cleaned up it might take a long time before + all the regional blocking issues are resolved. Because of that I + will be adding alternative domain names for premium subscribers to + use. Most of the blocks are only on DNS level, which means they can + be circumvented by using a different domain name. +

+
+
+ +