Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
260a1aef11 | ||
|
|
866c9a20d7 | ||
|
|
77904a71b4 | ||
|
|
89fbcfd214 | ||
|
|
26aac1701f |
No files matched your search
+3
-3
@@ -24,10 +24,10 @@ maintenance 1.8.0 3fe45661cd79c5137d9d4f5f4adb4d9519bc2084 pep440-dev
|
||||
fix/.* 1.8.0 3fe45661cd79c5137d9d4f5f4adb4d9519bc2084 pep440-dev
|
||||
improve/.* 1.8.0 3fe45661cd79c5137d9d4f5f4adb4d9519bc2084 pep440-dev
|
||||
|
||||
# staging/bugfix is the branch for preparation of the 1.7.4 bugfix release
|
||||
# staging/bugfix is the branch for preparation of the 1.8.1 bugfix release
|
||||
# so are any bug/... branches
|
||||
staging/bugfix 1.7.4 59cbfadf8922d85b9df40f8d0173e8c21724c3b8 pep440-dev
|
||||
bug/.* 1.7.4 59cbfadf8922d85b9df40f8d0173e8c21724c3b8 pep440-dev
|
||||
staging/bugfix 1.8.1 d2a9aacedacf2b582faca462d6e915f88676a3d5 pep440-dev
|
||||
bug/.* 1.8.1 d2a9aacedacf2b582faca462d6e915f88676a3d5 pep440-dev
|
||||
|
||||
# staging/maintenance is currently the branch for preparation of 1.8.0rc6
|
||||
# so is regressionfix/...
|
||||
|
||||
@@ -18,10 +18,10 @@ from octoprint.util.version import (
|
||||
)
|
||||
|
||||
SENTRY_URL_SERVER = (
|
||||
"https://0d173c8b74b945e1bdc73443e543ddee@o118517.ingest.sentry.io/1373987"
|
||||
"https://f4265899b96044f3a31e6414c315a0d1@o118517.ingest.sentry.io/1373987"
|
||||
)
|
||||
SENTRY_URL_COREUI = (
|
||||
"https://f38a3d0ad2694f7f8672b1a2485c3820@o118517.ingest.sentry.io/1374096"
|
||||
"https://2f33808cb0cb4027afd005c35eebfeb4@o118517.ingest.sentry.io/1374096"
|
||||
)
|
||||
|
||||
SETTINGS_DEFAULTS = {
|
||||
|
||||
@@ -378,9 +378,6 @@ def require_login_with(permissions=None, user_id=None):
|
||||
):
|
||||
requires_login = False
|
||||
|
||||
if current_user.is_anonymous:
|
||||
requires_login = True
|
||||
|
||||
if permissions is not None and not has_permissions(*permissions):
|
||||
requires_login = True
|
||||
login_kwargs["permissions"] = ",".join([x.key for x in permissions])
|
||||
|
||||
@@ -324,7 +324,7 @@ $(function () {
|
||||
title: gettext("Are you sure?"),
|
||||
message: _.sprintf(
|
||||
gettext('You are about to delete the user "%(name)s".'),
|
||||
{name: user.name}
|
||||
{name: _.escape(user.name)}
|
||||
),
|
||||
proceed: gettext("Delete"),
|
||||
onproceed: function () {
|
||||
@@ -656,7 +656,7 @@ $(function () {
|
||||
title: gettext("Are you sure?"),
|
||||
message: _.sprintf(
|
||||
gettext('You are about to delete the group "%(name)s".'),
|
||||
{name: group.name}
|
||||
{name: _.escape(group.name)}
|
||||
),
|
||||
proceed: gettext("Delete"),
|
||||
onproceed: function () {
|
||||
|
||||
@@ -198,10 +198,15 @@ def serialList():
|
||||
|
||||
else:
|
||||
candidates = []
|
||||
with os.scandir("/dev") as it:
|
||||
for entry in it:
|
||||
if regex_serial_devices.match(entry.name):
|
||||
candidates.append(entry.path)
|
||||
try:
|
||||
with os.scandir("/dev") as it:
|
||||
for entry in it:
|
||||
if regex_serial_devices.match(entry.name):
|
||||
candidates.append(entry.path)
|
||||
except Exception:
|
||||
logging.getLogger(__name__).exception(
|
||||
"Could not scan /dev for serial ports on the system"
|
||||
)
|
||||
|
||||
# additional ports
|
||||
additionalPorts = settings().get(["serial", "additionalPorts"])
|
||||
|
||||
Reference in new issue
Block a user