Gina Häußge
63b63f6aad
Test for image/* in snapshot test
2018-04-19 13:10:58 +02:00
Gina Häußge
1637187c76
Extend URL test to also allow whitelist/blacklist check for the returned content type
2018-04-19 13:10:41 +02:00
Gina Häußge
303ef405bb
Fix snapshot test button not resetting on error
2018-04-19 13:01:37 +02:00
Gina Häußge
bf3da2a662
Fixes a race condition causing stalls when pausing/cancelling
...
Closes #2581 & closes #2587
2018-04-18 13:02:36 +02:00
Gina Häußge
b8194ecc84
Fixes a race condition causing stalls when pausing/cancelling
...
Closes #2581
2018-04-18 12:59:38 +02:00
Gina Häußge
472ab367b0
Disable logging the position on cancel by default
...
Apparently that is causing too many issues in the field. If someone
actually DOES need the position data, they can always enable this.
2018-04-18 12:59:38 +02:00
Gina Häußge
8f50180543
Virtual: allow defining custom M114 responses
2018-04-17 09:10:33 +02:00
Zachary N
2fa18f5855
Merge branch 'devel' into dev/timelapseProgress
2018-04-16 18:25:48 -04:00
Daniele Forsi
11eae082fc
Remove invalid xmlns attributes so that the default value is used
...
Fixes 2 validation errors:
Error: Bad value http://www.w3.org/1999/html for the attribute xmlns (only http://www.w3.org/1999/xhtml permitted here).
<div id="offline_overlay" xmlns="http://www.w3.org/1999/html ">↩ <
Error: Bad value http://www.w3.org/1999/html for the attribute xmlns (only http://www.w3.org/1999/xhtml permitted here).
<div id="reloadui_overlay" xmlns="http://www.w3.org/1999/html ">↩ <
2018-04-16 20:07:28 +02:00
Daniele Forsi
885446328d
Add missing "for" and "id" attributes to some HTML labels
2018-04-16 20:07:28 +02:00
Daniele Forsi
8cb4d84905
Fix HTML labels with wrong "for" attribute
...
Fixes some validation errors detected by https://validator.w3.org and other errors.
2018-04-16 20:07:28 +02:00
ZachNo
a4ce92c963
Added timelapse render progress bar
...
For issue @485
Added progress bar to the Timelapse tab between the settings and files
Added code to process the output of ffmpeg and compute a percentage
Added code to communicate the percentage from the server to the client
Added myself to the authors
Changed tests to reflect new loglevel
2018-04-16 06:05:25 -04:00
Gina Häußge
0da52cb366
Update pyserial to 3.4
...
Final part of the fix for #2333
2018-04-13 18:32:09 +02:00
Gina Häußge
57ea18a9a4
Fix Print Job Left display
...
Fixes #2579
2018-04-13 18:17:03 +02:00
Gina Häußge
c84d39a803
Merge branch 'maintenance' into devel
...
# Conflicts:
# setup.py
# src/octoprint/server/__init__.py
2018-04-13 17:23:42 +02:00
Gina Häußge
06478415b5
Merge remote-tracking branch 'refs/remotes/origin/maintenance' into maintenance
2018-04-13 17:08:47 +02:00
Gina Häußge
6a8a1c31e3
maintenance is now 1.3.9.dev
2018-04-13 17:08:19 +02:00
Gina Häußge
cce7961ee3
Merge branch 'staging/maintenance' into maintenance
2018-04-13 17:07:48 +02:00
Gina Häußge
725227338a
Merge branch 'rc/maintenance' into staging/maintenance
2018-04-13 17:06:36 +02:00
Gina Häußge
c55c568bbd
Preparing release of 1.3.8
1.3.8
2018-04-13 16:22:44 +02:00
Gina Häußge
45d8c28883
Pin psutil to 5.4.3
...
Fixes #2577
2018-04-13 15:31:44 +02:00
Gina Häußge
8076e59861
Add hotfix branch type & set to tag tracking
2018-04-13 15:31:01 +02:00
Gina Häußge
d59eaa2a91
Admins are also users
2018-04-12 19:49:04 +02:00
Gina Häußge
f7ad87449a
Identify groups by a key & add group role
2018-04-12 19:07:59 +02:00
malnvenshorn
b41df46491
Added @malnvenshorn to AUTHORS.md
2018-04-12 17:00:37 +02:00
Gina Häußge
08bfae216c
Merge branch 'devel' into dev/permission
...
# Conflicts:
# src/octoprint/plugins/printer_safety_check/__init__.py
# src/octoprint/server/__init__.py
# src/octoprint/server/util/sockjs.py
2018-04-12 16:37:27 +02:00
Gina Häußge
64db784d8d
Merge branch 'maintenance' into devel
...
# Conflicts:
# setup.py
# src/octoprint/server/__init__.py
2018-04-12 16:35:53 +02:00
Gina Häußge
5a91b8db48
Some permission changes & fixes
2018-04-12 16:34:17 +02:00
malnvenshorn
5205d2e352
Tracking user of print job
2018-04-12 16:15:53 +02:00
Gina Häußge
9c923be5f0
Better solution for the Tornado 5 + SockJS + haproxy issue
...
Looks like Nagle's algorithm was the cause. Adding
option http-no-delay
to haproxy.cfg solves the problem without modification of the timeout,
however that is not an option for the thousands of instances already
deployed in the field.
So instead we add 300ms to the roundtrip based connection timeout, that
should hopefully get around any Nagle-induced delays (usually between
40 and 200ms according to various sites on the net).
2018-04-12 13:19:02 +02:00
Gina Häußge
88328bbe0e
Merge pull request #2568 from vitormhenrique/master
...
Fix dead link on hooks documentation
2018-04-12 12:58:46 +02:00
Gina Häußge
132614045c
Early detection & logging of broken files response
...
Fixes #2572
2018-04-12 12:08:19 +02:00
Gina Häußge
a33b037364
Fix ItemListHelper throwing an error on undefined items
...
Just fall back to an empty list.
Fixed #2572 (at least the bit that isn't a broken nginx config)
2018-04-12 11:55:14 +02:00
Gina Häußge
33b27e450f
Merge branch 'fix/sockjs' into maintenance
2018-04-11 18:47:18 +02:00
Gina Häußge
a5d541dafc
Fix sockjs not working behind haproxy
...
For some reason the websocket connection runs into a timeout, the xhr
transport doesn't properly take over, and then stuff takes ages to
realign again.
Only happens under Tornado 5, doesn't happen under Tornado 4.5
Increasing the timeout for now instead of pinning to Tornado 4.5 in the
hopes that might still be figured out.
Incredibly weird though.
2018-04-11 18:47:08 +02:00
Gina Häußge
258f3725bf
Minor adjustments for Tornado 5
2018-04-11 18:43:23 +02:00
Gina Häußge
c4d8e344d1
Remove wrongly placed whitespace
2018-04-11 11:15:46 +02:00
Gina Häußge
f3128a15d9
Safety Plugin: Add Malyan M200 & CR-10S
...
Malyan M200 identified by firmware name "Malyan" and model "M200".
Printer also known as Monoprice Select Mini, see also ID strings in
#2271 .
CR-10S identified by "Author: (CR-10Slanguage)".
2018-04-11 11:15:18 +02:00
Gina Häußge
6f224bd825
Workaround for typo & whitespace in Malyan M115 responses
...
NAME. instead of NAME:, whitespace between key and value component.
2018-04-11 11:12:56 +02:00
Vitor de Miranda Henrique
58bbbc2ad9
Update hooks.rst
...
Fix Software Update plugin link, it was pointing to an old github page --> https://github.com/OctoPrint/OctoPrint-SoftwareUpdate
instead of the bundled plugin--> https://github.com/foosel/OctoPrint/tree/master/src/octoprint/plugins/softwareupdate
2018-04-10 16:19:55 -05:00
Gina Häußge
75de062b55
Safety Plugin: Add detection of Anycubic Mega
...
Identified by "Author: (Jolly, xxxxxxxx.CO.)" in startup messages.
2018-04-10 18:09:55 +02:00
Gina Häußge
58f73f3ed9
Merge branch 'maintenance' into devel
2018-04-09 17:03:30 +02:00
Gina Häußge
85dfcbd156
Merge branch 'staging/maintenance' into maintenance
2018-04-09 17:03:15 +02:00
Gina Häußge
a6cec7d2ef
Merge branch 'rc/maintenance' into staging/maintenance
2018-04-09 17:02:51 +02:00
Gina Häußge
6d7f8a2a64
Don't raise error when trying to read from finished print
...
Could be caused by timing issues and one `continue_sending` too many, so
just ignore this but log a warning.
1.3.7
2018-04-09 15:56:35 +02:00
Gina Häußge
8869748ecc
Don't trigger ok timeout while heating or in long running command
...
Workaround for printers that don't send busy:processing during heatups
like they should.
2018-04-09 15:53:25 +02:00
Gina Häußge
e0b0f2ae18
Preparing release of 1.3.7
2018-04-09 12:38:56 +02:00
Gina Häußge
440ccf165e
[Docs] Add missing image
...
Fixes #2557
2018-04-09 11:50:16 +02:00
Gina Häußge
7e0b187cb8
Bundle sockjs-tornado dependency
...
It appears to be unmaintained at the moment, and the current version
is incompatible to Tornado 5.
Instead of monkey patching ad infinitum we instead bundle the dependency
in the new vendor sub package.
2018-04-06 18:38:06 +02:00
Gina Häußge
025f545ef7
Better requirement detection in octoprint_setuptools
...
Plus unit tests.
2018-04-06 14:59:11 +02:00