✨ Bundle file check plugin

Will check uploaded files for common issues. Currently only checks
for presence of `{travel_speed}` placeholder in GCODE.

Implements #3410
This commit is contained in:
Gina Häußge committed 2020-06-22 18:02:39 +02:00
1 parent a370f1e42f
commit c2705a96f1
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -24,7 +24,8 @@ SETUP_REQUIRES = [
# Requirements for our application
INSTALL_REQUIRES = [
# additional OctoPrint plugins that are maintained on a different release cycle
"OctoPrint-FirmwareCheck>=2020.03.27",
"OctoPrint-FirmwareCheck>=2020.06.22",
"OctoPrint-FileCheck>=2020.06.22",
# the following dependencies are non trivial to update since later versions introduce backwards incompatible
# changes that might affect plugins, or due to other observed problems
+1 -1
View File
@@ -98,7 +98,7 @@ def plugin_manager(init=False, plugin_folders=None, plugin_bases=None, plugin_en
plugin_obsolete_hooks = ["octoprint.comm.protocol.gcode"]
if plugin_considered_bundled is None:
plugin_considered_bundled = ["firmware_check"]
plugin_considered_bundled = ["firmware_check", "file_check"]
if plugin_validators is None:
plugin_validators = [_validate_plugin]