roundabout,
created on Wednesday, 24 April 2024, 17:15:03 (1713978903),
received on Wednesday, 31 July 2024, 06:54:46 (1722408886)
Author identity: vlad <vlad.muntoiu@gmail.com>
803785744243863d92e6f34575cbc9eba4b50149
app.py
@@ -162,12 +162,6 @@ def dismiss_banner():
response.set_cookie("cookie-banner", "1") return response @app.route("/help/")def help_index():return flask.render_template("help.html", faqs=config.faqs)@app.route("/settings/", methods=["GET", "POST"]) def settings(): if not flask.session.get("username"):
config.py
@@ -169,162 +169,3 @@ To adjust your email notification preferences, log in to your account in a brows
""" www_protocol = f"http{'s' if suggest_https else ''}" faqs = """<h1>FAQs and rules</h1><dl><dt><h2>How do I add my project?</h2></dt><dd><p>It's easy. Click the sign-up button, then click Create in the corner, give it a name, and you're allset.</p></dd><dt><h2>Do I need to have an account?</h2></dt><dd><p>No, using the service is allowed without registering. However, to post your own material, as well asto contribute to other projects, you need an account to identify you.</p></dd><dt><h2>Do you collect personal information?</h2></dt><dd><p>Not at all. We do not log analytics or actions, and all you need to make an account is a username(which can be fictional) and a password.</p></dd><dt><h2>Who is the service targeted at?</h2></dt><dd><p>The service is primarily targeted at enthusiasts(the modern version of <a href="//en.wikipedia.org/wiki/Hacker_culture">hackers</a> but not securitybreakers!), and while we will optimise for corporate use, large free software projects and even justpersonal file storage as well, as an enthusiast myself I try to make it better for my use.</p></dd><dt><h2>What projects do you host?</h2></dt><dd><p>Anything, as long as it's free software. <i>Free</i> means all users should have the<a href="https://www.gnu.org/philosophy/free-sw.html.en#four-freedoms">Four Freedoms</a>.It does not mean everyone has to be a user, so private projects are <strong>allowed</strong>,but if it's private you may not share it without giving these Four Freedoms.</p><p><b>In short — either you share freely, or you don't share.</b></p><p>Additionally, projects designed to operate with nonfree programs or that depend on nonfree librariesare generally allowed, but keep in mind they are useless in the Free World. However, it is advisableto share them, so others could change them to remove the nonfree dependency. It is recommended toadd a disclaimer to the top of an important document, just so others won't get too excited about itand realise it's not for them.</p><p>“Source-available” projects that don't respect the Four Freedoms are considered nonfree and bannedfrom this site.</p><p>Using this site as a discussion forum for nonfree software is also not allowed, unless it's fora collaborative effort to reverse-engineer it. Forums for more general topics, as well as freesoftware, are allowed though.</p><p>Moreover, all <em>public</em> material shared here must be appropriate for all ages and not containany illegal, pornographic, sexual, political, terrorist or other inappropriate material. Mildswearing is allowed, but it must not be used to refer to sex.</p><p>For private material though, we have no business as long as you're not abusing the site by hostingillegal content or overloading the server.</p><p>Nonfree <em>artistic, non-functional</em> works are also fine, but due to the nature of the service, thenonfree terms will not be enforced.</p></dd><dt><h2>What does it cost?</h2></dt><dd><p>Currently, it is zero-price, besides being free software. However, we may start charging for somefeatures in the future, but <strong>only for those that cost us</strong>, and not for the featureswe already have, assuming a normal usage. We will not put stupid limits such as three collaboratorsper repository for free accounts, as more doesn't cost us anything.</p><p>Advertisements may also get added, but they will be only for logged-out users, and won't useJavaScript or animation, most importantly they won't track you either.</p></dd><dt><h2>What stack does this instance use?</h2></dt><dd><p>Currently, it's a Raspberry Pi 4 (8GB) running Debian, Nginx, Gunicorn and Python with Flask, on topof Postgres and Redis.</p></dd><dt><h2>Is email integration supported?</h2></dt><dd><p>Mailing lists aren't currently supported, but it would be a nice feature, so we're working on it.</p></dd><dt><h2>Is SSH supported?</h2></dt><dd><p>Not currently. While SSH is used in many workflows, we currently only support the Git Smart HTTPprotocol including with SSL. It does everything Git SSH does. We encourage you to try it, and let usknow if SSH is still important to you.</p><p>We also do not support the <code>git://</code> or Dumb HTTP protocols as they are insecure and don'thave any authentication.</p><p>For credential memory, GitHub's<a href="https://github.com/git-ecosystem/git-credential-manager">Git Credential Manager</a>also works with our app without extra setup.</p></dd><dt><h2>Is some form of CI or workflow, or robots supported?</h2></dt><dd><p>No, but we are working on it.</p></dd><dt><h2>What licence does the app have?</h2></dt><dd><p><a href="https://www.gnu.org/licenses/agpl-3.0.html">AGPL 3.0</a>, or any later version.</p></dd><dt><h2>Where does the name come from?</h2></dt><dd><p>The name is a play on the word <i>branch</i>, because a roundabout connects many branching roads.It also aligns with our goals to become federated and support collaboration across instances, whichwe'll call roundabouts.</p><p>The name is to always be treated like a common noun, so it uses regular capitalisation, articles andplurals.</p></dd><dt><h2>What about that logo?</h2></dt><dd><p>That is a roundabout sign design commonly used in Europe; it may not be familiar if you live on theother side of the Atlantic.</p><p>It can also take other meanings, with blue being associated with stability and purity, the arrowscould also represent collaboration, a cycle of development and even code reuse and remixing due tothe resemblance to the recycling logo.</p><p>The logo is to be treated as public domain.</p></dd></dl>"""
templates/help.html
@@ -1,10 +0,0 @@
{% extends "home.html" %}{% block title %}{% trans %}FAQs{% endtrans %}{% endblock %}{% block content %}<x-frame style="--width: 768px;">{{ Markup(faqs) }}</x-frame>{% endblock %}