Permalink
Comparing changes
Open a pull request
6
contributors
Commits on Jul 29, 2015
Commits on Aug 11, 2015
Finally found a replacement for the word "responsive", which these days is almost inclusively understood as "viewport adjusting" instead of its original meaning "reacting quickly". Thanks to the javascript world, even "reactive" isn't an option anymore, this term has now been hijacked as well. (cherry picked from commit 2e27b94)
Commits on Aug 12, 2015
The GCODE viewer settings callback was not properly called, hence the viewer was not initialized properly. Changed prevention of concurrent settings requests to properly handle the situation where the registered settings callbacks might be extended through another callback. (cherry picked from commit 7d6462b)
Commits on Aug 14, 2015
Commits on Aug 24, 2015
T-only lines were not properly parsed. Should now be fixed to be associated to currently selected extruder. Also added unit tests for the temperature parsing. While at it also extracted regexes and added unit tests for command parsing (gcode & parameters) (cherry picked from commit f6a259f)
Commits on Aug 26, 2015
* Allow configuration of checkout folder and version tracking type
via Plugin Configuration
* Display message to use if checkout folder is not configured or a
non-release version is running and version tracking against releases
is enabled
* Clear version cache when a change in the check configuration is
detected
* Mark check configurations for which an update is not possible with
a little exclamation mark
(cherry picked from commit 8666a28)
Commits on Aug 27, 2015
* Added "total" space to "free" in file list
* Added configurable space thresholds. If free space is below "warning"
threshold, exclamation sign will be added to report. If free space is below
"critical" threshold, report will be styled bold and red.
(cherry picked from commit 097800a)
Commits on Aug 28, 2015
Closing the printer connection and then reopening (when the users clicks connect) will create a new fresh MachineCom object so the queues will start out empty. Plus ClearableQueue was even more tied to the Queue implementation that the current _get/_put overrides. (cherry picked from commit e7584cd)
Commits on Aug 31, 2015
Unified
Split
Showing
with
2,365 additions
and 1,054 deletions.
- +3 −3 .versioneer-lookup
- +1 −0 AUTHORS.md
- +72 −0 CHANGELOG.md
- +8 −2 README.md
- +14 −1 docs/configuration/config_yaml.rst
- +2 −1 setup.py
- +5 −1 src/octoprint/filemanager/__init__.py
- +146 −42 src/octoprint/plugins/softwareupdate/__init__.py
- +39 −8 src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js
- +24 −6 src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2
- +8 −3 src/octoprint/plugins/softwareupdate/updaters/pip.py
- +11 −1 src/octoprint/plugins/softwareupdate/updaters/update_script.py
- +37 −16 src/octoprint/plugins/virtual_printer/virtual.py
- +6 −4 src/octoprint/printer/profile.py
- +1 −0 src/octoprint/printer/standard.py
- +47 −7 src/octoprint/server/__init__.py
- +3 −1 src/octoprint/server/api/__init__.py
- +6 −3 src/octoprint/server/api/files.py
- +5 −2 src/octoprint/server/api/log.py
- +23 −1 src/octoprint/server/api/settings.py
- +5 −0 src/octoprint/server/apps/__init__.py
- +12 −0 src/octoprint/server/util/__init__.py
- +32 −10 src/octoprint/server/util/flask.py
- +7 −1 src/octoprint/server/util/sockjs.py
- +14 −3 src/octoprint/server/util/tornado.py
- +31 −7 src/octoprint/server/views.py
- +30 −11 src/octoprint/settings.py
- +1 −1 src/octoprint/static/css/octoprint.css
- +1 −0 src/octoprint/static/js/app/dataupdater.js
- +42 −0 src/octoprint/static/js/app/helpers.js
- +1 −1 src/octoprint/static/js/app/main.js
- +23 −9 src/octoprint/static/js/app/viewmodels/connection.js
- +33 −4 src/octoprint/static/js/app/viewmodels/files.js
- +73 −4 src/octoprint/static/js/app/viewmodels/settings.js
- +2 −2 src/octoprint/static/less/octoprint.less
- +2 −2 src/octoprint/templates/dialogs/settings.jinja2
- +3 −3 src/octoprint/templates/dialogs/settings/features.jinja2
- +19 −0 src/octoprint/templates/dialogs/settings/folders.jinja2
- +22 −0 src/octoprint/templates/dialogs/settings/server.jinja2
- +2 −1 src/octoprint/templates/initscript.jinja2
- +1 −1 src/octoprint/templates/navbar/login.jinja2
- +10 −10 src/octoprint/templates/sidebar/files.jinja2
- +4 −0 src/octoprint/templates/tabs/timelapse.jinja2
- BIN src/octoprint/translations/de/LC_MESSAGES/messages.mo
- +367 −241 src/octoprint/translations/de/LC_MESSAGES/messages.po
- +15 −23 src/octoprint/util/__init__.py
- +348 −145 src/octoprint/util/comm.py
- +73 −0 tests/util/test_comm_helpers.py
- BIN translations/de/LC_MESSAGES/messages.mo
- +367 −241 translations/de/LC_MESSAGES/messages.po
- +364 −232 translations/messages.pot
| @@ -10,10 +10,10 @@ | ||
| # master shall not use the lookup table, only tags | ||
| master | ||
|
|
||
| # maintenance is currently the branch for preparation of maintenance release 1.2.4 | ||
| # maintenance is currently the branch for preparation of maintenance release 1.2.5 | ||
| # so are any fix/... branches | ||
| maintenance 1.2.4-dev 3761995aff94acf32495556730f133a1626245b3 | ||
| fix/.* 1.2.4-dev 3761995aff94acf32495556730f133a1626245b3 | ||
| maintenance 1.2.5-dev 9a6099ffc2982455d631c9d68a3273d9eb55885c | ||
| fix/.* 1.2.5-dev 9a6099ffc2982455d631c9d68a3273d9eb55885c | ||
|
|
||
| # every other branch is a development branch and thus gets resolved to 1.3.0-dev for now | ||
| .* 1.3.0-dev 198d3450d94be1a2 | ||
| @@ -52,6 +52,7 @@ date of first contribution): | ||
| * [Lucas Clemente](https://github.com/lucas-clemente) | ||
| * [Andrew Erickson](https://github.com/aerickson) | ||
| * [Nicanor Romero Venier](https://github.com/nicanor-romero) | ||
| * [Thomas Hou](https://github.com/masterhou) | ||
|
|
||
| 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,5 +1,77 @@ | ||
| # OctoPrint Changelog | ||
|
|
||
| ## 1.2.5 (2015-08-31) | ||
|
|
||
| ### Improvements | ||
|
|
||
| * [#986](https://github.com/foosel/OctoPrint/issues/986) - Added tooltip for | ||
| "additional data" button in file list. | ||
| * [#1028](https://github.com/foosel/OctoPrint/issues/1028) - Hint about why | ||
| timelapse configuration is disabled. | ||
| * New central configuration option for commands to restart OctoPrint and to | ||
| restart and shut down the system OctoPrint is running on. This allows plugins | ||
| (like the Software Update Plugin or the Plugin Manager) and core functionality | ||
| to perform these common administrative tasks without the user needing to define | ||
| everything redundantly. | ||
| * Settings dialog now visualizes when settings are saving and when they being | ||
| retrieved. Also the Send/Cancel buttons are disabled while settings are saving | ||
| to prevent duplicated requests and concurrent retrieval of the settings by | ||
| multiple viewmodels is disabled as well. | ||
| * Better protection against rendering errors from templates provided by third | ||
| party plugins. | ||
| * Better protection against corrupting the configuration by using a temporary | ||
| file as intermediate buffer. | ||
| * Added warning to UI regarding Z timelapses and spiralized objects. | ||
| * Better compatibility with Repetier firmware: | ||
| * Added "Format Error" to whitelisted recoverable communication errors | ||
| (see also [#1032](https://github.com/foosel/OctoPrint/pull/1032)). | ||
| * Added option to ignore repeated resend requests for the same line (see | ||
| also discussion in [#1015](https://github.com/foosel/OctoPrint/pull/1015)). | ||
| * Software Update Plugin: | ||
| * Adjusted to utilize new centralized restart commands (see above). | ||
| * Allow configuration of checkout folder and version tracking type via | ||
| Plugin Configuration. | ||
| * Display message to user if OctoPrint's checkout folder is not configured | ||
| or a non-release version is running and version tracking against releases | ||
| is enabled. | ||
| * Clear version cache when a change in the check configuration is detected. | ||
| * Mark check configurations for which an update is not possible. | ||
| * Made disk space running low a bit more obvious through visual warning on | ||
| configurable thresholds. | ||
|
|
||
| ### Bug Fixes | ||
|
|
||
| * [#985](https://github.com/foosel/OctoPrint/issues/985) - Do not hiccup on | ||
| unset `Content-Type` part headers for multipart file uploads. | ||
| * [#1001](https://github.com/foosel/OctoPrint/issues/1001) - Fixed connection | ||
| tab not unfolding properly (see also [#1002](https://github.com/foosel/OctoPrint/pull/1002)). | ||
| * [#1012](https://github.com/foosel/OctoPrint/issues/1012) - All API | ||
| responses now set no-cache headers, making the Edge browser behave a bit better | ||
| * [#1019](https://github.com/foosel/OctoPrint/issues/1019) - Better error | ||
| handling of problems when trying to write the webassets cache. | ||
| * [#1021](https://github.com/foosel/OctoPrint/issues/1021) - Properly handle | ||
| serial close on Macs. | ||
| * [#1031](https://github.com/foosel/OctoPrint/issues/1031) - Special | ||
| handling of `M112` (emergency stop) command: | ||
| * Jump send queue | ||
| * In case the printer's firmware doesn't understand it yet, at least | ||
| shutdown all of the heaters | ||
| * Disconnect | ||
| * Properly reset job progress to 0% when restarting a previously completed | ||
| printjob (see [#998](https://github.com/foosel/OctoPrint/pull/998)). | ||
| * Report an update as failed if the `pip` command returns a return code that | ||
| indicates failure. | ||
| * Fixed sorting of templates: could only be sorted by name, individual | ||
| configurations were ignored (see [#1022](https://github.com/foosel/OctoPrint/pull/1022)). | ||
| * Fixed positioning of custom context menus: were offset due to changes in | ||
| overall positioning settings (see [#1023](https://github.com/foosel/OctoPrint/pull/1023)). | ||
| * Software Update: Don't use display version for comparison of git commit | ||
| hashs. | ||
| * Fixed temperature parsing for multi extruder setups. | ||
| * Fixed nested vertical and horizontal custom control layouts. | ||
|
|
||
| ([Commits](https://github.com/foosel/OctoPrint/compare/1.2.4...1.2.5)) | ||
|
|
||
| ## 1.2.4 (2015-07-23) | ||
|
|
||
| ### Improvements | ||
| @@ -1,13 +1,17 @@ | ||
| OctoPrint | ||
| ========= | ||
|
|
||
| OctoPrint provides a responsive web interface for controlling a 3D printer (RepRap, Ultimaker, ...). It is Free Software | ||
| OctoPrint provides a snappy web interface for controlling a 3D printer (RepRap, Ultimaker, ...). It is Free Software | ||
| and released under the [GNU Affero General Public License V3](http://www.gnu.org/licenses/agpl.html). | ||
|
|
||
| Its website can be found at [octoprint.org](http://octoprint.org). | ||
|
|
||
| The documentation is located at [docs.octoprint.org](http://docs.octoprint.org). | ||
|
|
||
| The official plugin repository can be reached at [plugins.octoprint.org](http://plugins.octoprint.org). | ||
|
|
||
|  | ||
|
|
||
| You are currently looking at the source code repository of OctoPrint. If you already installed it | ||
| (e.g. by using the Raspberry Pi targeted distribution [OctoPi](https://github.com/guysoft/OctoPi)) and only | ||
| want to find out how to use it, [the documentation](http://docs.octoprint.org/) and [the public wiki](https://github.com/foosel/OctoPrint/wiki) | ||
| @@ -42,7 +46,8 @@ which is a custom SD card image that includes OctoPrint plus dependencies. | ||
| After installation, please make sure you follow the first-run wizard and set up | ||
| access control as necessary. If you want to not only be notified about new | ||
| releases but also be able to automatically upgrade to them from within | ||
| OctoPrint, take a look [at the documentation of the Software Update Plugin](https://github.com/foosel/OctoPrint/wiki/Plugin:-Software-Update#making-octoprint-updateable-on-existing-installations). | ||
| OctoPrint, take a look [at the documentation of the Software Update Plugin](https://github.com/foosel/OctoPrint/wiki/Plugin:-Software-Update#making-octoprint-updateable-on-existing-installations) | ||
| and at its settings. | ||
|
|
||
| Dependencies | ||
| ------------ | ||
| @@ -113,3 +118,4 @@ Special Thanks | ||
|
|
||
| The development of OctoPrint is sponsored and maintained by [BQ](http://www.bq.com/). | ||
| Cross-browser testing services are kindly provided by [BrowserStack](http://www.browserstack.com/). | ||
| Profiling is done with the help of [PyVmMonitor](http://www.pyvmmonitor.com). | ||
| @@ -621,7 +621,8 @@ Use the following settings to configure the server: | ||
| .. code-block:: yaml | ||
| server: | ||
| # Use this option to define the host to which to bind the server, defaults to "0.0.0.0" (= all interfaces) | ||
| # Use this option to define the host to which to bind the server, defaults to "0.0.0.0" (= all | ||
| # interfaces) | ||
| host: 0.0.0.0 | ||
| # Use this option to define the port to which to bind the server, defaults to 5000 | ||
| @@ -691,6 +692,18 @@ Use the following settings to configure the server: | ||
| # Maximum size of requests other than file uploads in bytes, defaults to 100KB. | ||
| maxSize: 102400 | ||
| # Commands to restart/shutdown octoprint or the system it's running on | ||
| commands: | ||
| # Command to restart OctoPrint, defaults to being unset | ||
| serverRestartCommand: sudo service octoprint restart | ||
| # Command to restart the system OctoPrint is running on, defaults to being unset | ||
| systemRestartCommand: sudo shutdown -r now | ||
| # Command to shut down the system OctoPrint is running on, defaults to being unset | ||
| systemShutdownCommand: sudo shutdown -h now | ||
| .. note:: | ||
|
|
||
| @@ -31,7 +31,8 @@ | ||
| "rsa", | ||
| "pkginfo", | ||
| "requests", | ||
| "semantic_version" | ||
| "semantic_version", | ||
| "psutil" | ||
| ] | ||
|
|
||
| # Additional requirements for optional install options | ||
| @@ -155,7 +155,11 @@ def register_slicingprogress_callback(self, callback): | ||
| self._slicing_progress_callbacks.append(callback) | ||
|
|
||
| def unregister_slicingprogress_callback(self, callback): | ||
| self._slicing_progress_callbacks.remove(callback) | ||
| try: | ||
| self._slicing_progress_callbacks.remove(callback) | ||
| except ValueError: | ||
| # callback was not registered | ||
| pass | ||
|
|
||
| def _determine_analysis_backlog(self, storage_type, storage_manager): | ||
| counter = 0 | ||
Oops, something went wrong.