Gina Häußge
47267abcd1
Fix HTTP 500 in case of unconfigured slicer
...
Fixes #2508
2018-03-23 14:24:10 +01:00
Gina Häußge
23f130da58
Fix "undefined" settings values not saving
...
Fixes #2494
2018-03-23 14:17:23 +01:00
Gina Häußge
9af6b42bdd
Virtual: Fix queue clearing on reset
2018-03-22 17:50:48 +01:00
Gina Häußge
7cb910a69a
Forgot a monotonic.monotonic
2018-03-22 17:10:06 +01:00
Gina Häußge
c30db16085
Fire print failed event on error while printing
...
That will ensure to also stop timelapse
2018-03-22 16:17:25 +01:00
Gina Häußge
832a0c88aa
Virtual: also reset autoreporting & fix heatup
2018-03-22 16:15:56 +01:00
Gina Häußge
972c2823a0
Add missing _sprintf wrapper around messages
...
Fixes #2499
2018-03-22 14:21:20 +01:00
Gina Häußge
f10bfa67ca
Use "import pip" method of calling pip only as last resort
...
Doing that poses too much risk with pip's general "no API support", as
seen in #2499 .
2018-03-22 13:59:38 +01:00
Gina Häußge
fb834f81ee
Use pkg_resources to find out local pip version
...
Doing a "import pip; pip.__version__" or "from pip import __version__"
poses too much risk with pip's general "no API support", as seen in
#2499 .
2018-03-22 13:46:38 +01:00
Gina Häußge
957ba43320
Virtual: Support for simulated reset
2018-03-22 13:36:12 +01:00
Gina Häußge
133850f61c
Actually, make that a deepcopy
2018-03-22 13:08:01 +01:00
Gina Häußge
f782cfe83f
Thaw the frozendict on printer.get_current_data
...
We don't want calling code to run into trouble because of that.
Fixes #2506
2018-03-22 12:58:52 +01:00
Gina Häußge
70254e910c
Use octoprint.util.monotonic_time instead of monotonic
2018-03-22 11:41:31 +01:00
Gina Häußge
f981cca47e
Forgot a "global"
...
Fixes #2501
2018-03-22 11:34:39 +01:00
Gina Häußge
0224037478
Have OctoPrintJsonEncoder fall back to flask encoder
...
That supports some types we want to keep just in case.
2018-03-20 16:19:06 +01:00
Gina Häußge
e4914b8bd3
staging/maintenance is now 1.3.7rc2.dev
2018-03-19 17:18:39 +01:00
Gina Häußge
da2c9632ea
Preparing release of 1.3.7rc1
1.3.7rc1
2018-03-19 13:46:19 +01:00
Gina Häußge
8a3a87efac
Extract firmware safety check into bundled plugin
2018-03-19 13:22:59 +01:00
Gina Häußge
8cdae335a2
Fix typo in issue template
2018-03-19 10:50:56 +01:00
Gina Häußge
75ad9aeeb6
Merge branch 'pr/2491' into maintenance
2018-03-19 10:50:31 +01:00
Daniele Forsi
709f7a76f1
Remove unused or duplicated imports
...
Fixes the following pylint's warnings:
W: 9, 0: Unused import io (unused-import)
W: 33, 1: Unused walk imported from os (unused-import)
W:308, 4: Reimport 're' (imported line 16) (reimported)
W: 17, 1: Reimport 'os' (imported line 8) (reimported)
2018-03-19 10:49:03 +01:00
Gina Häußge
c04fade9a7
docs: Fix two issues pointed out by @dforsi
...
Thanks!
2018-03-19 10:46:20 +01:00
Daniele Forsi
2ecbd9f8c8
Fix typos in docs
2018-03-19 10:43:08 +01:00
Gina Häußge
3e24b68b45
Attach additionalClasses to all custom controls
...
Fixes #2489
2018-03-19 10:36:26 +01:00
Gina Häußge
46a0c3057f
Logging: At missing CSS file
...
Thanks @kantlivelong for the heads-up
2018-03-19 10:36:07 +01:00
Greg Sadetsky
902407ed92
typo fix
2018-03-19 00:44:04 -04:00
Gina Häußge
ccbe9311d7
Add firmware safety warning
...
For now it only triggers for the Anet A8's stock firmware which for some
idiotic reason has thermal runaway protection disabled (it's 2018 ffs!)
2018-03-18 00:38:06 +01:00
Gina Häußge
82dffa50f7
Improve log output of PipHelper & LocalPipHelper
...
Should make it easier to detect the reason for a broken pip install in
the future (e.g. non writable install directories).
2018-03-16 17:23:56 +01:00
Gina Häußge
0d51e5bb1c
Hide connection refresh button if panel is collapsed
2018-03-16 14:34:09 +01:00
Gina Häußge
fd7fbcc113
CSS update
2018-03-16 14:12:52 +01:00
Gina Häußge
5791562c6a
[Doc] Some changes on the index & a fix
2018-03-16 14:12:39 +01:00
Gina Häußge
6582740a1e
http://faq... -> https://faq...
2018-03-16 11:15:22 +01:00
Gina Häußge
73ce6f43ab
bit.ly/octoserial -> faq.octoprint.org/serialerror
2018-03-16 11:14:19 +01:00
Gina Häußge
bc746a49e9
Merge branch 'master' into maintenance
2018-03-16 11:05:25 +01:00
Gina Häußge
e8d5449a8f
Adjust issue template for new GH layout
...
Apparently the "big yellow box" hinting the contribution guidelines
vanished some time ago and got replaced by a teeny tiny link to the
right under "Helpful resources". Ah well.
2018-03-15 16:30:54 +01:00
Gina Häußge
01f5a58709
Fix a typo
2018-03-15 16:20:33 +01:00
Gina Häußge
61769262f6
New meta git prefix for github meta md updates
2018-03-15 16:10:17 +01:00
Gina Häußge
faa8174846
Link to community forum & new FAQ location
...
Also updated contribution guidelines & templates
2018-03-15 16:08:02 +01:00
Gina Häußge
0eb441058e
Links to new forum & FAQ
2018-03-13 18:51:04 +01:00
Gina Häußge
32a31a7d4a
Hook for defining custom atcommands
2018-03-13 11:06:52 +01:00
Gina Häußge
01bae0c95c
_atcommand_abort_sending => _atcommand_abort_queuing
2018-03-12 18:37:43 +01:00
Gina Häußge
ada873be1d
First throw at native @ command support
...
For now the following commands are supported:
* @pause: Pauses the print
* @resume: Resumes the print
* @cancel or @abort: Cancels the print
As discussed in #2414 . Also implements #324 .
2018-03-12 18:33:40 +01:00
Gina Häußge
a95407c815
Fix flask_login._get_remote_addr
...
We can't easily upgrade to 0.3.0 right now due to backwards incompatible
changes in that version (some methods became properties). So for now
we simply backport the fix in question through a monkey patch.
Fixes #2296
2018-03-12 16:40:19 +01:00
Gina Häußge
e0722e6c28
flask.ext.* => flask_*
...
And some refactoring in the server class
2018-03-12 16:39:35 +01:00
Gina Häußge
e32aa3f2c8
text/plain mime type for log downloads
2018-03-12 12:38:39 +01:00
Gina Häußge
8e764e34ee
SWU: Refer to console log on update failure
2018-03-12 12:25:17 +01:00
Gina Häußge
cfb0eb84e2
Make sure that "method" is a function
...
It could be null or anything else really, so better be safe than sorry
;)
See comments in ntoff/OctoPrint-Estop#4
2018-03-09 19:12:26 +01:00
Gina Häußge
effefffe74
SWU: Better detection if an update is already running
2018-03-09 16:06:50 +01:00
Gina Häußge
8148fd7679
SWU: Add sleep_a_bit updater for testing
2018-03-09 16:05:47 +01:00
Gina Häußge
f8079c3f50
Fix unset error handling
...
No proper value was set if ignoreErrorsFromFirmware ==
disconnectOnErrors == false. Now falls back correctly to "cancel".
Closes #2472
2018-03-09 15:42:11 +01:00