Compare commits

..
81 Commits
Author SHA1 Message Date
Gina Häußge d7db470999 Merge branch 'master' of github.com:OctoPrint/OctoPrint into master 2021-01-19 11:32:11 +01:00
Gina Häußge 992ef83795 Merge branch 'staging/bugfix' into master 2021-01-19 10:11:47 +01:00
Gina Häußge 5860942967 🔖 Preparing release of 1.5.3 2021-01-19 10:10:47 +01:00
Gina Häußge 93504d983c 📝 staging/hotfix => staging/bugfix 2021-01-18 14:43:51 +01:00
Gina Häußge 2efc3b841e ✏ Fix file header 2021-01-18 14:35:14 +01:00
Shawn Bruce 44a009fd6f Handle http errors when downloading plugin files. 2021-01-18 14:35:03 +01:00
cp2004 cacc329a61 🐛 Fix plugin install errors not being reported to the UI
When plugin install went async (4cf2a673c8) not all of the responses were caught. This PR changes the rest of the responses to become asynchronous as well.

Closes #3849
2021-01-18 14:34:17 +01:00
Gina Häußge 954205d2a6 Merge pull request #3923 from tg44/patch-1
Plugin version management infos added
2021-01-18 10:46:30 +01:00
Gergő Törcsvári fad6ee2904 ✏️ Added plugin version management to documentation 2021-01-18 10:43:14 +01:00
Gina Häußge e23d3b88f9 👷 Merge lock & cleanup into one workflow 2021-01-15 15:41:41 +01:00
Gina Häußge 19f774429f 👷 Limit issue validation to opened & edited
Also merge validations into one job instead of two.
2021-01-15 15:36:24 +01:00
Gina Häußge 29acb4cacc 👷 Fix workflow syntax 2021-01-15 15:20:59 +01:00
Gina Häußge 013a5aace8 👷 Replace GitIssueBot fully with GH Actions
Issue cleanup left to dry-run for now
2021-01-15 15:16:10 +01:00
Gina Häußge 9d3437bd37 👷 Implement pr check via GH Action 2021-01-14 16:08:13 +01:00
Gina Häußge 6698bbf68f 👷 Add PR automation workflow
Will help us label PRs based on their contents, and then that info
can be used to make the whole branch validation a bit more intelligent.

For reasons of consistency, also rename issue labeler to issue
automation.
2021-01-13 15:46:12 +01:00
Gina Häußge cd424779cb Merge pull request #3929 from coliss86/patch-3
✏️ Typo in action_command_notification
2021-01-13 14:37:33 +01:00
coliss86 f757035d32 add author 2021-01-13 14:35:09 +01:00
coliss86 a1dde3ab51 ✏️ Typo in action_command_notification
In order to render the name of the permission `PLUGIN_ACTION_COMMAND_NOTIFICATION_CLEAR` as code, a quote is missing
2021-01-13 14:35:05 +01:00
Gina Häußge 221ecad5c8 ✅ Update e2e dep version
Should make dependabot happy about our e2e tests again.
2021-01-11 16:17:10 +01:00
Brian Vanderbusch 04c8d7a888 change docs setting userFile to userfile
cherry-picked from d36b06f
2021-01-11 16:07:34 +01:00
Gina Häußge 5a86da1090 📝 Remove some outdated documentation 2021-01-11 16:02:33 +01:00
Gina Häußge 789c7a5e75 Merge pull request #3897 from muchsimpler3d/better-access-control-documentation
better access control documentation that includes autologin
2021-01-11 15:56:49 +01:00
Gina Häußge f0ecc04648 📝 Rephrasing & formatting 2021-01-11 15:55:55 +01:00
Gina Häußge cd1d72b267 Merge pull request #3881 from HackerHappyHour/fix-stable-releases-not-triggering-docker-build
Fix stable releases not triggering docker build
2021-01-11 14:29:49 +01:00
test 5687da064c better access control documentation that integrates the information in the auto login guide into the main body of the documentation. This seems like it belongs in the documentation as part of the repo, and I don't see a better place to put it other than under the access control section based on how the documentation is currently organized. If there's a better place for it, by all means split it off, put it there, and just link to ti in the access control section 2020-12-18 14:59:23 -05:00
Gina Häußge bf8ff63585 Merge pull request #3891 from cp2004/patch-4
Update access control documentation
2020-12-16 23:11:09 +01:00
Charlie Powell 223064ce46 ✏️ Update access control documentation
Access control is mandatory in OctoPrint 1.5.0, so I have removed and edited the documentation to clarify this.
2020-12-16 16:50:34 +00:00
Brian Vanderbusch 58911009c4 send better refs for tag_name on docker trigger 2020-12-12 09:27:15 -06:00
Brian Vanderbusch f8458520f5 change github.event_name to github.event.action 2020-12-12 09:11:47 -06:00
Gina Häußge d42c703e6e 🔖 staging/hotfix is now 1.5.3.dev 2020-12-10 14:13:21 +01:00
Gina Häußge e46e8fa17a 🔖 Preparing release of 1.5.2 2020-12-10 12:34:21 +01:00
Gina Häußge 12d6de51da 🐛 Replace _.merge with object only deepMerge
It turns out _.merge will also merge arrays, which in turn will re-add
anything we've just removed from a setting that happens to be an
array, thus as blocked commands or temperature presets.

Fixes #3855
Fixes #3867
2020-12-10 12:13:56 +01:00
Gina Häußge 424dc0a13d 📌 Pin watchdog to 0.10.4
New version 0.10.5 restricts upper Python version limit to <=3.6.
That won't work for Python 3 OctoPrint installs out there, so we
stick to the (for us) perfectly working 0.10.4

Dear library maintainers, please don't push breaking changes on
patch releases...
2020-12-10 12:12:59 +01:00
Gina Häußge d9fef47e78 Merge branch 'master' into staging/hotfix 2020-12-10 12:11:21 +01:00
Gina Häußge 222b9997a1 🔀 Merge pull request #3864 from cp2004/patch-2
Document new virtual printer options in 1.5.0
2020-12-10 12:06:41 +01:00
Brian Vanderbusch 3124c08927 🔀 Add canary job for trigger docker workflow (#3863)
* update event-type in trigger-docker workflow
* add dispatch_canary job
* change canary to trigger from maintenance
* add bleeding release type for trigger_docker.yml
* make things uglier to make prettier happy
2020-12-10 11:40:06 +01:00
Gina Häußge 2697bd7a42 Merge pull request #3861 from cp2004/patch-1
Fix /api/job example response
2020-12-08 14:35:10 +01:00
Charlie Powell a2d4fc08a5 📝 Document new virtual printer options in 1.5.0 2020-12-05 16:41:33 +00:00
Charlie Powell bdeb765f75 Fix /api/job example response
Closes #3860
2020-12-05 10:29:44 +00:00
Gina Häußge 84b61e01f4 🔖 staging/hotfix is now 1.5.2.dev 2020-12-04 12:02:02 +01:00
Gina Häußge 38256815ef Merge branch 'staging/hotfix' into master 2020-12-04 10:41:45 +01:00
Gina Häußge c111054fd6 🔖 Preparing release of 1.5.1 2020-12-04 10:37:15 +01:00
Gina Häußge 82dd94d51b 🐛 Better fix for folder listing on files API
We don't want children to be included on api/files or api/files/origin,
but we do want them on api/files/origin/path as that gets taken from
a file listing itself. So a level parameter is introduced on the storage
interface, defaulting to 0 and thus the former behaviour (remove
children), but setting it to a value > 0 will only remove grand children
and thus give us a way to query what we want on the detail endpoint.

See #3844
2020-12-03 18:28:26 +01:00
Gina Häußge 1536ed6da3 🐛 Fix folder listing on files API
Children were not being included without the recursive parameter when it
should in fact only have been grandchildren and later generations.

Closes #3844
2020-12-03 17:59:48 +01:00
Gina Häußge 9f9d0fc788 🐛 Discovery: Never announce loopback addresses
Possible fix for #3852
2020-12-03 17:59:48 +01:00
Gina Häußge a23daa7c81 🔖 staging/hotfix is 1.5.1.dev 2020-12-03 17:59:48 +01:00
Gina Häußge 82d308c9ac Merge pull request #3837 from HackerHappyHour/send-release-type-for-docker-trigger-payload 2020-12-01 13:38:33 +01:00
Gina Häußge fe7437388a Merge pull request #3839 from HackerHappyHour/add-CODEOWNERS-support 2020-12-01 13:36:06 +01:00
Brian Vanderbusch 28a1c8bb4f Merge branch 'master' into send-release-type-for-docker-trigger-payload 2020-11-30 12:53:10 -06:00
Gina Häußge f67c15a9a4 🔖 Preparing release of 1.5.0 2020-11-30 14:30:46 +01:00
Brian Vanderbusch a74309d650 remove default assignment 2020-11-29 11:28:48 -06:00
Brian Vanderbusch 220979bf68 implement CODEOWNERS support 2020-11-29 11:25:15 -06:00
Brian Vanderbusch 49cd9d3283 update Trigger docker build workflow
set payload event-type key to use value from event.action
2020-11-28 12:34:10 -06:00
Gina Häußge 308ac450e7 Merge branch 'master' into staging/maintenance 2020-11-25 15:44:32 +01:00
Gina Häußge d80a27a64a 📝 settings API: only document differences to config.yaml 2020-11-25 15:44:19 +01:00
Gina Häußge a4630df622 📌 Pin prettier and black versions 2020-11-25 11:35:40 +01:00
Gina Häußge 149161694d 🔖 staging/maintenance is now 1.5.0rc4.dev 2020-11-18 16:31:01 +01:00
Gina Häußge 5e7ea35239 🔖 Preparing release of 1.5.0rc3 2020-11-18 13:53:07 +01:00
Gina Häußge 4768a7eb5a 🐛 Value AND key might need str-conversion
Closes #3825
2020-11-18 13:09:51 +01:00
Gina Häußge 84fb97f82a 🐛 PMGR: Don't use jsonify outside flask context
We've moved `_command_install_archive` into its own thread, so we
must return results instead of jsonify'ing them.

As discovered through #3825
2020-11-18 13:07:58 +01:00
Gina Häußge c30673fac0 🔖 staging/maintenance is now 1.5.0rc3.dev 2020-11-17 16:00:51 +01:00
Gina Häußge 9f5781eff4 🔖 Preparing release of 1.5.0rc2 2020-11-17 14:34:53 +01:00
Gina Häußge f2ed1ebc74 🥅 Prevent assignment of dangerous permissions to guests
If we don't, chances are high someone will happily assign the admin
group as a subgroup to the guest group and then publicly expose their
instance on the internet, thus completely defeating the purpose of
making access control mandatory.

We'll also automatically sanitize such configurations now but log a
warning. I don't see a better way to protect the innocent, sorry.
2020-11-17 14:11:59 +01:00
Gina Häußge e7e731800b ♻️ Prefer configured addresses over standard addresses
That way, if OctoPrint is running on a device with network
`192.168.1.0/24` and we query with an address from that range, we'll
actually get that subnet address back instead of the more general
`192.168.0.0/16`.
2020-11-16 18:07:34 +01:00
Gina Häußge 89f3edcb27 ✨ New util API command: address
Allows to test a provided or the client's address whether it is a LAN
address, and if so returns the subnet address in CIDR notation.
2020-11-16 17:55:49 +01:00
Gina Häußge c44e90302d Merge branch 'master' into staging/maintenance 2020-11-16 14:25:07 +01:00
Tobias Wellnitz 5b5163c812 update gcode_scripts.rst with correct UI path for print & resume
Small update to the docs to be coherent with the octoprint Settings UI for the `Log position on pause` option.
2020-11-16 14:24:44 +01:00
Gina Häußge d311fb18e0 Merge pull request #3815 from cp2004/fix/language-pack-upload 2020-11-16 14:07:37 +01:00
cp2004 ab5d19bf12 🐛 Fix uploading a language pack
In Python 3, `filter()` returns an iterable rather than a list. Whilst this is better for performance, our list is not long and it means we can call `len()` on the list.

Tested using reproduction steps in #3814 and verified that language packs can now be installed properly.

Closes #3814
2020-11-16 14:03:18 +01:00
Gina Häußge 75796dafbc 🎨 prettier pre-commit hook has moved 2020-11-16 13:57:04 +01:00
Gina Häußge 2670d16407 Merge branch 'master' into staging/maintenance 2020-11-13 18:18:32 +01:00
Gina Häußge 54f98a5ad1 📝 Document accessControl.salt 2020-11-13 16:38:02 +01:00
Gina Häußge 1238edf1b9 🐛 zeroconf: Add missing answers to PTR query
Backported from upstream.

Closes #3813
2020-11-13 13:24:14 +01:00
Gina Häußge 5f2a95d154 🎨 Run zeroconf through black
We can't update that from upstream anymore anyhow as this is a version
that's no longer maintained (py2 compatible) and upstream now uses
black too.
2020-11-13 12:21:07 +01:00
Gina Häußge 8cd51103d9 🐛 BackupPlugin: Don't use unset self._logger on CLI
Closes #3812
2020-11-12 14:36:10 +01:00
Gina Häußge b94424411a 🥅 Better handling of corrupted user storage
Missing users.yaml should already trigger the wizard to pop up again,
but corrupted users.yaml so far made the user manager to mark itself as
customized and THEN fall on its face.

We now first make sure we can actually load stuff (and if not raise an
exception and a critical error in the log), and only then mark the user
manager as successfully customized.

Implements #3804
2020-11-12 14:14:26 +01:00
Gina Häußge fabf331197 ♻️ ️ Only check resend ratio after 100 transmitted lines
Implements #3811
2020-11-12 11:31:21 +01:00
Gina Häußge bed0f8d1c8 🐛 Children is a dict, not a list
Closes #3805
2020-11-11 10:31:31 +01:00
Gina Häußge f55d7e29f7 📝 Remove accessControl.enabled from docs 2020-11-10 17:12:51 +01:00
Gina Häußge 33dbfd2b3b 🔖 staging/maintenance is now 1.5.0rc2.dev 2020-11-10 15:59:09 +01:00
Gina Häußge de29cdb7e5 📝 Remove install from source from README
It's still available in the developer docs on docs.octoprint.org

See #3789
2020-11-02 10:34:04 +01:00
65 changed files with 2227 additions and 1163 deletions

No files matched your search

+1
View File
@@ -2,6 +2,7 @@
# Switch to black formatting
1f93b2355a2816918e11a55e61b42010d15a6720
5f2a95d154650366078b0d387e5b01427c4340c0
# Switch to prettier formatting
6b44909f21ee39237b7504cd31ffa6cf28275c33
+3
View File
@@ -0,0 +1,3 @@
# someone from the docker-maintainers team will be requested for review
# whenever the trigger_docker workflow is changed in a Pull Request
.github/workflows/trigger_docker.yml @OctoPrint/docker-maintainers
+62
View File
@@ -0,0 +1,62 @@
approve_label: approved
problem_label: incomplete
ignored_labels:
- approved
- bug
- request
- improvement
- brainstorming
- task
- rc feedback
- awaiting information
- not octoprint
- done
ignored_authors:
- "@OctoPrint"
- "sentry-io"
- "FormerLurker"
- "bzed"
validation_comment: >
Hi @@@AUTHOR@@,
it looks like there is some **information missing** from your bug report that will
be needed in order to solve the problem. Read the [Contribution Guidelines](https://github.com/OctoPrint/OctoPrint/blob/master/CONTRIBUTING.md)
which will provide you with a template to *fully fill out* here so that your bug report
is ready to be investigated (I promise I'll go away then too!).
If you did not intend to report a bug but wanted to **request a feature or brain
storm** about some kind of development, please take special note of the title format
to use as described in the [Contribution Guidelines](https://github.com/OctoPrint/OctoPrint/blob/master/CONTRIBUTING.md).
**Please do not abuse the bug tracker as a support forum** - that can be found at
[community.octoprint.org](https://community.octoprint.org). Go there for any kind
of issues with network connectivity, webcam functionality, printer detection or
any other kind of such support requests or general questions.
Also **make sure you are at the right place** - this is the bug tracker of the official
version of OctoPrint, not the Raspberry Pi image OctoPi nor any unbundled third
party OctoPrint plugins or unofficial versions. Make sure too that you have **read
through the [Frequently Asked Questions](http://faq.octoprint.org)** and searched
the [**existing tickets**](https://github.com/OctoPrint/OctoPrint/issues)
for your problem - try multiple search terms please.
I'm marking this one now as needing some more information. Please understand that
if you do not provide that information within the next two weeks
I'll close this ticket so it doesn't clutter the bug tracker. This is nothing
personal, it's needed to keep this project manageable. Please just be considerate
and help the maintainers solve this problem
quickly by following the guidelines linked above. Remember, the less time the devs
have to spend running after information on tickets, the more time they have to actually
solve problems and add awesome new features. Thank you!
*I'm just a bot 🤖, not a human being, so don't expect any replies
from me :) Your ticket is read by humans too, I'm just not one of them.*
keyphrase: I have read the FAQ
+25
View File
@@ -0,0 +1,25 @@
docs:
- "docs/*"
- "docs/**/*"
- "README.md"
meta:
- "CODE_OF_CONDUCT.md"
- "CONTRIBUTING.md"
- "SECURITY.md"
- ".github/CODEOWNERS"
- ".github/FUNDING.yml"
- ".github/ISSUE_TEMPLATE/*"
- ".github/PULL_REQUEST_TEMPLATE.md"
ci/cd:
- ".github/fixtures/**/*"
- ".github/workflows/*"
- ".github/labeler.yml"
docker:
- ".github/workflows/trigger_docker.yml"
tests:
- "tests/*"
- "tests/**/*"
+14
View File
@@ -0,0 +1,14 @@
approve_label: "approved"
problem_label: "needs some work"
allowed_targets: ["maintenance", "devel", "staging/maintenance", "staging/devel"]
forbidden_sources:
["master", "maintenance", "devel", "staging/maintenance", "staging/devel"]
labels:
docs:
additional_allowed_targets: ["master"]
meta:
additional_allowed_targets: ["master"]
ci/cd:
additional_allowed_targets: ["master"]
+37
View File
@@ -0,0 +1,37 @@
name: "Cleanup issues & PRs"
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
lock:
name: 🔒 Lock issues & PRs closed over a year
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2
with:
github-token: ${{ github.token }}
issue-lock-comment: ""
pr-lock-comment: ""
cleanup:
name: 🧹 Close issues marked as incomplete & older than 14 days
runs-on: ubuntu-latest
steps:
- id: date
run: |
echo "::set-output name=CUTOFF::`date --date='14 days ago' +'%Y-%m-%d'`"
- uses: OctoPrint/actions/close-by-query@main
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
query: "is:issue is:open label:incomplete created:<${{ steps.date.outputs.CUTOFF }}"
comment: >
Since apparently some of the required information is still missing, this will be
closed now, sorry. Feel free to request a reopen of this or create a new issue
once you can provide **all**
[required information](https://github.com/OctoPrint/OctoPrint/blob/master/CONTRIBUTING.md#how-to-file-a-bug-report).
This is nothing personal. Thank you for your collaboration.
@@ -1,10 +1,10 @@
name: "Issue Labeler"
name: "Issue Automation"
on:
issues:
types: [opened, edited, closed, reopened]
jobs:
label-opened-and-edited:
issue-automation:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v2
@@ -62,3 +62,8 @@ jobs:
labels: labels
})
}
- uses: OctoPrint/actions/issue-validation@main
if: github.event_name == 'issues' && (github.event.action == 'opened' || github.event.action == 'edited')
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
-16
View File
@@ -1,16 +0,0 @@
name: "Lock outdated issues & PRs"
on:
schedule:
- cron: "0 0 * * *"
jobs:
lock:
runs-on: ubuntu-latest
steps:
- name: 🔒 Lock issues & PRs closed over a year
uses: dessant/lock-threads@v2
with:
github-token: ${{ github.token }}
issue-lock-comment: ""
pr-lock-comment: ""
+16
View File
@@ -0,0 +1,16 @@
name: "Pull Request Automation"
on:
pull_request_target:
types: ["opened", "synchronize", "reopened", "edited", "labeled", "unlabeled"]
jobs:
pr-automation:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v3
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
- uses: OctoPrint/actions/pr-validation@main
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
+31 -2
View File
@@ -4,15 +4,44 @@ on:
types:
- released
- prereleased
push:
branches:
- maintenance
- devel
jobs:
trigger:
dispatch_releases:
runs-on: ubuntu-latest
if: github.event_name != 'push'
steps:
- name: 🚀 Repository Dispatch
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.DOCKER_ACCESS_TOKEN }}
repository: ${{ github.repository_owner }}/octoprint-docker
event-type: "release"
event-type: ${{ github.event.action }}
client-payload: '{"tag_name": "${{ github.event.release.tag_name }}"}'
dispatch_canary:
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/maintenance'
steps:
- name: 🚀 Repository Dispatch
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.DOCKER_ACCESS_TOKEN }}
repository: ${{ github.repository_owner }}/octoprint-docker
event-type: "canary"
client-payload: '{"tag_name": "maintenance"}'
dispatch_bleeding:
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/devel'
steps:
- name: 🚀 Repository Dispatch
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.DOCKER_ACCESS_TOKEN }}
repository: ${{ github.repository_owner }}/octoprint-docker
event-type: "bleeding"
client-payload: '{"tag_name": "devel"}'
+3 -3
View File
@@ -28,7 +28,7 @@ repos:
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: stable
rev: 20.8b1
hooks:
- id: black
args: ["--config", "black.toml"]
@@ -38,7 +38,7 @@ repos:
- id: flake8
additional_dependencies:
- flake8-bugbear
- repo: https://github.com/prettier/prettier
rev: master
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.1.2
hooks:
- id: prettier
+7 -5
View File
@@ -24,13 +24,15 @@ maintenance 1.5.0 42769dad7dda3bc0c6c94e0e8ce832af9b14a565 pep440-dev
fix/.* 1.5.0 42769dad7dda3bc0c6c94e0e8ce832af9b14a565 pep440-dev
improve/.* 1.5.0 42769dad7dda3bc0c6c94e0e8ce832af9b14a565 pep440-dev
# staging/hotfix is the branch for preparation of the 1.4.2 hotfix release
staging/hotfix 1.4.2 3ab84ed7e4c3aaaf71fe0f184b465f25d689f929 pep440-dev
# staging/bugfix is the branch for preparation of the 1.5.3 hotfix release
# so are any bug/... branches
staging/bugfix 1.5.3 e46e8fa17a1553cd0c228a4fa4cfd93e2a9bce7b pep440-dev
bug/.* 1.5.3 e46e8fa17a1553cd0c228a4fa4cfd93e2a9bce7b pep440-dev
# staging/maintenance is currently the branch for preparation of 1.4.1rc5
# staging/maintenance is currently the branch for preparation of 1.5.0rc4
# so is regressionfix/...
staging/maintenance 1.4.1rc5 458ab91f915307857941f839a1b743430b8786a4 pep440-dev
regressionfix/.* 1.4.1rc5 458ab91f915307857941f839a1b743430b8786a4 pep440-dev
staging/maintenance 1.5.0rc4 5e7ea35239908f9ed91895751d8a8202aa76ed4b pep440-dev
regressionfix/.* 1.5.0rc4 5e7ea35239908f9ed91895751d8a8202aa76ed4b 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
@@ -130,6 +130,7 @@ date of first contribution):
* [Sophist](https://github.com/Sophist-UK)
* [Manuel McLure](https://github.com/ManuelMcLure)
* ["j7126"](https://github.com/j7126)
* ["coliss86"](https://github.com/coliss86)
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
+1 -8
View File
@@ -63,7 +63,7 @@ For information about how to go about submitting bug reports or pull requests, p
Installation instructions for installing from source for different operating
systems can be found [on the forum](https://community.octoprint.org/tags/c/support/guides/15/setup).
If you want to run OctoPrint on a Raspberry Pi, you might want to take a look at [OctoPi](https://github.com/guysoft/OctoPi)
If you want to run OctoPrint on a Raspberry Pi, you really should take a look at [OctoPi](https://github.com/guysoft/OctoPi)
which is a custom SD card image that includes OctoPrint plus dependencies.
The generic steps that should basically be done regardless of operating system
@@ -76,13 +76,6 @@ you already have Python 2.7, 3.6 or 3.7, pip and virtualenv and their dependenci
parameter, e.g. `virtualenv --python=python3 venv`.
2. Install OctoPrint *into that virtual environment*: `./venv/bin/pip install OctoPrint`
Or alternatively, for an install from source:
1. Checkout OctoPrint: `git clone https://github.com/OctoPrint/OctoPrint.git`
2. Change into the OctoPrint folder: `cd OctoPrint`
3. Create a user-owned virtual environment therein: `virtualenv venv`
4. Install OctoPrint *into that virtual environment*: `./venv/bin/pip install .`
You may then start the OctoPrint server via `/path/to/OctoPrint/venv/bin/octoprint`, see [Usage](#usage)
for details.
+8 -4
View File
@@ -6,18 +6,22 @@ thanks to everyone who contributed!
## Patrons & Sponsors
* 3DPrinterOS
* Andrew Moorby
* Arnljot Arntsen
* Ash King
* BigTreeTech
* Boris Hussein
* Brad Jackson
* BRANDON ROBERTSON
* BuildBee
* Christian Petropolis
* Christian Wolf
* Creality3D
* D Brian Kimmel
* DeltaMaker 3D Printers
* Dennis Breining
* Diana C Rodriguez
* Eric Betts
* Ernesto Martinez
* Franziska Kunsmann
@@ -25,17 +29,16 @@ thanks to everyone who contributed!
* Greg Holloway
* Hog Duske
* Hopewell Medical Acupuncture Center
* Hugh Blemings
* jean-claude migneault
* Jefferson Hunt
* Jeremy Cole
* Joe Pasqua
* John Gregory Robinson
* Joshua Wills
* Justin Kaufman
* Kaile Riser
* Kale Stedman
* Kazuhiro Ogura
* Kelly C McNiece
* Kenneth Jiang
* Kurt Wubbels
* Kyle Menigoz
@@ -50,13 +53,14 @@ thanks to everyone who contributed!
* Mosaic Manufacturing
* Neil R. Goldberg
* Patrick Glyré
* Patrick McGinnis
* Pete Barnwell
* Prof Yuh Wen Chen
* Raise3D
* Randy C. Will
* Ranjib Dey
* Richard McGuire
* Richard Michaud
* Richard Stocks
* Rigid3D
* Robert Gusek
* Ronald Griehsler
@@ -67,4 +71,4 @@ thanks to everyone who contributed!
* Sven Mueller
* Ulrich Kempken
and 2084 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [Github Sponsors](https://github.com/users/foosel/sponsorship)!
and 2225 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [Github Sponsors](https://github.com/users/foosel/sponsorship)!
+4
View File
@@ -162,6 +162,10 @@ Resend stats
- 1
- int
- Number of resend requests received since connecting.
* - ``transmitted``
- 1
- int
- Number of transmitted lines since connecting.
* - ``ratio``
- 1
- int
+4 -2
View File
@@ -205,8 +205,10 @@ Retrieve information about the current job
},
"estimatedPrintTime": 8811,
"filament": {
"length": 810,
"volume": 5.36
"tool0": {
"length": 810,
"volume": 5.36
}
}
},
"progress": {
+2 -112
View File
@@ -354,84 +354,22 @@ Data model
==========
The data model on the settings API mostly reflects the contents of
:ref:`config.yaml <sec-configuration-config_yaml>`. The settings tree
returned by the API contains the following fields, which are directly
mapped from the same fields in ``config.yaml`` unless otherwise noted:
:ref:`config.yaml <sec-configuration-config_yaml>`, which are directly
mapped, with the following exceptions:
.. list-table::
:header-rows: 1
* - Field
- Notes
* - ``api.enabled``
-
* - ``api.key``
- Only maps to ``api.key`` in ``config.yaml`` if request is sent with admin rights, set to ``n/a`` otherwise.
Starting with OctoPrint 1.3.3 setting this field via :ref:`the API <sec-api-settings-save>` is not possible,
only :ref:`regenerating it <sec-api-settings-generateapikey>` is supported. Setting a custom value is only
possible through `config.yaml`.
* - ``api.allowCrossOrigin``
-
* - ``appearance.name``
-
* - ``appearance.color``
-
* - ``appearance.colorTransparent``
-
* - ``appearance.defaultLanguage``
-
* - ``appearance.showFahrenheitAlso``
-
* - ``feature.gcodeViewer``
- Maps to ``gcodeViewer.enabled`` in ``config.yaml``
* - ``feature.sizeThreshold``
- Maps to ``gcodeViewer.sizeThreshold`` in ``config.yaml``
* - ``feature.mobileSizeThreshold``
- Maps to ``gcodeViewer.mobileSizeThreshold`` in ``config.yaml``
* - ``feature.temperatureGraph``
-
* - ``feature.waitForStart``
-
* - ``feature.alwaysSendChecksum``
-
* - ``feature.neverSendChecksum``
-
* - ``feature.sdSupport``
-
* - ``feature.sdRelativePath``
-
* - ``feature.sdAlwaysAvailable``
-
* - ``feature.swallowOkAfterResend``
-
* - ``feature.repetierTargetTemp``
-
* - ``feature.externalHeatupDetection``
-
* - ``feature.keyboardControl``
-
* - ``feature.pollWatched``
-
* - ``feature.ignoreIdenticalResends``
-
* - ``feature.modelSizeDetection``
-
* - ``feature.firmwareDetection``
-
* - ``feature.printCancelConfirmation``
-
* - ``feature.blockWhileDwelling``
-
* - ``folder.uploads``
-
* - ``folder.timelapse``
-
* - ``folder.timelapseTmp``
- Maps to ``folder.timelapse_tmp`` in ``config.yaml``
* - ``folder.logs``
-
* - ``folder.watched``
-
* - ``plugins``
- Plugin settings as available from ``config.yaml`` and :class:`~octoprint.plugin.SettingsPlugin` implementations
* - ``printer.defaultExtrusionLength``
@@ -446,8 +384,6 @@ mapped from the same fields in ``config.yaml`` unless otherwise noted:
- Available serial ports
* - ``serial.baudrateOptions``
- Available serial baudrates
* - ``serial.autoconnect``
-
* - ``serial.timeoutConnection``
- Maps to ``serial.timeout.connection`` in ``config.yaml``
* - ``serial.timeoutDetection``
@@ -460,50 +396,18 @@ mapped from the same fields in ``config.yaml`` unless otherwise noted:
- Maps to ``serial.timeout.temperatureTargetSet`` in ``config.yaml``
* - ``serial.timeoutSdStatus``
- Maps to ``serial.timeout.sdStatus`` in ``config.yaml``
* - ``serial.log``
-
* - ``serial.additionalPorts``
-
* - ``serial.additionalBaudrates``
-
* - ``serial.longRunningCommands``
-
* - ``serial.checksumRequiringCommands``
-
* - ``serial.helloCommand``
-
* - ``serial.ignoreErrorsFromFirmware``
-
* - ``serial.disconnectOnErrors``
-
* - ``serial.triggerOkForM29``
-
* - ``serial.supportResendsWIthoutOk``
-
* - ``serial.maxTimeoutsIdle``
- Maps to ``serial.maxCommunicationTimeouts.idle`` in ``config.yaml``
* - ``serial.maxTimeoutsPrinting``
- Maps to ``serial.maxCommunicationTimeouts.printing`` in ``config.yaml``
* - ``serial.maxTimeoutsLong``
- Maps to ``serial.maxCommunicationTimeouts.long`` in ``config.yaml``
* - ``server.commands.systemShutdownCommand``
-
* - ``server.commands.systemRestartCommand``
-
* - ``server.commands.serverRestartCommand``
-
* - ``server.diskspace.warning``
-
* - ``server.diskspace.critical``
-
* - ``system.actions``
- Whole subtree taken from ``config.yaml``
* - ``system.events``
- Whole subtree taken from ``config.yaml``
* - ``temperature.profiles``
- Whole subtree taken from ``config.yaml``
* - ``temperature.cutoff``
-
* - ``terminalFilters``
- Whole subtree taken from ``config.yaml``
* - ``webcam.streamUrl``
@@ -512,17 +416,3 @@ mapped from the same fields in ``config.yaml`` unless otherwise noted:
- Maps to ``webcam.snapshot`` in ``config.yaml``
* - ``webcam.ffmpegPath``
- Maps to ``webcam.ffmpeg`` in ``config.yaml``
* - ``webcam.bitrate``
-
* - ``webcam.ffmpegThreads``
-
* - ``webcam.ffmpegVideoCodec``
-
* - ``webcam.watermark``
-
* - ``webcam.flipH``
-
* - ``webcam.flipV``
-
* - ``webcam.rotate90``
-
+90 -2
View File
@@ -6,8 +6,8 @@ Util
.. _sec-api-util-test:
Test paths or URLs
==================
Various tests
=============
.. http:post:: /api/util/test
@@ -107,6 +107,15 @@ Test paths or URLs
The ``resolution`` command returns :http:statuscode:`200` with a :ref:`Resolution test result <sec-api-util-datamodel-resolutiontestresult>`
when the test could be performed. The status code of the response does NOT reflect the test result!
address
Tests whether a provided address (or, if none is provided, the client's remote address) is
a LAN address and if so returns the subnet specifier in CIDR format.
* ``address``: the address to test. If not set, the client's remote address will be used
The ``address`` command return :http:statuscode:`200` with a :ref:`Address test result <sec-api-util-datamodel-addresstestresult>`
when the test could be performed. The status code of the response does NOT reflect the test result!
Requires the ``ADMIN`` permission.
**Example 1**
@@ -320,6 +329,58 @@ Test paths or URLs
"result": true
}
**Example 8**
Test whether the client's address is a LAN address.
.. sourcecode:: http
POST /api/util/test HTTP/1.1
Host: example.com
X-Api-Key: abcdef...
Content-Type: application/json
{
"command": "address"
}
.. sourcecode:: http
HTTP/1.1 200 OK
Content-Type: application/json
{
"address": "192.168.1.3",
"is_lan_address": true,
"subnet": "192.168.0.0/16"
}
**Example 9**
Test whether ``8.8.8.8`` is a LAN address.
.. sourcecode:: http
POST /api/util/test HTTP/1.1
Host: example.com
X-Api-Key: abcdef...
Content-Type: application/json
{
"command": "address",
"address": "8.8.8.8"
}
.. sourcecode:: http
HTTP/1.1 200 OK
Content-Type: application/json
{
"address": "8.8.8.8",
"is_lan_address": false
}
:json command: The command to execute, currently either ``path`` or ``url``
:json path: ``path`` command only: the path to test
:json check_type: ``path`` command only: the type of path to test for, either ``file`` or ``dir``
@@ -337,6 +398,7 @@ Test paths or URLs
:json port: ``server`` command only: the port to test
:json protocol: ``server`` command only: the protocol to test
:json name: ``resolution`` command only: the host name to test
:json address: ``address`` command only: the address to test
:statuscode 200: No error occurred
.. _sec-api-util-datamodel:
@@ -466,3 +528,29 @@ Resolution test result
- 1
- bool
- ``true`` if the check passed.
.. _sec-api-util-datamodel-addresstestresult:
Address test result
-------------------
.. list-table::
:widths: 15 5 10 30
:header-rows: 1
* - Name
- Multiplicity
- Type
- Description
* - ``address``
- 1
- string
- The address that was tested.
* - ``is_lan_address``
- 1
- bool
- ``true`` if the address is a LAN address, false otherwise.
* - ``subnet``
- 0..1
- string
- The detected subnet, if address is a LAN address.
@@ -10,7 +10,7 @@ The OctoPrint Action Command Notification Support Plugin comes bundled with Octo
It allows firmware to trigger notifications users with the ``PLUGIN_ACTION_COMMAND_NOTIFICATION_SHOW`` permission
using :ref:`action commands <sec-features-action_commands>` about relevant events. These notifications will be shown
in the sidebar and if configured also as popup messages. The notifications in the sidebar panel can also be cleared
by users with the ``PLUGIN_ACTION_COMMAND_NOTIFICATION_CLEAR` permission.
by users with the ``PLUGIN_ACTION_COMMAND_NOTIFICATION_CLEAR`` permission.
.. _fig-bundledplugins-action_command_notification-example:
.. figure:: ../images/bundledplugins-action_command_notification-example.png
+5 -4
View File
@@ -24,16 +24,13 @@ Use the following settings to enable access control:
.. code-block:: yaml
accessControl:
# whether to enable access control or not. Defaults to true
enabled: true
# The user manager implementation to use for accessing user information. Currently only a filebased
# user manager is implemented which stores configured accounts in a YAML file (Default: users.yaml
# in the default configuration folder, see below)
userManager: octoprint.access.users.FilebasedUserManager
# The YAML user file to use. If left out defaults to users.yaml in the default configuration folder.
userFile: /path/to/users.yaml
userfile: /path/to/users.yaml
# If set to true, will automatically log on clients originating from any of the networks defined in
# "localNetworks" as the user defined in "autologinAs". Defaults to false.
@@ -75,6 +72,10 @@ Use the following settings to enable access control:
# If a remote user is not found, add them. Use this only if all users from the remote system can use OctoPrint.
addRemoteUsers: false
# Secret salt used for password hashing, DO NOT TOUCH. If changed you will no longer be able to log in with your
# existing accounts.
salt: someSecretSalt
.. _sec-configuration-config_yaml-api:
API
+4 -4
View File
@@ -30,8 +30,8 @@ There are three main branches in OctoPrint:
There are couple more RC and staging branches that see regular use:
``staging/hotfix``
Any preparation for potential hotfix releases takes place here.
``staging/bugfix``
Any preparation for potential bugfix releases takes place here.
Version number follows the scheme ``<x>.<y>.<z+1>`` (e.g. ``1.5.1``) for a current release
of ``<x>.<y>.<z>``.
``rc/maintenance``
@@ -56,8 +56,8 @@ There are couple more RC and staging branches that see regular use:
Additionally, from time to time you might see other branches pop up in the repository.
Those usually have one of the following prefixes:
``hotfix/...``
Hotfixes under development that are to be merged into the ``staging/hotfix``
``bug/...``
Fixes under development that are to be merged into the ``staging/bugfix``
and later the ``master`` branch.
``fix/...``
Fixes under development that are to be merged into the ``maintenance``
+25
View File
@@ -200,6 +200,31 @@ There many configuration options via ``config.yaml`` for the virtual printer tha
# Simulated ambient temperature in °C
ambientTemperature: 21.3
# Response to M105 when there is a target
# Placeholders:
# - heater: The heater id (eg. T0, T1, B)
# - actual: The actual temperature of the heater
# - target: The target temperature of heater
m105TargetFormatString: {heater}:{actual:.2f}/ {target:.2f}
# Response to M105 when there is no target
# Placeholders:
# - heater: The heater id (eg. T0, T1, B)
# - actual: The actual temperature of the heater
m105NoTargetFormatString: {heater}:{actual:.2f}
# Enable virtual EEPROM
# If enabled, a file `eeprom.json` will be created in the plugin data folder
# to enable settings persistence across connections. Enables M500/1/2/4 commmands
# And a selection of other settings commands. Responses modeled on Marlin 2.0
enable_eeprom: true
# Support M503
support_m503: true
# Resend ratio to simulate noise on the line
resend_ratio: 0
.. _sec-development-virtual-printer-log:
+193 -53
View File
@@ -3,7 +3,7 @@
Access Control
==============
.. versionchanged:: 1.4.0
.. versionchanged:: 1.5.0
OctoPrint's bundled access control feature allows granular permission control
over which users or user groups are allowed to access which parts of OctoPrint.
@@ -17,8 +17,17 @@ users out of the box.
thus also cannot limit access to it. If an anonymous user correctly guesses the
webcam URL, they will thus be able to see it.
If read-only access for anonymous users is enabled, anonymous users will have
read-only access to the following parts of the UI:
Upon first start a configuration wizard is provided which allows configuration
of the first administrator account to be used for OctoPrint. After initial setup,
you can then create more users and groups under Settings > Access Control for
customisation of the granular permission system.
The predefined "Guests" group can be used to configure default permissions of anonymous
users, that is those who have not logged in. By default, no permissions are granted to
these users.
A predefined "Read-only Access" group with no users is configured which by default grants
read-only access to the following parts of the UI to any users assigned to this group:
* printer state
* available gcode files and stats (upload is disabled)
@@ -30,29 +39,195 @@ read-only access to the following parts of the UI:
* any components provided through plugins which are enabled for anonymous
users
Logged in users without admin flag will be allowed to access everything besides the
Settings and System Commands, which are admin-only.
Another predefined "Operator" group is the default group for newly created users and
by default gives access to all aspects of OctoPrint that involve regular printer
operation. It matches the old "user" role from OctoPrint prior to 1.4.0.
If Access Control is disabled, everything is directly accessible. **That also
includes all administrative functionality as well as full control over the
printer**, and without the need for an :ref:`API key <sec-api-general-authorization>`!
Upon first start a configuration wizard is provided which allows configuration
of the first administrator account or alternatively disabling Access Control
(which is **NOT** recommended for systems that are directly accessible via the
internet or other untrusted networks!).
Finally, the predefined "Admins" group gives full admin access to the platform. You should
be careful of who you put into that. It matches the old "admin" role from OctoPrint prior
to 1.4.0.
.. hint::
If you plan to have your OctoPrint instance accessible over the internet,
**always enable Access Control** and ideally **don't make it accessible to
**please use additional security measures** and ideally **don't make it accessible to
everyone over the internet but instead use a VPN** or at the very least
HTTP basic authentication on a layer above OctoPrint.
HTTP basic authentication on a layer above OctoPrint. Unless you are using a VPN
**please do not** enable any permissions for the Guest group or the auto-login feature
described below.
A physical device that includes heaters and stepper motors really should not be
publicly reachable by everyone with an internet connection, even with access
control enabled.
.. _sec-features-access_control-autologin:
Autologin
---------
While access control cannot be disabled as of OctoPrint 1.5+, the Autologin feature can
be used to bypass authentication for hosts on the network(s) that you trust.
Starting with OctoPrint 1.5.0, OctoPrint makes enabled access control mandatory. This
might be an inconvience for some who run OctoPrint in an isolated setup where a login is
not required to ensure security, at a benefit for a huge number of users out there who
continue to underestimate or simply ignore the risk of keeping their OctoPrint instance
unsecured and then happily exposing it on the public internet.
That being said, even as far back as OctoPrint 1.0.0 (released in 2013) there has existed
a way to have OctoPrint automatically log you in, if you connect from a trusted local
network address. This functionality has not been exposed on the UI, and for now also won't
be (to make it a bit harder to once again create an insecure setup for those who simply
won't listen to common sense), but it's easy to set up with a bit of configuration
editing.
When set up properly, it will make sure to automatically log you in as a configured user
whenever you connect from a device on your local network. To get back pretty much the same
behaviour as with disabled access control, you'll only need to create a single (admin)
account and then set up autologin for it.
.. warning::
**Do not do this if you cannot trust EVERYONE on your local network.** And that really
means mean everyone. If you ignore this and then someone takes over your OctoPrint
instance, installs malware on it and makes your printer print an endless stream of
benchies, that's on you.
.. _sec-features-access_control-autologin-gather_config_info:
Gather configuration information
................................
You can configure Autologin via a plugin (the easy way), or manually (the hard way), but
in either case you will need to specify which user should be automatically logged in, and
which hosts are permitted access this way.
**Improperly setting this subnet option can lead to the compromise of your system, or even
your entire network. Proceed with extreme caution.**
The subnet to use is usually the IP address range of your LAN, which sounds scary but
actually isn't. Just `figure out your PC's IP address and subnet mask <https://lifehacker.com/how-to-find-your-local-and-external-ip-address-5833108>`_
and then combine both with a / in between.
On OctoPi (or another Linux distribution) you can use the follwing command:
.. code-block::
ip route | grep -P 'eth0|wlan0' | awk '{print $1}'
Or, for IPv6, use this:
.. code-block::
ip -6 route | grep -P 'eth0|wlan0' | awk '{print $1}'
This will be what you set as the subnet in the plugin, or where it says
``<yourAddressRange>`` below on the manual configuration instructions.
Example: Your PC has an IP address of ``192.168.23.42`` and a subnet mask of
``255.255.255.0``. Your address range is ``192.168.23.42/255.255.255.0``.
.. _sec-features-access_control-autologin-plugin:
The easy way: Using the OctoPrint-AutoLoginConfig plugin
........................................................
The easist way to configure AutoLogin is to install the
`OctoPrint-AutoLoginConfig plugin <https://plugins.octoprint.org/plugins/autologin_config/>`_
via the plugin manager.
Open its settings and follow the instructions on the screen.
.. _sec-features-access_control-autologin-manual:
The hard way: Manual editing of config.yaml
...........................................
Preparation
***********
First of all, read :ref:`the YAML primer <sec-configuration-yaml>`. You
will have to edit OctoPrint's main configuration file, and thus should make sure
you understand at least roughly how things work and that you should keep your
hands off the Tab key. If you don't, you might break your config file, and
while the steps include making a backup, this still can be easily avoided by
learning about the DOs and DONTs first.
Then, take a look at :ref:`the docs on config.yaml <sec-configuration-config_yaml>`
on where to find that central configuration file of OctoPrint.
Configuration
*************
Ready? Let's do some editing then. I'll outline what to do and where first, and then
further down there's also a dedicated list of steps for OctoPi specifically.
1. Shutdown OctoPrint
2. Make a backup of your config.yaml
3. Open it in a text editor (e.g. nano). Right at the very top it'll say something like
this:
.. code-block:: yaml
accessControl:
salt: aabbccddee1234523452345
Edit this, adding lines so it looks like this (making absolutely sure not to touch the
salt line):
.. code-block:: yaml
accessControl:
salt: aabbccddee1234523452345
autologinLocal: true
autologinAs: "<yourUsername>"
localNetworks:
- "127.0.0.0/8"
- "<yourAddressRange>"
4. Restart OctoPrint, check that everything works.
This will automatically log you in as the user you specified whenver you connect to
OctoPrint from an address in the address range (e.g. a device on your local network).
OctoPi specific steps
*********************
If you are running OctoPi you will have to SSH into your Raspberry Pi. Then issue
the following commands:
1. ``sudo service octoprint stop``
2. ``cp ~/.octoprint/config.yaml ~/.octoprint/config.yaml.back``
3. ``nano ~/.octoprint/config.yaml, make the edits as described above``
4. ``sudo service octoprint start``
If something went wrong, you can restore the config backup with
.. code-block::
cp ~/.octoprint/config.yaml.back ~/.octoprint/config.yaml
If you are using a VPN and your setup ABSOLUTELY REQUIRES disabling internal OctoPrint access controls
......................................................................................................
.. warning::
You probably shouldn't do this, EVER. There are usually other options. Don't even
THINK about it, unless you have a VPN layer for security. Only consider proceeding
with this configuration after exhausting ALL other possibilities, and even then, you
should think long and hard about whether this is a good idea. You almost certainly
don't need or want to do this.
While access controls can no longer be disabled in OctoPrint 1.5+, this can be
approximated by an Autologin configuration that automatically logs in all users, that is
by using subnets that match all possible IP addresses. By specifying the ``0.0.0.0/0``
subnet (for IPv4) and ``::/0`` for IPv6 in the AutoLogin configuration, you can achieve
this. This configuration is permitted, but highly, highly discouraged.
Please don't do this. You will almost certainly regret it. You alone are responsible for
your actions.
.. _sec-features-access_control-hooks:
Available Extension Hooks
@@ -71,42 +246,7 @@ See :ref:`here <sec-plugins-hook-permissions>`.
.. _sec-features-access_control-hooks-loginui:
octoprint.plugin.loginui.theming
................................
octoprint.theming.login
.......................
See :ref:`here <sec-bundledplugins-loginui-hooks-theming>`.
.. _sec-features-access_control-rerunning_wizard:
Rerunning the wizard
--------------------
In case Access Control was disabled in the configuration wizard, it is
possible to re-run it by editing ``config.yaml`` [#f1]_ and setting ``firstRun``
in the ``server`` section and ``enabled`` in the ``accessControl`` section to
``true``:
.. code-block-ext:: yaml
accessControl:
enabled: true
# ...
server:
firstRun: true
Then restart the server and connect to the web interface - the wizard should
be shown again.
.. note::
If user accounts were created prior to disabling Access Control and those
user accounts are not to be used any more, remove ``.octoprint/users.yaml``.
If you don't remove this file, the above changes won't lead to the
configuration being shown again, instead Access Control will just be
enabled using the already existing login data. This is to prevent you from
resetting access control by accident.
.. rubric:: Footnotes
.. [#f1] For Linux that will be ``~/.octoprint/config.yaml``, for Windows it will be ``%APPDATA%/OctoPrint/config.yaml`` and for
Mac ``~/Library/Application Support/OctoPrint/config.yaml``
See :ref:`here <sec-plugins-hook-theming-dialog>`.
+1 -1
View File
@@ -184,7 +184,7 @@ More nifty pause and resume
...........................
If you do not have a multi-extruder setup, aren't printing from SD and have "Log position on pause" enabled under
Settings > Serial > Advanced options, the following ``afterPrintPaused`` and
Settings > Serial Connection > Behaviour > Pausing, the following ``afterPrintPaused`` and
``beforePrintResumed`` scripts might be interesting for you. With something like them in place, OctoPrint will move your print head
out of the way to a safe rest position (here ``G1 X0 Y0``, you might want to adjust that) on pause and move it back
to the persisted pause position on resume, making sure to also reset the extruder and feedrate.
+19
View File
@@ -60,3 +60,22 @@ that in the `Plugin Repository's help pages <http://plugins.octoprint.org/help/r
If you used the `OctoPrint Plugin Cookiecutter Template <https://github.com/OctoPrint/cookiecutter-octoprint-plugin>`_
when creating your plugin, you can find a prepared registration entry ``.md`` file in the ``extras`` folder of your
plugin.
Version management after the official plugin repository release
---------------------------------------------------------------
Once your plugin is available in the official plugin repository, you probably want to create and distribute new versions.
For "beta" users you can use the manual file distribution method, or a more elegant release channels (see below).
After you finalized a new plugin version, don't forget to actually update the version in the ``setup.py``,
and `submit a new release on github <https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/managing-releases-in-a-repository#creating-a-release>`_.
After you published the new release, you can verify it on your installed octoprint,
with force checking the updates under the advanced options (in the software updates menu in the settings).
The new versions will appear to the plugin users in the next 24 hours (it depends on their cache refreshes).
The `Software Update Plugin <https://docs.octoprint.org/en/master/bundledplugins/softwareupdate.html#>`_ has options to define multiple release channels,
and you can let the users decide if they want to test your pre-releases or not.
This can be achieved with defining ``stable_branch`` and ``prerelease_branches`` in the ``get_update_information`` function,
and creating github releases to the newly configured branches too.
For more information you can check the `Software Update Plugin documentation <https://docs.octoprint.org/en/master/bundledplugins/softwareupdate.html#version-checks>`_
or read a more step-by-step writeup `here <https://github.com/cp2004/OctoPrint-Knowledge/blob/main/release-channels.md>`_.
-9
View File
@@ -1173,15 +1173,6 @@ octoprint.plugin.backup.additional_excludes
See :ref:`here <sec-bundledplugins-backup-hooks-excludes>`.
.. _sec-plugins-hook-plugin-loginui-theming:
octoprint.plugin.loginui.theming
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. versionadded:: 1.4.0
See :ref:`here <sec-bundledplugins-loginui-hooks-theming>`.
.. _sec-plugins-hook-plugin-pluginmanager-reconnect:
octoprint.plugin.pluginmanager.reconnect_hooks
+2 -2
View File
@@ -46,7 +46,7 @@ INSTALL_REQUIRES = [
"PyYAML>=5.3.1,<6",
"pyserial>=3.4,<4",
"netaddr>=0.7.19,<1",
"watchdog>=0.10.2,<1",
"watchdog==0.10.4", # watchdog dropped Py>3.6 on 0.10.5 point release...
"sarge==0.1.5post0",
"netifaces>=0.10.9,<1",
"pylru>=1.2,<2",
@@ -75,7 +75,7 @@ INSTALL_REQUIRES_PYTHON2 = [
"scandir>=1.10,<2",
"chainmap>=1.0.3,<2",
"typing>=3.7.4.1,<4",
"enum34>=1.1.10",
"enum34>=1.1.10,<1.2",
]
# Python 3 specific requirements
+37 -3
View File
@@ -288,7 +288,7 @@ class FilebasedGroupManager(GroupManager):
):
permissions.append(permission)
subgroups = attributes.get("subgroups", [])
subgroups = self._to_groups(*attributes.get("subgroups", []))
group = Group(
key,
@@ -301,6 +301,16 @@ class FilebasedGroupManager(GroupManager):
changeable=changeable,
toggleable=toggleable,
)
if key == GUEST_GROUP and (
len(group.permissions) != len(permissions)
or len(group.subgroups) != len(subgroups)
):
self._logger.warning(
"Dangerous permissions and/or subgroups stripped from guests group"
)
self._dirty = True
self._groups[key] = group
for group in self._groups.values():
@@ -532,6 +542,16 @@ class Group(object):
changeable=True,
toggleable=True,
):
if permissions is None:
permissions = []
if subgroups is None:
subgroups = []
if key == GUEST_GROUP:
# guests may not have any dangerous permissions
permissions = list(filter(lambda p: not p.dangerous, permissions))
subgroups = list(filter(lambda g: not g.dangerous, subgroups))
self._key = key
self._name = name
self._description = description
@@ -556,6 +576,7 @@ class Group(object):
"removable": self._removable,
"changeable": self._changeable,
"toggleable": self._toggleable,
"dangerous": self.dangerous,
}
@property
@@ -580,6 +601,12 @@ class Group(object):
def is_toggleable(self):
return self._toggleable
@property
def dangerous(self):
return any(map(lambda p: p.dangerous, self._permissions)) or any(
map(lambda g: g.dangerous, self._subgroups)
)
def add_permissions_to_group(self, permissions):
"""Adds a list of permissions to a group"""
if not self.is_changeable():
@@ -591,6 +618,10 @@ class Group(object):
assert all(map(lambda p: isinstance(p, OctoPrintPermission), permissions))
if self.key == GUEST_GROUP:
# don't allow dangerous permissions on the guests group
permissions = list(filter(lambda p: not p.dangerous, permissions))
dirty = False
for permission in permissions:
if permissions not in self.permissions:
@@ -629,6 +660,10 @@ class Group(object):
assert all(map(lambda g: isinstance(g, Group), subgroups))
if self.key == GUEST_GROUP:
# don't allow dangerous subgroups on the guests group
subgroups = list(filter(lambda g: not g.dangerous, subgroups))
dirty = False
for group in subgroups:
if group.is_toggleable() and group not in self._subgroups:
@@ -639,7 +674,6 @@ class Group(object):
def remove_subgroups_from_group(self, subgroups):
"""Removes a list of subgroups from a group"""
"""Adds a list of subgroups to a group"""
if not self.is_changeable():
raise GroupCantBeChanged(self.key)
@@ -677,7 +711,7 @@ class Group(object):
@property
def subgroups(self):
return filter(lambda g: g is not None, self._subgroups)
return list(filter(lambda g: g is not None, self._subgroups))
@property
def needs(self):
+4
View File
@@ -69,6 +69,10 @@ class OctoPrintPermission(Permission):
def key(self, value):
self._key = value
@property
def dangerous(self):
return self._dangerous
@property
def default_groups(self):
return self._default_groups
+18 -2
View File
@@ -502,6 +502,8 @@ class FilebasedUserManager(UserManager):
def __init__(self, group_manager, path=None, settings=None):
UserManager.__init__(self, group_manager, settings=settings)
self._logger = logging.getLogger(__name__)
if path is None:
path = self._settings.get(["accessControl", "userfile"])
if path is None:
@@ -517,10 +519,19 @@ class FilebasedUserManager(UserManager):
def _load(self):
if os.path.exists(self._userfile) and os.path.isfile(self._userfile):
self._customized = True
# noinspection PyBroadException
with io.open(self._userfile, "rt", encoding="utf-8") as f:
data = yaml.safe_load(f)
if not data or not isinstance(data, dict):
self._logger.fatal(
"{} does not contain a valid map of users. Fix "
"the file, or remove it, then restart OctoPrint.".format(
self._userfile
)
)
raise CorruptUserStorage()
for name, attributes in data.items():
if not isinstance(attributes, dict):
continue
@@ -570,6 +581,7 @@ class FilebasedUserManager(UserManager):
if self._dirty:
self._save()
self._customized = True
else:
self._customized = False
@@ -1008,10 +1020,14 @@ class UnknownUser(Exception):
class UnknownRole(Exception):
def _init_(self, role):
def __init__(self, role):
Exception.__init__(self, "Unknown role: %s" % role)
class CorruptUserStorage(Exception):
pass
##~~ Refactoring helpers
+9 -2
View File
@@ -11,7 +11,12 @@ import click
from octoprint import init_settings
from octoprint.access.groups import FilebasedGroupManager
from octoprint.access.users import FilebasedUserManager, UnknownUser, UserAlreadyExists
from octoprint.access.users import (
CorruptUserStorage,
FilebasedUserManager,
UnknownUser,
UserAlreadyExists,
)
from octoprint.cli import get_ctx_obj_option
from octoprint.util import get_class, sv
@@ -63,6 +68,8 @@ def user(ctx):
try:
clazz = get_class(name)
user_manager = clazz(group_manager=group_manager, settings=settings)
except CorruptUserStorage:
raise
except Exception:
click.echo(
"Could not instantiate user manager {}, falling back to FilebasedUserManager!".format(
@@ -76,7 +83,7 @@ def user(ctx):
except Exception:
click.echo("Could not instantiate user manager", err=True)
return
ctx.exit(-1)
@user.command(name="list")
+6 -1
View File
@@ -675,6 +675,7 @@ class FileManager(object):
path=None,
filter=None,
recursive=None,
level=0,
force_refresh=False,
):
if not destinations:
@@ -685,7 +686,11 @@ class FileManager(object):
result = {}
for dst in destinations:
result[dst] = self._storage_managers[dst].list_files(
path=path, filter=filter, recursive=recursive, force_refresh=force_refresh
path=path,
filter=filter,
recursive=recursive,
level=level,
force_refresh=force_refresh,
)
return result
+21 -5
View File
@@ -92,7 +92,9 @@ class StorageInterface(object):
"""
raise NotImplementedError()
def list_files(self, path=None, filter=None, recursive=True, force_refresh=False):
def list_files(
self, path=None, filter=None, recursive=True, level=0, force_refresh=False
):
"""
List all files in storage starting at ``path``. If ``recursive`` is set to True (the default), also dives into
subfolders.
@@ -628,7 +630,9 @@ class LocalFileStorage(StorageInterface):
folder_path = os.path.join(path, name)
return os.path.exists(folder_path) and os.path.isdir(folder_path)
def list_files(self, path=None, filter=None, recursive=True, force_refresh=False):
def list_files(
self, path=None, filter=None, recursive=True, level=0, force_refresh=False
):
if path:
path = self.sanitize_path(to_unicode(path))
base = self.path_in_storage(path)
@@ -643,7 +647,16 @@ class LocalFileStorage(StorageInterface):
for key, node in nodes.items():
if node["type"] == "folder":
node = copy.copy(node)
node["children"] = []
node["children"] = {}
result[key] = node
return result
def strip_grandchildren(nodes):
result = {}
for key, node in nodes.items():
if node["type"] == "folder":
node = copy.copy(node)
node["children"] = strip_children(node["children"])
result[key] = node
return result
@@ -654,14 +667,17 @@ class LocalFileStorage(StorageInterface):
if node["type"] == "folder":
node = copy.copy(node)
node["children"] = apply_filter(
node.get("children", []), filter_func
node.get("children", {}), filter_func
)
result[key] = node
return result
result = self._list_folder(path, base=base, force_refresh=force_refresh)
if not recursive:
result = strip_children(result)
if level > 0:
result = strip_grandchildren(result)
else:
result = strip_children(result)
if callable(filter):
result = apply_filter(result, filter)
return result
+3 -1
View File
@@ -501,7 +501,6 @@ class BackupPlugin(
backup_file,
exclude=exclude,
settings=settings,
logger=self._logger,
plugin_manager=cli_group.plugin_manager,
datafolder=datafolder,
)
@@ -839,6 +838,9 @@ class BackupPlugin(
on_backup_done=None,
on_backup_error=None,
):
if logger is None:
logger = logging.getLogger(__name__)
exclude_by_default = (
"generated",
"logs",
@@ -21,10 +21,10 @@ from octoprint.util.version import (
)
SENTRY_URL_SERVER = (
"https://52c1a8315c8643ef8de8759cb140ddb9@o118517.ingest.sentry.io/1373987"
"https://c11d13d9e92046bca4691ad1658dc543@o118517.ingest.sentry.io/1373987"
)
SENTRY_URL_COREUI = (
"https://a46f468ba7eb4ca2a046e6a78b208ac4@o118517.ingest.sentry.io/1374096"
"https://a987a79a328e405a9545b8a036b420ee@o118517.ingest.sentry.io/1374096"
)
SETTINGS_DEFAULTS = {
+64 -29
View File
@@ -47,6 +47,8 @@ from octoprint.util.version import (
is_python_compatible,
)
from . import exceptions
try:
from os import scandir
except ImportError:
@@ -633,21 +635,32 @@ class PluginManagerPlugin(
)
else:
self._logger.error(
"{} is neither an archive nor a python file, can't install that.".format(
source
)
raise exceptions.InvalidPackageFormat()
except requests.exceptions.HTTPError as e:
self._logger.error("Could not fetch plugin from server, got {}".format(e))
result = {
"result": False,
"source": source,
"source_type": source_type,
"reason": "Could not fetch plugin from server, got {}".format(e),
}
self._send_result_notification("install", result)
return result
except exceptions.InvalidPackageFormat:
self._logger.error(
"{} is neither an archive nor a python file, can't install that.".format(
source
)
result = {
"result": False,
"source": source,
"source_type": source_type,
"reason": "Could not install plugin from {}, was neither "
"a plugin archive nor a single file plugin".format(source),
}
self._send_result_notification("install", result)
return result
)
result = {
"result": False,
"source": source,
"source_type": source_type,
"reason": "Could not install plugin from {}, was neither "
"a plugin archive nor a single file plugin".format(source),
}
self._send_result_notification("install", result)
return result
finally:
if folder is not None:
folder.cleanup()
@@ -671,11 +684,19 @@ class PluginManagerPlugin(
and not self._settings.get_boolean(["ignore_throttled"])
):
# currently throttled, we refuse to run
return make_response(
"System is currently throttled, refusing to install "
"anything due to possible stability issues",
409,
error_msg = (
"System is currently throttled, refusing to install anything"
" due to possible stability isssues"
)
self._logger.error(error_msg)
result = {
"result": False,
"source": source,
"source_type": source_type,
"reason": error_msg,
}
self._send_result_notification("install", result)
return result
try:
# Py3
@@ -745,11 +766,20 @@ class PluginManagerPlugin(
"Looks like the plugin was already installed. Forcing a reinstall."
)
force = True
except Exception:
self._logger.exception("Could not install plugin from %s" % source)
return make_response(
"Could not install plugin from URL, see the log for more details", 500
)
except Exception as e:
self._logger.exception("Could not install plugin from {}".format(source))
self._logger.exception("Reason: {}".format(repr(e)))
result = {
"result": False,
"source": source,
"source_type": source_type,
"reason": "Could not install plugin from {}, see the log for more details".format(
source
),
}
self._send_result_notification("install", result)
return result
else:
if force:
# We don't use --upgrade here because that will also happily update all our dependencies - we'd rather
@@ -757,16 +787,21 @@ class PluginManagerPlugin(
pip_args += ["--ignore-installed", "--force-reinstall", "--no-deps"]
try:
returncode, stdout, stderr = self._call_pip(pip_args)
except Exception:
except Exception as e:
self._logger.exception(
"Could not install plugin from {}".format(source)
)
return make_response(
"Could not install plugin from source {}, see the log for more details".format(
self._logger.exception("Reason: {}".format(repr(e)))
result = {
"result": False,
"source": source,
"source_type": source_type,
"reason": "Could not install plugin from source {}, see the log for more details".format(
source
),
500,
)
}
self._send_result_notification("install", result)
return result
try:
result_line = list(
@@ -789,7 +824,7 @@ class PluginManagerPlugin(
"for generated output",
}
self._send_result_notification("install", result)
return jsonify(result)
return result
# The final output of a pip install command looks something like this:
#
@@ -0,0 +1,9 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function, unicode_literals
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2020 The OctoPrint Project - Released under terms of the AGPLv3 License"
class InvalidPackageFormat(Exception):
pass
+2 -1
View File
@@ -1149,9 +1149,10 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback):
def _updateResendDataCallback(self):
if not self._comm:
return self._dict(count=0, ratio=0)
return self._dict(count=0, transmitted=0, ratio=0)
return self._dict(
count=self._comm.received_resends,
transmitted=self._comm.transmitted_lines,
ratio=int(self._comm.resend_ratio * 100.0),
)
+2
View File
@@ -547,6 +547,8 @@ class Server(object):
try:
clazz = octoprint.util.get_class(user_manager_name)
userManager = clazz(groupManager)
except octoprint.access.users.CorruptUserStorage:
raise
except Exception:
self._logger.exception(
"Could not instantiate user manager {}, "
+34
View File
@@ -398,6 +398,7 @@ def utilTest():
"url": ["url"],
"server": ["host", "port"],
"resolution": ["name"],
"address": [],
}
command, data, response = get_json_command_from_request(request, valid_commands)
@@ -412,6 +413,8 @@ def utilTest():
return _test_server(data)
elif command == "resolution":
return _test_resolution(data)
elif command == "address":
return _test_address(data)
def _test_path(data):
@@ -743,3 +746,34 @@ def _test_resolution(data):
result = {"name": name, "result": resolvable}
return jsonify(**result)
def _test_address(data):
import netaddr
from octoprint.util.net import get_lan_ranges, sanitize_address
remote_addr = data.get("address")
if not remote_addr:
remote_addr = get_remote_address(request)
remote_addr = sanitize_address(remote_addr)
ip = netaddr.IPAddress(remote_addr)
lan_subnets = get_lan_ranges()
detected_subnet = None
for subnet in lan_subnets:
if ip in subnet:
detected_subnet = subnet
break
result = {
"is_lan_address": detected_subnet is not None,
"address": remote_addr,
}
if detected_subnet is not None:
result["subnet"] = str(detected_subnet)
return jsonify(**result)
+5 -2
View File
@@ -231,7 +231,7 @@ def readGcodeFile(target, filename):
def _getFileDetails(origin, path, recursive=True):
parent, path = os.path.split(path)
files = _getFileList(origin, path=parent, recursive=recursive)
files = _getFileList(origin, path=parent, recursive=recursive, level=1)
for f in files:
if f["name"] == path:
@@ -245,7 +245,9 @@ def _getFileDetails(origin, path, recursive=True):
message="{func}({func_args},{func_kwargs}) took {timing:.2f}ms",
incl_func_args=True,
)
def _getFileList(origin, path=None, filter=None, recursive=False, allow_from_cache=True):
def _getFileList(
origin, path=None, filter=None, recursive=False, level=0, allow_from_cache=True
):
if origin == FileDestinations.SDCARD:
sdFileList = printer.get_sd_files()
@@ -301,6 +303,7 @@ def _getFileList(origin, path=None, filter=None, recursive=False, allow_from_cac
path=path,
filter=filter_func,
recursive=recursive,
level=level,
force_refresh=not allow_from_cache,
)[origin].values()
)
+4 -2
View File
@@ -140,8 +140,10 @@ def uploadLanguagePack():
upload_name = request.values[input_upload_name]
upload_path = request.values[input_upload_path]
exts = filter(
lambda x: upload_name.lower().endswith(x), (".zip", ".tar.gz", ".tgz", ".tar")
exts = list(
filter(
lambda x: upload_name.lower().endswith(x), (".zip", ".tar.gz", ".tgz", ".tar")
)
)
if not len(exts):
return make_response(
+3
View File
@@ -243,6 +243,7 @@ def getSettings():
["serial", "capabilities", "emergency_parser"]
),
"resendRatioThreshold": s.getInt(["serial", "resendRatioThreshold"]),
"resendRatioStart": s.getInt(["serial", "resendRatioStart"]),
},
"folder": {
"uploads": s.getBaseFolder("uploads"),
@@ -871,6 +872,8 @@ def _saveSettings(data):
s.setInt(
["serial", "resendRatioThreshold"], data["serial"]["resendRatioThreshold"]
)
if "resendRatioStart" in data["serial"]:
s.setInt(["serial", "resendRatioStart"], data["serial"]["resendRatioStart"])
oldLog = s.getBoolean(["serial", "log"])
if "log" in data["serial"]:
+1
View File
@@ -169,6 +169,7 @@ default_settings = {
"emergency_parser": True,
},
"resendRatioThreshold": 10,
"resendRatioStart": 100,
# command specific flags
"triggerOkForM29": True,
},
@@ -64,6 +64,15 @@
return this.test("resolution", data, opts);
};
OctoPrintUtilClient.prototype.testAddress = function (address, additional, opts) {
additional = additional || {};
var data = $.extend({}, additional);
data.address = address;
return this.test("address", data, opts);
};
OctoPrintClient.registerComponent("util", OctoPrintUtilClient);
return OctoPrintUtilClient;
});
+24
View File
@@ -1592,3 +1592,27 @@ var loadFromLocalStorage = function (key) {
}
return current;
};
var deepMerge = function (target, source) {
/**
* Implements an object deep merge, which contrary to _.merge doesn't try to
* merge arrays.
*/
if (!_.isObject(target)) {
return target;
}
_.forOwn(source, function (value, key) {
if (
target.hasOwnProperty(key) &&
_.isPlainObject(target[key]) &&
_.isPlainObject(value)
) {
target[key] = deepMerge(target[key], value);
} else {
target[key] = value;
}
});
return target;
};
@@ -4,6 +4,9 @@ $(function () {
access.loginState = parameters[0];
var GROUP_ADMINS = "admins";
var GROUP_GUESTS = "guests";
//~~ Users ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
access.users = (function () {
@@ -43,6 +46,9 @@ $(function () {
}),
apikey: ko.observable(undefined),
active: ko.observable(undefined),
permissionSelectable: function (permission) {
return true;
},
permissionSelected: function (permission) {
var index = self.editor.permissions().indexOf(permission);
return index >= 0;
@@ -86,7 +92,13 @@ $(function () {
self.editor.password().trim() &&
!self.editor.passwordMismatch()))
);
})
}),
dangerRestricted: function () {
return false;
},
dangerRestrictedText: gettext(
"This user may not have dangerous permissions."
)
};
self.userEditorDialog = undefined;
@@ -395,6 +407,10 @@ $(function () {
permissions: ko.observableArray([]),
subgroups: ko.observableArray([]),
default: ko.observable(false),
permissionSelectable: function (permission) {
// guests may not get dangerous permissions
return self.editor.key() !== GROUP_GUESTS || !permission.dangerous;
},
permissionSelected: function (permission) {
var index = self.editor.permissions().indexOf(permission);
return index >= 0;
@@ -409,6 +425,13 @@ $(function () {
}
self.editor.permissions(permissions);
},
subgroupSelectable: function (subgroup) {
// guests may not get dangerous subgroups
return (
self.editor.key() !== subgroup.key &&
(self.editor.key() !== GROUP_GUESTS || !subgroup.dangerous)
);
},
subgroupSelected: function (subgroup) {
var index = self.editor.subgroups().indexOf(subgroup);
return index >= 0;
@@ -431,7 +454,13 @@ $(function () {
confirm: undefined,
valid: ko.pureComputed(function () {
return self.editor.name() && self.editor.name().trim();
})
}),
dangerRestricted: function () {
return self.editor.key() === GROUP_GUESTS;
},
dangerRestrictedText: gettext(
"This group may not have dangerous permissions or subgroups."
)
};
self.groupEditorDialog = undefined;
@@ -12,7 +12,10 @@ $(function () {
self.resendTotalTransmitted = ko.observable(0);
self.resendRatio = ko.observable(0);
self.resendRatioCritical = ko.pureComputed(function () {
return self.resendRatio() >= self.settings.serial_resendRatioThreshold();
return (
self.resendRatio() >= self.settings.serial_resendRatioThreshold() &&
self.resendTotalTransmitted() >= self.settings.serial_resendRatioStart()
);
});
self.resendRatioNotification = undefined;
@@ -387,6 +390,7 @@ $(function () {
self._processResends = function (data) {
self.resendCount(data.count);
self.resendTotalTransmitted(data.transmitted);
self.resendRatio(data.ratio);
};
@@ -235,6 +235,7 @@ $(function () {
self.serial_disableSdPrintingDetection = ko.observable(undefined);
self.serial_ackMax = ko.observable(undefined);
self.serial_resendRatioThreshold = ko.observable(100);
self.serial_resendRatioStart = ko.observable(100);
self.folder_uploads = ko.observable(undefined);
self.folder_timelapse = ko.observable(undefined);
@@ -1141,7 +1142,7 @@ $(function () {
// process all key-value-pairs here
_.forOwn(data, function (value, key) {
var observable = key;
if (keyPrefix != undefined) {
if (keyPrefix !== undefined) {
observable = keyPrefix + "_" + observable;
}
@@ -1160,7 +1161,7 @@ $(function () {
mapping && mapping[key] ? mapping[key] : undefined,
observable
);
if (subresult != undefined) {
if (subresult !== undefined) {
// we only set something on our result if we got something back
result[key] = subresult;
flag = true;
@@ -1178,7 +1179,7 @@ $(function () {
// map local observables based on our existing data
var dataFromObservables = mapFromObservables(data, specialMappings);
data = _.merge(data, dataFromObservables);
data = deepMerge(data, dataFromObservables);
return data;
};
@@ -526,6 +526,15 @@
</div>
</div>
</div>
<div class="control-group" title="{{ _('Start tracking resend request after these many transmitted lines.')|edq }}">
<label class="control-label" for="settings-serialResendRatioStart">{{ _('Tracking start') }}</label>
<div class="controls">
<div class="input-append">
<input type="number" step="1" class="input-mini text-right" id="settings-serialResendRatioStart" data-bind="value: serial_resendRatioStart">
<span class="add-on">lines</span>
</div>
</div>
</div>
</fieldset>
</div>
</div>
+1 -1
View File
@@ -1,5 +1,5 @@
<span title="{{ _('Current printer state')|edq }}">{{ _('State') }}</span>: <strong data-test-id="state-string" data-bind="text: stateString"></strong><br>
<span data-bind="visible: isOperational"><span title="{{ _('Count of resend requests and resend ratio')|edq }}">{{ _('Resend requests') }}</span>: <strong data-bind="css: {'text-error': resendRatioCritical}"><span title="{{ _('resend requests') | edq }}" data-bind="text: formatHuman(resendCount())"></span> (<span data-bind="text: resendRatio"></span>%) <a href="https://faq.octoprint.org/communication-errors" target="_blank" class="text-error" data-bind="visible: resendRatioCritical"><i class="fas fa-question-circle"></i></a></strong><br></span>
<span data-bind="visible: isOperational"><span title="{{ _('Count of resend requests, transmitted lines and resend ratio')|edq }}">{{ _('Resend ratio') }}</span>: <strong data-bind="css: {'text-error': resendRatioCritical}"><span title="{{ _('resend requests') | edq }}" data-bind="text: formatHuman(resendCount())"></span> / <span title="{{ _('transmitted lines') | edq }}" data-bind="text: formatHuman(resendTotalTransmitted())"></span> (<span title="{{ _('resend ratio') }}" data-bind="text: resendRatio"></span>%) <a href="https://faq.octoprint.org/communication-errors" target="_blank" class="text-error" data-bind="visible: resendRatioCritical"><i class="fas fa-question-circle"></i></a></strong><br></span>
<hr>
<span title="{{ _('Name of file currently selected for printing')|edq }}">{{ _('File') }}</span>: <strong data-bind="text: filedisplay, attr: {title: filepath}"></strong>&nbsp;<strong data-bind="visible: sd">(SD)</strong><br>
<span title="{{ _('Upload date of the file currently selected or printing')|edq }}">{{ _('Uploaded') }}</span>: <strong data-bind="text: dateString"></strong><br>
@@ -1,9 +1,11 @@
<p data-bind="visible: $parent.editor.dangerRestricted(), text: $parent.editor.dangerRestrictedText"></p>
<table class="table table-condensed table-hover settings_accesscontrol_permissions_list">
<tbody data-bind="foreach: permissionList()">
<tr>
<td class="settings_accesscontrol_permissions_list_checkbox"><input type="checkbox" data-bind="checkedValue: key, checked: $parents[1].editor.permissions"></td>
<td class="settings_accesscontrol_permissions_list_name" style="cursor: pointer" data-bind="click: function() { $parents[1].editor.togglePermission($data.key) }, attr: {title: description}">
<span class="name" data-bind="text: name, style: { fontWeight: ($parents[1].editor.permissionSelected($data.key)) ? 'bold' : 'normal' }"></span> <span class="label label-info" data-bind="visible: typeof(plugin) !== 'undefined'">{{ _('Plugin') }}</span> <span class="label label-important" data-bind="visible: dangerous">{{ _('Warning') }}</span><br>
<td class="settings_accesscontrol_permissions_list_checkbox"><input type="checkbox" data-bind="checkedValue: key, checked: $parents[1].editor.permissions, enable: $parents[1].editor.permissionSelectable($data)"></td>
<td class="settings_accesscontrol_permissions_list_name" style="cursor: pointer" data-bind="click: function() { if ($parents[1].editor.permissionSelectable($data)) { $parents[1].editor.togglePermission($data.key) } }, attr: {title: description}">
<span class="name" data-bind="text: name, style: { fontWeight: ($parents[1].editor.permissionSelected($data.key)) ? 'bold' : 'normal' }"></span> <span class="label label-info" data-bind="visible: typeof(plugin) !== 'undefined'">{{ _('Plugin') }}</span> <span class="label label-important" data-bind="visible: dangerous">{{ _('Dangerous') }}</span><br>
<small class="description muted" data-bind="text: description"></small>
</td>
</tr>
@@ -1,9 +1,11 @@
<p data-bind="visible: $parent.editor.dangerRestricted(), text: $parent.editor.dangerRestrictedText"></p>
<table class="table table-condensed table-hover settings_accesscontrol_groups_list">
<tbody data-bind="foreach: groupsList()">
<tr>
<td class="settings_accesscontrol_subgroups_list_checkbox"><input type="checkbox" data-bind="checkedValue: key, checked: $parents[1].editor.subgroups, enable: toggleable"></td>
<td class="settings_accesscontrol_subgroups_list_name" style="cursor: pointer" data-bind="click: function() { if ($data.toggleable) { $parents[1].editor.toggleSubgroup($data.key) } }, attr: {title: description}">
<span class="name" data-bind="text: name, style: { fontWeight: ($parents[1].editor.subgroupSelected($data.name)) ? 'bold' : 'normal' }"></span> <small class="label label-info" data-bind="visible: !$data.toggleable" title="{{ _('Fixed groups can\'t be added or removed to other groups.')|edq }}">{{ _('Fixed') }}</small><br>
<td class="settings_accesscontrol_subgroups_list_checkbox"><input type="checkbox" data-bind="checkedValue: key, checked: $parents[1].editor.subgroups, enable: toggleable && $parents[1].editor.subgroupSelectable($data)"></td>
<td class="settings_accesscontrol_subgroups_list_name" style="cursor: pointer" data-bind="click: function() { if ($data.toggleable && $parents[1].editor.subgroupSelectable($data)) { $parents[1].editor.toggleSubgroup($data.key) } }, attr: {title: description}">
<span class="name" data-bind="text: name, style: { fontWeight: ($parents[1].editor.subgroupSelected($data.name)) ? 'bold' : 'normal' }"></span> <small class="label label-info" data-bind="visible: !$data.toggleable" title="{{ _('Fixed groups can\'t be added or removed to other groups.')|edq }}">{{ _('Fixed') }}</small> <span class="label label-important" data-bind="visible: dangerous">{{ _('Dangerous') }}</span><br>
<small class="description" data-bind="text: description"></small><br>
<small class="permissions muted" data-bind="text: $parents[1].editor.joinedGroupPermissions($data)"></small>
</td>
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: OctoPrint\n"
"Report-Msgid-Bugs-To: i18n@octoprint.org\n"
"POT-Creation-Date: 2020-11-10 09:51+0100\n"
"PO-Revision-Date: 2020-11-10 10:56+0100\n"
"POT-Creation-Date: 2020-11-30 14:27+0100\n"
"PO-Revision-Date: 2020-11-30 14:29+0100\n"
"Last-Translator: Gina Häußge <osd@foosel.net>\n"
"Language: de\n"
"Language-Team: German (http://www.transifex.com/projects/p/octoprint/language/de/)\n"
@@ -19,87 +19,87 @@ msgstr ""
"Generated-By: Babel 2.8.0\n"
"X-Generator: Poedit 2.0.4\n"
#: src/octoprint/access/permissions.py:279
#: src/octoprint/access/permissions.py:283
msgid "Admin is allowed to do everything"
msgstr "Admins dürfen alles tun"
#: src/octoprint/access/permissions.py:287
#: src/octoprint/access/permissions.py:291
msgid "Allows to gather basic status information, e.g. job progress, printer state, temperatures, ... Mandatory for the default UI to work"
msgstr "Erlaubt Zugriff auf Statusinformationen wie Druckfortschritt, Druckerstatus, Temperaturen, ... Obligatorisch für die korrekte Funktion des Userinterfaces"
#: src/octoprint/access/permissions.py:298
#: src/octoprint/access/permissions.py:302
msgid "Allows to connect to and disconnect from a printer"
msgstr "Erlaubt Verbindung und Verbindungstrennung zum Drucker"
#: src/octoprint/access/permissions.py:305
#: src/octoprint/access/permissions.py:309
msgid "Allows to watch the webcam stream"
msgstr "Erlaubt Einbettung des Webcamstreams"
#: src/octoprint/access/permissions.py:312
#: src/octoprint/access/permissions.py:316
msgid "Allows to run system commands, e.g. restart OctoPrint, shutdown or reboot the system, and to retrieve system and usage information"
msgstr "Erlaubt die Ausführung von Systembefehlen, z.B. OctoPrint neu starten, System herunterfahren oder neu starten, und die Abfrage von Systeminformation"
#: src/octoprint/access/permissions.py:322
#: src/octoprint/access/permissions.py:326
msgid "Allows to retrieve a list of all uploaded files and folders, includingtheir metadata (e.g. date, file size, analysis results, ...)"
msgstr "Erlaubt das Abrufen eines Liste aller hochgeladenen Dateien und Verzeichnisse, inkl. ihrer Metadaten (z.B. Datum, Dateigröße, Analyseergebnisse, …)"
#: src/octoprint/access/permissions.py:331
#: src/octoprint/access/permissions.py:335
msgid "Allows users to upload new files, create new folders and copy existing ones. If the File Delete permission is also set, File Upload also allows moving files and folders."
msgstr "Erlaubt Nutzern das Hochladen neuer Dateien, Erstellen von Verzeichnissen und Kopieren vorhandener Dateien und Verzeichnisse. Wenn die File Delete Berechtigung ebenfalls gesetzt ist, erlaubt File Upload auch das Verschieben von Dateien und Verzeichnissen."
#: src/octoprint/access/permissions.py:341
#: src/octoprint/access/permissions.py:345
msgid "Allows users to download files. The GCODE viewer is affected by this as well."
msgstr "Erlaubt das Herunterladen von Dateien. Der GCODE viewer benötigt dieses Recht."
#: src/octoprint/access/permissions.py:350
#: src/octoprint/access/permissions.py:354
msgid "Allows users to delete files and folders. If the File Upload permission is also set, File Delete also allows moving files and folders."
msgstr "Erlaubt Nutzern das Löschen von Dateien und Verzeichnissen. Falls die File Upload Berechtigung ebenfalls gesetzt ist, erlaubt File Delete auch das Verschieben von Dateien und Verzeichnissen."
#: src/octoprint/access/permissions.py:359
#: src/octoprint/access/permissions.py:363
msgid "Allows to select a file for printing"
msgstr "Erlaubt die Auswahl einer Datei zum Drucken"
#: src/octoprint/access/permissions.py:366
#: src/octoprint/access/permissions.py:370
msgid "Allows to start, pause and cancel a print job"
msgstr "Erlaubt das starten, pausieren und abbrechen eines Druckauftrags"
#: src/octoprint/access/permissions.py:373
#: src/octoprint/access/permissions.py:377
msgid "Allows access to the GCODE viewer if the \"File Download\"permission is also set."
msgstr "Erlaubt den Zugriff auf den GCODE viewer falls die \"File Download\" Berechtigung ebenfalls gesetzt ist."
#: src/octoprint/access/permissions.py:383
#: src/octoprint/access/permissions.py:387
msgid "Allows to watch the terminal tab but not to send commands to the printer from it"
msgstr "Erlaubt lesenden Zugriff auf das Terminal Tab. Das Senden von Befehlen zum Drucker ist nicht gestattet"
#: src/octoprint/access/permissions.py:393
#: src/octoprint/access/permissions.py:397
msgid "Allows to control of the printer by using the temperature controls,the control tab or sending commands through the terminal."
msgstr "Erlaubt vollen Zugriff auf den Drucker, inkl. Temperatur, Steuerung oder Senden individueller Befehle über das Terminal."
#: src/octoprint/access/permissions.py:403
#: src/octoprint/access/permissions.py:407
msgid "Allows to slice files"
msgstr "Erlaubt das Slicen von Dateien"
#: src/octoprint/access/permissions.py:410
#: src/octoprint/access/permissions.py:414
msgid "Allows to list timelapse videos"
msgstr "Erlaubt die Auflistung von Zeitrafferaufnahmen"
#: src/octoprint/access/permissions.py:416
#: src/octoprint/access/permissions.py:420
msgid "Allows to download timelapse videos"
msgstr "Erlaubt das Herunterladen von Zeitrafferaufnahmen"
#: src/octoprint/access/permissions.py:422
#: src/octoprint/access/permissions.py:426
msgid "Allows to delete timelapse videos and unrendered timelapses"
msgstr "Erlaubt das Löschen von Zeitrafferaufnahmen und ungerenderten Zeitraffern"
#: src/octoprint/access/permissions.py:428
#: src/octoprint/access/permissions.py:432
msgid "Allows to change the timelapse settings and delete or render unrendered timelapses. Includes the \"Timelapse List\",\"Timelapse Delete\" and \"Timelapse Download\" permissions"
msgstr "Erlaubt die Änderung von Zeitraffereinstellungen sowie das Löschen oder Rendern unprozessierter Zeitrafferaufnahmen"
#: src/octoprint/access/permissions.py:441
#: src/octoprint/access/permissions.py:445
msgid "Allows to read non sensitive settings. Mandatory for the default UI to work."
msgstr "Erlaubt lesenden Zugriff auf allgemeine Einstellungen (jedoch keine kritischen). Obligatorisch für die korrekte Funktion des Userinterfaces."
#: src/octoprint/access/permissions.py:450
#: src/octoprint/access/permissions.py:454
msgid "Allows to manage settings and also to read sensitive settings"
msgstr "Erlaubt vollen Zugriff auf alle Einstellungen"
@@ -531,7 +531,7 @@ msgstr "Sicherung & Wiederherstellung"
msgid "Restore Backup?"
msgstr "Sicherung wiederherstellen?"
#: src/octoprint/plugins/backup/__init__.py:1318
#: src/octoprint/plugins/backup/__init__.py:1320
msgid "Without this plugin you will no longer be able to backup & restore your OctoPrint settings and data."
msgstr "Ohne dieses Plugin kannst du deine OctoPrint Einstellung und Daten nicht länger sichern & wiederherstellen."
@@ -684,8 +684,8 @@ msgid "Size"
msgstr "Größe"
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:49
#: src/octoprint/static/js/app/viewmodels/access.js:319
#: src/octoprint/static/js/app/viewmodels/access.js:636
#: src/octoprint/static/js/app/viewmodels/access.js:331
#: src/octoprint/static/js/app/viewmodels/access.js:665
#: src/octoprint/templates/dialogs/settings/appearance.jinja2:103
msgid "Delete"
msgstr "Löschen"
@@ -1245,7 +1245,7 @@ msgstr "Filament"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:697
#: src/octoprint/static/js/app/viewmodels/control.js:85
#: src/octoprint/static/js/app/viewmodels/files.js:959
#: src/octoprint/static/js/app/viewmodels/printerstate.js:351
#: src/octoprint/static/js/app/viewmodels/printerstate.js:354
#: src/octoprint/static/js/app/viewmodels/temperature.js:146
#: src/octoprint/static/js/app/viewmodels/temperature.js:157
#: src/octoprint/static/js/app/viewmodels/temperature.js:377
@@ -1388,7 +1388,6 @@ msgstr "\n"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:484
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:499
#: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:87
#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:6
#: src/octoprint/templates/snippets/settings/server/serverPluginTimings.jinja2:4
msgid "Warning"
msgstr "Warnung"
@@ -3372,8 +3371,8 @@ msgid "off"
msgstr "Aus"
#: src/octoprint/static/js/app/helpers.js:792
#: src/octoprint/static/js/app/viewmodels/access.js:314
#: src/octoprint/static/js/app/viewmodels/access.js:631
#: src/octoprint/static/js/app/viewmodels/access.js:326
#: src/octoprint/static/js/app/viewmodels/access.js:660
#: src/octoprint/static/js/app/viewmodels/connection.js:157
msgid "Are you sure?"
msgstr "Bist Du sicher?"
@@ -3456,40 +3455,48 @@ msgstr "Beende"
msgid "Loading OctoPrint's UI, please wait..."
msgstr "Lade OctoPrints Userinterface, bitte warten..."
#: src/octoprint/static/js/app/viewmodels/access.js:102
#: src/octoprint/static/js/app/viewmodels/access.js:99
msgid "This user may not have dangerous permissions."
msgstr "Dieser Nutzer darf keine gefährlichen Berechtigungen erhalten."
#: src/octoprint/static/js/app/viewmodels/access.js:114
#: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:48
msgid "Add user"
msgstr "Nutzer hinzufügen"
#: src/octoprint/static/js/app/viewmodels/access.js:112
#: src/octoprint/static/js/app/viewmodels/access.js:124
#, python-format
msgid "Edit user \"%(name)s\""
msgstr "Editiere Nutzer \"%(name)s\""
#: src/octoprint/static/js/app/viewmodels/access.js:304
#: src/octoprint/static/js/app/viewmodels/access.js:316
msgid "Not possible"
msgstr "Nicht möglich"
#: src/octoprint/static/js/app/viewmodels/access.js:305
#: src/octoprint/static/js/app/viewmodels/access.js:317
msgid "You may not delete your own account."
msgstr "Du kannst deinen eigenen Account nicht löschen."
#: src/octoprint/static/js/app/viewmodels/access.js:316
#: src/octoprint/static/js/app/viewmodels/access.js:328
#, python-format
msgid "You are about to delete the user \"%(name)s\"."
msgstr "Du bist im Begriff, den Nutzer \"%(name)s\" zu löschen."
#: src/octoprint/static/js/app/viewmodels/access.js:490
#: src/octoprint/static/js/app/viewmodels/access.js:461
msgid "This group may not have dangerous permissions or subgroups."
msgstr "Diese Gruppe darf keine gefährlichen Berechtigungen oder Untergruppern erhalten."
#: src/octoprint/static/js/app/viewmodels/access.js:519
#: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:47
msgid "Add group"
msgstr "Gruppe hinzufügen"
#: src/octoprint/static/js/app/viewmodels/access.js:502
#: src/octoprint/static/js/app/viewmodels/access.js:531
#, python-format
msgid "Edit group \"%(name)s\""
msgstr "Gruppe \"%(name)s\" bearbeiten"
#: src/octoprint/static/js/app/viewmodels/access.js:633
#: src/octoprint/static/js/app/viewmodels/access.js:662
#, python-format
msgid "You are about to delete the group \"%(name)s\"."
msgstr "Du bist im Begriff die Gruppe\"%(name)s\" zu löschen."
@@ -3551,22 +3558,22 @@ msgid "You are about to delete the folder \"%(folder)s\" which still contains fi
msgstr "Du bist im Begriff das Verzeichnis \"%(folder)s\" zu löschen, das noch Dateien und/oder Unterverzeichnisse enthält."
#: src/octoprint/static/js/app/viewmodels/files.js:624
#: src/octoprint/static/js/app/viewmodels/printerstate.js:435
#: src/octoprint/static/js/app/viewmodels/printerstate.js:439
msgid "This will start a new print job. Please check that the print bed is clear."
msgstr "Dies started einen neuen Druckauftrag. Bitte prüfe, dass das Druckbett frei ist."
#: src/octoprint/static/js/app/viewmodels/files.js:627
#: src/octoprint/static/js/app/viewmodels/printerstate.js:438
#: src/octoprint/static/js/app/viewmodels/printerstate.js:442
msgid "Do you want to start the print job now?"
msgstr "Möchtest du den Druckauftrag jetzt starten?"
#: src/octoprint/static/js/app/viewmodels/files.js:628
#: src/octoprint/static/js/app/viewmodels/printerstate.js:439
#: src/octoprint/static/js/app/viewmodels/printerstate.js:443
msgid "No"
msgstr "Nein"
#: src/octoprint/static/js/app/viewmodels/files.js:629
#: src/octoprint/static/js/app/viewmodels/printerstate.js:440
#: src/octoprint/static/js/app/viewmodels/printerstate.js:444
msgid "Yes"
msgstr "Ja"
@@ -3843,98 +3850,98 @@ msgstr "Druckerprofil hinzufügen"
msgid "Edit Printer Profile \"%(name)s\""
msgstr "Druckerprofile \"%(name)s\" bearbeiten"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:91
#: src/octoprint/static/js/app/viewmodels/printerstate.js:94
msgid "Restarts the print job from the beginning"
msgstr "Startet den Druckjob von vorne"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:94
#: src/octoprint/static/js/app/viewmodels/printerstate.js:97
msgid "Starts the print job"
msgstr "Startet den Druckjob"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:95
#: src/octoprint/static/js/app/viewmodels/printerstate.js:98
msgid "Resumes the print job"
msgstr "Setzt den Druckjob fort"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:96
#: src/octoprint/static/js/app/viewmodels/printerstate.js:99
msgid "Pauses the print job"
msgstr "Pausiert den Druckjob"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:134
#: src/octoprint/static/js/app/viewmodels/printerstate.js:137
msgid "Still stabilizing..."
msgstr "Noch zu ungenau..."
#: src/octoprint/static/js/app/viewmodels/printerstate.js:154
#: src/octoprint/static/js/app/viewmodels/printerstate.js:157
msgid "Based on a linear approximation (very low accuracy, especially at the beginning of the print)"
msgstr "Basiert auf einer linearen Approximation (sehr geringe Genauigkeit, insbesondere zu Beginn eines Drucks)"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:159
#: src/octoprint/static/js/app/viewmodels/printerstate.js:162
msgid "Based on the estimate from analysis of file (medium accuracy)"
msgstr "Basiert auf der Schätzung der Analyse der Datei (mittlere Genauigkeit)"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:164
#: src/octoprint/static/js/app/viewmodels/printerstate.js:167
msgid "Based on a mix of estimate from analysis and calculation (medium accuracy)"
msgstr "Basiert auf einem Mix der Schätzung aus der Analyse und der Berechnung (mittlere Genauigkeit)"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:169
#: src/octoprint/static/js/app/viewmodels/printerstate.js:172
msgid "Based on the average total of past prints of this model with the same printer profile (usually good accuracy)"
msgstr "Basiert auf der durchschnittlichen Dauer vergangener Druckjobs dieses Modells mit dem selben Druckerprofil (normalerweise gute Genauigkeit)"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:174
#: src/octoprint/static/js/app/viewmodels/printerstate.js:177
msgid "Based on a mix of average total from past prints and calculation (usually good accuracy)"
msgstr "Basiert auf einem Mix der durchschnittlichen Dauer vergangener Druckjobs und der Berechnung (normalerweise gute Genauigkeit)"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:179
#: src/octoprint/static/js/app/viewmodels/printerstate.js:182
msgid "Based on the calculated estimate (best accuracy)"
msgstr "Basiert auf der berechneten Schätzung (beste Genauigkeit)"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:215
#: src/octoprint/static/js/app/viewmodels/printerstate.js:218
msgid "Continue"
msgstr "Fortsetzen"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:216
#: src/octoprint/static/js/app/viewmodels/printerstate.js:219
#: src/octoprint/templates/sidebar/state.jinja2:31
msgid "Pause"
msgstr "Pause"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:226
#: src/octoprint/static/js/app/viewmodels/printerstate.js:229
#: src/octoprint/templates/tabs/timelapse.jinja2:16
msgid "On Z Change"
msgstr "Bei Ebenenwechsel"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:229
#: src/octoprint/static/js/app/viewmodels/printerstate.js:232
#: src/octoprint/templates/tabs/timelapse.jinja2:15
msgid "Timed"
msgstr "Nach Zeit"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:233
#: src/octoprint/static/js/app/viewmodels/printerstate.js:236
#: src/octoprint/templates/tabs/timelapse.jinja2:27
#: src/octoprint/templates/tabs/timelapse.jinja2:38
#: src/octoprint/templates/tabs/timelapse.jinja2:58
msgid "sec"
msgstr "Sek"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:396
#: src/octoprint/static/js/app/viewmodels/printerstate.js:400
#, python-format
msgid "<p>%(ratio)d%% of transmitted lines have triggered resend requests. The communication with the printer is unreliable and this will cause print artefacts and failures.</p><p>Please see <a href='%(url)s' target='_blank'>this FAQ entry</a> on tips on how to solve this.</p>"
msgstr "<p>%(ratio)d%% aller übertragenen Zeilen haben einen Resend Request verursacht. Die Kommunikation mit dem Drucker ist nicht zuverlässig und das wird Druckartefakte und -fehler verursachen.</p><p>Bitte konsultiere <a href='%(url)s' target='_blank'>diesen FAQ Eintrag</a> für Tipps, was man dagegen machen kann.</p>"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:408
#: src/octoprint/static/js/app/viewmodels/printerstate.js:412
msgid "Critical resend ratio!"
msgstr "Kritisches Resendverhältnis!"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:423
#: src/octoprint/static/js/app/viewmodels/printerstate.js:427
msgid "This will restart the print job from the beginning."
msgstr "Der Druckjob wird zurückgesetzt und von vorne begonnen."
#: src/octoprint/static/js/app/viewmodels/printerstate.js:467
#: src/octoprint/static/js/app/viewmodels/printerstate.js:471
msgid "This will cancel your print."
msgstr "Das wird deinen Druck abbrechen."
#: src/octoprint/static/js/app/viewmodels/printerstate.js:468
#: src/octoprint/static/js/app/viewmodels/printerstate.js:472
msgid "No, continue the print"
msgstr "Nein, mit dem Druck fortfahren"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:469
#: src/octoprint/static/js/app/viewmodels/printerstate.js:473
msgid "Yes, cancel the print"
msgstr "Ja, den Druck abbrechen"
@@ -3952,85 +3959,85 @@ msgstr "Weiß"
msgid "Autodetect from browser"
msgstr "Automatisch vom Browser erkennen"
#: src/octoprint/static/js/app/viewmodels/settings.js:426
#: src/octoprint/static/js/app/viewmodels/settings.js:427
msgid "If you see your webcam stream below, the entered stream URL is ok."
msgstr "Falls du unten den Webcamstream sehen kannst, ist die Stream-URL ok."
#: src/octoprint/static/js/app/viewmodels/settings.js:453
#: src/octoprint/static/js/app/viewmodels/settings.js:454
msgid "Stream test"
msgstr "Stream Test"
#: src/octoprint/static/js/app/viewmodels/settings.js:471
#: src/octoprint/static/js/app/viewmodels/settings.js:472
msgid "Could not retrieve snapshot URL, please double check the URL"
msgstr "Konnte die Snapshot-URL nicht abgreifen, bitte prüfen"
#: src/octoprint/static/js/app/viewmodels/settings.js:474
#: src/octoprint/static/js/app/viewmodels/settings.js:475
msgid "Snapshot test failed"
msgstr "Snapshot Test fehlgeschlagen"
#: src/octoprint/static/js/app/viewmodels/settings.js:494
#: src/octoprint/static/js/app/viewmodels/settings.js:495
#, python-format
msgid "Could retrieve the snapshot URL, but it didn't look like an image. Got this as a content type header: <code>%(content_type)s</code>. Please double check that the URL is returning static images, not multipart data or videos."
msgstr "Konnte die Snapshot URL abrufen, aber die Antwort sah nicht wie ein Bild aus: <code>%(content_type)s</code>. Bitte überprüfe, dass die URL einzelne Bilder zurückliefert, nicht multipart Daten oder Videos."
#: src/octoprint/static/js/app/viewmodels/settings.js:523
#: src/octoprint/static/js/app/viewmodels/settings.js:524
msgid "If you see your webcam snapshot picture below, the entered snapshot URL is ok."
msgstr "Falls du unten dein Snapshotbild sehen kannst, ist die Snapshot-URL ok."
#: src/octoprint/static/js/app/viewmodels/settings.js:527
#: src/octoprint/static/js/app/viewmodels/settings.js:528
msgid "Snapshot test"
msgstr "Snapshot Test"
#: src/octoprint/static/js/app/viewmodels/settings.js:569
#: src/octoprint/static/js/app/viewmodels/settings.js:570
msgid "The path doesn't exist"
msgstr "Der Pfad existiert nicht"
#: src/octoprint/static/js/app/viewmodels/settings.js:571
#: src/octoprint/static/js/app/viewmodels/settings.js:572
msgid "The path is not a file"
msgstr "Der Pfad ist keine Datei"
#: src/octoprint/static/js/app/viewmodels/settings.js:574
#: src/octoprint/static/js/app/viewmodels/settings.js:575
msgid "The path is not an executable"
msgstr "Der Pfad ist nicht ausführbar"
#: src/octoprint/static/js/app/viewmodels/settings.js:578
#: src/octoprint/static/js/app/viewmodels/settings.js:679
#: src/octoprint/static/js/app/viewmodels/settings.js:579
#: src/octoprint/static/js/app/viewmodels/settings.js:680
msgid "The path is valid"
msgstr "Der Pfad ist valide"
#: src/octoprint/static/js/app/viewmodels/settings.js:603
#: src/octoprint/static/js/app/viewmodels/settings.js:604
msgid "The server is not reachable"
msgstr "Der Server ist nicht erreichbar"
#: src/octoprint/static/js/app/viewmodels/settings.js:606
#: src/octoprint/static/js/app/viewmodels/settings.js:607
msgid "The server is reachable"
msgstr "Der Server ist erreichbar"
#: src/octoprint/static/js/app/viewmodels/settings.js:627
#: src/octoprint/static/js/app/viewmodels/settings.js:628
msgid "Name cannot be resolved"
msgstr "Name kann nicht aufgelöst werden"
#: src/octoprint/static/js/app/viewmodels/settings.js:631
#: src/octoprint/static/js/app/viewmodels/settings.js:632
msgid "Name can be resolved"
msgstr "Name kann aufgelöst werden"
#: src/octoprint/static/js/app/viewmodels/settings.js:663
#: src/octoprint/static/js/app/viewmodels/settings.js:664
msgid "The path is a broken symlink."
msgstr "Der Pfad ist ein kaputter Symlink."
#: src/octoprint/static/js/app/viewmodels/settings.js:667
#: src/octoprint/static/js/app/viewmodels/settings.js:668
msgid "The path does not exist and cannot be created."
msgstr "Der Pfad existiert nicht und kann nicht erstellt werden."
#: src/octoprint/static/js/app/viewmodels/settings.js:671
#: src/octoprint/static/js/app/viewmodels/settings.js:672
msgid "The path is not a folder."
msgstr "Der Pfad ist kein Verzeichnis."
#: src/octoprint/static/js/app/viewmodels/settings.js:675
#: src/octoprint/static/js/app/viewmodels/settings.js:676
msgid "The path is not writable."
msgstr "Der Pfad ist nicht beschreibbar."
#: src/octoprint/static/js/app/viewmodels/settings.js:817
#: src/octoprint/static/js/app/viewmodels/settings.js:818
#: src/octoprint/static/js/app/viewmodels/usersettings.js:120
msgid "This will generate a new API Key. The old API Key will cease to function immediately."
msgstr "Dies wird einen neuen API-Key generieren. Der alte wird sofort aufhören zu funktionieren."
@@ -4692,10 +4699,12 @@ msgid "\n"
" It's also recommended to create a user account without admin access and use that for third\n"
" party clients where possible.\n"
" "
msgstr "Der globale API Key sollte am Besten nicht mehr verwendet werden. Es ist ein einzelner Key, der vollen Adminzugriff auf die gesamte OctoPrint Instanz gibt.\n"
"Stattdessen solltest du individuelle Application Keys für Third-Party-Clients erstellen. Dadurch bekommen diese die Zugriffsrechte des jeweiligen für die Erstellung \n"
"des Keys genutzten Nutzeraccounts und du kannst einem Client auch einfach wieder den Zugriff entziehen, oder für alle anderen den Key ändern zu müssen.\n"
"Es ist außerdem empfohlen, einen Useraccount ohne Adminzugriff zu erstellen und so möglich für Third-Party-Clients zu verwenden."
msgstr "\n"
" Der globale API Key sollte am Besten nicht mehr verwendet werden. Es ist ein einzelner Key, der vollen Adminzugriff auf die gesamte OctoPrint Instanz gibt.\n"
" Stattdessen solltest du individuelle Application Keys für Third-Party-Clients erstellen. Dadurch bekommen diese die Zugriffsrechte des jeweiligen für die Erstellung \n"
" des Keys genutzten Nutzeraccounts und du kannst einem Client auch einfach wieder den Zugriff entziehen ohne für alle anderen den Key ändern zu müssen.\n"
" Es ist außerdem empfohlen, einen Useraccount ohne Adminzugriff zu erstellen und so möglich für Third-Party-Clients zu verwenden.\n"
" "
#: src/octoprint/templates/dialogs/settings/api.jinja2:23
msgid "Access Application Keys"
@@ -5561,6 +5570,14 @@ msgstr "Resendverhältnis-Schwellwert. Anteil von Resendrequests an allen übert
msgid "Critical resend ratio"
msgstr "Kritisches Resendverhältnis"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:529
msgid "Start tracking resend request after these many transmitted lines."
msgstr "Resend requests erst nach dieser Anzahl übertragener Zeilen beginnen zu tracken."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:530
msgid "Tracking start"
msgstr "Trackingbeginn"
#: src/octoprint/templates/dialogs/settings/server.jinja2:4
msgid "Commands"
msgstr "Befehle"
@@ -5895,17 +5912,25 @@ msgid "Current printer state"
msgstr "Aktueller Druckerstatus"
#: src/octoprint/templates/sidebar/state.jinja2:2
msgid "Count of resend requests and resend ratio"
msgstr "Anzahl von Resendrequests und Resendverhältnis"
msgid "Count of resend requests, transmitted lines and resend ratio"
msgstr "Anzahl von Resendrequests, übertragene Zeilen und Resendverhältnis"
#: src/octoprint/templates/sidebar/state.jinja2:2
msgid "Resend requests"
msgstr "Resendrequests"
msgid "Resend ratio"
msgstr "Resendverhältnis"
#: src/octoprint/templates/sidebar/state.jinja2:2
msgid "resend requests"
msgstr "Resendrequests"
#: src/octoprint/templates/sidebar/state.jinja2:2
msgid "transmitted lines"
msgstr "übertragene Zeilen"
#: src/octoprint/templates/sidebar/state.jinja2:2
msgid "resend ratio"
msgstr "Resendverhältnis"
#: src/octoprint/templates/sidebar/state.jinja2:4
msgid "Name of file currently selected for printing"
msgstr "Name der aktuell zum Drucken gewählten Datei"
@@ -5979,7 +6004,7 @@ msgid "Fixed groups can't be added or removed to users."
msgstr "Feste Gruppen können zu Benutzern nicht hinzugefügt oder entfernt werden."
#: src/octoprint/templates/snippets/settings/accesscontrol/group_list.jinja2:6
#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:6
#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:8
msgid "Fixed"
msgstr "Fest"
@@ -6022,11 +6047,16 @@ msgstr "Standard"
msgid "Marking a group as default will make it get pre selected when creating new users."
msgstr "Eine als Standardgruppe deklarierte Gruppe wird bei der Erstellung neuer Nutzer vorselektiert."
#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:6
#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:8
msgid "Plugin"
msgstr "Plugin"
#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:6
#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:8
#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:8
msgid "Dangerous"
msgstr "Gefährlich"
#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:8
msgid "Fixed groups can't be added or removed to other groups."
msgstr "Feste Gruppen können zu Gruppen nicht hinzugefügt oder entfernt werden."
@@ -7934,3 +7964,85 @@ msgstr "Zeitrafferaufnahme rendern"
#~ msgid "Select Tool..."
#~ msgstr "Tool wählen..."
#~ msgid "Resend requests"
#~ msgstr "Resendrequests"
#~ msgid ""
#~ "\n"
#~ " The global API key "
#~ "should best not be used anymore. "
#~ "It's one single key that gives "
#~ "full admin access to\n"
#~ " your whole OctoPrint instance."
#~ " Instead of using it you should "
#~ "create individual Application Keys for\n"
#~ " your third party clients. "
#~ "That way they get permissions matching"
#~ " the user account used for key\n"
#~ ""
#~ " creation and you can "
#~ "also revoke access to one app "
#~ "without having to change the keys "
#~ "for all other apps.\n"
#~ " It's also recommended to "
#~ "create a user account without admin "
#~ "access and use that for third\n"
#~ " party clients where possible.\n"
#~ " "
#~ msgstr ""
#~ "Der globale API Key sollte am "
#~ "Besten nicht mehr verwendet werden. Es"
#~ " ist ein einzelner Key, der vollen"
#~ " Adminzugriff auf die gesamte OctoPrint "
#~ "Instanz gibt.\n"
#~ "Stattdessen solltest du individuelle "
#~ "Application Keys für Third-Party-Clients"
#~ " erstellen. Dadurch bekommen diese die "
#~ "Zugriffsrechte des jeweiligen für die "
#~ "Erstellung \n"
#~ "des Keys genutzten Nutzeraccounts und du"
#~ " kannst einem Client auch einfach "
#~ "wieder den Zugriff entziehen, oder für"
#~ " alle anderen den Key ändern zu "
#~ "müssen.\n"
#~ "Es ist außerdem empfohlen, einen "
#~ "Useraccount ohne Adminzugriff zu erstellen "
#~ "und so möglich für Third-Party-"
#~ "Clients zu verwenden."
#~ msgid "Export"
#~ msgstr "Port"
#~ msgid "Offline after error"
#~ msgstr ""
#~ msgid "Starting to send file to SD"
#~ msgstr ""
#~ msgid ""
#~ "\n"
#~ " It is recommended to no"
#~ " longer use the global API key "
#~ "as it's one single key that gives"
#~ " full admin access\n"
#~ " to your whole OctoPrint "
#~ "instance. <strong>It will be removed in"
#~ " OctoPrint 2.0</strong>.\n"
#~ " Instead of using the "
#~ "global key you should create individual"
#~ " Application Keys for\n"
#~ " your third party clients. "
#~ "That way they get permissions matching"
#~ " the user account used for key\n"
#~ ""
#~ " creation and you can "
#~ "also revoke access to one app "
#~ "without having to change the keys "
#~ "for all other apps.\n"
#~ " It's also recommended to "
#~ "create a user account without admin "
#~ "access and use that for third\n"
#~ " party clients where possible.\n"
#~ " "
#~ msgstr ""
+5 -3
View File
@@ -664,6 +664,7 @@ class MachineCom(object):
self._transmitted_lines = 0
self._received_resend_requests = 0
self._resend_ratio_start = settings().getInt(["serial", "resendRatioStart"])
self._resend_ratio_threshold = (
settings().getInt(["serial", "resendRatioThreshold"]) / 100.0
)
@@ -825,13 +826,14 @@ class MachineCom(object):
resend_ratio = self.resend_ratio
if (
resend_ratio >= self._resend_ratio_threshold
and self._transmitted_lines > self._resend_ratio_start
and not self._resend_ratio_reported
):
message = (
"Over {}% of transmitted lines have triggered resend requests "
"({:.2f}%). The communication with the printers is unreliable. "
"Over {:.0f}% of transmitted lines have triggered resend requests "
"({:.2f}%). The communication with the printer is unreliable. "
"Please see https://faq.octoprint.org/communication-errors.".format(
self._resend_ratio_threshold, resend_ratio
self._resend_ratio_threshold * 100, resend_ratio * 100
)
)
self._log(message)
+3 -1
View File
@@ -176,7 +176,9 @@ class CommandlineCaller(object):
# if we are running under windows, make sure there are no unicode strings in the env
if get_os() == "windows" and "env" in kwargs:
kwargs["env"] = dict((k, to_native_str(v)) for k, v in kwargs["env"].items())
kwargs["env"] = dict(
(to_native_str(k), to_native_str(v)) for k, v in kwargs["env"].items()
)
delimiter = kwargs.get("delimiter", b"\n")
try:
+77 -58
View File
@@ -53,71 +53,83 @@ else:
HAS_V6 = False
def get_lan_ranges(additional_private=None):
logger = logging.getLogger(__name__)
if additional_private is None or not isinstance(additional_private, (list, tuple)):
additional_private = []
def to_ipnetwork(address):
prefix = address["netmask"]
if "/" in prefix:
# v6 notation in netifaces output, e.g. "ffff:ffff:ffff:ffff::/64"
_, prefix = prefix.split("/")
addr = strip_interface_tag(address["addr"])
return netaddr.IPNetwork("{}/{}".format(addr, prefix))
subnets = []
for interface in netifaces.interfaces():
addrs = netifaces.ifaddresses(interface)
for v4 in addrs.get(socket.AF_INET, ()):
try:
subnets.append(to_ipnetwork(v4))
except Exception:
if logger.isEnabledFor(logging.DEBUG):
logger.exception(
"Error while trying to add v4 network to local subnets: {!r}".format(
v4
)
)
if HAS_V6:
for v6 in addrs.get(socket.AF_INET6, ()):
try:
subnets.append(to_ipnetwork(v6))
except Exception:
if logger.isEnabledFor(logging.DEBUG):
logger.exception(
"Error while trying to add v6 network to local subnets: {!r}".format(
v6
)
)
for additional in additional_private:
try:
subnets.append(netaddr.IPNetwork(additional))
except Exception:
if logger.isEnabledFor(logging.DEBUG):
logger.exception(
"Error while trying to add additional private network to local subnets: {}".format(
additional
)
)
subnets += list(netaddr.ip.IPV4_PRIVATE) + [
netaddr.ip.IPV4_LOOPBACK,
netaddr.ip.IPV4_LINK_LOCAL,
]
if HAS_V6:
subnets += list(netaddr.ip.IPV6_PRIVATE) + [
netaddr.IPNetwork(netaddr.ip.IPV6_LOOPBACK),
netaddr.ip.IPV6_LINK_LOCAL,
]
return subnets
def is_lan_address(address, additional_private=None):
if not address:
# no address is LAN address
return True
try:
address = unmap_v4_as_v6(address)
address = strip_interface_tag(address)
address = sanitize_address(address)
ip = netaddr.IPAddress(address)
if ip.is_private() or ip.is_loopback():
return True
subnets = get_lan_ranges(additional_private=additional_private)
if additional_private is None or not isinstance(
additional_private, (list, tuple)
):
additional_private = []
subnets = netaddr.IPSet()
for additional in additional_private:
try:
subnets.add(netaddr.IPNetwork(additional))
except Exception:
if logging.getLogger(__name__).isEnabledFor(logging.DEBUG):
logging.getLogger(__name__).exception(
"Error while trying to add additional private network to local subnets: {}".format(
additional
)
)
def to_ipnetwork(address):
prefix = address["netmask"]
if "/" in prefix:
# v6 notation in netifaces output, e.g. "ffff:ffff:ffff:ffff::/64"
_, prefix = prefix.split("/")
addr = strip_interface_tag(address["addr"])
return netaddr.IPNetwork("{}/{}".format(addr, prefix))
for interface in netifaces.interfaces():
addrs = netifaces.ifaddresses(interface)
for v4 in addrs.get(socket.AF_INET, ()):
try:
subnets.add(to_ipnetwork(v4))
except Exception:
if logging.getLogger(__name__).isEnabledFor(logging.DEBUG):
logging.getLogger(__name__).exception(
"Error while trying to add v4 network to local subnets: {!r}".format(
v4
)
)
if HAS_V6:
for v6 in addrs.get(socket.AF_INET6, ()):
try:
subnets.add(to_ipnetwork(v6))
except Exception:
if logging.getLogger(__name__).isEnabledFor(logging.DEBUG):
logging.getLogger(__name__).exception(
"Error while trying to add v6 network to local subnets: {!r}".format(
v6
)
)
if ip in subnets:
if any(map(lambda subnet: ip in subnet, subnets)):
return True
return False
@@ -132,6 +144,12 @@ def is_lan_address(address, additional_private=None):
return True
def sanitize_address(address):
address = unmap_v4_as_v6(address)
address = strip_interface_tag(address)
return address
def strip_interface_tag(address):
if "%" in address:
# interface comment, e.g. "fe80::457f:bbee:d579:1063%wlan0"
@@ -166,7 +184,8 @@ def interface_addresses(family=None, interfaces=None):
continue
if family in ifaddresses:
for ifaddress in ifaddresses[family]:
if not ifaddress["addr"].startswith("169.254."):
address = netaddr.IPAddress(ifaddress["addr"])
if not address.is_link_local() and not address.is_loopback():
yield ifaddress["addr"]
+462 -271
View File
File diff suppressed because it is too large. Load diff
+261 -254
View File
File diff suppressed because it is too large. Load diff
+2 -1
View File
@@ -22,6 +22,7 @@
"cypress-file-upload": "^4.0.7",
"cypress-plugin-retries": "^1.5.2",
"cypress-terminal-report": "^1.4.1",
"cypress-wait-until": "^1.7.1"
"cypress-wait-until": "^1.7.1",
"ini": "^2.0.0"
}
}
Binary file not shown.
+208 -96
View File
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: OctoPrint\n"
"Report-Msgid-Bugs-To: i18n@octoprint.org\n"
"POT-Creation-Date: 2020-11-10 09:51+0100\n"
"PO-Revision-Date: 2020-11-10 10:56+0100\n"
"POT-Creation-Date: 2020-11-30 14:27+0100\n"
"PO-Revision-Date: 2020-11-30 14:29+0100\n"
"Last-Translator: Gina Häußge <osd@foosel.net>\n"
"Language: de\n"
"Language-Team: German (http://www.transifex.com/projects/p/octoprint/language/de/)\n"
@@ -19,87 +19,87 @@ msgstr ""
"Generated-By: Babel 2.8.0\n"
"X-Generator: Poedit 2.0.4\n"
#: src/octoprint/access/permissions.py:279
#: src/octoprint/access/permissions.py:283
msgid "Admin is allowed to do everything"
msgstr "Admins dürfen alles tun"
#: src/octoprint/access/permissions.py:287
#: src/octoprint/access/permissions.py:291
msgid "Allows to gather basic status information, e.g. job progress, printer state, temperatures, ... Mandatory for the default UI to work"
msgstr "Erlaubt Zugriff auf Statusinformationen wie Druckfortschritt, Druckerstatus, Temperaturen, ... Obligatorisch für die korrekte Funktion des Userinterfaces"
#: src/octoprint/access/permissions.py:298
#: src/octoprint/access/permissions.py:302
msgid "Allows to connect to and disconnect from a printer"
msgstr "Erlaubt Verbindung und Verbindungstrennung zum Drucker"
#: src/octoprint/access/permissions.py:305
#: src/octoprint/access/permissions.py:309
msgid "Allows to watch the webcam stream"
msgstr "Erlaubt Einbettung des Webcamstreams"
#: src/octoprint/access/permissions.py:312
#: src/octoprint/access/permissions.py:316
msgid "Allows to run system commands, e.g. restart OctoPrint, shutdown or reboot the system, and to retrieve system and usage information"
msgstr "Erlaubt die Ausführung von Systembefehlen, z.B. OctoPrint neu starten, System herunterfahren oder neu starten, und die Abfrage von Systeminformation"
#: src/octoprint/access/permissions.py:322
#: src/octoprint/access/permissions.py:326
msgid "Allows to retrieve a list of all uploaded files and folders, includingtheir metadata (e.g. date, file size, analysis results, ...)"
msgstr "Erlaubt das Abrufen eines Liste aller hochgeladenen Dateien und Verzeichnisse, inkl. ihrer Metadaten (z.B. Datum, Dateigröße, Analyseergebnisse, …)"
#: src/octoprint/access/permissions.py:331
#: src/octoprint/access/permissions.py:335
msgid "Allows users to upload new files, create new folders and copy existing ones. If the File Delete permission is also set, File Upload also allows moving files and folders."
msgstr "Erlaubt Nutzern das Hochladen neuer Dateien, Erstellen von Verzeichnissen und Kopieren vorhandener Dateien und Verzeichnisse. Wenn die File Delete Berechtigung ebenfalls gesetzt ist, erlaubt File Upload auch das Verschieben von Dateien und Verzeichnissen."
#: src/octoprint/access/permissions.py:341
#: src/octoprint/access/permissions.py:345
msgid "Allows users to download files. The GCODE viewer is affected by this as well."
msgstr "Erlaubt das Herunterladen von Dateien. Der GCODE viewer benötigt dieses Recht."
#: src/octoprint/access/permissions.py:350
#: src/octoprint/access/permissions.py:354
msgid "Allows users to delete files and folders. If the File Upload permission is also set, File Delete also allows moving files and folders."
msgstr "Erlaubt Nutzern das Löschen von Dateien und Verzeichnissen. Falls die File Upload Berechtigung ebenfalls gesetzt ist, erlaubt File Delete auch das Verschieben von Dateien und Verzeichnissen."
#: src/octoprint/access/permissions.py:359
#: src/octoprint/access/permissions.py:363
msgid "Allows to select a file for printing"
msgstr "Erlaubt die Auswahl einer Datei zum Drucken"
#: src/octoprint/access/permissions.py:366
#: src/octoprint/access/permissions.py:370
msgid "Allows to start, pause and cancel a print job"
msgstr "Erlaubt das starten, pausieren und abbrechen eines Druckauftrags"
#: src/octoprint/access/permissions.py:373
#: src/octoprint/access/permissions.py:377
msgid "Allows access to the GCODE viewer if the \"File Download\"permission is also set."
msgstr "Erlaubt den Zugriff auf den GCODE viewer falls die \"File Download\" Berechtigung ebenfalls gesetzt ist."
#: src/octoprint/access/permissions.py:383
#: src/octoprint/access/permissions.py:387
msgid "Allows to watch the terminal tab but not to send commands to the printer from it"
msgstr "Erlaubt lesenden Zugriff auf das Terminal Tab. Das Senden von Befehlen zum Drucker ist nicht gestattet"
#: src/octoprint/access/permissions.py:393
#: src/octoprint/access/permissions.py:397
msgid "Allows to control of the printer by using the temperature controls,the control tab or sending commands through the terminal."
msgstr "Erlaubt vollen Zugriff auf den Drucker, inkl. Temperatur, Steuerung oder Senden individueller Befehle über das Terminal."
#: src/octoprint/access/permissions.py:403
#: src/octoprint/access/permissions.py:407
msgid "Allows to slice files"
msgstr "Erlaubt das Slicen von Dateien"
#: src/octoprint/access/permissions.py:410
#: src/octoprint/access/permissions.py:414
msgid "Allows to list timelapse videos"
msgstr "Erlaubt die Auflistung von Zeitrafferaufnahmen"
#: src/octoprint/access/permissions.py:416
#: src/octoprint/access/permissions.py:420
msgid "Allows to download timelapse videos"
msgstr "Erlaubt das Herunterladen von Zeitrafferaufnahmen"
#: src/octoprint/access/permissions.py:422
#: src/octoprint/access/permissions.py:426
msgid "Allows to delete timelapse videos and unrendered timelapses"
msgstr "Erlaubt das Löschen von Zeitrafferaufnahmen und ungerenderten Zeitraffern"
#: src/octoprint/access/permissions.py:428
#: src/octoprint/access/permissions.py:432
msgid "Allows to change the timelapse settings and delete or render unrendered timelapses. Includes the \"Timelapse List\",\"Timelapse Delete\" and \"Timelapse Download\" permissions"
msgstr "Erlaubt die Änderung von Zeitraffereinstellungen sowie das Löschen oder Rendern unprozessierter Zeitrafferaufnahmen"
#: src/octoprint/access/permissions.py:441
#: src/octoprint/access/permissions.py:445
msgid "Allows to read non sensitive settings. Mandatory for the default UI to work."
msgstr "Erlaubt lesenden Zugriff auf allgemeine Einstellungen (jedoch keine kritischen). Obligatorisch für die korrekte Funktion des Userinterfaces."
#: src/octoprint/access/permissions.py:450
#: src/octoprint/access/permissions.py:454
msgid "Allows to manage settings and also to read sensitive settings"
msgstr "Erlaubt vollen Zugriff auf alle Einstellungen"
@@ -531,7 +531,7 @@ msgstr "Sicherung & Wiederherstellung"
msgid "Restore Backup?"
msgstr "Sicherung wiederherstellen?"
#: src/octoprint/plugins/backup/__init__.py:1318
#: src/octoprint/plugins/backup/__init__.py:1320
msgid "Without this plugin you will no longer be able to backup & restore your OctoPrint settings and data."
msgstr "Ohne dieses Plugin kannst du deine OctoPrint Einstellung und Daten nicht länger sichern & wiederherstellen."
@@ -684,8 +684,8 @@ msgid "Size"
msgstr "Größe"
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:49
#: src/octoprint/static/js/app/viewmodels/access.js:319
#: src/octoprint/static/js/app/viewmodels/access.js:636
#: src/octoprint/static/js/app/viewmodels/access.js:331
#: src/octoprint/static/js/app/viewmodels/access.js:665
#: src/octoprint/templates/dialogs/settings/appearance.jinja2:103
msgid "Delete"
msgstr "Löschen"
@@ -1245,7 +1245,7 @@ msgstr "Filament"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:697
#: src/octoprint/static/js/app/viewmodels/control.js:85
#: src/octoprint/static/js/app/viewmodels/files.js:959
#: src/octoprint/static/js/app/viewmodels/printerstate.js:351
#: src/octoprint/static/js/app/viewmodels/printerstate.js:354
#: src/octoprint/static/js/app/viewmodels/temperature.js:146
#: src/octoprint/static/js/app/viewmodels/temperature.js:157
#: src/octoprint/static/js/app/viewmodels/temperature.js:377
@@ -1388,7 +1388,6 @@ msgstr "\n"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:484
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:499
#: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:87
#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:6
#: src/octoprint/templates/snippets/settings/server/serverPluginTimings.jinja2:4
msgid "Warning"
msgstr "Warnung"
@@ -3372,8 +3371,8 @@ msgid "off"
msgstr "Aus"
#: src/octoprint/static/js/app/helpers.js:792
#: src/octoprint/static/js/app/viewmodels/access.js:314
#: src/octoprint/static/js/app/viewmodels/access.js:631
#: src/octoprint/static/js/app/viewmodels/access.js:326
#: src/octoprint/static/js/app/viewmodels/access.js:660
#: src/octoprint/static/js/app/viewmodels/connection.js:157
msgid "Are you sure?"
msgstr "Bist Du sicher?"
@@ -3456,40 +3455,48 @@ msgstr "Beende"
msgid "Loading OctoPrint's UI, please wait..."
msgstr "Lade OctoPrints Userinterface, bitte warten..."
#: src/octoprint/static/js/app/viewmodels/access.js:102
#: src/octoprint/static/js/app/viewmodels/access.js:99
msgid "This user may not have dangerous permissions."
msgstr "Dieser Nutzer darf keine gefährlichen Berechtigungen erhalten."
#: src/octoprint/static/js/app/viewmodels/access.js:114
#: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:48
msgid "Add user"
msgstr "Nutzer hinzufügen"
#: src/octoprint/static/js/app/viewmodels/access.js:112
#: src/octoprint/static/js/app/viewmodels/access.js:124
#, python-format
msgid "Edit user \"%(name)s\""
msgstr "Editiere Nutzer \"%(name)s\""
#: src/octoprint/static/js/app/viewmodels/access.js:304
#: src/octoprint/static/js/app/viewmodels/access.js:316
msgid "Not possible"
msgstr "Nicht möglich"
#: src/octoprint/static/js/app/viewmodels/access.js:305
#: src/octoprint/static/js/app/viewmodels/access.js:317
msgid "You may not delete your own account."
msgstr "Du kannst deinen eigenen Account nicht löschen."
#: src/octoprint/static/js/app/viewmodels/access.js:316
#: src/octoprint/static/js/app/viewmodels/access.js:328
#, python-format
msgid "You are about to delete the user \"%(name)s\"."
msgstr "Du bist im Begriff, den Nutzer \"%(name)s\" zu löschen."
#: src/octoprint/static/js/app/viewmodels/access.js:490
#: src/octoprint/static/js/app/viewmodels/access.js:461
msgid "This group may not have dangerous permissions or subgroups."
msgstr "Diese Gruppe darf keine gefährlichen Berechtigungen oder Untergruppern erhalten."
#: src/octoprint/static/js/app/viewmodels/access.js:519
#: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:47
msgid "Add group"
msgstr "Gruppe hinzufügen"
#: src/octoprint/static/js/app/viewmodels/access.js:502
#: src/octoprint/static/js/app/viewmodels/access.js:531
#, python-format
msgid "Edit group \"%(name)s\""
msgstr "Gruppe \"%(name)s\" bearbeiten"
#: src/octoprint/static/js/app/viewmodels/access.js:633
#: src/octoprint/static/js/app/viewmodels/access.js:662
#, python-format
msgid "You are about to delete the group \"%(name)s\"."
msgstr "Du bist im Begriff die Gruppe\"%(name)s\" zu löschen."
@@ -3551,22 +3558,22 @@ msgid "You are about to delete the folder \"%(folder)s\" which still contains fi
msgstr "Du bist im Begriff das Verzeichnis \"%(folder)s\" zu löschen, das noch Dateien und/oder Unterverzeichnisse enthält."
#: src/octoprint/static/js/app/viewmodels/files.js:624
#: src/octoprint/static/js/app/viewmodels/printerstate.js:435
#: src/octoprint/static/js/app/viewmodels/printerstate.js:439
msgid "This will start a new print job. Please check that the print bed is clear."
msgstr "Dies started einen neuen Druckauftrag. Bitte prüfe, dass das Druckbett frei ist."
#: src/octoprint/static/js/app/viewmodels/files.js:627
#: src/octoprint/static/js/app/viewmodels/printerstate.js:438
#: src/octoprint/static/js/app/viewmodels/printerstate.js:442
msgid "Do you want to start the print job now?"
msgstr "Möchtest du den Druckauftrag jetzt starten?"
#: src/octoprint/static/js/app/viewmodels/files.js:628
#: src/octoprint/static/js/app/viewmodels/printerstate.js:439
#: src/octoprint/static/js/app/viewmodels/printerstate.js:443
msgid "No"
msgstr "Nein"
#: src/octoprint/static/js/app/viewmodels/files.js:629
#: src/octoprint/static/js/app/viewmodels/printerstate.js:440
#: src/octoprint/static/js/app/viewmodels/printerstate.js:444
msgid "Yes"
msgstr "Ja"
@@ -3843,98 +3850,98 @@ msgstr "Druckerprofil hinzufügen"
msgid "Edit Printer Profile \"%(name)s\""
msgstr "Druckerprofile \"%(name)s\" bearbeiten"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:91
#: src/octoprint/static/js/app/viewmodels/printerstate.js:94
msgid "Restarts the print job from the beginning"
msgstr "Startet den Druckjob von vorne"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:94
#: src/octoprint/static/js/app/viewmodels/printerstate.js:97
msgid "Starts the print job"
msgstr "Startet den Druckjob"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:95
#: src/octoprint/static/js/app/viewmodels/printerstate.js:98
msgid "Resumes the print job"
msgstr "Setzt den Druckjob fort"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:96
#: src/octoprint/static/js/app/viewmodels/printerstate.js:99
msgid "Pauses the print job"
msgstr "Pausiert den Druckjob"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:134
#: src/octoprint/static/js/app/viewmodels/printerstate.js:137
msgid "Still stabilizing..."
msgstr "Noch zu ungenau..."
#: src/octoprint/static/js/app/viewmodels/printerstate.js:154
#: src/octoprint/static/js/app/viewmodels/printerstate.js:157
msgid "Based on a linear approximation (very low accuracy, especially at the beginning of the print)"
msgstr "Basiert auf einer linearen Approximation (sehr geringe Genauigkeit, insbesondere zu Beginn eines Drucks)"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:159
#: src/octoprint/static/js/app/viewmodels/printerstate.js:162
msgid "Based on the estimate from analysis of file (medium accuracy)"
msgstr "Basiert auf der Schätzung der Analyse der Datei (mittlere Genauigkeit)"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:164
#: src/octoprint/static/js/app/viewmodels/printerstate.js:167
msgid "Based on a mix of estimate from analysis and calculation (medium accuracy)"
msgstr "Basiert auf einem Mix der Schätzung aus der Analyse und der Berechnung (mittlere Genauigkeit)"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:169
#: src/octoprint/static/js/app/viewmodels/printerstate.js:172
msgid "Based on the average total of past prints of this model with the same printer profile (usually good accuracy)"
msgstr "Basiert auf der durchschnittlichen Dauer vergangener Druckjobs dieses Modells mit dem selben Druckerprofil (normalerweise gute Genauigkeit)"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:174
#: src/octoprint/static/js/app/viewmodels/printerstate.js:177
msgid "Based on a mix of average total from past prints and calculation (usually good accuracy)"
msgstr "Basiert auf einem Mix der durchschnittlichen Dauer vergangener Druckjobs und der Berechnung (normalerweise gute Genauigkeit)"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:179
#: src/octoprint/static/js/app/viewmodels/printerstate.js:182
msgid "Based on the calculated estimate (best accuracy)"
msgstr "Basiert auf der berechneten Schätzung (beste Genauigkeit)"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:215
#: src/octoprint/static/js/app/viewmodels/printerstate.js:218
msgid "Continue"
msgstr "Fortsetzen"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:216
#: src/octoprint/static/js/app/viewmodels/printerstate.js:219
#: src/octoprint/templates/sidebar/state.jinja2:31
msgid "Pause"
msgstr "Pause"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:226
#: src/octoprint/static/js/app/viewmodels/printerstate.js:229
#: src/octoprint/templates/tabs/timelapse.jinja2:16
msgid "On Z Change"
msgstr "Bei Ebenenwechsel"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:229
#: src/octoprint/static/js/app/viewmodels/printerstate.js:232
#: src/octoprint/templates/tabs/timelapse.jinja2:15
msgid "Timed"
msgstr "Nach Zeit"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:233
#: src/octoprint/static/js/app/viewmodels/printerstate.js:236
#: src/octoprint/templates/tabs/timelapse.jinja2:27
#: src/octoprint/templates/tabs/timelapse.jinja2:38
#: src/octoprint/templates/tabs/timelapse.jinja2:58
msgid "sec"
msgstr "Sek"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:396
#: src/octoprint/static/js/app/viewmodels/printerstate.js:400
#, python-format
msgid "<p>%(ratio)d%% of transmitted lines have triggered resend requests. The communication with the printer is unreliable and this will cause print artefacts and failures.</p><p>Please see <a href='%(url)s' target='_blank'>this FAQ entry</a> on tips on how to solve this.</p>"
msgstr "<p>%(ratio)d%% aller übertragenen Zeilen haben einen Resend Request verursacht. Die Kommunikation mit dem Drucker ist nicht zuverlässig und das wird Druckartefakte und -fehler verursachen.</p><p>Bitte konsultiere <a href='%(url)s' target='_blank'>diesen FAQ Eintrag</a> für Tipps, was man dagegen machen kann.</p>"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:408
#: src/octoprint/static/js/app/viewmodels/printerstate.js:412
msgid "Critical resend ratio!"
msgstr "Kritisches Resendverhältnis!"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:423
#: src/octoprint/static/js/app/viewmodels/printerstate.js:427
msgid "This will restart the print job from the beginning."
msgstr "Der Druckjob wird zurückgesetzt und von vorne begonnen."
#: src/octoprint/static/js/app/viewmodels/printerstate.js:467
#: src/octoprint/static/js/app/viewmodels/printerstate.js:471
msgid "This will cancel your print."
msgstr "Das wird deinen Druck abbrechen."
#: src/octoprint/static/js/app/viewmodels/printerstate.js:468
#: src/octoprint/static/js/app/viewmodels/printerstate.js:472
msgid "No, continue the print"
msgstr "Nein, mit dem Druck fortfahren"
#: src/octoprint/static/js/app/viewmodels/printerstate.js:469
#: src/octoprint/static/js/app/viewmodels/printerstate.js:473
msgid "Yes, cancel the print"
msgstr "Ja, den Druck abbrechen"
@@ -3952,85 +3959,85 @@ msgstr "Weiß"
msgid "Autodetect from browser"
msgstr "Automatisch vom Browser erkennen"
#: src/octoprint/static/js/app/viewmodels/settings.js:426
#: src/octoprint/static/js/app/viewmodels/settings.js:427
msgid "If you see your webcam stream below, the entered stream URL is ok."
msgstr "Falls du unten den Webcamstream sehen kannst, ist die Stream-URL ok."
#: src/octoprint/static/js/app/viewmodels/settings.js:453
#: src/octoprint/static/js/app/viewmodels/settings.js:454
msgid "Stream test"
msgstr "Stream Test"
#: src/octoprint/static/js/app/viewmodels/settings.js:471
#: src/octoprint/static/js/app/viewmodels/settings.js:472
msgid "Could not retrieve snapshot URL, please double check the URL"
msgstr "Konnte die Snapshot-URL nicht abgreifen, bitte prüfen"
#: src/octoprint/static/js/app/viewmodels/settings.js:474
#: src/octoprint/static/js/app/viewmodels/settings.js:475
msgid "Snapshot test failed"
msgstr "Snapshot Test fehlgeschlagen"
#: src/octoprint/static/js/app/viewmodels/settings.js:494
#: src/octoprint/static/js/app/viewmodels/settings.js:495
#, python-format
msgid "Could retrieve the snapshot URL, but it didn't look like an image. Got this as a content type header: <code>%(content_type)s</code>. Please double check that the URL is returning static images, not multipart data or videos."
msgstr "Konnte die Snapshot URL abrufen, aber die Antwort sah nicht wie ein Bild aus: <code>%(content_type)s</code>. Bitte überprüfe, dass die URL einzelne Bilder zurückliefert, nicht multipart Daten oder Videos."
#: src/octoprint/static/js/app/viewmodels/settings.js:523
#: src/octoprint/static/js/app/viewmodels/settings.js:524
msgid "If you see your webcam snapshot picture below, the entered snapshot URL is ok."
msgstr "Falls du unten dein Snapshotbild sehen kannst, ist die Snapshot-URL ok."
#: src/octoprint/static/js/app/viewmodels/settings.js:527
#: src/octoprint/static/js/app/viewmodels/settings.js:528
msgid "Snapshot test"
msgstr "Snapshot Test"
#: src/octoprint/static/js/app/viewmodels/settings.js:569
#: src/octoprint/static/js/app/viewmodels/settings.js:570
msgid "The path doesn't exist"
msgstr "Der Pfad existiert nicht"
#: src/octoprint/static/js/app/viewmodels/settings.js:571
#: src/octoprint/static/js/app/viewmodels/settings.js:572
msgid "The path is not a file"
msgstr "Der Pfad ist keine Datei"
#: src/octoprint/static/js/app/viewmodels/settings.js:574
#: src/octoprint/static/js/app/viewmodels/settings.js:575
msgid "The path is not an executable"
msgstr "Der Pfad ist nicht ausführbar"
#: src/octoprint/static/js/app/viewmodels/settings.js:578
#: src/octoprint/static/js/app/viewmodels/settings.js:679
#: src/octoprint/static/js/app/viewmodels/settings.js:579
#: src/octoprint/static/js/app/viewmodels/settings.js:680
msgid "The path is valid"
msgstr "Der Pfad ist valide"
#: src/octoprint/static/js/app/viewmodels/settings.js:603
#: src/octoprint/static/js/app/viewmodels/settings.js:604
msgid "The server is not reachable"
msgstr "Der Server ist nicht erreichbar"
#: src/octoprint/static/js/app/viewmodels/settings.js:606
#: src/octoprint/static/js/app/viewmodels/settings.js:607
msgid "The server is reachable"
msgstr "Der Server ist erreichbar"
#: src/octoprint/static/js/app/viewmodels/settings.js:627
#: src/octoprint/static/js/app/viewmodels/settings.js:628
msgid "Name cannot be resolved"
msgstr "Name kann nicht aufgelöst werden"
#: src/octoprint/static/js/app/viewmodels/settings.js:631
#: src/octoprint/static/js/app/viewmodels/settings.js:632
msgid "Name can be resolved"
msgstr "Name kann aufgelöst werden"
#: src/octoprint/static/js/app/viewmodels/settings.js:663
#: src/octoprint/static/js/app/viewmodels/settings.js:664
msgid "The path is a broken symlink."
msgstr "Der Pfad ist ein kaputter Symlink."
#: src/octoprint/static/js/app/viewmodels/settings.js:667
#: src/octoprint/static/js/app/viewmodels/settings.js:668
msgid "The path does not exist and cannot be created."
msgstr "Der Pfad existiert nicht und kann nicht erstellt werden."
#: src/octoprint/static/js/app/viewmodels/settings.js:671
#: src/octoprint/static/js/app/viewmodels/settings.js:672
msgid "The path is not a folder."
msgstr "Der Pfad ist kein Verzeichnis."
#: src/octoprint/static/js/app/viewmodels/settings.js:675
#: src/octoprint/static/js/app/viewmodels/settings.js:676
msgid "The path is not writable."
msgstr "Der Pfad ist nicht beschreibbar."
#: src/octoprint/static/js/app/viewmodels/settings.js:817
#: src/octoprint/static/js/app/viewmodels/settings.js:818
#: src/octoprint/static/js/app/viewmodels/usersettings.js:120
msgid "This will generate a new API Key. The old API Key will cease to function immediately."
msgstr "Dies wird einen neuen API-Key generieren. Der alte wird sofort aufhören zu funktionieren."
@@ -4692,10 +4699,12 @@ msgid "\n"
" It's also recommended to create a user account without admin access and use that for third\n"
" party clients where possible.\n"
" "
msgstr "Der globale API Key sollte am Besten nicht mehr verwendet werden. Es ist ein einzelner Key, der vollen Adminzugriff auf die gesamte OctoPrint Instanz gibt.\n"
"Stattdessen solltest du individuelle Application Keys für Third-Party-Clients erstellen. Dadurch bekommen diese die Zugriffsrechte des jeweiligen für die Erstellung \n"
"des Keys genutzten Nutzeraccounts und du kannst einem Client auch einfach wieder den Zugriff entziehen, oder für alle anderen den Key ändern zu müssen.\n"
"Es ist außerdem empfohlen, einen Useraccount ohne Adminzugriff zu erstellen und so möglich für Third-Party-Clients zu verwenden."
msgstr "\n"
" Der globale API Key sollte am Besten nicht mehr verwendet werden. Es ist ein einzelner Key, der vollen Adminzugriff auf die gesamte OctoPrint Instanz gibt.\n"
" Stattdessen solltest du individuelle Application Keys für Third-Party-Clients erstellen. Dadurch bekommen diese die Zugriffsrechte des jeweiligen für die Erstellung \n"
" des Keys genutzten Nutzeraccounts und du kannst einem Client auch einfach wieder den Zugriff entziehen ohne für alle anderen den Key ändern zu müssen.\n"
" Es ist außerdem empfohlen, einen Useraccount ohne Adminzugriff zu erstellen und so möglich für Third-Party-Clients zu verwenden.\n"
" "
#: src/octoprint/templates/dialogs/settings/api.jinja2:23
msgid "Access Application Keys"
@@ -5561,6 +5570,14 @@ msgstr "Resendverhältnis-Schwellwert. Anteil von Resendrequests an allen übert
msgid "Critical resend ratio"
msgstr "Kritisches Resendverhältnis"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:529
msgid "Start tracking resend request after these many transmitted lines."
msgstr "Resend requests erst nach dieser Anzahl übertragener Zeilen beginnen zu tracken."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:530
msgid "Tracking start"
msgstr "Trackingbeginn"
#: src/octoprint/templates/dialogs/settings/server.jinja2:4
msgid "Commands"
msgstr "Befehle"
@@ -5895,17 +5912,25 @@ msgid "Current printer state"
msgstr "Aktueller Druckerstatus"
#: src/octoprint/templates/sidebar/state.jinja2:2
msgid "Count of resend requests and resend ratio"
msgstr "Anzahl von Resendrequests und Resendverhältnis"
msgid "Count of resend requests, transmitted lines and resend ratio"
msgstr "Anzahl von Resendrequests, übertragene Zeilen und Resendverhältnis"
#: src/octoprint/templates/sidebar/state.jinja2:2
msgid "Resend requests"
msgstr "Resendrequests"
msgid "Resend ratio"
msgstr "Resendverhältnis"
#: src/octoprint/templates/sidebar/state.jinja2:2
msgid "resend requests"
msgstr "Resendrequests"
#: src/octoprint/templates/sidebar/state.jinja2:2
msgid "transmitted lines"
msgstr "übertragene Zeilen"
#: src/octoprint/templates/sidebar/state.jinja2:2
msgid "resend ratio"
msgstr "Resendverhältnis"
#: src/octoprint/templates/sidebar/state.jinja2:4
msgid "Name of file currently selected for printing"
msgstr "Name der aktuell zum Drucken gewählten Datei"
@@ -5979,7 +6004,7 @@ msgid "Fixed groups can't be added or removed to users."
msgstr "Feste Gruppen können zu Benutzern nicht hinzugefügt oder entfernt werden."
#: src/octoprint/templates/snippets/settings/accesscontrol/group_list.jinja2:6
#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:6
#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:8
msgid "Fixed"
msgstr "Fest"
@@ -6022,11 +6047,16 @@ msgstr "Standard"
msgid "Marking a group as default will make it get pre selected when creating new users."
msgstr "Eine als Standardgruppe deklarierte Gruppe wird bei der Erstellung neuer Nutzer vorselektiert."
#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:6
#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:8
msgid "Plugin"
msgstr "Plugin"
#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:6
#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:8
#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:8
msgid "Dangerous"
msgstr "Gefährlich"
#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:8
msgid "Fixed groups can't be added or removed to other groups."
msgstr "Feste Gruppen können zu Gruppen nicht hinzugefügt oder entfernt werden."
@@ -7934,3 +7964,85 @@ msgstr "Zeitrafferaufnahme rendern"
#~ msgid "Select Tool..."
#~ msgstr "Tool wählen..."
#~ msgid "Resend requests"
#~ msgstr "Resendrequests"
#~ msgid ""
#~ "\n"
#~ " The global API key "
#~ "should best not be used anymore. "
#~ "It's one single key that gives "
#~ "full admin access to\n"
#~ " your whole OctoPrint instance."
#~ " Instead of using it you should "
#~ "create individual Application Keys for\n"
#~ " your third party clients. "
#~ "That way they get permissions matching"
#~ " the user account used for key\n"
#~ ""
#~ " creation and you can "
#~ "also revoke access to one app "
#~ "without having to change the keys "
#~ "for all other apps.\n"
#~ " It's also recommended to "
#~ "create a user account without admin "
#~ "access and use that for third\n"
#~ " party clients where possible.\n"
#~ " "
#~ msgstr ""
#~ "Der globale API Key sollte am "
#~ "Besten nicht mehr verwendet werden. Es"
#~ " ist ein einzelner Key, der vollen"
#~ " Adminzugriff auf die gesamte OctoPrint "
#~ "Instanz gibt.\n"
#~ "Stattdessen solltest du individuelle "
#~ "Application Keys für Third-Party-Clients"
#~ " erstellen. Dadurch bekommen diese die "
#~ "Zugriffsrechte des jeweiligen für die "
#~ "Erstellung \n"
#~ "des Keys genutzten Nutzeraccounts und du"
#~ " kannst einem Client auch einfach "
#~ "wieder den Zugriff entziehen, oder für"
#~ " alle anderen den Key ändern zu "
#~ "müssen.\n"
#~ "Es ist außerdem empfohlen, einen "
#~ "Useraccount ohne Adminzugriff zu erstellen "
#~ "und so möglich für Third-Party-"
#~ "Clients zu verwenden."
#~ msgid "Export"
#~ msgstr "Port"
#~ msgid "Offline after error"
#~ msgstr ""
#~ msgid "Starting to send file to SD"
#~ msgstr ""
#~ msgid ""
#~ "\n"
#~ " It is recommended to no"
#~ " longer use the global API key "
#~ "as it's one single key that gives"
#~ " full admin access\n"
#~ " to your whole OctoPrint "
#~ "instance. <strong>It will be removed in"
#~ " OctoPrint 2.0</strong>.\n"
#~ " Instead of using the "
#~ "global key you should create individual"
#~ " Application Keys for\n"
#~ " your third party clients. "
#~ "That way they get permissions matching"
#~ " the user account used for key\n"
#~ ""
#~ " creation and you can "
#~ "also revoke access to one app "
#~ "without having to change the keys "
#~ "for all other apps.\n"
#~ " It's also recommended to "
#~ "create a user account without admin "
#~ "access and use that for third\n"
#~ " party clients where possible.\n"
#~ " "
#~ msgstr ""
+118 -90
View File
@@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: OctoPrint 1.5.0.dev350+g84b41e70a\n"
"Project-Id-Version: OctoPrint 1.5.0rc4.dev4+g308ac450e.dirty\n"
"Report-Msgid-Bugs-To: i18n@octoprint.org\n"
"POT-Creation-Date: 2020-11-10 09:51+0100\n"
"POT-Creation-Date: 2020-11-30 14:27+0100\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"
@@ -17,111 +17,111 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.8.0\n"
#: src/octoprint/access/permissions.py:279
#: src/octoprint/access/permissions.py:283
msgid "Admin is allowed to do everything"
msgstr ""
#: src/octoprint/access/permissions.py:287
#: src/octoprint/access/permissions.py:291
msgid ""
"Allows to gather basic status information, e.g. job progress, printer "
"state, temperatures, ... Mandatory for the default UI to work"
msgstr ""
#: src/octoprint/access/permissions.py:298
#: src/octoprint/access/permissions.py:302
msgid "Allows to connect to and disconnect from a printer"
msgstr ""
#: src/octoprint/access/permissions.py:305
#: src/octoprint/access/permissions.py:309
msgid "Allows to watch the webcam stream"
msgstr ""
#: src/octoprint/access/permissions.py:312
#: src/octoprint/access/permissions.py:316
msgid ""
"Allows to run system commands, e.g. restart OctoPrint, shutdown or reboot"
" the system, and to retrieve system and usage information"
msgstr ""
#: src/octoprint/access/permissions.py:322
#: src/octoprint/access/permissions.py:326
msgid ""
"Allows to retrieve a list of all uploaded files and folders, "
"includingtheir metadata (e.g. date, file size, analysis results, ...)"
msgstr ""
#: src/octoprint/access/permissions.py:331
#: src/octoprint/access/permissions.py:335
msgid ""
"Allows users to upload new files, create new folders and copy existing "
"ones. If the File Delete permission is also set, File Upload also allows "
"moving files and folders."
msgstr ""
#: src/octoprint/access/permissions.py:341
#: src/octoprint/access/permissions.py:345
msgid ""
"Allows users to download files. The GCODE viewer is affected by this as "
"well."
msgstr ""
#: src/octoprint/access/permissions.py:350
#: src/octoprint/access/permissions.py:354
msgid ""
"Allows users to delete files and folders. If the File Upload permission "
"is also set, File Delete also allows moving files and folders."
msgstr ""
#: src/octoprint/access/permissions.py:359
#: src/octoprint/access/permissions.py:363
msgid "Allows to select a file for printing"
msgstr ""
#: src/octoprint/access/permissions.py:366
#: src/octoprint/access/permissions.py:370
msgid "Allows to start, pause and cancel a print job"
msgstr ""
#: src/octoprint/access/permissions.py:373
#: src/octoprint/access/permissions.py:377
msgid ""
"Allows access to the GCODE viewer if the \"File Download\"permission is "
"also set."
msgstr ""
#: src/octoprint/access/permissions.py:383
#: src/octoprint/access/permissions.py:387
msgid ""
"Allows to watch the terminal tab but not to send commands to the printer "
"from it"
msgstr ""
#: src/octoprint/access/permissions.py:393
#: src/octoprint/access/permissions.py:397
msgid ""
"Allows to control of the printer by using the temperature controls,the "
"control tab or sending commands through the terminal."
msgstr ""
#: src/octoprint/access/permissions.py:403
#: src/octoprint/access/permissions.py:407
msgid "Allows to slice files"
msgstr ""
#: src/octoprint/access/permissions.py:410
#: src/octoprint/access/permissions.py:414
msgid "Allows to list timelapse videos"
msgstr ""
#: src/octoprint/access/permissions.py:416
#: src/octoprint/access/permissions.py:420
msgid "Allows to download timelapse videos"
msgstr ""
#: src/octoprint/access/permissions.py:422
#: src/octoprint/access/permissions.py:426
msgid "Allows to delete timelapse videos and unrendered timelapses"
msgstr ""
#: src/octoprint/access/permissions.py:428
#: src/octoprint/access/permissions.py:432
msgid ""
"Allows to change the timelapse settings and delete or render unrendered "
"timelapses. Includes the \"Timelapse List\",\"Timelapse Delete\" and "
"\"Timelapse Download\" permissions"
msgstr ""
#: src/octoprint/access/permissions.py:441
#: src/octoprint/access/permissions.py:445
msgid ""
"Allows to read non sensitive settings. Mandatory for the default UI to "
"work."
msgstr ""
#: src/octoprint/access/permissions.py:450
#: src/octoprint/access/permissions.py:454
msgid "Allows to manage settings and also to read sensitive settings"
msgstr ""
@@ -579,7 +579,7 @@ msgstr ""
msgid "Restore Backup?"
msgstr ""
#: src/octoprint/plugins/backup/__init__.py:1318
#: src/octoprint/plugins/backup/__init__.py:1320
msgid ""
"Without this plugin you will no longer be able to backup & restore your "
"OctoPrint settings and data."
@@ -750,8 +750,8 @@ msgid "Size"
msgstr ""
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:49
#: src/octoprint/static/js/app/viewmodels/access.js:319
#: src/octoprint/static/js/app/viewmodels/access.js:636
#: src/octoprint/static/js/app/viewmodels/access.js:331
#: src/octoprint/static/js/app/viewmodels/access.js:665
#: src/octoprint/templates/dialogs/settings/appearance.jinja2:103
msgid "Delete"
msgstr ""
@@ -1349,7 +1349,7 @@ msgstr ""
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:697
#: src/octoprint/static/js/app/viewmodels/control.js:85
#: src/octoprint/static/js/app/viewmodels/files.js:959
#: src/octoprint/static/js/app/viewmodels/printerstate.js:351
#: src/octoprint/static/js/app/viewmodels/printerstate.js:354
#: src/octoprint/static/js/app/viewmodels/temperature.js:146
#: src/octoprint/static/js/app/viewmodels/temperature.js:157
#: src/octoprint/static/js/app/viewmodels/temperature.js:377
@@ -1494,7 +1494,6 @@ msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:484
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:499
#: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:87
#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:6
#: src/octoprint/templates/snippets/settings/server/serverPluginTimings.jinja2:4
msgid "Warning"
msgstr ""
@@ -3654,8 +3653,8 @@ msgid "off"
msgstr ""
#: src/octoprint/static/js/app/helpers.js:792
#: src/octoprint/static/js/app/viewmodels/access.js:314
#: src/octoprint/static/js/app/viewmodels/access.js:631
#: src/octoprint/static/js/app/viewmodels/access.js:326
#: src/octoprint/static/js/app/viewmodels/access.js:660
#: src/octoprint/static/js/app/viewmodels/connection.js:157
msgid "Are you sure?"
msgstr ""
@@ -3738,40 +3737,48 @@ msgstr ""
msgid "Loading OctoPrint's UI, please wait..."
msgstr ""
#: src/octoprint/static/js/app/viewmodels/access.js:102
#: src/octoprint/static/js/app/viewmodels/access.js:99
msgid "This user may not have dangerous permissions."
msgstr ""
#: src/octoprint/static/js/app/viewmodels/access.js:114
#: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:48
msgid "Add user"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/access.js:112
#: src/octoprint/static/js/app/viewmodels/access.js:124
#, python-format
msgid "Edit user \"%(name)s\""
msgstr ""
#: src/octoprint/static/js/app/viewmodels/access.js:304
#: src/octoprint/static/js/app/viewmodels/access.js:316
msgid "Not possible"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/access.js:305
#: src/octoprint/static/js/app/viewmodels/access.js:317
msgid "You may not delete your own account."
msgstr ""
#: src/octoprint/static/js/app/viewmodels/access.js:316
#: src/octoprint/static/js/app/viewmodels/access.js:328
#, python-format
msgid "You are about to delete the user \"%(name)s\"."
msgstr ""
#: src/octoprint/static/js/app/viewmodels/access.js:490
#: src/octoprint/static/js/app/viewmodels/access.js:461
msgid "This group may not have dangerous permissions or subgroups."
msgstr ""
#: src/octoprint/static/js/app/viewmodels/access.js:519
#: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:47
msgid "Add group"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/access.js:502
#: src/octoprint/static/js/app/viewmodels/access.js:531
#, python-format
msgid "Edit group \"%(name)s\""
msgstr ""
#: src/octoprint/static/js/app/viewmodels/access.js:633
#: src/octoprint/static/js/app/viewmodels/access.js:662
#, python-format
msgid "You are about to delete the group \"%(name)s\"."
msgstr ""
@@ -3840,22 +3847,22 @@ msgid ""
msgstr ""
#: src/octoprint/static/js/app/viewmodels/files.js:624
#: src/octoprint/static/js/app/viewmodels/printerstate.js:435
#: src/octoprint/static/js/app/viewmodels/printerstate.js:439
msgid "This will start a new print job. Please check that the print bed is clear."
msgstr ""
#: src/octoprint/static/js/app/viewmodels/files.js:627
#: src/octoprint/static/js/app/viewmodels/printerstate.js:438
#: src/octoprint/static/js/app/viewmodels/printerstate.js:442
msgid "Do you want to start the print job now?"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/files.js:628
#: src/octoprint/static/js/app/viewmodels/printerstate.js:439
#: src/octoprint/static/js/app/viewmodels/printerstate.js:443
msgid "No"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/files.js:629
#: src/octoprint/static/js/app/viewmodels/printerstate.js:440
#: src/octoprint/static/js/app/viewmodels/printerstate.js:444
msgid "Yes"
msgstr ""
@@ -4158,83 +4165,83 @@ msgstr ""
msgid "Edit Printer Profile \"%(name)s\""
msgstr ""
#: src/octoprint/static/js/app/viewmodels/printerstate.js:91
#: src/octoprint/static/js/app/viewmodels/printerstate.js:94
msgid "Restarts the print job from the beginning"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/printerstate.js:94
#: src/octoprint/static/js/app/viewmodels/printerstate.js:97
msgid "Starts the print job"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/printerstate.js:95
#: src/octoprint/static/js/app/viewmodels/printerstate.js:98
msgid "Resumes the print job"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/printerstate.js:96
#: src/octoprint/static/js/app/viewmodels/printerstate.js:99
msgid "Pauses the print job"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/printerstate.js:134
#: src/octoprint/static/js/app/viewmodels/printerstate.js:137
msgid "Still stabilizing..."
msgstr ""
#: src/octoprint/static/js/app/viewmodels/printerstate.js:154
#: src/octoprint/static/js/app/viewmodels/printerstate.js:157
msgid ""
"Based on a linear approximation (very low accuracy, especially at the "
"beginning of the print)"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/printerstate.js:159
#: src/octoprint/static/js/app/viewmodels/printerstate.js:162
msgid "Based on the estimate from analysis of file (medium accuracy)"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/printerstate.js:164
#: src/octoprint/static/js/app/viewmodels/printerstate.js:167
msgid "Based on a mix of estimate from analysis and calculation (medium accuracy)"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/printerstate.js:169
#: src/octoprint/static/js/app/viewmodels/printerstate.js:172
msgid ""
"Based on the average total of past prints of this model with the same "
"printer profile (usually good accuracy)"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/printerstate.js:174
#: src/octoprint/static/js/app/viewmodels/printerstate.js:177
msgid ""
"Based on a mix of average total from past prints and calculation (usually"
" good accuracy)"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/printerstate.js:179
#: src/octoprint/static/js/app/viewmodels/printerstate.js:182
msgid "Based on the calculated estimate (best accuracy)"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/printerstate.js:215
#: src/octoprint/static/js/app/viewmodels/printerstate.js:218
msgid "Continue"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/printerstate.js:216
#: src/octoprint/static/js/app/viewmodels/printerstate.js:219
#: src/octoprint/templates/sidebar/state.jinja2:31
msgid "Pause"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/printerstate.js:226
#: src/octoprint/static/js/app/viewmodels/printerstate.js:229
#: src/octoprint/templates/tabs/timelapse.jinja2:16
msgid "On Z Change"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/printerstate.js:229
#: src/octoprint/static/js/app/viewmodels/printerstate.js:232
#: src/octoprint/templates/tabs/timelapse.jinja2:15
msgid "Timed"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/printerstate.js:233
#: src/octoprint/static/js/app/viewmodels/printerstate.js:236
#: src/octoprint/templates/tabs/timelapse.jinja2:27
#: src/octoprint/templates/tabs/timelapse.jinja2:38
#: src/octoprint/templates/tabs/timelapse.jinja2:58
msgid "sec"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/printerstate.js:396
#: src/octoprint/static/js/app/viewmodels/printerstate.js:400
#, python-format
msgid ""
"<p>%(ratio)d%% of transmitted lines have triggered resend requests. The "
@@ -4243,23 +4250,23 @@ msgid ""
"target='_blank'>this FAQ entry</a> on tips on how to solve this.</p>"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/printerstate.js:408
#: src/octoprint/static/js/app/viewmodels/printerstate.js:412
msgid "Critical resend ratio!"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/printerstate.js:423
#: src/octoprint/static/js/app/viewmodels/printerstate.js:427
msgid "This will restart the print job from the beginning."
msgstr ""
#: src/octoprint/static/js/app/viewmodels/printerstate.js:467
#: src/octoprint/static/js/app/viewmodels/printerstate.js:471
msgid "This will cancel your print."
msgstr ""
#: src/octoprint/static/js/app/viewmodels/printerstate.js:468
#: src/octoprint/static/js/app/viewmodels/printerstate.js:472
msgid "No, continue the print"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/printerstate.js:469
#: src/octoprint/static/js/app/viewmodels/printerstate.js:473
msgid "Yes, cancel the print"
msgstr ""
@@ -4277,23 +4284,23 @@ msgstr ""
msgid "Autodetect from browser"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:426
#: src/octoprint/static/js/app/viewmodels/settings.js:427
msgid "If you see your webcam stream below, the entered stream URL is ok."
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:453
#: src/octoprint/static/js/app/viewmodels/settings.js:454
msgid "Stream test"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:471
#: src/octoprint/static/js/app/viewmodels/settings.js:472
msgid "Could not retrieve snapshot URL, please double check the URL"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:474
#: src/octoprint/static/js/app/viewmodels/settings.js:475
msgid "Snapshot test failed"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:494
#: src/octoprint/static/js/app/viewmodels/settings.js:495
#, python-format
msgid ""
"Could retrieve the snapshot URL, but it didn't look like an image. Got "
@@ -4302,66 +4309,66 @@ msgid ""
"or videos."
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:523
#: src/octoprint/static/js/app/viewmodels/settings.js:524
msgid ""
"If you see your webcam snapshot picture below, the entered snapshot URL "
"is ok."
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:527
#: src/octoprint/static/js/app/viewmodels/settings.js:528
msgid "Snapshot test"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:569
#: src/octoprint/static/js/app/viewmodels/settings.js:570
msgid "The path doesn't exist"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:571
#: src/octoprint/static/js/app/viewmodels/settings.js:572
msgid "The path is not a file"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:574
#: src/octoprint/static/js/app/viewmodels/settings.js:575
msgid "The path is not an executable"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:578
#: src/octoprint/static/js/app/viewmodels/settings.js:679
#: src/octoprint/static/js/app/viewmodels/settings.js:579
#: src/octoprint/static/js/app/viewmodels/settings.js:680
msgid "The path is valid"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:603
#: src/octoprint/static/js/app/viewmodels/settings.js:604
msgid "The server is not reachable"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:606
#: src/octoprint/static/js/app/viewmodels/settings.js:607
msgid "The server is reachable"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:627
#: src/octoprint/static/js/app/viewmodels/settings.js:628
msgid "Name cannot be resolved"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:631
#: src/octoprint/static/js/app/viewmodels/settings.js:632
msgid "Name can be resolved"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:663
#: src/octoprint/static/js/app/viewmodels/settings.js:664
msgid "The path is a broken symlink."
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:667
#: src/octoprint/static/js/app/viewmodels/settings.js:668
msgid "The path does not exist and cannot be created."
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:671
#: src/octoprint/static/js/app/viewmodels/settings.js:672
msgid "The path is not a folder."
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:675
#: src/octoprint/static/js/app/viewmodels/settings.js:676
msgid "The path is not writable."
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:817
#: src/octoprint/static/js/app/viewmodels/settings.js:818
#: src/octoprint/static/js/app/viewmodels/usersettings.js:120
msgid ""
"This will generate a new API Key. The old API Key will cease to function "
@@ -6094,6 +6101,14 @@ msgstr ""
msgid "Critical resend ratio"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:529
msgid "Start tracking resend request after these many transmitted lines."
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:530
msgid "Tracking start"
msgstr ""
#: src/octoprint/templates/dialogs/settings/server.jinja2:4
msgid "Commands"
msgstr ""
@@ -6446,17 +6461,25 @@ msgid "Current printer state"
msgstr ""
#: src/octoprint/templates/sidebar/state.jinja2:2
msgid "Count of resend requests and resend ratio"
msgid "Count of resend requests, transmitted lines and resend ratio"
msgstr ""
#: src/octoprint/templates/sidebar/state.jinja2:2
msgid "Resend requests"
msgid "Resend ratio"
msgstr ""
#: src/octoprint/templates/sidebar/state.jinja2:2
msgid "resend requests"
msgstr ""
#: src/octoprint/templates/sidebar/state.jinja2:2
msgid "transmitted lines"
msgstr ""
#: src/octoprint/templates/sidebar/state.jinja2:2
msgid "resend ratio"
msgstr ""
#: src/octoprint/templates/sidebar/state.jinja2:4
msgid "Name of file currently selected for printing"
msgstr ""
@@ -6532,7 +6555,7 @@ msgid "Fixed groups can't be added or removed to users."
msgstr ""
#: src/octoprint/templates/snippets/settings/accesscontrol/group_list.jinja2:6
#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:6
#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:8
msgid "Fixed"
msgstr ""
@@ -6577,11 +6600,16 @@ msgid ""
"new users."
msgstr ""
#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:6
#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:8
msgid "Plugin"
msgstr ""
#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:6
#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:8
#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:8
msgid "Dangerous"
msgstr ""
#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:8
msgid "Fixed groups can't be added or removed to other groups."
msgstr ""