From 0bfe10261e79797ae22a2e5919c437f460886128 Mon Sep 17 00:00:00 2001
From: Wim Brand
Date: Tue, 4 Feb 2025 00:32:23 +0100
Subject: [PATCH] =?UTF-8?q?Drop=20data=20transfer=20price=20to=20=E2=82=AC?=
=?UTF-8?q?1=20per=20TB?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
res/include/md/filesystem.md | 12 ++++++------
res/include/md/limits.md | 2 +-
svelte/src/file_viewer/EmbedWindow.svelte | 2 +-
svelte/src/file_viewer/viewers/RateLimit.svelte | 6 +++---
svelte/src/home_page/FeatureTable.svelte | 11 ++++++-----
svelte/src/home_page/ForCreators.svelte | 2 +-
svelte/src/home_page/HomePage.svelte | 2 +-
svelte/src/user_home/BandwidthSharing.svelte | 6 +++---
svelte/src/user_home/DepositCredit.svelte | 2 +-
svelte/src/user_home/EmbeddingControls.svelte | 6 +++---
svelte/src/user_home/PageBranding.svelte | 6 +++---
svelte/src/user_home/Router.svelte | 2 +-
svelte/src/user_home/Subscription.svelte | 4 ++--
13 files changed, 32 insertions(+), 31 deletions(-)
diff --git a/res/include/md/filesystem.md b/res/include/md/filesystem.md
index 6014d7b..f334063 100644
--- a/res/include/md/filesystem.md
+++ b/res/include/md/filesystem.md
@@ -27,10 +27,10 @@ page because it's calculated differently from the other plans, but it is there.
For Prepaid plans the storage is charged at €4 per TB per month. You can view
your usage in the [transaction log](/user/prepaid/transactions).
-Downloads from the filesystem are charged at €2 / TB for prepaid. With Patreon
-plans there's a monthly limit. If you turn bandwidth sharing off in the account
-settings then other people will use the daily download limit. Otherwise they
-will use your account's transfer limit.
+Downloads from the filesystem are charged at €1 / TB for prepaid. With Patreon
+plans there's a monthly limit. If you turn hotlinking off in the account
+settings then other people will use their own daily download limit. Otherwise
+they will use your account's transfer limit.
## Free download limit
@@ -42,8 +42,8 @@ speed is limited to 1 MiB/s like usual.
If you want to embed pixeldrain files on your own website, distribute direct
download links or share files that are larger than the download limit then you
-should turn the 'Bandwidth sharing' option on. Otherwise people will have
-trouble downloading your files.
+should turn the 'Hotlinking' option on. Otherwise people will have trouble
+downloading your files.
## Directory sharing
diff --git a/res/include/md/limits.md b/res/include/md/limits.md
index 9e1cc5b..0f80862 100644
--- a/res/include/md/limits.md
+++ b/res/include/md/limits.md
@@ -12,7 +12,7 @@ place on pixeldrain.
| File size | 10 GB | 10 GB | 20 GB | 20 GB |
| File downloads | 1000 / day | Unlimited | Unlimited | Unlimited |
| Free data transfer | 100 GB / day | Unlimited | Unlimited | Unlimited |
-| Premium data transfer | No | 10 GB / month | 1 TB / month | Unlimited (€2 / TB) |
+| Premium data transfer | No | 10 GB / month | 1 TB / month | Unlimited (€1 / TB) |
| Video streaming | No | Within data cap | Yes | Yes |
| Ad-free file viewing | No | No | Yes | Yes |
| File viewer branding | No | No | From €8/month | Yes |
diff --git a/svelte/src/file_viewer/EmbedWindow.svelte b/svelte/src/file_viewer/EmbedWindow.svelte
index 24d7ef7..1e6d28e 100644
--- a/svelte/src/file_viewer/EmbedWindow.svelte
+++ b/svelte/src/file_viewer/EmbedWindow.svelte
@@ -120,7 +120,7 @@ const update_example = () => {
The hotlink embed option only works for single files uploaded with a
Pro account. You can use this to directly embed a video player,
audio player, photo element or a download button in your site. Make
- sure you have bandwidth sharing enabled on your
+ sure you have hotlinking enabled on your
sharing settings page or the
embed will not work.
diff --git a/svelte/src/file_viewer/viewers/RateLimit.svelte b/svelte/src/file_viewer/viewers/RateLimit.svelte
index 17d5d00..b67d4bd 100644
--- a/svelte/src/file_viewer/viewers/RateLimit.svelte
+++ b/svelte/src/file_viewer/viewers/RateLimit.svelte
@@ -53,9 +53,9 @@ let file = {
premium account
or when the uploader of the file enables
- bandwidth sharing on their Pro account
- (and their data cap has not been used up). Using a download manager with
- a Pro account is allowed, it will not trigger this warning for other
+ hotlinking on their Pro account (and
+ their data cap has not been used up). Using a download manager with a
+ Pro account is allowed, it will not trigger this warning for other
files.
diff --git a/svelte/src/home_page/FeatureTable.svelte b/svelte/src/home_page/FeatureTable.svelte
index 99c7480..1bec3f5 100644
--- a/svelte/src/home_page/FeatureTable.svelte
+++ b/svelte/src/home_page/FeatureTable.svelte
@@ -48,7 +48,8 @@ onMount(() => {
Charged through Patreon
- No monthly fee
+ €1 / month minimum
+ Only charged when total usage is below €1
@@ -67,7 +68,7 @@ onMount(() => {
connection limit
-
€2 per TB transferred
+
€1 per TB transferred
Used for downloading, sharing and hotlinking. You only pay for what
you use. No connection limit
@@ -268,7 +269,7 @@ onMount(() => {
When you have a Pro subscription you will get a monthly data transfer
limit for all the files on your account combined. Files you download
from pixeldrain are subtracted from the data cap. If you have
Bandwidth sharing
+ href="/user/subscription">hotlinking
enabled your data cap is also used when other people download
your files.
@@ -283,8 +284,8 @@ onMount(() => {
If the person who uploaded the file has a Pro subscription and
- Bandwidth sharing is enabled on their account, then the uploader's
- data cap is used.
+ hotlinking is enabled on their account, then the uploader's data cap
+ is used.
If neither the uploader nor the downloader has a Pro subscription
diff --git a/svelte/src/home_page/ForCreators.svelte b/svelte/src/home_page/ForCreators.svelte
index ebdbdb2..9a32f12 100644
--- a/svelte/src/home_page/ForCreators.svelte
+++ b/svelte/src/home_page/ForCreators.svelte
@@ -21,7 +21,7 @@ import Euro from "../util/Euro.svelte";
Simple and affordable pricing
- €4.00 per TB per month for storage
- - €2.00 per TB for downloading and sharing files
+ - €1.00 per TB for downloading and sharing files
diff --git a/svelte/src/home_page/HomePage.svelte b/svelte/src/home_page/HomePage.svelte
index aee5158..ab4ec55 100644
--- a/svelte/src/home_page/HomePage.svelte
+++ b/svelte/src/home_page/HomePage.svelte
@@ -80,7 +80,7 @@ let upload_widget
Egress pricing
-
€ 2 / TB
+
€ 1 / TB
That's it!
diff --git a/svelte/src/user_home/BandwidthSharing.svelte b/svelte/src/user_home/BandwidthSharing.svelte
index 7f8cd30..f071079 100644
--- a/svelte/src/user_home/BandwidthSharing.svelte
+++ b/svelte/src/user_home/BandwidthSharing.svelte
@@ -95,9 +95,9 @@ onMount(() => {
When hotlinking is enabled all the bandwidth that your files use will be
subtracted from your data cap. Advertisements will be disabled on the
download pages for your files and download speed will be unlimited. The
- rate limiting captcha for files is also disabled when bandwidth sharing
- is on. You can directly embed your file's download link anywhere, you
- don't need to use the file viewer page.
+ rate limiting captcha for files is also disabled when hotlinking is on.
+ You can directly embed your file's download link anywhere, you don't
+ need to use the file viewer page.
Bill shock limit
diff --git a/svelte/src/user_home/DepositCredit.svelte b/svelte/src/user_home/DepositCredit.svelte
index 9f3731b..a09679f 100644
--- a/svelte/src/user_home/DepositCredit.svelte
+++ b/svelte/src/user_home/DepositCredit.svelte
@@ -83,7 +83,7 @@ onMount(() => {
Pixeldrain credit can be used for our prepaid plans, which are different
from the Patreon plans. With prepaid you only pay for what you use, at a
- rate of €4 per TB per month for storage and €2 per TB for data transfer.
+ rate of €4 per TB per month for storage and €1 per TB for data transfer.
See the Subscriptions tab for more information about the perks.
diff --git a/svelte/src/user_home/EmbeddingControls.svelte b/svelte/src/user_home/EmbeddingControls.svelte
index c342b38..dcf8dac 100644
--- a/svelte/src/user_home/EmbeddingControls.svelte
+++ b/svelte/src/user_home/EmbeddingControls.svelte
@@ -52,9 +52,9 @@ onMount(() => {
{:else if !window.user.hotlinking_enabled}
- To use embedding restrictions bandwidth sharing needs to be enabled.
- Enable bandwidth sharing on the
-
bandwidth sharing page.
+ To use embedding restrictions hotlinking needs to be enabled.
+ Enable hotlinking on the
+
sharing settings page.
{/if}
diff --git a/svelte/src/user_home/PageBranding.svelte b/svelte/src/user_home/PageBranding.svelte
index a1dd5aa..3740c60 100644
--- a/svelte/src/user_home/PageBranding.svelte
+++ b/svelte/src/user_home/PageBranding.svelte
@@ -107,9 +107,9 @@ onMount(() => {
{:else if !window.user.hotlinking_enabled}
- To use custom file viewer branding bandwidth sharing needs to be
- enabled. Enable bandwidth sharing on the
-
bandwidth sharing page.
+ To use custom file viewer branding hotlinking needs to be
+ enabled. Enable hotlinking on the
+
sharing settings page.
{/if}
diff --git a/svelte/src/user_home/Router.svelte b/svelte/src/user_home/Router.svelte
index f587691..426776c 100644
--- a/svelte/src/user_home/Router.svelte
+++ b/svelte/src/user_home/Router.svelte
@@ -53,7 +53,7 @@ let pages = [
subpages: [
{
path: "/user/sharing/bandwidth",
- title: "Bandwidth Sharing",
+ title: "Sharing settings",
icon: "share",
component: BandwidthSharing,
}, {
diff --git a/svelte/src/user_home/Subscription.svelte b/svelte/src/user_home/Subscription.svelte
index 6cb3d32..a5103cd 100644
--- a/svelte/src/user_home/Subscription.svelte
+++ b/svelte/src/user_home/Subscription.svelte
@@ -162,8 +162,8 @@ onMount(() => {