diff --git a/app/main/routes.py b/app/main/routes.py index 030d1e0d..628f4743 100644 --- a/app/main/routes.py +++ b/app/main/routes.py @@ -171,6 +171,16 @@ def list_subscribed_communities(): SUBSCRIPTION_PENDING=SUBSCRIPTION_PENDING, SUBSCRIPTION_MEMBER=SUBSCRIPTION_MEMBER) +@bp.route('/donate') +def donate(): + return render_template('donate.html') + + +@bp.route('/privacy') +def privacy(): + return render_template('privacy.html') + + @bp.route('/login') def login(): return redirect(url_for('auth.login')) diff --git a/app/templates/base.html b/app/templates/base.html index 67deb710..1356a380 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -86,12 +86,12 @@ - + {% else %} - + {% if user_access('change instance settings', current_user.id) %} {% endif %} @@ -123,6 +123,8 @@

Donate using Liberapay

Donate with Patreon

+

PieFed is free and open source

+

Privacy policy

{% endblock %} diff --git a/app/templates/donate.html b/app/templates/donate.html new file mode 100644 index 00000000..92af1f60 --- /dev/null +++ b/app/templates/donate.html @@ -0,0 +1,34 @@ +{% extends "base.html" %} + +{% block app_content %} +
+
+

{{ _('Donate') }}

+

PieFed is free and open-source software while operating without any advertising, monetization, or reliance on + venture capital. Your contributions are vital in supporting the PieFed development effort, + allowing us to expand and enhance PieFed with new features.

+ + + +

Liberapay is preferred as it has lower fees.

+
+ +
+
+
+

{{ _('About %(site_name)s', site_name=g.site.name) }}

+
+
+

{{ g.site.description|safe }}

+

{{ g.site.sidebar|safe }}

+

+ RSS feed +

+
+
+
+
+{% endblock %} diff --git a/app/templates/email/welcome.html b/app/templates/email/welcome.html index 0c3562a8..990ba21a 100644 --- a/app/templates/email/welcome.html +++ b/app/templates/email/welcome.html @@ -8,8 +8,8 @@ issue tracker would be awesome. And hey, if Python's your jam and you're keen to pitch in, check out the project site or delve into the code repository for more info.

-

PieFed is entirely self-funded so donations are much - appreciated (Patreon link).

+

PieFed is free to use and entirely self-funded so donations are much + appreciated.

Warm regards,

Rimu Atkinson
Founder

diff --git a/app/templates/privacy.html b/app/templates/privacy.html new file mode 100644 index 00000000..2bff9d32 --- /dev/null +++ b/app/templates/privacy.html @@ -0,0 +1,78 @@ +{% extends "base.html" %} + +{% block app_content %} +
+
+

{{ _('Privacy') }}

+ +

This privacy policy describes how piefed.social ("piefed.social", "we", "us") collects, protects and uses the + personally identifiable information you may provide through the piefed.social website or its API. The policy + also describes the choices available to you regarding our use of your personal information and how you can + access and update this information. This policy does not apply to the practices of companies that piefed.social + does not own or control, or to individuals that piefed.social does not employ or manage.

+

What information do we collect?

+ +

What do we use your information for?

+

Any of the information we collect from you may be used in the following ways:

+ +

How do we protect your information?

+ +

We implement a variety of security measures to maintain the safety of your personal information when you enter, + submit, or access your personal information. Among other things, your browser session is secured with SSL, and your + password is hashed using a strong one-way algorithm.

+

What is our data retention policy?

+ +

We will make a good faith effort to:

+ +

You may irreversibly delete your account at any time.

+

Do we use cookies?

+ +

Yes. Cookies are small files that a site or its service provider transfers to your computer's hard drive through your + web browser (if you allow). These cookies enable the site to recognize your browser and, if you have a registered + account, associate it with your registered account.

+

We use cookies to understand and save your preferences for future visits.

+ +

Do we disclose any information to outside parties?

+ +

We do not sell, trade, or otherwise transfer to outside parties your personally identifiable information. This does not include trusted third parties who assist us in operating our site, conducting our business, or servicing you, so long as those parties agree to keep this information confidential. + We may also release your information when we believe release is appropriate to comply with the law, enforce our site policies, or protect ours or others rights, + property, or safety.

+

Your public content may be downloaded by other servers in the network. Your posts are delivered to the servers + where members of the same communities reside, in so far as those followers or recipients reside on a different server than this.

+ +

Site usage by children

+ +

Our site, products and services are all directed to people who are at least 16 years old. If you are under the age + of 16, per the requirements of the GDPR (General Data Protection Regulation) do not use this site.

+ +
+ +
+ +
+
+{% endblock %}