Compare commits
13
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a93b4d3972 | ||
|
|
b141f79669 | ||
|
|
dfe2893049 | ||
|
|
f325791ec6 | ||
|
|
df257eca83 | ||
|
|
74990e8ee6 | ||
|
|
506648c152 | ||
|
|
d0072cff89 | ||
|
|
2b7c01563f | ||
|
|
7bfd77d9eb | ||
|
|
3bde48a9fb | ||
|
|
87bea3c7c0 | ||
|
|
c59c161d96 |
No files matched your search
@@ -1,5 +1,7 @@
|
|||||||
# These are supported funding model platforms
|
# These are supported funding model platforms
|
||||||
|
|
||||||
github: [foosel]
|
github: [foosel]
|
||||||
|
ko_fi: OctoPrint
|
||||||
patreon: foosel
|
patreon: foosel
|
||||||
|
liberapay: foosel
|
||||||
custom: https://octoprint.org/support-octoprint/
|
custom: https://octoprint.org/support-octoprint/
|
||||||
@@ -10,7 +10,7 @@ jobs:
|
|||||||
name: 🔒 Lock issues & PRs closed over a year
|
name: 🔒 Lock issues & PRs closed over a year
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: dessant/lock-threads@v4
|
- uses: dessant/lock-threads@v5
|
||||||
with:
|
with:
|
||||||
github-token: ${{ github.token }}
|
github-token: ${{ github.token }}
|
||||||
issue-comment: ""
|
issue-comment: ""
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ jobs:
|
|||||||
issue-automation:
|
issue-automation:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/github-script@v6
|
- uses: actions/github-script@v7
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
@@ -72,7 +72,7 @@ jobs:
|
|||||||
# with:
|
# with:
|
||||||
# repo-token: ${{ secrets.GITHUB_TOKEN }}
|
# repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- uses: actions/github-script@v6
|
- uses: actions/github-script@v7
|
||||||
env:
|
env:
|
||||||
REMINDER: >
|
REMINDER: >
|
||||||
Hi @${{ github.event.issue.user.login }}!
|
Hi @${{ github.event.issue.user.login }}!
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ jobs:
|
|||||||
linkifyBundles:
|
linkifyBundles:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/github-script@v6
|
- uses: actions/github-script@v7
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
|
||||||
- uses: actions/github-script@v6
|
- uses: actions/github-script@v7
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
|
|||||||
+2
-2
@@ -26,8 +26,8 @@ improve/.* 1.9.0 fa2c4680cca0d1d6b46e6c1ed68ceea4d9b79afb pep440-dev
|
|||||||
|
|
||||||
# staging/bugfix is the branch for preparation of the 1.9.x bugfix releases
|
# staging/bugfix is the branch for preparation of the 1.9.x bugfix releases
|
||||||
# so are any bug/... branches
|
# so are any bug/... branches
|
||||||
staging/bugfix 1.9.2 1d519a21702ea180c026929da2a6e17079470b9a pep440-dev
|
staging/bugfix 1.9.3 f027aaa7300f70b046525a49245b33c43dd198c1 pep440-dev
|
||||||
bug/.* 1.9.2 1d519a21702ea180c026929da2a6e17079470b9a pep440-dev
|
bug/.* 1.9.3 f027aaa7300f70b046525a49245b33c43dd198c1 pep440-dev
|
||||||
|
|
||||||
# staging/maintenance is currently the branch for preparation of 1.9.0rc6
|
# staging/maintenance is currently the branch for preparation of 1.9.0rc6
|
||||||
# so is regressionfix/...
|
# so is regressionfix/...
|
||||||
|
|||||||
+4
-6
@@ -10,7 +10,6 @@ thanks to everyone who contributed!
|
|||||||
* 3DPrinterOS
|
* 3DPrinterOS
|
||||||
* Al Mucci
|
* Al Mucci
|
||||||
* Ash King
|
* Ash King
|
||||||
* Ben Fritsch
|
|
||||||
* BigTreeTech
|
* BigTreeTech
|
||||||
* Boris Hussein
|
* Boris Hussein
|
||||||
* Brad Jackson
|
* Brad Jackson
|
||||||
@@ -18,13 +17,12 @@ thanks to everyone who contributed!
|
|||||||
* Christian Wolf
|
* Christian Wolf
|
||||||
* Christian Würthner
|
* Christian Würthner
|
||||||
* Christoph Sigrist
|
* Christoph Sigrist
|
||||||
* Creality3D
|
|
||||||
* DeltaMaker 3D Printers
|
* DeltaMaker 3D Printers
|
||||||
* Dennis Breining
|
* Dennis Breining
|
||||||
* Dima Gorbenko
|
* Dima Gorbenko
|
||||||
* Douglas Floyd
|
|
||||||
* Ed Crump
|
* Ed Crump
|
||||||
* Ernesto Martinez
|
* Ernesto Martinez
|
||||||
|
* Fiberpunk
|
||||||
* Franziska Kunsmann
|
* Franziska Kunsmann
|
||||||
* Hog Duske
|
* Hog Duske
|
||||||
* Jacob Renstrom
|
* Jacob Renstrom
|
||||||
@@ -41,10 +39,10 @@ thanks to everyone who contributed!
|
|||||||
* Lachlan Bell
|
* Lachlan Bell
|
||||||
* Lefteris Lertas
|
* Lefteris Lertas
|
||||||
* LulzBot
|
* LulzBot
|
||||||
* Makerbase
|
|
||||||
* Makespace Madrid
|
* Makespace Madrid
|
||||||
* Mark Greenwald
|
* Mark Greenwald
|
||||||
* Mark Walker
|
* Mark Walker
|
||||||
|
* Martin Majewski
|
||||||
* Michael Aumock
|
* Michael Aumock
|
||||||
* Michael Badagliacco
|
* Michael Badagliacco
|
||||||
* Mike Labanov
|
* Mike Labanov
|
||||||
@@ -52,7 +50,6 @@ thanks to everyone who contributed!
|
|||||||
* Norman Jaffe
|
* Norman Jaffe
|
||||||
* Obico
|
* Obico
|
||||||
* Ory Weaver
|
* Ory Weaver
|
||||||
* Peopoly
|
|
||||||
* Pete Barnwell
|
* Pete Barnwell
|
||||||
* Raise3D
|
* Raise3D
|
||||||
* Randy C. Will
|
* Randy C. Will
|
||||||
@@ -64,6 +61,7 @@ thanks to everyone who contributed!
|
|||||||
* Stefan Krister
|
* Stefan Krister
|
||||||
* Steve Dougherty
|
* Steve Dougherty
|
||||||
* Steve Thompson
|
* Steve Thompson
|
||||||
|
* Tideline 3D
|
||||||
* Ulrich Kempken
|
* Ulrich Kempken
|
||||||
|
|
||||||
and 1970 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [GitHub Sponsors](https://github.com/users/foosel/sponsorship)!
|
and 1918 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [GitHub Sponsors](https://github.com/users/foosel/sponsorship)!
|
||||||
@@ -61,7 +61,7 @@ core_deps = [
|
|||||||
"pathvalidate>=2.5.2,<3",
|
"pathvalidate>=2.5.2,<3",
|
||||||
"pkginfo>=1.9.6,<2",
|
"pkginfo>=1.9.6,<2",
|
||||||
"psutil>=5.9.4,<6",
|
"psutil>=5.9.4,<6",
|
||||||
"pydantic>=1.10.7,<2",
|
"pydantic==1.10.12", # to be kept pinned until https://github.com/pydantic/pydantic/issues/7689 is resolved
|
||||||
"pylru>=1.2.1,<2",
|
"pylru>=1.2.1,<2",
|
||||||
"pyserial>=3.5,<4",
|
"pyserial>=3.5,<4",
|
||||||
"PyYAML>=6.0.1,<7", # changelog at https://github.com/yaml/pyyaml/blob/master/CHANGES
|
"PyYAML>=6.0.1,<7", # changelog at https://github.com/yaml/pyyaml/blob/master/CHANGES
|
||||||
|
|||||||
@@ -18,10 +18,10 @@ from octoprint.util.version import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
SENTRY_URL_SERVER = (
|
SENTRY_URL_SERVER = (
|
||||||
"https://ba4e3d61c37a4d219e1cd81bdc1417a7@o118517.ingest.sentry.io/1373987"
|
"https://f723fd2a91da40dbae1148193ea49001@o118517.ingest.sentry.io/1373987"
|
||||||
)
|
)
|
||||||
SENTRY_URL_COREUI = (
|
SENTRY_URL_COREUI = (
|
||||||
"https://2382252761de4d318e5f83be0816efaa@o118517.ingest.sentry.io/1374096"
|
"https://a115318be6faed605c6bfde4e183b7a0@o118517.ingest.sentry.io/1374096"
|
||||||
)
|
)
|
||||||
|
|
||||||
SETTINGS_DEFAULTS = {
|
SETTINGS_DEFAULTS = {
|
||||||
|
|||||||
@@ -666,6 +666,7 @@ class PrinterProfileManager:
|
|||||||
("axes", "x", "speed"),
|
("axes", "x", "speed"),
|
||||||
("axes", "y", "speed"),
|
("axes", "y", "speed"),
|
||||||
("axes", "z", "speed"),
|
("axes", "z", "speed"),
|
||||||
|
("axes", "e", "speed"),
|
||||||
):
|
):
|
||||||
try:
|
try:
|
||||||
convert_value(profile, path, int)
|
convert_value(profile, path, int)
|
||||||
|
|||||||
@@ -593,9 +593,10 @@ class Settings:
|
|||||||
return folder
|
return folder
|
||||||
|
|
||||||
def _init_script_templating(self):
|
def _init_script_templating(self):
|
||||||
from jinja2 import BaseLoader, ChoiceLoader, Environment, TemplateNotFound
|
from jinja2 import BaseLoader, ChoiceLoader, TemplateNotFound
|
||||||
from jinja2.ext import Extension
|
from jinja2.ext import Extension
|
||||||
from jinja2.nodes import Include
|
from jinja2.nodes import Include
|
||||||
|
from jinja2.sandbox import SandboxedEnvironment
|
||||||
|
|
||||||
from octoprint.util.jinja import FilteredFileSystemLoader
|
from octoprint.util.jinja import FilteredFileSystemLoader
|
||||||
|
|
||||||
@@ -664,9 +665,9 @@ class Settings:
|
|||||||
def list_templates(self):
|
def list_templates(self):
|
||||||
return self._default.list_templates()
|
return self._default.list_templates()
|
||||||
|
|
||||||
class RelEnvironment(Environment):
|
class RelEnvironment(SandboxedEnvironment):
|
||||||
def __init__(self, prefix_sep=":", *args, **kwargs):
|
def __init__(self, prefix_sep=":", *args, **kwargs):
|
||||||
Environment.__init__(self, *args, **kwargs)
|
super().__init__(*args, **kwargs)
|
||||||
self._prefix_sep = prefix_sep
|
self._prefix_sep = prefix_sep
|
||||||
|
|
||||||
def join_path(self, template, parent):
|
def join_path(self, template, parent):
|
||||||
|
|||||||
Reference in new issue
Block a user