Compare commits

...
14 Commits
Author SHA1 Message Date
Gina Häußge 1d0657a8eb Preparing release of 1.2.18 2016-11-30 11:24:50 +01:00
Gina Häußge ec04364b47 Preparing release of 1.2.18rc1 2016-11-22 12:47:29 +01:00
Gina Häußge a88cd9fcfc Copy settings in on_settings_load so we don't mutate them 2016-11-21 13:44:26 +01:00
Gina Häußge 59e4394cdd Allow type specific default values for restricted settings
See #1567
2016-11-21 13:43:53 +01:00
Gina Häußge bc82a18a03 Merge branch 'rc/maintenance' into maintenance 2016-11-08 15:25:05 +01:00
Gina Häußge 2952b2622e Do not hiccup on ipv6 addresses in the HTTP Host header
Fixed port extraction. Now supports hostname, hostname + port,
ipv4, ipv4 + port, ipv6, ipv6 + port

Fixes #1571
2016-11-07 16:17:16 +01:00
Gina Häußge 7efdeced62 Merge branch 'rc/maintenance' into maintenance 2016-10-17 14:23:43 +02:00
Gina Häußge 696904bc49 Support M1{09|90} R<temp> in virtual printer too 2016-10-17 10:41:39 +02:00
Gina Häußge cd578dc2e1 Checking M109/M190 for R should actually check for R and not S
Thanks @FHeilmann
2016-10-17 10:29:16 +02:00
Gina Häußge e15956883a Add support for R parameter in M109/M190 2016-10-14 18:19:08 +02:00
Gina Häußge 3f8dde75d5 Persist settings after changing default printer profile
Fixes #1541
2016-10-14 16:23:47 +02:00
Gina Häußge bc5044b125 Fix target temperature propagation from comm layer
When setting the tracked target temperature from a sent temperature
command, the changes in tracked temperature were not propagated
from the comm layer to registered callbacks.

But since the standard printer also didn't make a copy of the mutable
dict of tool temperatures, those were in fact updated even without
propagation in the printer implementation when the values in the
comm layer got updated, whereas the bed temperature - an immutable
tupel - was not.

Two wrongs sometimes do in fact make a right. In this case that led
to target temperature changes on the tools immediately reflecting
in printer.get_current_temperatures after the command was sent,
but changes to the bed target taking until the next M105 response
to propagate.

Decoupling the data structures and adding propagation commands
to the comm layer solves this issue.

Fixes #1543
2016-10-14 16:01:03 +02:00
Gina Häußge c863562d12 Limit cura profile importer to .ini files and clarified support again 2016-10-14 11:58:39 +02:00
Gina Häußge 27fb397681 ffmpeg: Only modify the -framerate parameter for setting video fps
-r only allows a limited set of target framerates according to the mpeg2
 standard, but -framerate allows to specify how long each frame should
 be shown, giving us full control over "virtual" fps without causing errors
 when the user selects a non-standard frame rate
2016-10-13 19:23:15 +02:00
16 changed files with 398 additions and 161 deletions

No files matched your search

+22
View File
@@ -1,5 +1,27 @@
# OctoPrint Changelog # OctoPrint Changelog
## 1.2.18 (2016-11-30)
### Improvements
* Allow arbitrary frame rates for creating timelapses. Before, the entered fps value was also directly used as frame rate for the actual video, which could cause problems with any frame rates not specified in the MPEG2 standard. Now OctoPrint will use a standard frame rate for the rendered video and render the timelapse stills into the finished movie with the configured frame rate.
* Limited Cura profile importer to `.ini` files and clarified the supported versions
* Add support for the `R` parameter for `M109` and `M190`
### Bug fixes
* [#1541](https://github.com/foosel/OctoPrint/issues/1541) - Fix selecting the printer profile to use by default
* [#1543](https://github.com/foosel/OctoPrint/issues/1543) - Fix target temperature propagation from communication layer
* [#1567](https://github.com/foosel/OctoPrint/issues/1567) - Fix issue with restricted settings getting parsed to the wrong data structure in the frontend if loaded anonymously first.
* [#1571](https://github.com/foosel/OctoPrint/issues/1571) - Fix parsing of port number from HTTP Host header for IPv6 addresses
* Fix issue with settings restriction causing internal settings defaults to be changed.
### More information
* [Commits](https://github.com/foosel/OctoPrint/compare/1.2.17...1.2.18)
* Release Candidates:
* [1.2.18rc1](https://github.com/foosel/OctoPrint/releases/tag/1.2.18rc1)
## 1.2.17 (2016-11-08) ## 1.2.17 (2016-11-08)
### Improvements ### Improvements
+2 -6
View File
@@ -33,27 +33,22 @@ thanks to everyone who contributed!
* Gary Deen * Gary Deen
* Gary N McKinney * Gary N McKinney
* George Robles * George Robles
* Gregor Lütolf
* J. Eckert * J. Eckert
* Jason Galarneau * Jason Galarneau
* Joe Korzeniewski
* Josh Daniels * Josh Daniels
* Joshua David Gregory * Joshua David Gregory
* Kaile Riser * Kaile Riser
* Kale Stedman * Kale Stedman
* Kazuhiro Ogura * Kazuhiro Ogura
* Korneel Bullens
* Lamin Kivelä * Lamin Kivelä
* M Khorakiwala * M Khorakiwala
* Makespace Madrid * Makespace Madrid
* Mark Lane
* Mark Qvist * Mark Qvist
* Mark Walker * Mark Walker
* Masayoshi Mitsui * Masayoshi Mitsui
* Michael Aumock * Michael Aumock
* Michael McDargh Sr * Michael McDargh Sr
* Miles Flavel * Miles Flavel
* Nikolai Langer
* Noe Ruiz * Noe Ruiz
* Patrick McGinnis * Patrick McGinnis
* Peter Grace * Peter Grace
@@ -68,10 +63,11 @@ thanks to everyone who contributed!
* Shane Ekerbicer * Shane Ekerbicer
* Simon Hallam * Simon Hallam
* Stefan Krister * Stefan Krister
* Stephane Schittly
* Steven Pearson * Steven Pearson
* Sven Mueller * Sven Mueller
* Terrance Shaw * Terrance Shaw
* Thomas Hatley * Thomas Hatley
* Trent Shumay * Trent Shumay
and 968 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel)! and 989 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel)!
+23 -3
View File
@@ -820,14 +820,17 @@ class SettingsPlugin(OctoPrintPlugin):
to retrieve the data in the correct format. to retrieve the data in the correct format.
The default implementation will also replace any paths that have been restricted by your plugin through The default implementation will also replace any paths that have been restricted by your plugin through
:func:`~octoprint.plugin.SettingsPlugin.get_settings_restricted_paths` with ``None`` values where necessary. :func:`~octoprint.plugin.SettingsPlugin.get_settings_restricted_paths` with either the provided
default value (if one was provided), an empty dictionary (as fallback for restricted dictionaries), an
empty list (as fallback for restricted lists) or ``None`` values where necessary.
Make sure to do your own restriction if you decide to fully overload this method. Make sure to do your own restriction if you decide to fully overload this method.
:return: the current settings of the plugin, as a dictionary :return: the current settings of the plugin, as a dictionary
""" """
from flask.ext.login import current_user from flask.ext.login import current_user
import copy
data = self._settings.get_all_data() data = copy.deepcopy(self._settings.get_all_data(merged=True))
if self.config_version_key in data: if self.config_version_key in data:
del data[self.config_version_key] del data[self.config_version_key]
@@ -849,8 +852,25 @@ class SettingsPlugin(OctoPrintPlugin):
node = node[entry] node = node[entry]
key = path[-1] key = path[-1]
default_value_available = False
default_value = None
if isinstance(key, (list, tuple)):
# key, default_value tuple
key, default_value = key
default_value_available = True
if key in node: if key in node:
node[key] = None if default_value_available:
if callable(default_value):
default_value = default_value()
node[key] = default_value
else:
if isinstance(node[key], dict):
node[key] = dict()
elif isinstance(node[key], (list, tuple)):
node[key] = []
else:
node[key] = None
conditions = dict(user=lambda: current_user is not None and not current_user.is_anonymous(), conditions = dict(user=lambda: current_user is not None and not current_user.is_anonymous(),
admin=lambda: current_user is not None and not current_user.is_anonymous() and current_user.is_admin(), admin=lambda: current_user is not None and not current_user.is_anonymous() and current_user.is_admin(),
@@ -77,7 +77,7 @@
<div class="input-prepend"> <div class="input-prepend">
<span class="btn fileinput-button"> <span class="btn fileinput-button">
<span>{{ _('Browse...') }}</span> <span>{{ _('Browse...') }}</span>
<input id="settings-cura-import" type="file" name="file" data-url="{{ url_for("plugin.cura.import_cura_profile") }}"> <input id="settings-cura-import" type="file" name="file" data-url="{{ url_for("plugin.cura.import_cura_profile") }}" accept=".ini">
</span> </span>
<span class="add-on" data-bind="text: fileName"></span> <span class="add-on" data-bind="text: fileName"></span>
</div> </div>
@@ -111,10 +111,10 @@
</form> </form>
<small>{% trans %} <small>{% trans %}
You can import your existing profile <code>.ini</code> files from Cura (version up to and You can import your existing profile <code>.ini</code> files from <strong>Cura 15.04.x or older</strong>
including 15.04) here. Please be aware that neither the <code>.json</code> profile format here. Anything but those are <strong>not supported</strong>. That especiallymeans that <code>.json</code>
from Cura versions starting with 15.06 is supported, nor are the custom Cura profile formats profiles from Cura 15.06.x and <code>.curaprofile</code> profiles from Cura 2.x will not work, and neither
that third party tools like e.g. Repetier create. will custom Cura profile formats that third party tools like e.g. Repetier create.
{% endtrans %}</small> {% endtrans %}</small>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
@@ -237,10 +237,12 @@ class VirtualPrinter(object):
#print "Send: %s" % (data.rstrip()) #print "Send: %s" % (data.rstrip())
if 'M104' in data or 'M109' in data: if 'M104' in data or 'M109' in data:
self._parseHotendCommand(data) wait = support_r = 'M109' in data
self._parseHotendCommand(data, wait=wait, support_r=support_r)
if 'M140' in data or 'M190' in data: if 'M140' in data or 'M190' in data:
self._parseBedCommand(data) wait = support_r = 'M190' in data
self._parseBedCommand(data, wait=wait, support_r=support_r)
if 'M105' in data: if 'M105' in data:
self._processTemperatureQuery() self._processTemperatureQuery()
@@ -523,7 +525,8 @@ class VirtualPrinter(object):
output = "ok " + output output = "ok " + output
self._output(output) self._output(output)
def _parseHotendCommand(self, line): def _parseHotendCommand(self, line, wait=False, support_r=False):
only_wait_if_higher = True
tool = 0 tool = 0
toolMatch = re.search('T([0-9]+)', line) toolMatch = re.search('T([0-9]+)', line)
if toolMatch: if toolMatch:
@@ -538,21 +541,32 @@ class VirtualPrinter(object):
try: try:
self.targetTemp[tool] = float(re.search('S([0-9]+)', line).group(1)) self.targetTemp[tool] = float(re.search('S([0-9]+)', line).group(1))
except: except:
pass if support_r:
try:
self.targetTemp[tool] = float(re.search('R([0-9]+)', line).group(1))
only_wait_if_higher = False
except:
pass
if "M109" in line: if wait:
self._waitForHeatup("tool%d" % tool) self._waitForHeatup("tool%d" % tool, only_wait_if_higher)
if settings().getBoolean(["devel", "virtualPrinter", "repetierStyleTargetTemperature"]): if settings().getBoolean(["devel", "virtualPrinter", "repetierStyleTargetTemperature"]):
self._output("TargetExtr%d:%d" % (tool, self.targetTemp[tool])) self._output("TargetExtr%d:%d" % (tool, self.targetTemp[tool]))
def _parseBedCommand(self, line): def _parseBedCommand(self, line, wait=False, support_r=False):
only_wait_if_higher = True
try: try:
self.bedTargetTemp = float(re.search('S([0-9]+)', line).group(1)) self.bedTargetTemp = float(re.search('S([0-9]+)', line).group(1))
except: except:
pass if support_r:
try:
self.bedTargetTemp = float(re.search('R([0-9]+)', line).group(1))
only_wait_if_higher = False
except:
pass
if "M190" in line: if wait:
self._waitForHeatup("bed") self._waitForHeatup("bed", only_wait_if_higher)
if settings().getBoolean(["devel", "virtualPrinter", "repetierStyleTargetTemperature"]): if settings().getBoolean(["devel", "virtualPrinter", "repetierStyleTargetTemperature"]):
self._output("TargetBed:%d" % self.bedTargetTemp) self._output("TargetBed:%d" % self.bedTargetTemp)
@@ -717,19 +731,19 @@ class VirtualPrinter(object):
self._sdPrinter = None self._sdPrinter = None
self._output("Done printing file") self._output("Done printing file")
def _waitForHeatup(self, heater): def _waitForHeatup(self, heater, only_wait_if_higher):
delta = 1 delta = 1
delay = 1 delay = 1
try: try:
if heater.startswith("tool"): if heater.startswith("tool"):
toolNum = int(heater[len("tool"):]) toolNum = int(heater[len("tool"):])
while not self._killed and (self.temp[toolNum] < self.targetTemp[toolNum] - delta or self.temp[toolNum] > self.targetTemp[toolNum] + delta): while not self._killed and (self.temp[toolNum] < self.targetTemp[toolNum] - delta or (not only_wait_if_higher and self.temp[toolNum] > self.targetTemp[toolNum] + delta)):
self._simulateTemps(delta=delta) self._simulateTemps(delta=delta)
self._output("T:%0.2f" % self.temp[toolNum]) self._output("T:%0.2f" % self.temp[toolNum])
time.sleep(delay) time.sleep(delay)
elif heater == "bed": elif heater == "bed":
while not self._killed and (self.bedTemp < self.bedTargetTemp - delta or self.bedTemp > self.bedTargetTemp + delta): while not self._killed and (self.bedTemp < self.bedTargetTemp - delta or (not only_wait_if_higher and self.bedTemp > self.bedTargetTemp + delta)):
self._simulateTemps(delta=delta) self._simulateTemps(delta=delta)
self._output("B:%0.2f" % self.bedTemp) self._output("B:%0.2f" % self.bedTemp)
time.sleep(delay) time.sleep(delay)
+1
View File
@@ -228,6 +228,7 @@ class PrinterProfileManager(object):
if make_default: if make_default:
settings().set(["printerProfiles", "default"], identifier) settings().set(["printerProfiles", "default"], identifier)
settings().save()
if self._current is not None and self._current["id"] == identifier: if self._current is not None and self._current["id"] == identifier:
self.select(identifier) self.select(identifier)
+2 -2
View File
@@ -292,7 +292,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback):
def set_temperature(self, heater, value): def set_temperature(self, heater, value):
if not PrinterInterface.valid_heater_regex.match(heater): if not PrinterInterface.valid_heater_regex.match(heater):
raise ValueError("heater must match \"tool[0-9]+\" or \"bed\": {heater}".format(type=heater)) raise ValueError("heater must match \"tool[0-9]+\" or \"bed\": {heater}".format(heater=heater))
if not isinstance(value, (int, long, float)) or value < 0: if not isinstance(value, (int, long, float)) or value < 0:
raise ValueError("value must be a valid number >= 0: {value}".format(value=value)) raise ValueError("value must be a valid number >= 0: {value}".format(value=value))
@@ -915,7 +915,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback):
self._addLog(to_unicode(message, "utf-8", errors="replace")) self._addLog(to_unicode(message, "utf-8", errors="replace"))
def on_comm_temperature_update(self, temp, bedTemp): def on_comm_temperature_update(self, temp, bedTemp):
self._addTemperatureData(temp, bedTemp) self._addTemperatureData(copy.deepcopy(temp), copy.deepcopy(bedTemp))
def on_comm_state_change(self, state): def on_comm_state_change(self, state):
""" """
+49 -3
View File
@@ -232,6 +232,15 @@ class ReverseProxiedEnvironment(object):
to_wsgi_format = lambda header: "HTTP_" + header.upper().replace("-", "_") to_wsgi_format = lambda header: "HTTP_" + header.upper().replace("-", "_")
return map(to_wsgi_format, values) return map(to_wsgi_format, values)
@staticmethod
def valid_ip(address):
import netaddr
try:
netaddr.IPAddress(address)
return True
except:
return False
def __init__(self, def __init__(self,
header_prefix=None, header_prefix=None,
header_scheme=None, header_scheme=None,
@@ -286,11 +295,43 @@ class ReverseProxiedEnvironment(object):
if host is None: if host is None:
return None, None return None, None
default_port = "443" if scheme == "https" else "80"
host = host.strip()
if ":" in host: if ":" in host:
server, port = host.split(":", 1) # we might have an ipv6 address here, or a port, or both
if host[0] == "[":
# that looks like an ipv6 address with port, e.g. [fec1::1]:80
address_end = host.find("]")
if address_end == -1:
# no ], that looks like a seriously broken address
return None, None
# extract server ip, skip enclosing [ and ]
server = host[1:address_end]
tail = host[address_end + 1:]
# now check if there's also a port
if len(tail) and tail[0] == ":":
# port included as well
port = tail[1:]
else:
# no port, use default one
port = default_port
elif self.__class__.valid_ip(host):
# ipv6 address without port
server = host
port = default_port
else:
# ipv4 address with port
server, port = host.rsplit(":", 1)
else: else:
server = host server = host
port = "443" if scheme == "https" else "80" port = default_port
return server, port return server, port
@@ -348,7 +389,12 @@ class ReverseProxiedEnvironment(object):
# default port for scheme, can be skipped # default port for scheme, can be skipped
environ["HTTP_HOST"] = environ["SERVER_NAME"] environ["HTTP_HOST"] = environ["SERVER_NAME"]
else: else:
environ["HTTP_HOST"] = environ["SERVER_NAME"] + ":" + environ["SERVER_PORT"] server_name_component = environ["SERVER_NAME"]
if ":" in server_name_component and self.__class__.valid_ip(server_name_component):
# this is an ipv6 address, we need to wrap that in [ and ] before appending the port
server_name_component = "[" + server_name_component + "]"
environ["HTTP_HOST"] = server_name_component + ":" + environ["SERVER_PORT"]
# call wrapped app with rewritten environment # call wrapped app with rewritten environment
return environ return environ
+1 -1
View File
@@ -736,7 +736,7 @@ class TimelapseRenderJob(object):
command = [ command = [
ffmpeg, '-framerate', str(fps), '-loglevel', 'error', '-i', '"{}"'.format(input), '-vcodec', 'mpeg2video', ffmpeg, '-framerate', str(fps), '-loglevel', 'error', '-i', '"{}"'.format(input), '-vcodec', 'mpeg2video',
'-threads', str(threads), '-pix_fmt', 'yuv420p', '-r', str(fps), '-y', '-b', str(bitrate), '-threads', str(threads), '-pix_fmt', 'yuv420p', '-r', "25", '-y', '-b', str(bitrate),
'-f', 'vob'] '-f', 'vob']
filter_string = cls._create_filter_string(hflip=hflip, filter_string = cls._create_filter_string(hflip=hflip,
@@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: OctoPrint\n" "Project-Id-Version: OctoPrint\n"
"Report-Msgid-Bugs-To: i18n@octoprint.org\n" "Report-Msgid-Bugs-To: i18n@octoprint.org\n"
"POT-Creation-Date: 2016-09-09 11:35+0200\n" "POT-Creation-Date: 2016-11-22 12:42+0100\n"
"PO-Revision-Date: 2016-09-09 11:48+0100\n" "PO-Revision-Date: 2016-11-22 12:43+0100\n"
"Last-Translator: Gina Häußge <osd@foosel.net>\n" "Last-Translator: Gina Häußge <osd@foosel.net>\n"
"Language: de\n" "Language: de\n"
"Language-Team: German (http://www.transifex.com/projects/p/octoprint/" "Language-Team: German (http://www.transifex.com/projects/p/octoprint/"
@@ -193,23 +193,22 @@ msgstr "Vorhandene Datei überschreiben"
msgid "" msgid ""
"\n" "\n"
" You can import your existing profile <code>.ini</code> files " " You can import your existing profile <code>.ini</code> files "
"from Cura (version up to and\n" "from <strong>Cura 15.04.x or older</strong>\n"
" including 15.04) here. Please be aware that neither the <code>." " here. Anything but those are <strong>not supported</strong>. "
"json</code> profile format\n" "That especiallymeans that <code>.json</code>\n"
" from Cura versions starting with 15.06 is supported, nor are the " " profiles from Cura 15.06.x and <code>.curaprofile</code> "
"custom Cura profile formats\n" "profiles from Cura 2.x will not work, and neither\n"
" that third party tools like e.g. Repetier create.\n" " will custom Cura profile formats that third party tools like e."
"g. Repetier create.\n"
" " " "
msgstr "" msgstr ""
"\n" "Du kannst hier deine vorhandenen <code>.ini</code> Profildateien von "
" Hier kannst Du Deine existierenden Profildateien (<code>.ini</code>) aus " "<strong>Cura 15.04.x oder älter</strong> importieren. Andere Profilformate "
"Cura importieren (Versionen bis\n" "als diese sind <strong>nicht unterstützt</strong>. Das beinhaltet "
" einschließlich 15.04). Bitte beachte, dass weder die <code>.json</code> " "insbesondere, dass <code>.json</code> Profile von Cura 15.06.x und <code>."
"Profile aus\n" "curaprofile</code> Profile von Cura 2.x nicht funktionieren werden, ebenso "
" Curaversionen ab 15.06 unterstützt werden, noch andere " "wenig wie Cura-Profildateien, die von Third-Party-Tools wie z.B. Repetier "
"Thirdpartyprofilformate von\n" "erstellt wurden."
" Tools wie z.B. Repetier Host.\n"
" "
#: src/octoprint/plugins/cura/templates/cura_settings.jinja2:121 #: src/octoprint/plugins/cura/templates/cura_settings.jinja2:121
#: src/octoprint/templates/dialogs/settings/accesscontrol.jinja2:80 #: src/octoprint/templates/dialogs/settings/accesscontrol.jinja2:80
@@ -227,7 +226,7 @@ msgstr "Abbrechen"
msgid "Confirm" msgid "Confirm"
msgstr "Bestätigen" msgstr "Bestätigen"
#: src/octoprint/plugins/pluginmanager/__init__.py:116 #: src/octoprint/plugins/pluginmanager/__init__.py:117
msgid "Plugin Manager" msgid "Plugin Manager"
msgstr "Pluginmanager" msgstr "Pluginmanager"
@@ -754,7 +753,7 @@ msgid "Software Update"
msgstr "Software Update" msgstr "Software Update"
#: src/octoprint/plugins/softwareupdate/__init__.py:752 #: src/octoprint/plugins/softwareupdate/__init__.py:752
#: src/octoprint/server/views.py:217 #: src/octoprint/server/views.py:220
#: src/octoprint/static/js/app/viewmodels/appearance.js:11 #: src/octoprint/static/js/app/viewmodels/appearance.js:11
#: src/octoprint/static/js/app/viewmodels/appearance.js:13 #: src/octoprint/static/js/app/viewmodels/appearance.js:13
#: src/octoprint/static/js/app/viewmodels/appearance.js:18 #: src/octoprint/static/js/app/viewmodels/appearance.js:18
@@ -1077,108 +1076,108 @@ msgstr ""
msgid "Version cache TTL" msgid "Version cache TTL"
msgstr "TTL des Versionscaches" msgstr "TTL des Versionscaches"
#: src/octoprint/server/views.py:125 #: src/octoprint/server/views.py:128
msgid "Plugins" msgid "Plugins"
msgstr "Plugins" msgstr "Plugins"
#: src/octoprint/server/views.py:183 #: src/octoprint/server/views.py:186
msgid "Connection" msgid "Connection"
msgstr "Verbindung" msgstr "Verbindung"
#: src/octoprint/server/views.py:184 #: src/octoprint/server/views.py:187
#: src/octoprint/templates/sidebar/state.jinja2:1 #: src/octoprint/templates/sidebar/state.jinja2:1
msgid "State" msgid "State"
msgstr "Status" msgstr "Status"
#: src/octoprint/server/views.py:185 #: src/octoprint/server/views.py:188
msgid "Files" msgid "Files"
msgstr "Dateien" msgstr "Dateien"
#: src/octoprint/server/views.py:191 #: src/octoprint/server/views.py:194
msgid "Temperature" msgid "Temperature"
msgstr "Temperatur" msgstr "Temperatur"
#: src/octoprint/server/views.py:192 #: src/octoprint/server/views.py:195
msgid "Control" msgid "Control"
msgstr "Steuerung" msgstr "Steuerung"
#: src/octoprint/server/views.py:193 #: src/octoprint/server/views.py:196
msgid "Terminal" msgid "Terminal"
msgstr "Terminal" msgstr "Terminal"
#: src/octoprint/server/views.py:196 #: src/octoprint/server/views.py:199
msgid "GCode Viewer" msgid "GCode Viewer"
msgstr "GCode Viewer" msgstr "GCode Viewer"
#: src/octoprint/server/views.py:198 #: src/octoprint/server/views.py:201
#: src/octoprint/templates/sidebar/state.jinja2:4 #: src/octoprint/templates/sidebar/state.jinja2:4
msgid "Timelapse" msgid "Timelapse"
msgstr "Zeitraffer" msgstr "Zeitraffer"
#: src/octoprint/server/views.py:203 #: src/octoprint/server/views.py:206
msgid "Printer" msgid "Printer"
msgstr "Drucker" msgstr "Drucker"
#: src/octoprint/server/views.py:205 #: src/octoprint/server/views.py:208
msgid "Serial Connection" msgid "Serial Connection"
msgstr "Serielle Verbindung" msgstr "Serielle Verbindung"
#: src/octoprint/server/views.py:206 #: src/octoprint/server/views.py:209
#: src/octoprint/templates/dialogs/settings/printerprofiles.jinja2:1 #: src/octoprint/templates/dialogs/settings/printerprofiles.jinja2:1
msgid "Printer Profiles" msgid "Printer Profiles"
msgstr "Druckerprofile" msgstr "Druckerprofile"
#: src/octoprint/server/views.py:207 #: src/octoprint/server/views.py:210
msgid "Temperatures" msgid "Temperatures"
msgstr "Temperaturen" msgstr "Temperaturen"
#: src/octoprint/server/views.py:208 #: src/octoprint/server/views.py:211
msgid "Terminal Filters" msgid "Terminal Filters"
msgstr "Terminalfilter" msgstr "Terminalfilter"
#: src/octoprint/server/views.py:209 #: src/octoprint/server/views.py:212
msgid "GCODE Scripts" msgid "GCODE Scripts"
msgstr "GCODE Scripts" msgstr "GCODE Scripts"
#: src/octoprint/server/views.py:211 src/octoprint/server/views.py:213 #: src/octoprint/server/views.py:214 src/octoprint/server/views.py:216
msgid "Features" msgid "Features"
msgstr "Funktionen" msgstr "Funktionen"
#: src/octoprint/server/views.py:214 #: src/octoprint/server/views.py:217
msgid "Webcam" msgid "Webcam"
msgstr "Webcam" msgstr "Webcam"
#: src/octoprint/server/views.py:215 #: src/octoprint/server/views.py:218
msgid "API" msgid "API"
msgstr "API" msgstr "API"
#: src/octoprint/server/views.py:219 #: src/octoprint/server/views.py:222
#: src/octoprint/templates/dialogs/settings/folders.jinja2:2 #: src/octoprint/templates/dialogs/settings/folders.jinja2:2
msgid "Folders" msgid "Folders"
msgstr "Verzeichnisse" msgstr "Verzeichnisse"
#: src/octoprint/server/views.py:220 #: src/octoprint/server/views.py:223
msgid "Appearance" msgid "Appearance"
msgstr "Aussehen" msgstr "Aussehen"
#: src/octoprint/server/views.py:221 #: src/octoprint/server/views.py:224
#: src/octoprint/templates/dialogs/settings/logs.jinja2:2 #: src/octoprint/templates/dialogs/settings/logs.jinja2:2
msgid "Logs" msgid "Logs"
msgstr "Logs" msgstr "Logs"
#: src/octoprint/server/views.py:222 #: src/octoprint/server/views.py:225
msgid "Server" msgid "Server"
msgstr "Server" msgstr "Server"
#: src/octoprint/server/views.py:225 #: src/octoprint/server/views.py:228
msgid "Access Control" msgid "Access Control"
msgstr "Zugangsbeschränkung" msgstr "Zugangsbeschränkung"
#: src/octoprint/server/views.py:231 #: src/octoprint/server/views.py:234
msgid "Access" msgid "Access"
msgstr "Zugriff" msgstr "Zugriff"
#: src/octoprint/server/views.py:232 #: src/octoprint/server/views.py:235
msgid "Interface" msgid "Interface"
msgstr "Interface" msgstr "Interface"
@@ -3511,3 +3510,24 @@ msgstr "Ungerenderte Zeitrafferaufnahme löschen"
#: src/octoprint/templates/tabs/timelapse.jinja2:99 #: src/octoprint/templates/tabs/timelapse.jinja2:99
msgid "Render timelapse" msgid "Render timelapse"
msgstr "Zeitrafferaufnahme rendern" msgstr "Zeitrafferaufnahme rendern"
#~ msgid ""
#~ "\n"
#~ " You can import your existing profile <code>.ini</code> files "
#~ "from Cura (version up to and\n"
#~ " including 15.04) here. Please be aware that neither the "
#~ "<code>.json</code> profile format\n"
#~ " from Cura versions starting with 15.06 is supported, nor are "
#~ "the custom Cura profile formats\n"
#~ " that third party tools like e.g. Repetier create.\n"
#~ " "
#~ msgstr ""
#~ "\n"
#~ " Hier kannst Du Deine existierenden Profildateien (<code>.ini</code>) "
#~ "aus Cura importieren (Versionen bis\n"
#~ " einschließlich 15.04). Bitte beachte, dass weder die <code>.json</"
#~ "code> Profile aus\n"
#~ " Curaversionen ab 15.06 unterstützt werden, noch andere "
#~ "Thirdpartyprofilformate von\n"
#~ " Tools wie z.B. Repetier Host.\n"
#~ " "
+13 -4
View File
@@ -48,6 +48,7 @@ regex_float = re.compile(regex_float_pattern)
regexes_parameters = dict( regexes_parameters = dict(
floatP=re.compile("(^|[^A-Za-z])[Pp](?P<value>%s)" % regex_float_pattern), floatP=re.compile("(^|[^A-Za-z])[Pp](?P<value>%s)" % regex_float_pattern),
floatR=re.compile("(^|[^A-Za-z])[Rr](?P<value>%s)" % regex_float_pattern),
floatS=re.compile("(^|[^A-Za-z])[Ss](?P<value>%s)" % regex_float_pattern), floatS=re.compile("(^|[^A-Za-z])[Ss](?P<value>%s)" % regex_float_pattern),
floatZ=re.compile("(^|[^A-Za-z])[Zz](?P<value>%s)" % regex_float_pattern), floatZ=re.compile("(^|[^A-Za-z])[Zz](?P<value>%s)" % regex_float_pattern),
intN=re.compile("(^|[^A-Za-z])[Nn](?P<value>%s)" % regex_int_pattern), intN=re.compile("(^|[^A-Za-z])[Nn](?P<value>%s)" % regex_int_pattern),
@@ -2121,7 +2122,7 @@ class MachineCom(object):
return None, # Don't send bed commands if we don't have a heated bed return None, # Don't send bed commands if we don't have a heated bed
_gcode_M190_queuing = _gcode_M140_queuing _gcode_M190_queuing = _gcode_M140_queuing
def _gcode_M104_sent(self, cmd, cmd_type=None, wait=False): def _gcode_M104_sent(self, cmd, cmd_type=None, wait=False, support_r=False):
toolNum = self._currentTool toolNum = self._currentTool
toolMatch = regexes_parameters["intT"].search(cmd) toolMatch = regexes_parameters["intT"].search(cmd)
@@ -2133,6 +2134,9 @@ class MachineCom(object):
self._currentTool = toolNum self._currentTool = toolNum
match = regexes_parameters["floatS"].search(cmd) match = regexes_parameters["floatS"].search(cmd)
if not match and support_r:
match = regexes_parameters["floatR"].search(cmd)
if match: if match:
try: try:
target = float(match.group("value")) target = float(match.group("value"))
@@ -2141,11 +2145,15 @@ class MachineCom(object):
self._temp[toolNum] = (actual, target) self._temp[toolNum] = (actual, target)
else: else:
self._temp[toolNum] = (None, target) self._temp[toolNum] = (None, target)
self._callback.on_comm_temperature_update(self._temp, self._bedTemp)
except ValueError: except ValueError:
pass pass
def _gcode_M140_sent(self, cmd, cmd_type=None, wait=False): def _gcode_M140_sent(self, cmd, cmd_type=None, wait=False, support_r=False):
match = regexes_parameters["floatS"].search(cmd) match = regexes_parameters["floatS"].search(cmd)
if not match and support_r:
match = regexes_parameters["floatR"].search(cmd)
if match: if match:
try: try:
target = float(match.group("value")) target = float(match.group("value"))
@@ -2154,6 +2162,7 @@ class MachineCom(object):
self._bedTemp = (actual, target) self._bedTemp = (actual, target)
else: else:
self._bedTemp = (None, target) self._bedTemp = (None, target)
self._callback.on_comm_temperature_update(self._temp, self._bedTemp)
except ValueError: except ValueError:
pass pass
@@ -2161,13 +2170,13 @@ class MachineCom(object):
self._heatupWaitStartTime = time.time() self._heatupWaitStartTime = time.time()
self._long_running_command = True self._long_running_command = True
self._heating = True self._heating = True
self._gcode_M104_sent(cmd, cmd_type, wait=True) self._gcode_M104_sent(cmd, cmd_type, wait=True, support_r=True)
def _gcode_M190_sent(self, cmd, cmd_type=None): def _gcode_M190_sent(self, cmd, cmd_type=None):
self._heatupWaitStartTime = time.time() self._heatupWaitStartTime = time.time()
self._long_running_command = True self._long_running_command = True
self._heating = True self._heating = True
self._gcode_M140_sent(cmd, cmd_type, wait=True) self._gcode_M140_sent(cmd, cmd_type, wait=True, support_r=True)
def _gcode_M110_sending(self, cmd, cmd_type=None): def _gcode_M110_sending(self, cmd, cmd_type=None):
newLineNumber = None newLineNumber = None
+89 -1
View File
@@ -143,7 +143,95 @@ class ReverseProxiedEnvironmentTest(unittest.TestCase):
"HTTP_HOST": "example.com", "HTTP_HOST": "example.com",
"SERVER_NAME": "example.com", "SERVER_NAME": "example.com",
"SERVER_PORT": "80" "SERVER_PORT": "80"
}) }),
# host = none, default port -> server & port used for reconstruction (ipv4)
({
"HTTP_HOST": None,
"SERVER_NAME": "127.0.0.1",
"SERVER_PORT": "80"
}, {
"HTTP_HOST": "127.0.0.1",
"SERVER_NAME": "127.0.0.1",
"SERVER_PORT": "80"
}),
# host = none, non standard port -> server & port used for reconstruction (ipv4)
({
"HTTP_HOST": None,
"SERVER_NAME": "127.0.0.1",
"SERVER_PORT": "444"
}, {
"HTTP_HOST": "127.0.0.1:444",
"SERVER_NAME": "127.0.0.1",
"SERVER_PORT": "444"
}),
# host = none, default port -> server & port used for reconstruction (ipv6)
({
"HTTP_HOST": None,
"SERVER_NAME": "fec1::1",
"SERVER_PORT": "80"
}, {
"HTTP_HOST": "fec1::1",
"SERVER_NAME": "fec1::1",
"SERVER_PORT": "80"
}),
# host = none, non standard port -> server & port used for reconstruction (ipv6)
({
"HTTP_HOST": None,
"SERVER_NAME": "fec1::1",
"SERVER_PORT": "444"
}, {
"HTTP_HOST": "[fec1::1]:444",
"SERVER_NAME": "fec1::1",
"SERVER_PORT": "444"
}),
# host set, server and port not, default port -> server & port derived from host (ipv4)
({
"HTTP_HOST": "127.0.0.1",
"SERVER_NAME": None,
"SERVER_PORT": None
}, {
"HTTP_HOST": "127.0.0.1",
"SERVER_NAME": "127.0.0.1",
"SERVER_PORT": "80"
}),
# host set, server and port not, non standard port -> server & port derived from host (ipv4)
({
"HTTP_HOST": "127.0.0.1:444",
"SERVER_NAME": None,
"SERVER_PORT": None
}, {
"HTTP_HOST": "127.0.0.1:444",
"SERVER_NAME": "127.0.0.1",
"SERVER_PORT": "444"
}),
# host set, server and port not, default port -> server & port derived from host (ipv6)
({
"HTTP_HOST": "fec1::1",
"SERVER_NAME": None,
"SERVER_PORT": None
}, {
"HTTP_HOST": "fec1::1",
"SERVER_NAME": "fec1::1",
"SERVER_PORT": "80"
}),
# host set, server and port not, non standard port -> server & port derived from host (ipv6)
({
"HTTP_HOST": "[fec1::1]:444",
"SERVER_NAME": None,
"SERVER_PORT": None
}, {
"HTTP_HOST": "[fec1::1]:444",
"SERVER_NAME": "fec1::1",
"SERVER_PORT": "444"
}),
) )
@unpack @unpack
def test_stock(self, environ, expected): def test_stock(self, environ, expected):
Binary file not shown.
+64 -44
View File
@@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: OctoPrint\n" "Project-Id-Version: OctoPrint\n"
"Report-Msgid-Bugs-To: i18n@octoprint.org\n" "Report-Msgid-Bugs-To: i18n@octoprint.org\n"
"POT-Creation-Date: 2016-09-09 11:35+0200\n" "POT-Creation-Date: 2016-11-22 12:42+0100\n"
"PO-Revision-Date: 2016-09-09 11:48+0100\n" "PO-Revision-Date: 2016-11-22 12:43+0100\n"
"Last-Translator: Gina Häußge <osd@foosel.net>\n" "Last-Translator: Gina Häußge <osd@foosel.net>\n"
"Language: de\n" "Language: de\n"
"Language-Team: German (http://www.transifex.com/projects/p/octoprint/" "Language-Team: German (http://www.transifex.com/projects/p/octoprint/"
@@ -193,23 +193,22 @@ msgstr "Vorhandene Datei überschreiben"
msgid "" msgid ""
"\n" "\n"
" You can import your existing profile <code>.ini</code> files " " You can import your existing profile <code>.ini</code> files "
"from Cura (version up to and\n" "from <strong>Cura 15.04.x or older</strong>\n"
" including 15.04) here. Please be aware that neither the <code>." " here. Anything but those are <strong>not supported</strong>. "
"json</code> profile format\n" "That especiallymeans that <code>.json</code>\n"
" from Cura versions starting with 15.06 is supported, nor are the " " profiles from Cura 15.06.x and <code>.curaprofile</code> "
"custom Cura profile formats\n" "profiles from Cura 2.x will not work, and neither\n"
" that third party tools like e.g. Repetier create.\n" " will custom Cura profile formats that third party tools like e."
"g. Repetier create.\n"
" " " "
msgstr "" msgstr ""
"\n" "Du kannst hier deine vorhandenen <code>.ini</code> Profildateien von "
" Hier kannst Du Deine existierenden Profildateien (<code>.ini</code>) aus " "<strong>Cura 15.04.x oder älter</strong> importieren. Andere Profilformate "
"Cura importieren (Versionen bis\n" "als diese sind <strong>nicht unterstützt</strong>. Das beinhaltet "
" einschließlich 15.04). Bitte beachte, dass weder die <code>.json</code> " "insbesondere, dass <code>.json</code> Profile von Cura 15.06.x und <code>."
"Profile aus\n" "curaprofile</code> Profile von Cura 2.x nicht funktionieren werden, ebenso "
" Curaversionen ab 15.06 unterstützt werden, noch andere " "wenig wie Cura-Profildateien, die von Third-Party-Tools wie z.B. Repetier "
"Thirdpartyprofilformate von\n" "erstellt wurden."
" Tools wie z.B. Repetier Host.\n"
" "
#: src/octoprint/plugins/cura/templates/cura_settings.jinja2:121 #: src/octoprint/plugins/cura/templates/cura_settings.jinja2:121
#: src/octoprint/templates/dialogs/settings/accesscontrol.jinja2:80 #: src/octoprint/templates/dialogs/settings/accesscontrol.jinja2:80
@@ -227,7 +226,7 @@ msgstr "Abbrechen"
msgid "Confirm" msgid "Confirm"
msgstr "Bestätigen" msgstr "Bestätigen"
#: src/octoprint/plugins/pluginmanager/__init__.py:116 #: src/octoprint/plugins/pluginmanager/__init__.py:117
msgid "Plugin Manager" msgid "Plugin Manager"
msgstr "Pluginmanager" msgstr "Pluginmanager"
@@ -754,7 +753,7 @@ msgid "Software Update"
msgstr "Software Update" msgstr "Software Update"
#: src/octoprint/plugins/softwareupdate/__init__.py:752 #: src/octoprint/plugins/softwareupdate/__init__.py:752
#: src/octoprint/server/views.py:217 #: src/octoprint/server/views.py:220
#: src/octoprint/static/js/app/viewmodels/appearance.js:11 #: src/octoprint/static/js/app/viewmodels/appearance.js:11
#: src/octoprint/static/js/app/viewmodels/appearance.js:13 #: src/octoprint/static/js/app/viewmodels/appearance.js:13
#: src/octoprint/static/js/app/viewmodels/appearance.js:18 #: src/octoprint/static/js/app/viewmodels/appearance.js:18
@@ -1077,108 +1076,108 @@ msgstr ""
msgid "Version cache TTL" msgid "Version cache TTL"
msgstr "TTL des Versionscaches" msgstr "TTL des Versionscaches"
#: src/octoprint/server/views.py:125 #: src/octoprint/server/views.py:128
msgid "Plugins" msgid "Plugins"
msgstr "Plugins" msgstr "Plugins"
#: src/octoprint/server/views.py:183 #: src/octoprint/server/views.py:186
msgid "Connection" msgid "Connection"
msgstr "Verbindung" msgstr "Verbindung"
#: src/octoprint/server/views.py:184 #: src/octoprint/server/views.py:187
#: src/octoprint/templates/sidebar/state.jinja2:1 #: src/octoprint/templates/sidebar/state.jinja2:1
msgid "State" msgid "State"
msgstr "Status" msgstr "Status"
#: src/octoprint/server/views.py:185 #: src/octoprint/server/views.py:188
msgid "Files" msgid "Files"
msgstr "Dateien" msgstr "Dateien"
#: src/octoprint/server/views.py:191 #: src/octoprint/server/views.py:194
msgid "Temperature" msgid "Temperature"
msgstr "Temperatur" msgstr "Temperatur"
#: src/octoprint/server/views.py:192 #: src/octoprint/server/views.py:195
msgid "Control" msgid "Control"
msgstr "Steuerung" msgstr "Steuerung"
#: src/octoprint/server/views.py:193 #: src/octoprint/server/views.py:196
msgid "Terminal" msgid "Terminal"
msgstr "Terminal" msgstr "Terminal"
#: src/octoprint/server/views.py:196 #: src/octoprint/server/views.py:199
msgid "GCode Viewer" msgid "GCode Viewer"
msgstr "GCode Viewer" msgstr "GCode Viewer"
#: src/octoprint/server/views.py:198 #: src/octoprint/server/views.py:201
#: src/octoprint/templates/sidebar/state.jinja2:4 #: src/octoprint/templates/sidebar/state.jinja2:4
msgid "Timelapse" msgid "Timelapse"
msgstr "Zeitraffer" msgstr "Zeitraffer"
#: src/octoprint/server/views.py:203 #: src/octoprint/server/views.py:206
msgid "Printer" msgid "Printer"
msgstr "Drucker" msgstr "Drucker"
#: src/octoprint/server/views.py:205 #: src/octoprint/server/views.py:208
msgid "Serial Connection" msgid "Serial Connection"
msgstr "Serielle Verbindung" msgstr "Serielle Verbindung"
#: src/octoprint/server/views.py:206 #: src/octoprint/server/views.py:209
#: src/octoprint/templates/dialogs/settings/printerprofiles.jinja2:1 #: src/octoprint/templates/dialogs/settings/printerprofiles.jinja2:1
msgid "Printer Profiles" msgid "Printer Profiles"
msgstr "Druckerprofile" msgstr "Druckerprofile"
#: src/octoprint/server/views.py:207 #: src/octoprint/server/views.py:210
msgid "Temperatures" msgid "Temperatures"
msgstr "Temperaturen" msgstr "Temperaturen"
#: src/octoprint/server/views.py:208 #: src/octoprint/server/views.py:211
msgid "Terminal Filters" msgid "Terminal Filters"
msgstr "Terminalfilter" msgstr "Terminalfilter"
#: src/octoprint/server/views.py:209 #: src/octoprint/server/views.py:212
msgid "GCODE Scripts" msgid "GCODE Scripts"
msgstr "GCODE Scripts" msgstr "GCODE Scripts"
#: src/octoprint/server/views.py:211 src/octoprint/server/views.py:213 #: src/octoprint/server/views.py:214 src/octoprint/server/views.py:216
msgid "Features" msgid "Features"
msgstr "Funktionen" msgstr "Funktionen"
#: src/octoprint/server/views.py:214 #: src/octoprint/server/views.py:217
msgid "Webcam" msgid "Webcam"
msgstr "Webcam" msgstr "Webcam"
#: src/octoprint/server/views.py:215 #: src/octoprint/server/views.py:218
msgid "API" msgid "API"
msgstr "API" msgstr "API"
#: src/octoprint/server/views.py:219 #: src/octoprint/server/views.py:222
#: src/octoprint/templates/dialogs/settings/folders.jinja2:2 #: src/octoprint/templates/dialogs/settings/folders.jinja2:2
msgid "Folders" msgid "Folders"
msgstr "Verzeichnisse" msgstr "Verzeichnisse"
#: src/octoprint/server/views.py:220 #: src/octoprint/server/views.py:223
msgid "Appearance" msgid "Appearance"
msgstr "Aussehen" msgstr "Aussehen"
#: src/octoprint/server/views.py:221 #: src/octoprint/server/views.py:224
#: src/octoprint/templates/dialogs/settings/logs.jinja2:2 #: src/octoprint/templates/dialogs/settings/logs.jinja2:2
msgid "Logs" msgid "Logs"
msgstr "Logs" msgstr "Logs"
#: src/octoprint/server/views.py:222 #: src/octoprint/server/views.py:225
msgid "Server" msgid "Server"
msgstr "Server" msgstr "Server"
#: src/octoprint/server/views.py:225 #: src/octoprint/server/views.py:228
msgid "Access Control" msgid "Access Control"
msgstr "Zugangsbeschränkung" msgstr "Zugangsbeschränkung"
#: src/octoprint/server/views.py:231 #: src/octoprint/server/views.py:234
msgid "Access" msgid "Access"
msgstr "Zugriff" msgstr "Zugriff"
#: src/octoprint/server/views.py:232 #: src/octoprint/server/views.py:235
msgid "Interface" msgid "Interface"
msgstr "Interface" msgstr "Interface"
@@ -3511,3 +3510,24 @@ msgstr "Ungerenderte Zeitrafferaufnahme löschen"
#: src/octoprint/templates/tabs/timelapse.jinja2:99 #: src/octoprint/templates/tabs/timelapse.jinja2:99
msgid "Render timelapse" msgid "Render timelapse"
msgstr "Zeitrafferaufnahme rendern" msgstr "Zeitrafferaufnahme rendern"
#~ msgid ""
#~ "\n"
#~ " You can import your existing profile <code>.ini</code> files "
#~ "from Cura (version up to and\n"
#~ " including 15.04) here. Please be aware that neither the "
#~ "<code>.json</code> profile format\n"
#~ " from Cura versions starting with 15.06 is supported, nor are "
#~ "the custom Cura profile formats\n"
#~ " that third party tools like e.g. Repetier create.\n"
#~ " "
#~ msgstr ""
#~ "\n"
#~ " Hier kannst Du Deine existierenden Profildateien (<code>.ini</code>) "
#~ "aus Cura importieren (Versionen bis\n"
#~ " einschließlich 15.04). Bitte beachte, dass weder die <code>.json</"
#~ "code> Profile aus\n"
#~ " Curaversionen ab 15.06 unterstützt werden, noch andere "
#~ "Thirdpartyprofilformate von\n"
#~ " Tools wie z.B. Repetier Host.\n"
#~ " "
+36 -35
View File
@@ -6,9 +6,9 @@
#, fuzzy #, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: OctoPrint 1.2.16.dev44+ge19ecb0\n" "Project-Id-Version: OctoPrint 1.2.17.dev41+ga88cd9f\n"
"Report-Msgid-Bugs-To: i18n@octoprint.org\n" "Report-Msgid-Bugs-To: i18n@octoprint.org\n"
"POT-Creation-Date: 2016-09-09 11:35+0200\n" "POT-Creation-Date: 2016-11-22 12:42+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -183,12 +183,13 @@ msgstr ""
msgid "" msgid ""
"\n" "\n"
" You can import your existing profile <code>.ini</code> files " " You can import your existing profile <code>.ini</code> files "
"from Cura (version up to and\n" "from <strong>Cura 15.04.x or older</strong>\n"
" including 15.04) here. Please be aware that neither the " " here. Anything but those are <strong>not supported</strong>. "
"<code>.json</code> profile format\n" "That especiallymeans that <code>.json</code>\n"
" from Cura versions starting with 15.06 is supported, nor are " " profiles from Cura 15.06.x and <code>.curaprofile</code> "
"the custom Cura profile formats\n" "profiles from Cura 2.x will not work, and neither\n"
" that third party tools like e.g. Repetier create.\n" " will custom Cura profile formats that third party tools like "
"e.g. Repetier create.\n"
" " " "
msgstr "" msgstr ""
@@ -208,7 +209,7 @@ msgstr ""
msgid "Confirm" msgid "Confirm"
msgstr "" msgstr ""
#: src/octoprint/plugins/pluginmanager/__init__.py:116 #: src/octoprint/plugins/pluginmanager/__init__.py:117
msgid "Plugin Manager" msgid "Plugin Manager"
msgstr "" msgstr ""
@@ -672,7 +673,7 @@ msgid "Software Update"
msgstr "" msgstr ""
#: src/octoprint/plugins/softwareupdate/__init__.py:752 #: src/octoprint/plugins/softwareupdate/__init__.py:752
#: src/octoprint/server/views.py:217 #: src/octoprint/server/views.py:220
#: src/octoprint/static/js/app/viewmodels/appearance.js:11 #: src/octoprint/static/js/app/viewmodels/appearance.js:11
#: src/octoprint/static/js/app/viewmodels/appearance.js:13 #: src/octoprint/static/js/app/viewmodels/appearance.js:13
#: src/octoprint/static/js/app/viewmodels/appearance.js:18 #: src/octoprint/static/js/app/viewmodels/appearance.js:18
@@ -947,108 +948,108 @@ msgstr ""
msgid "Version cache TTL" msgid "Version cache TTL"
msgstr "" msgstr ""
#: src/octoprint/server/views.py:125 #: src/octoprint/server/views.py:128
msgid "Plugins" msgid "Plugins"
msgstr "" msgstr ""
#: src/octoprint/server/views.py:183 #: src/octoprint/server/views.py:186
msgid "Connection" msgid "Connection"
msgstr "" msgstr ""
#: src/octoprint/server/views.py:184 #: src/octoprint/server/views.py:187
#: src/octoprint/templates/sidebar/state.jinja2:1 #: src/octoprint/templates/sidebar/state.jinja2:1
msgid "State" msgid "State"
msgstr "" msgstr ""
#: src/octoprint/server/views.py:185 #: src/octoprint/server/views.py:188
msgid "Files" msgid "Files"
msgstr "" msgstr ""
#: src/octoprint/server/views.py:191 #: src/octoprint/server/views.py:194
msgid "Temperature" msgid "Temperature"
msgstr "" msgstr ""
#: src/octoprint/server/views.py:192 #: src/octoprint/server/views.py:195
msgid "Control" msgid "Control"
msgstr "" msgstr ""
#: src/octoprint/server/views.py:193 #: src/octoprint/server/views.py:196
msgid "Terminal" msgid "Terminal"
msgstr "" msgstr ""
#: src/octoprint/server/views.py:196 #: src/octoprint/server/views.py:199
msgid "GCode Viewer" msgid "GCode Viewer"
msgstr "" msgstr ""
#: src/octoprint/server/views.py:198 #: src/octoprint/server/views.py:201
#: src/octoprint/templates/sidebar/state.jinja2:4 #: src/octoprint/templates/sidebar/state.jinja2:4
msgid "Timelapse" msgid "Timelapse"
msgstr "" msgstr ""
#: src/octoprint/server/views.py:203 #: src/octoprint/server/views.py:206
msgid "Printer" msgid "Printer"
msgstr "" msgstr ""
#: src/octoprint/server/views.py:205 #: src/octoprint/server/views.py:208
msgid "Serial Connection" msgid "Serial Connection"
msgstr "" msgstr ""
#: src/octoprint/server/views.py:206 #: src/octoprint/server/views.py:209
#: src/octoprint/templates/dialogs/settings/printerprofiles.jinja2:1 #: src/octoprint/templates/dialogs/settings/printerprofiles.jinja2:1
msgid "Printer Profiles" msgid "Printer Profiles"
msgstr "" msgstr ""
#: src/octoprint/server/views.py:207 #: src/octoprint/server/views.py:210
msgid "Temperatures" msgid "Temperatures"
msgstr "" msgstr ""
#: src/octoprint/server/views.py:208 #: src/octoprint/server/views.py:211
msgid "Terminal Filters" msgid "Terminal Filters"
msgstr "" msgstr ""
#: src/octoprint/server/views.py:209 #: src/octoprint/server/views.py:212
msgid "GCODE Scripts" msgid "GCODE Scripts"
msgstr "" msgstr ""
#: src/octoprint/server/views.py:211 src/octoprint/server/views.py:213 #: src/octoprint/server/views.py:214 src/octoprint/server/views.py:216
msgid "Features" msgid "Features"
msgstr "" msgstr ""
#: src/octoprint/server/views.py:214 #: src/octoprint/server/views.py:217
msgid "Webcam" msgid "Webcam"
msgstr "" msgstr ""
#: src/octoprint/server/views.py:215 #: src/octoprint/server/views.py:218
msgid "API" msgid "API"
msgstr "" msgstr ""
#: src/octoprint/server/views.py:219 #: src/octoprint/server/views.py:222
#: src/octoprint/templates/dialogs/settings/folders.jinja2:2 #: src/octoprint/templates/dialogs/settings/folders.jinja2:2
msgid "Folders" msgid "Folders"
msgstr "" msgstr ""
#: src/octoprint/server/views.py:220 #: src/octoprint/server/views.py:223
msgid "Appearance" msgid "Appearance"
msgstr "" msgstr ""
#: src/octoprint/server/views.py:221 #: src/octoprint/server/views.py:224
#: src/octoprint/templates/dialogs/settings/logs.jinja2:2 #: src/octoprint/templates/dialogs/settings/logs.jinja2:2
msgid "Logs" msgid "Logs"
msgstr "" msgstr ""
#: src/octoprint/server/views.py:222 #: src/octoprint/server/views.py:225
msgid "Server" msgid "Server"
msgstr "" msgstr ""
#: src/octoprint/server/views.py:225 #: src/octoprint/server/views.py:228
msgid "Access Control" msgid "Access Control"
msgstr "" msgstr ""
#: src/octoprint/server/views.py:231 #: src/octoprint/server/views.py:234
msgid "Access" msgid "Access"
msgstr "" msgstr ""
#: src/octoprint/server/views.py:232 #: src/octoprint/server/views.py:235
msgid "Interface" msgid "Interface"
msgstr "" msgstr ""