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
Daniele Forsi
06f62bd874
Fix a typo in the docs
2018-03-22 00:23:02 +01:00
Daniele Forsi
23bcbba013
Fix typo
2018-03-21 19:28:22 +01:00
Daniele Forsi
cb18d3fe32
Fix some invalid HTML
...
Fixes 4 kinds of errors found with https://validator.w3.org/nu/#textarea
Bad value javascript for attribute lang on element script
Bad character after < . Probable cause: Unescaped < . Try
escaping it as < .
The element label must not appear as a descendant of the label element.
Element legend not allowed as child of element form in this context.
Note: the change related to <legend> seems big because of the increased
indent of the existing code (use "git diff --ignore-all-space" or
"git log --patch --ignore-all-space" to see the lines actually added).
2018-03-21 16:14:02 +01:00
Gina Häußge
95694453f4
Merge pull request #2495 from dforsi/fix/remove-unneeded-format
...
Remove unneeded format() filter from template
2018-03-20 16:51:16 +01:00
Gina Häußge
0825e0660f
Merge pull request #2498 from dforsi/fix/issue/2487
...
Document the async flag of custom system commands
2018-03-20 16:50:19 +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
Daniele Forsi
819d4d0fdf
Expand the description of custom system commands
...
Fixes #2487
2018-03-20 16:12:49 +01:00
Gina Häußge
cedbf039d2
Consolidate json encoding like in 1.3.x
2018-03-20 16:12:32 +01:00
Gina Häußge
d1711f0376
Merge branch 'devel' into dev/permission
...
# Conflicts:
# src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js
# src/octoprint/server/__init__.py
# src/octoprint/server/util/flask.py
# src/octoprint/server/util/sockjs.py
# src/octoprint/static/css/octoprint.css
# src/octoprint/static/js/app/viewmodels/printerstate.js
# src/octoprint/templates/tabs/timelapse.jinja2
2018-03-20 16:10:19 +01:00
Daniele Forsi
1c43e193ba
Remove unneeded format() filter
2018-03-19 18:55:14 +01:00
Gina Häußge
047b9f544a
Merge branch 'maintenance' into devel
...
# Conflicts:
# src/octoprint/server/__init__.py
# src/octoprint/server/util/__init__.py
# src/octoprint/server/util/flask.py
# src/octoprint/users.py
2018-03-19 17:24:11 +01:00
Gina Häußge
4f1cd6b3a2
maintenance is now 1.3.8.dev
2018-03-19 17:19:38 +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
8ea7528d41
Show control tab if webcam or control allowed
2018-03-17 18:03:41 +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