Compare commits

..
Author SHA1 Message Date
Gina Häußge ec4e75e672 🔖 staging/maintenance is now 1.9.0rc7.dev 2023-05-08 16:15:12 +02:00
31 changed files with 158 additions and 227 deletions

No files matched your search

-2
View File
@@ -1,7 +1,5 @@
# These are supported funding model platforms
github: [foosel]
ko_fi: OctoPrint
patreon: foosel
liberapay: foosel
custom: https://octoprint.org/support-octoprint/
+2 -2
View File
@@ -71,7 +71,7 @@ body:
required: true
- type: input
attributes:
label: If you could not test in safe mode, please state why ("currently printing" is NOT an excuse!)
label: If you could not test in safe mode, please state why
description: >-
Issues caused by a third party plugin are a major cause of bugs reported here, so we really need to
rule out that a plugin is at fault here. [Safe mode](https://docs.octoprint.org/en/master/features/safemode.html) is an easy way to do that. Only skip safe mode
@@ -79,7 +79,7 @@ body:
too long" or "I have a long print running right now" are **not** a reason to skip testing in safe mode, neither is "I do not know how to
enable it" as you can find info on that [here](https://docs.octoprint.org/en/master/features/safemode.html).
If you really *cannot* test in safe mode at all, leave a short explanation as to why. If you can but just not right now, then wait with reporting until you can!
If you really *cannot* test in safe mode at all, leave a short explanation as to why. If you,can but just not right now, then wait with reporting until you can.
- type: markdown
attributes:
value: |
+2 -10
View File
@@ -2,17 +2,9 @@ approve_label: "approved"
problem_label: "needs some work"
ignore_label: "skip validation"
allowed_targets:
["maintenance", "devel", "staging/bugfix", "staging/maintenance", "staging/devel"]
allowed_targets: ["maintenance", "devel", "staging/maintenance", "staging/devel"]
forbidden_sources:
[
"master",
"maintenance",
"devel",
"staging/bugfix",
"staging/maintenance",
"staging/devel"
]
["master", "maintenance", "devel", "staging/maintenance", "staging/devel"]
labels:
docs:
+5 -5
View File
@@ -11,7 +11,7 @@ jobs:
name: 🔨 Build distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 🏗 Set up Python 3.7
@@ -34,7 +34,7 @@ jobs:
name: 🧹 Pre-commit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3
- name: 🏗 Set up Python 3.7
uses: actions/setup-python@v4
with:
@@ -53,7 +53,7 @@ jobs:
python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3
- name: 🏗 Set up Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
@@ -70,7 +70,7 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3
- name: 🏗 Set up test dependencies
run: |
npm -g install node-qunit-puppeteer@2.1.0
@@ -112,7 +112,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: ⬇ Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v3
- name: ⬇ Download build result
uses: actions/download-artifact@v3
+1 -1
View File
@@ -10,7 +10,7 @@ jobs:
name: 🔒 Lock issues & PRs closed over a year
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v5
- uses: dessant/lock-threads@v4
with:
github-token: ${{ github.token }}
issue-comment: ""
+2 -2
View File
@@ -7,7 +7,7 @@ jobs:
issue-automation:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
- uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
@@ -72,7 +72,7 @@ jobs:
# with:
# repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/github-script@v7
- uses: actions/github-script@v6
env:
REMINDER: >
Hi @${{ github.event.issue.user.login }}!
+1 -1
View File
@@ -7,7 +7,7 @@ jobs:
linkifyBundles:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
- uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
+1 -1
View File
@@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: ⬇ Checkout
uses: actions/checkout@v4
uses: actions/checkout@v3
with:
fetch-depth: 0
+1 -1
View File
@@ -12,7 +12,7 @@ jobs:
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
- uses: actions/github-script@v7
- uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
+38 -45
View File
@@ -15,63 +15,21 @@ jobs:
matrix:
os: ["ubuntu-latest"]
python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
branch: ["master", "release"]
branch: ["master"]
runs-on: ${{ matrix.os }}
steps:
- name: ⬇ Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
path: src
- name: 🐍 Set up Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
# Checkout code and install
- name: ⬇ Checkout code to test
if: ${{ matrix.branch != 'release' }}
uses: actions/checkout@v4
- name: ⬇ Checkout code
uses: actions/checkout@v3
with:
ref: ${{ matrix.branch }}
fetch-depth: 0
path: checkout
- name: 👷 Build and install checkout
if: ${{ matrix.branch != 'release' }}
working-directory: checkout
run: |
pip install .
# Install latest release
- name: 👀 Determine latest release
if: ${{ matrix.branch == 'release' }}
run: |
OCTOPRINT_VERSION=$(curl -i https://github.com/OctoPrint/OctoPrint/releases/latest | grep -i location: | head -n1 | awk -F/ '{print $NF}' | tr -d '\r')
echo "OCTOPRINT_VERSION=$OCTOPRINT_VERSION" >> $GITHUB_ENV
- name: 👷 Build and install latest release
if: ${{ matrix.branch == 'release' }}
run: |
pip install https://github.com/OctoPrint/OctoPrint/archive/${{ env.OCTOPRINT_VERSION }}.zip
# Test if server starts without error
- name: 🏗 Create base config for test server
run: |
mkdir e2econfig
cp -r src/.github/fixtures/with_acl/* e2econfig
- name: 🧪 Start OctoPrint server
run: |
timeout -k 10s 30s octoprint serve --basedir e2econfig &
wait
- name: 🔎 Check octoprint.log for errors
run: |
log=${{ github.workspace }}/e2econfig/logs/octoprint.log
if grep "\- ERROR \-" $log; then
echo "::error::Errors were logged to octoprint.log"
grep -Pazo '(?m)^\N+\- ERROR \-\N*\n(^\N*?\n)*?(?=\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2},\d{3} \- )' $log
exit 1
fi
- name: 📧 Discord success notification
continue-on-error: true
env:
@@ -87,3 +45,38 @@ jobs:
uses: Ilshidur/action-discord@master
with:
args: "🚫 Test install on Python ${{ matrix.python }} under `${{ matrix.os }}` for `OctoPrint/OctoPrint:${{ matrix.branch }}` failed"
install-latest:
name: Install latest release
strategy:
matrix:
os: ["ubuntu-latest"]
python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
runs-on: ${{ matrix.os }}
steps:
- name: 👀 Determine latest release
run: |
OCTOPRINT_VERSION=$(curl -i https://github.com/OctoPrint/OctoPrint/releases/latest | grep -i location: | head -n1 | awk -F/ '{print $NF}' | tr -d '\r')
echo "OCTOPRINT_VERSION=$OCTOPRINT_VERSION" >> $GITHUB_ENV
- name: 🐍 Set up Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: 👷 Build and install latest release
run: |
pip install https://github.com/OctoPrint/OctoPrint/archive/${{ env.OCTOPRINT_VERSION }}.zip
- name: 📧 Discord success notification
continue-on-error: true
env:
DISCORD_WEBHOOK: ${{ secrets.discord_webhook }}
uses: Ilshidur/action-discord@master
with:
args: "☑️ Test install on Python ${{ matrix.python }} under `${{ matrix.os }}` for `OctoPrint/OctoPrint:${{ env.OCTOPRINT_VERSION }}` was successful"
- name: 📧 Discord failure notification
continue-on-error: true
if: failure()
env:
DISCORD_WEBHOOK: ${{ secrets.discord_webhook }}
uses: Ilshidur/action-discord@master
with:
args: "🚫 Test install on Python ${{ matrix.python }} under `${{ matrix.os }}` for `OctoPrint/OctoPrint:${{ env.OCTOPRINT_VERSION }}` failed"
+6 -6
View File
@@ -24,15 +24,15 @@ maintenance 1.9.0 fa2c4680cca0d1d6b46e6c1ed68ceea4d9b79afb pep440-dev
fix/.* 1.9.0 fa2c4680cca0d1d6b46e6c1ed68ceea4d9b79afb pep440-dev
improve/.* 1.9.0 fa2c4680cca0d1d6b46e6c1ed68ceea4d9b79afb pep440-dev
# staging/bugfix is the branch for preparation of the 1.9.x bugfix releases
# staging/bugfix is the branch for preparation of the 1.8.7 bugfix release
# so are any bug/... branches
staging/bugfix 1.9.3 f027aaa7300f70b046525a49245b33c43dd198c1 pep440-dev
bug/.* 1.9.3 f027aaa7300f70b046525a49245b33c43dd198c1 pep440-dev
staging/bugfix 1.8.8 8e4c1f5246c4245b839ccdcdabf2beee671b08d7 pep440-dev
bug/.* 1.8.8 8e4c1f5246c4245b839ccdcdabf2beee671b08d7 pep440-dev
# staging/maintenance is currently the branch for preparation of 1.9.0rc6
# staging/maintenance is currently the branch for preparation of 1.9.0rc7
# so is regressionfix/...
staging/maintenance 1.9.0rc6 2596a99a2497e53e3f73399941bda7822bb1ef6f pep440-dev
regressionfix/.* 1.9.0rc6 2596a99a2497e53e3f73399941bda7822bb1ef6f pep440-dev
staging/maintenance 1.9.0rc7 9ba981a2ea789030927fc49b6ad166bc68f6b5f9 pep440-dev
regressionfix/.* 1.9.0rc7 9ba981a2ea789030927fc49b6ad166bc68f6b5f9 pep440-dev
# staging/devel is currently inactive (but has the 1.4.1rc4 namespace)
staging/devel 1.4.1rc4 650d54d1885409fa1d411eb54b9e8c7ff428910f pep440-dev
-1
View File
@@ -176,7 +176,6 @@ date of first contribution):
* [Moiz Rasheed](https://github.com/msrasheed)
* [Scott Martin](https://github.com/smartin015)
* [Shyam Sunder](https://github.com/sgsunder)
* [Christopher Perrin](https://github.com/cperrin88)
OctoPrint started off as a fork of [Cura](https://github.com/daid/Cura) by
[Daid Braam](https://github.com/daid). Parts of its communication layer and
+7 -4
View File
@@ -10,6 +10,7 @@ thanks to everyone who contributed!
* 3DPrinterOS
* Al Mucci
* Ash King
* Ben Fritsch
* BigTreeTech
* Boris Hussein
* Brad Jackson
@@ -17,12 +18,13 @@ thanks to everyone who contributed!
* Christian Wolf
* Christian Würthner
* Christoph Sigrist
* Creality3D
* DeltaMaker 3D Printers
* Dennis Breining
* Dima Gorbenko
* Douglas Floyd
* Ed Crump
* Ernesto Martinez
* Fiberpunk
* Franziska Kunsmann
* Hog Duske
* Jacob Renstrom
@@ -39,10 +41,10 @@ thanks to everyone who contributed!
* Lachlan Bell
* Lefteris Lertas
* LulzBot
* Makerbase
* Makespace Madrid
* Mark Greenwald
* Mark Walker
* Martin Majewski
* Michael Aumock
* Michael Badagliacco
* Mike Labanov
@@ -50,6 +52,7 @@ thanks to everyone who contributed!
* Norman Jaffe
* Obico
* Ory Weaver
* Peopoly
* Pete Barnwell
* Raise3D
* Randy C. Will
@@ -58,10 +61,10 @@ thanks to everyone who contributed!
* Richard Stocks
* Robert Gusek
* SimplyPrint
* Songyin Zheng
* Stefan Krister
* Steve Dougherty
* Steve Thompson
* Tideline 3D
* Ulrich Kempken
and 1918 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [GitHub Sponsors](https://github.com/users/foosel/sponsorship)!
and 2008 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [GitHub Sponsors](https://github.com/users/foosel/sponsorship)!
+3 -3
View File
@@ -36,7 +36,7 @@ SETUP_REQUIRES = []
bundled_plugins = [
"OctoPrint-FileCheck>=2021.2.23",
"OctoPrint-FirmwareCheck>=2021.10.11",
"OctoPrint-PiSupport>=2023.5.24",
"OctoPrint-PiSupport>=2022.6.13",
]
core_deps = [
"argon2_cffi>=21.3.0,<22",
@@ -61,10 +61,10 @@ core_deps = [
"pathvalidate>=2.5.2,<3",
"pkginfo>=1.9.6,<2",
"psutil>=5.9.4,<6",
"pydantic==1.10.12", # to be kept pinned until https://github.com/pydantic/pydantic/issues/7689 is resolved
"pydantic>=1.10.7,<2",
"pylru>=1.2.1,<2",
"pyserial>=3.5,<4",
"PyYAML>=6.0.1,<7", # changelog at https://github.com/yaml/pyyaml/blob/master/CHANGES
"PyYAML>=5.4.1,<6", # no changelog available for version 6, so we're not risking it
"requests>=2.28.2,<3",
"sarge==0.1.7.post1",
"semantic_version>=2.10.0,<3",
+1 -1
View File
@@ -27,7 +27,7 @@ try:
# test if we can actually hash and verify, if not we won't use this backend
hash = argon2.hash("test")
assert argon2.verify("test", hash)
argon2.verify("test", hash)
password_hashers.append(argon2)
except Exception:
+4 -11
View File
@@ -577,9 +577,7 @@ class PluginInfo:
self._version
if self._version is not None
else self._get_instance_attribute(
ControlProperties.attr_version,
default=self._version,
incl_metadata=True,
ControlProperties.attr_version, default=self._version, incl_metadata=True
)
)
@@ -961,9 +959,7 @@ class PluginManager:
if self.plugin_folders:
try:
added, found = self._find_plugins_from_folders(
self.plugin_folders,
existing,
ignored_uninstalled=ignore_uninstalled,
self.plugin_folders, existing, ignored_uninstalled=ignore_uninstalled
)
result_added.update(added)
result_found += found
@@ -1795,10 +1791,7 @@ class PluginManager:
plugin_hooks = plugin.hooks.keys()
return any(
map(
lambda hook: PluginManager.hook_matches_hooks(hook, *hooks),
plugin_hooks,
)
map(lambda hook: PluginManager.hook_matches_hooks(hook, *hooks), plugin_hooks)
)
@staticmethod
@@ -2175,7 +2168,7 @@ class PluginManager:
plugin_info = self.get_plugin_info(impl[0], require_enabled=False)
return (
sv(sorting_value, default_value=self.default_order),
sv(sorting_value),
not plugin_info.bundled if plugin_info else True,
sv(impl[0]),
)
@@ -18,10 +18,10 @@ from octoprint.util.version import (
)
SENTRY_URL_SERVER = (
"https://f723fd2a91da40dbae1148193ea49001@o118517.ingest.sentry.io/1373987"
"https://9456b5f2ea6848a1aefd9f721b255e24@o118517.ingest.sentry.io/1373987"
)
SENTRY_URL_COREUI = (
"https://a115318be6faed605c6bfde4e183b7a0@o118517.ingest.sentry.io/1374096"
"https://ba606129a1da4ffe87907db5283e47a3@o118517.ingest.sentry.io/1374096"
)
SETTINGS_DEFAULTS = {
@@ -505,15 +505,14 @@ $(function () {
});
};
self.loadFile = function (path, date, size, force) {
self.loadFile = function (path, date, size) {
self.enableReload(false);
self.needsLoad = false;
if (
self.status === "idle" &&
(force ||
(self.cachedPath !== path &&
self.cachedDate !== date &&
self.cachedSize !== size))
self.cachedPath !== path &&
self.cachedDate !== date &&
self.cachedSize !== size
) {
self.status = "request";
@@ -550,12 +549,7 @@ $(function () {
self.reload = function () {
if (!self.enableReload()) return;
self.loadFile(
self.loadedFilepath,
self.loadedFileDate,
self.loadedFileSize,
true
);
self.loadFile(self.loadedFilepath, self.loadedFileDate, self.loadedFileSize);
};
self.fromHistoryData = function (data) {
@@ -897,11 +891,8 @@ $(function () {
self.onTabChange = function (current, previous) {
self.tabActive = current === "#gcode";
if (self.tabActive && self.needsLoad) {
self.loadFile(
self.selectedFile.path(),
self.selectedFile.date(),
self.selectedFile.size()
);
self.loadFile(self.selectedFile.path(), self.selectedFile.date()),
self.selectedFile.size();
}
};
@@ -4,18 +4,10 @@
* Time: 12:18 PM
*/
// base url to use for API calls; it's the worker location minus the worker.js path
var baseUrl = self.location.href.substring(
0,
self.location.href.length - "/plugin/gcodeviewer/static/js/viewer/worker.js".length
);
// raw path suitable for fetch()
var url;
// path relative to Local
var path;
var firstReport;
var toolOffsets = [{x: 0, y: 0}];
var g90InfluencesExtruder = false;
@@ -463,9 +455,7 @@ var doParse = async function () {
// if skipUntil is set, get skipUntilPresent
skipUntilPresent = false;
if (skipUntil !== undefined && skipUntil !== "") {
result = await fetch(
baseUrl + "/plugin/gcodeviewer/skipuntilcheck/local/" + path
);
result = await fetch("/plugin/gcodeviewer/skipuntilcheck/local/" + path);
if (result.ok) {
response = await result.json();
skipUntilPresent = response.present;
@@ -914,8 +904,6 @@ var runAnalyze = function (message) {
layerCnt = 0;
speeds = {extrude: [], retract: [], move: []};
speedsByLayer = {extrude: {}, retract: {}, move: {}};
emptyLayers = [];
percentageByLayer = [];
};
var setOption = function (options) {
@@ -61,7 +61,7 @@ class SoftwareUpdatePlugin(
octoprint.plugin.EventHandlerPlugin,
):
COMMIT_TRACKING_TYPES = ("github_commit", "bitbucket_commit")
CURRENT_TRACKING_TYPES = COMMIT_TRACKING_TYPES + ("httpheader", "jsondata")
CURRENT_TRACKING_TYPES = COMMIT_TRACKING_TYPES + ("etag", "lastmodified", "jsondata")
RELEASE_TRACKING_TYPES = ("github_release",)
OCTOPRINT_RESTART_TYPES = ("pip", "single_file_plugin")
-1
View File
@@ -666,7 +666,6 @@ class PrinterProfileManager:
("axes", "x", "speed"),
("axes", "y", "speed"),
("axes", "z", "speed"),
("axes", "e", "speed"),
):
try:
convert_value(profile, path, int)
+1 -1
View File
@@ -182,7 +182,7 @@ class SerialConfig(BaseModel):
waitForStartOnConnect: bool = False
"""Whether OctoPrint should wait for the `start` response from the printer before trying to send commands during connect."""
waitToLoadSdFileList: bool = True
waitToLoadSdFileList: bool = False
"""Specifies whether OctoPrint should wait to load the SD card file list until the first firmware capability report is processed."""
alwaysSendChecksum: bool = False
+3 -4
View File
@@ -593,10 +593,9 @@ class Settings:
return folder
def _init_script_templating(self):
from jinja2 import BaseLoader, ChoiceLoader, TemplateNotFound
from jinja2 import BaseLoader, ChoiceLoader, Environment, TemplateNotFound
from jinja2.ext import Extension
from jinja2.nodes import Include
from jinja2.sandbox import SandboxedEnvironment
from octoprint.util.jinja import FilteredFileSystemLoader
@@ -665,9 +664,9 @@ class Settings:
def list_templates(self):
return self._default.list_templates()
class RelEnvironment(SandboxedEnvironment):
class RelEnvironment(Environment):
def __init__(self, prefix_sep=":", *args, **kwargs):
super().__init__(*args, **kwargs)
Environment.__init__(self, *args, **kwargs)
self._prefix_sep = prefix_sep
def join_path(self, template, parent):
@@ -57,20 +57,19 @@ $(function () {
self._visibleWebcam = undefined;
self._dispatchWebcamVisibilityChange = function (target, visible) {
log.debug(`Webcam visibility of #${target.id} changed to ${visible}`);
var vm = ko.dataFor(target.children[0]);
if (vm === self) {
log.debug(
console.debug(
`VM for webcam #${target.id} is not bound, skipping visibility update`
);
} else if (vm === undefined) {
log.debug(
console.debug(
`VM for webcam #${target.id} not found, skipping visibility update`
);
} else if (typeof vm.onWebcamVisibilityChange === "function") {
vm.onWebcamVisibilityChange(visible);
} else {
log.debug(
console.debug(
`VM for webcam #${target.id} does not declare 'onWebcamVisibilityChange(visible)', skipping visibility update (vm=${vm.constructor.name})`
);
}
@@ -123,7 +122,7 @@ $(function () {
var options = {
root: document.querySelector("#webcam_plugins_container"),
rootMargin: "0px",
threshold: 0.01
threshold: 1.0
};
var callback = function (entries) {
var visible = entries[0].isIntersecting;
@@ -463,7 +463,7 @@
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: serial_waitToLoadSdFileList" id="settings-serialWaitToLoadSdFileList"> {{ _('Wait to load the SD card file list until the firmware capability report is processed.') }}
<span class="help-block">{{ _('Try unchecking this if the SD card file list never gets loaded after connecting to the printer, due to your firmware not providing a capability report.') }}</span>
<span class="help-block">{{ _('Try checking this if the SD card file list loads improperly after connecting to the printer.') }}</span>
</label>
</div>
</div>
@@ -3,10 +3,10 @@
# This file is distributed under the same license as the OctoPrint project.
msgid ""
msgstr ""
"Project-Id-Version: OctoPrint 1.9.1\n"
"Project-Id-Version: OctoPrint 1.9.0\n"
"Report-Msgid-Bugs-To: i18n@octoprint.org\n"
"POT-Creation-Date: 2023-06-26 15:06+0200\n"
"PO-Revision-Date: 2023-06-26 15:06+0200\n"
"POT-Creation-Date: 2023-04-13 13:14+0200\n"
"PO-Revision-Date: 2023-04-13 13:14+0200\n"
"Last-Translator: Gina Häußge <gina@octoprint.org>\n"
"Language: de\n"
"Language-Team: de <LL@li.org>\n"
@@ -1863,16 +1863,16 @@ msgstr ""
" noreferer\">Privacy Policy</a> an.\n"
"</p>\n"
#: src/octoprint/plugins/eventmanager/__init__.py:42
#: src/octoprint/plugins/eventmanager/__init__.py:60
#: src/octoprint/plugins/eventmanager/__init__.py:39
#: src/octoprint/plugins/eventmanager/__init__.py:57
msgid "Event Manager"
msgstr "Eventmanager"
#: src/octoprint/plugins/eventmanager/__init__.py:51
#: src/octoprint/plugins/eventmanager/__init__.py:48
msgid "Allows for the management of event subscriptions."
msgstr "Ermöglicht das Verwalten von Eventsubscriptions."
#: src/octoprint/plugins/eventmanager/__init__.py:64
#: src/octoprint/plugins/eventmanager/__init__.py:61
msgid "Plugin to configure event subscriptions available in config.yaml."
msgstr "Plugin, um Eventsubscriptions in config.yaml zu konfigurieren."
@@ -1964,48 +1964,48 @@ msgstr "Analysiere..."
msgid "Ready!"
msgstr "Fertig!"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:700
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:694
#: src/octoprint/static/js/app/viewmodels/files.js:1066
msgid "Model size"
msgstr "Modelgröße"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:710
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:704
msgid "Estimated layer height"
msgstr "Geschätzte Schichthöhe"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:713
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:707
#: src/octoprint/templates/tabs/timelapse.jinja2:69
msgid "mm"
msgstr "mm"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:716
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:710
msgid "Estimated total print time"
msgstr "Geschätzte Gesamtdauer"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:721
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:715
msgid "Layers with extrusion"
msgstr "Layer mit Extrusion"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:754
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:748
msgid "Layer number"
msgstr "Schichtnummer"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:755
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:749
msgid "Layer height"
msgstr "Schichthöhe"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:756
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:750
msgid "GCODE commands"
msgstr "GCODE Befehle"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:760
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:769
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:754
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:763
#: src/octoprint/static/js/app/viewmodels/files.js:1081
#: src/octoprint/static/js/app/viewmodels/files.js:1097
msgid "Filament"
msgstr "Filament"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:771
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:765
#: src/octoprint/static/js/app/viewmodels/control.js:177
#: src/octoprint/static/js/app/viewmodels/files.js:1099
#: src/octoprint/static/js/app/viewmodels/printerstate.js:357
@@ -2015,7 +2015,7 @@ msgstr "Filament"
msgid "Tool"
msgstr "Tool"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:783
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:777
#: src/octoprint/static/js/app/viewmodels/files.js:1109
msgid "Estimated print time"
msgstr "Geschätzte Dauer"
@@ -7867,13 +7867,9 @@ msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:466
msgid ""
"Try unchecking this if the SD card file list never gets loaded after "
"connecting to the printer, due to your firmware not providing a "
"capability report."
msgstr ""
"Deaktiviere das, falls die SD-Karten Dateiliste nach Verbindung zum "
"Drucker nicht geladen wird, weil deine Firmware keinen Capability Report "
"bereit stellt."
"Try checking this if the SD card file list loads improperly after "
"connecting to the printer."
msgstr "Deaktiviere das, falls die SD-Karten Dateiliste fehlerhaft geladen wird."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:471
msgid "Blocked commands"
-14
View File
@@ -21,17 +21,3 @@ class UserManagerTest(unittest.TestCase):
# should not throw an exception
octoprint.access.users.UserManager.create_password_hash(password)
def test_createPasswordHash_is_valid(self):
password = "test1234"
password_hash = octoprint.access.users.UserManager.create_password_hash(password)
user = octoprint.access.users.User(
"username",
password_hash,
True,
permissions=[],
apikey="apikey",
settings={"key": "value"},
)
self.assertTrue(user.check_password(password))
Binary file not shown.
+22 -26
View File
@@ -3,10 +3,10 @@
# This file is distributed under the same license as the OctoPrint project.
msgid ""
msgstr ""
"Project-Id-Version: OctoPrint 1.9.1\n"
"Project-Id-Version: OctoPrint 1.9.0\n"
"Report-Msgid-Bugs-To: i18n@octoprint.org\n"
"POT-Creation-Date: 2023-06-26 15:06+0200\n"
"PO-Revision-Date: 2023-06-26 15:06+0200\n"
"POT-Creation-Date: 2023-04-13 13:14+0200\n"
"PO-Revision-Date: 2023-04-13 13:14+0200\n"
"Last-Translator: Gina Häußge <gina@octoprint.org>\n"
"Language: de\n"
"Language-Team: de <LL@li.org>\n"
@@ -1863,16 +1863,16 @@ msgstr ""
" noreferer\">Privacy Policy</a> an.\n"
"</p>\n"
#: src/octoprint/plugins/eventmanager/__init__.py:42
#: src/octoprint/plugins/eventmanager/__init__.py:60
#: src/octoprint/plugins/eventmanager/__init__.py:39
#: src/octoprint/plugins/eventmanager/__init__.py:57
msgid "Event Manager"
msgstr "Eventmanager"
#: src/octoprint/plugins/eventmanager/__init__.py:51
#: src/octoprint/plugins/eventmanager/__init__.py:48
msgid "Allows for the management of event subscriptions."
msgstr "Ermöglicht das Verwalten von Eventsubscriptions."
#: src/octoprint/plugins/eventmanager/__init__.py:64
#: src/octoprint/plugins/eventmanager/__init__.py:61
msgid "Plugin to configure event subscriptions available in config.yaml."
msgstr "Plugin, um Eventsubscriptions in config.yaml zu konfigurieren."
@@ -1964,48 +1964,48 @@ msgstr "Analysiere..."
msgid "Ready!"
msgstr "Fertig!"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:700
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:694
#: src/octoprint/static/js/app/viewmodels/files.js:1066
msgid "Model size"
msgstr "Modelgröße"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:710
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:704
msgid "Estimated layer height"
msgstr "Geschätzte Schichthöhe"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:713
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:707
#: src/octoprint/templates/tabs/timelapse.jinja2:69
msgid "mm"
msgstr "mm"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:716
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:710
msgid "Estimated total print time"
msgstr "Geschätzte Gesamtdauer"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:721
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:715
msgid "Layers with extrusion"
msgstr "Layer mit Extrusion"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:754
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:748
msgid "Layer number"
msgstr "Schichtnummer"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:755
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:749
msgid "Layer height"
msgstr "Schichthöhe"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:756
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:750
msgid "GCODE commands"
msgstr "GCODE Befehle"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:760
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:769
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:754
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:763
#: src/octoprint/static/js/app/viewmodels/files.js:1081
#: src/octoprint/static/js/app/viewmodels/files.js:1097
msgid "Filament"
msgstr "Filament"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:771
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:765
#: src/octoprint/static/js/app/viewmodels/control.js:177
#: src/octoprint/static/js/app/viewmodels/files.js:1099
#: src/octoprint/static/js/app/viewmodels/printerstate.js:357
@@ -2015,7 +2015,7 @@ msgstr "Filament"
msgid "Tool"
msgstr "Tool"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:783
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:777
#: src/octoprint/static/js/app/viewmodels/files.js:1109
msgid "Estimated print time"
msgstr "Geschätzte Dauer"
@@ -7867,13 +7867,9 @@ msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:466
msgid ""
"Try unchecking this if the SD card file list never gets loaded after "
"connecting to the printer, due to your firmware not providing a "
"capability report."
msgstr ""
"Deaktiviere das, falls die SD-Karten Dateiliste nach Verbindung zum "
"Drucker nicht geladen wird, weil deine Firmware keinen Capability Report "
"bereit stellt."
"Try checking this if the SD card file list loads improperly after "
"connecting to the printer."
msgstr "Deaktiviere das, falls die SD-Karten Dateiliste fehlerhaft geladen wird."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:471
msgid "Blocked commands"
+20 -21
View File
@@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: OctoPrint 1.9.1.dev7+gc847ed9d1\n"
"Project-Id-Version: OctoPrint 1.9.0rc5.dev4+ge7ee1d804\n"
"Report-Msgid-Bugs-To: i18n@octoprint.org\n"
"POT-Creation-Date: 2023-06-26 15:06+0200\n"
"POT-Creation-Date: 2023-04-13 13:14+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -1573,16 +1573,16 @@ msgid ""
"</p>\n"
msgstr ""
#: src/octoprint/plugins/eventmanager/__init__.py:42
#: src/octoprint/plugins/eventmanager/__init__.py:60
#: src/octoprint/plugins/eventmanager/__init__.py:39
#: src/octoprint/plugins/eventmanager/__init__.py:57
msgid "Event Manager"
msgstr ""
#: src/octoprint/plugins/eventmanager/__init__.py:51
#: src/octoprint/plugins/eventmanager/__init__.py:48
msgid "Allows for the management of event subscriptions."
msgstr ""
#: src/octoprint/plugins/eventmanager/__init__.py:64
#: src/octoprint/plugins/eventmanager/__init__.py:61
msgid "Plugin to configure event subscriptions available in config.yaml."
msgstr ""
@@ -1667,48 +1667,48 @@ msgstr ""
msgid "Ready!"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:700
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:694
#: src/octoprint/static/js/app/viewmodels/files.js:1066
msgid "Model size"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:710
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:704
msgid "Estimated layer height"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:713
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:707
#: src/octoprint/templates/tabs/timelapse.jinja2:69
msgid "mm"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:716
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:710
msgid "Estimated total print time"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:721
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:715
msgid "Layers with extrusion"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:754
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:748
msgid "Layer number"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:755
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:749
msgid "Layer height"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:756
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:750
msgid "GCODE commands"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:760
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:769
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:754
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:763
#: src/octoprint/static/js/app/viewmodels/files.js:1081
#: src/octoprint/static/js/app/viewmodels/files.js:1097
msgid "Filament"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:771
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:765
#: src/octoprint/static/js/app/viewmodels/control.js:177
#: src/octoprint/static/js/app/viewmodels/files.js:1099
#: src/octoprint/static/js/app/viewmodels/printerstate.js:357
@@ -1718,7 +1718,7 @@ msgstr ""
msgid "Tool"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:783
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:777
#: src/octoprint/static/js/app/viewmodels/files.js:1109
msgid "Estimated print time"
msgstr ""
@@ -6820,9 +6820,8 @@ msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:466
msgid ""
"Try unchecking this if the SD card file list never gets loaded after "
"connecting to the printer, due to your firmware not providing a "
"capability report."
"Try checking this if the SD card file list loads improperly after "
"connecting to the printer."
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:471