Gina Häußge
258f3725bf
Minor adjustments for Tornado 5
2018-04-11 18:43:23 +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
Gina Häußge
6af1afb546
Don't tab to "forget password" link
2018-04-06 14:59:11 +02:00
Gina Häußge
1dd1eb3768
Merge pull request #2554 from tedder/upstream_maintenance
...
docfix: make 'settings' proper yaml
2018-04-06 09:33:32 +02:00
tedder
77d126fc09
make 'settings' proper yaml
...
See PR #2530 ; I assumed it should go into 'devel' so it is right in new releases, but Gina asked for it to be done here.
2018-04-05 13:38:25 -07:00
Gina Häußge
4a3902c060
Merge pull request #2533 from dforsi/fix/fix-api-buttons
...
Fix buttons not disabled when there isn't an API key available
2018-04-05 12:59:08 +02:00
Gina Häußge
83cdd4d79d
Merge pull request #2552 from dforsi/fix/fix-typos
...
Fix typos in the docs
2018-04-05 12:58:00 +02:00
Daniele Forsi
1d1191eae0
Fix typos in the docs
2018-04-04 23:13:32 +02:00
Daniele Forsi
1efa0fa1e6
Fix buttons not disabled when there isn't an API key available
...
Also keeps always enabled the button to refresh the global API key.
Bootstrap buttons made from HTML <a> tags can only be disabled with CSS.
2018-04-04 20:09:06 +02:00
Gina Häußge
085424f192
Support for binding to IPv6 addresses
...
Defaults to :: if IPv6 is supported, 0.0.0.0 otherwise. Both
intermediary server and Tornado are instructed to bind their sockets to
both IP versions.
Positive IPv6 support detection relies on
* socket.has_ipv6 being True
* socket.IPPROTO_IPV6 and socket.IPV6_V6ONLY being available (or
redefined in case of Windows) in order to ensure dual stack binding
for the intermediary server
Implements #2351
2018-04-04 15:04:33 +02:00
Gina Häußge
db23bed00b
Remove intermediary dialog for "forgot password"
...
Might annoy people after all having to click twice just to get the
information they are looking for.
Can be changed if the process gets changed.
2018-04-04 13:12:53 +02:00
Gina Häußge
9c31fa88a5
Merge branch 'staging/maintenance' into maintenance
2018-04-04 12:36:24 +02:00
Gina Häußge
c5439da9d2
staging/maintenance is now 1.3.7rc5.dev
2018-04-04 12:34:57 +02:00
Gina Häußge
e5caa3d0bf
Preparing release of 1.3.7rc4
1.3.7rc4
2018-04-04 11:10:45 +02:00
Gina Häußge
a821346b07
Don't trigger PRINT_FAILED twice on disconnect
...
Fixes #2546
2018-04-04 11:10:43 +02:00
Gina Häußge
561bf83d88
Merge pull request #2540 from dforsi/fix/fix-rst
...
Add missing documentation for GCODE analysis and other small fixes
2018-04-04 09:51:06 +02:00
Gina Häußge
baf8941f31
Merge pull request #2532 from dforsi/fix/fix-typos
...
Fix typo
2018-04-04 09:49:42 +02:00
Daniele Forsi
f7dec5542b
Fix typos
2018-04-03 23:41:34 +02:00
Daniele Forsi
6ec8b97ddb
Add missing documentation for GCODE analysis and other small fixes
...
Adds documentation for `dimensions` and `printingArea`; fixes `length`
and `volume`; adds two internal references.
Fixes #2463 .
2018-04-03 20:35:58 +02:00
Gina Häußge
0ac9ea518c
SWU: Update "How to use release channels" link
2018-04-03 17:47:23 +02:00
Gina Häußge
9f80aefcc9
thaw_frozendict should be fully recursive
...
So far it was only deep-diving into frozendicts, not dicts (which might
contain frozendicts).
In principle we probably should also dive into tuples and lists and
other containers, but in our current application we don't put
frozendicts into those so let's not overdo it.
2018-04-03 16:56:59 +02:00
Gina Häußge
c1fe8f5a35
Fix RawWebsocketTransport of sockjs
...
Ran into issues due to session wrapping in order to support custom
Json encoding.
We now make sure to
* only wrap non-raw sessions (since only those have send_jsonified
defined which we overwrite)
* overwrite tornado.escape.json_encode to use our custom encoder as
fallback, since that is used for RawWebsocketTransport
Fixes an issue with the /sockjs/websocket endpoint hinted at in #2529
2018-04-03 16:45:14 +02:00
Gina Häußge
fcecb5c0f0
Fix heatup flag not resetting on external SD print start
...
If the start of the SD print could only be verified after the blocking
heatup was through, the start time was reset to None and hence the
heatup flag was not cleared on receival of the first ok, causing no
commands to be sent out and things to run into a timeout.
Fixes #2536
2018-04-03 15:41:13 +02:00
Gina Häußge
25005b547c
Virtual: Add some debug commands for sd printing
2018-04-03 15:38:43 +02:00
Gina Häußge
35343705ca
Merge pull request #2543 from ganey/bugfix/pip--no-cache-dir
...
Pip install with --no-cache-dir to handle plugin installations with MemoryError
2018-04-03 13:49:59 +02:00
Ganey
22e894c245
Merge branch 'maintenance' into bugfix/pip--no-cache-dir
2018-04-03 12:46:05 +01:00
Gina Häußge
4ef01610d0
Merge pull request #2541 from dforsi/dev/forgot-email
...
Add link to instructions to reset passwords
2018-04-03 13:34:29 +02:00
Michael Gane
bb065828f2
pip install using --no-cache-dir for low memory devices
2018-04-03 10:51:52 +01:00
Daniele Forsi
d0637f61d4
Add link to instructions to reset passwords
2018-04-02 23:46:06 +02:00
Daniele Forsi
84319366d1
Fix typo
2018-03-29 22:11:36 +02:00
Gina Häußge
2152c401bf
Merge branch 'staging/maintenance' into maintenance
2018-03-29 16:59:24 +02:00
Gina Häußge
dbfe7fece1
staging/maintenance is now 1.3.7rc4.dev
2018-03-29 16:58:55 +02:00
Gina Häußge
9c5d996ea2
Preparing release of 1.3.7rc3
1.3.7rc3
2018-03-29 15:47:35 +02:00
Gina Häußge
b8e7cfb506
"Where to find versions" is not on the FAQ
2018-03-29 14:24:58 +02:00
Gina Häußge
822f757f9d
Ignore wait if job is on hold
...
See #2524
2018-03-29 14:23:17 +02:00
Gina Häußge
b04aff7d5e
Fix command expansion for non-gcode commands
2018-03-28 15:24:50 +02:00
Gina Häußge
0070349d66
Fix browser session getting overwritten by API key
...
Closes #2505
2018-03-27 16:53:14 +02:00
Gina Häußge
0cbad44055
Fix temperature profiles saving string values
...
Closes #2520
2018-03-27 16:23:13 +02:00
Gina Häußge
2571d32134
Include children on first level folder listings
...
This allows step-by-step traversal of file listings without the
recursive flag.
Fixes #2496
2018-03-27 15:29:53 +02:00
Gina Häußge
64ee8bac60
Support parsing xheaders in tornado
...
That will give us more accurate client ips, with a one hop limitation
however, see http://www.tornadoweb.org/en/stable/httpserver.html . If
more than one hop/reverse proxy is used in front of OctoPrint, their IPs
should be configured as server.reverseProxy.trustedDownstream in
config.yaml so they don't get detected as client IPs.
Implements #2512
2018-03-27 14:54:52 +02:00
Gina Häußge
da392b9c9f
Log asynchronously
...
Implements #2522
2018-03-27 13:50:03 +02:00
Gina Häußge
3179a1846f
Update to Tornado 5
2018-03-27 11:45:02 +02:00
Gina Häußge
b3912b2281
Remove legacyPluginAssets flag
2018-03-26 15:33:33 +02:00
Gina Häußge
db14723ea2
Use regular scrollbars instead of slimscroll
...
See #2379
2018-03-26 15:17:17 +02:00
Gina Häußge
28831a68dd
Add (configurable) small delay before baudrate detection
...
Solves issue with controllers that don't like baudrate switches right
after connection, e.g. the Einsy board.
Fixes #2517
2018-03-26 14:43:56 +02:00
Gina Häußge
6f18495395
Merge branch 'staging/maintenance' into maintenance
2018-03-23 16:29:06 +01:00
Gina Häußge
028425542f
staging/maintenance is now 1.3.7rc3.dev
2018-03-23 16:28:47 +01:00
Gina Häußge
339d1df5a9
Preparing release of 1.3.7rc2
1.3.7rc2
2018-03-23 15:29:00 +01:00
Gina Häußge
2abe67a24c
Logging: Discourage disabling this plugin
2018-03-23 15:27:12 +01:00