Put warnings into core/first run wizard

This commit is contained in:
Gina Häußge committed 2018-09-04 12:00:07 +02:00
1 parent a929100889
commit ed07764f09
2 files changed
+20 -6

No files matched your search

@@ -1,14 +1,22 @@
<h3>{{ _('Access Control') }}</h3>
{% trans %}<p>
{% trans safe_remote_url='https://octoprint.org/blog/2018/09/03/safe-remote-access/' %}<p>
<strong>Please read the following, it is very important for your printer's health!</strong>
</p>
<p>
OctoPrint by default ships with Access Control enabled, meaning you won't be able to do anything with the
printer unless you login first as a configured user. This is to <strong>prevent strangers - possibly with
malicious intent - to gain access to your printer</strong> via the internet or another untrustworthy network
malicious intent - to gain access to your printer</strong> via an untrustworthy network
and using it in such a way that it is damaged or worse (i.e. causes a fire).
</p>
<p>
If you plan on accessing OctoPrint remotely over the internet, <strong>you should not only rely on the built-in
Access Control mechanisms</strong> however -
<a href="{{ safe_remote_url }}" target="_blank" rel="noopener noreferrer">take additional precautions</a>.
Your OctoPrint enabled printer is a critical home appliance you really should not give anyone who happens to be
connected to the internet access to - even read-only! <strong>An instance available publicly on the internet
will be found, and people will try to break it open.</strong>
</p>
<p>
It looks like you haven't configured access control yet. Please <strong>set up a username and password</strong> for the
initial administrator account who will have full access to both the printer and OctoPrint's settings, then click
@@ -36,12 +44,12 @@
</div>
</form>
{% trans %}<p>
<strong>Note:</strong> In case that your OctoPrint installation is only accessible from within a trustworthy network and you don't
<strong>Note:</strong> In case that your OctoPrint installation is only accessible from within a trustworthy local network and you don't
need Access Control for other reasons, you may alternatively disable Access Control. You should only
do this if you are absolutely certain that only people you know and trust will be able to connect to it.
</p>
<p>
<strong>Do NOT underestimate the risk of an unsecured access from the internet to your printer!</strong>
<strong>Do NOT underestimate the risk of access from the internet to your printer and OctoPrint instance!</strong>
</p>{% endtrans %}
<div class="row-fluid">
@@ -4,7 +4,7 @@
Your OctoPrint installation is now all set up and ready to go.
{% endtrans %}</p>
<h4>{{ _('On your printer\'s safety') }}</h4>
<h4>{{ _('For your printer\'s safety') }}</h4>
<i class="fa fa-exclamation-triangle fa-4x fa-pull-left text-error"></i>
<p>{% trans %}
@@ -13,12 +13,18 @@
sometimes sadly do catch fire, so stay or have someone else stay close enough to physically intervene
in case of such catastrophic failure.
{% endtrans %}</p>
<p>{% trans url='https://octoprint.org/blog/2018/09/03/safe-remote-access/' %}
You also should <strong class="text-error">never make your OctoPrint instance available for everyone on the
public internet</strong>, even with Access Control enabled. Your instance <em>will</em> be found, and bad people
<em>will</em> try to abuse it. Don't put yourself at risk,
<a href="{{ url }}" target="_blank" rel="noopener noreferrer">use a safe way to access your instance remotely</a>.
{% endtrans %}</p>
<h4>{{ _('If you enjoy OctoPrint...') }}</h4>
<span style="display: inline-block; float: left; font-size: 4em; margin-right: .3em"><img src="{{ url_for('static', filename='img/tentacle-56x56.png') }}"></span>
<p>{% trans url='https://octoprint.org/support-octoprint/?utm_source=octoprint&utm_medium=first_run_wizard' %}
Please consider to <strong><a href="{{ url }}" target="_blank">support OctoPrint's ongoing development</a></strong>,
Please consider <strong><a href="{{ url }}" target="_blank">supporting OctoPrint's ongoing development</a></strong>,
which can only continue with funding by users like you! You can also find this link in the "About" dialog.<br>
<strong>Thank you!</strong>
{% endtrans %}</p>