Gina Häußge
a093dbc36f
Merge pull request #2109 from mrbeam/upstream_maintenance
...
added decorator for calls only available on the first run.
2017-09-29 16:26:55 +02:00
Gina Häußge
0f325b95c1
Minor changes to #2123 for better readability
2017-09-29 16:18:52 +02:00
Luke McKechnie
791f0457fb
Fix for SharedNozzle, replicating temp from current tool to all tools. Issue # 2077
2017-09-21 09:31:33 -04:00
Teja
56ad1841d4
added decorator for before firstrun only calls.
2017-09-08 16:20:37 +02:00
Gina Häußge
b161a1f093
Merge branch 'staging/maintenance' into maintenance
2017-08-25 14:56:42 +02:00
Gina Häußge
79f7a5a1e7
staging is 1.3.5rc4.dev
2017-08-25 14:56:15 +02:00
Gina Häußge
679674df22
Preparing release of 1.3.5rc3
2017-08-25 11:46:40 +02:00
Gina Häußge
5989d243d3
Fix wrapping of temperature controls on touch devices
...
Successfully tested in Chrome (desktop & Android), Firefox (desktop &
Android), Safari (desktop & iOS).
Closes #2059
2017-08-25 09:47:11 +02:00
Gina Häußge
97cb0088f6
Delay opening of serial.log until first message
...
That way we don't risk running into potential "file busy" issues
under windows on log file rollover.
2017-08-24 19:16:41 +02:00
Gina Häußge
2ed36ed383
Do not block when processing held back events!
2017-08-23 19:07:08 +02:00
Gina Häußge
12b8a54081
set_close_exec on intermediary server port for unix & windows
...
Using the win32 API it's possible to prevent the intermediary server
socket from inheriting itself to subprocesses. So let's use that here.
Another bit of the solution for #2090 .
2017-08-23 18:31:42 +02:00
Gina Häußge
a35e145649
Don't forward events to uninitialized EventPlugin implementations
...
Another part of fixing #2090
2017-08-23 18:19:37 +02:00
Gina Häußge
f77be701a2
Only fire events once Events.STARTUP has been seen
...
One part of fixing #2090
2017-08-23 18:11:40 +02:00
Gina Häußge
e9401b7090
Easier copying of API keys
...
There's now a dedicated button for that.
This should get around issues like #2056 . Also increased size
of API key display field (where possible). Fixes #2055
2017-08-22 18:10:32 +02:00
Gina Häußge
b138c2bccf
New global JS helper copyToClipboard
2017-08-22 18:05:53 +02:00
Gina Häußge
76c2113ad4
Fix block-level input-append/input-prepend
...
We still had double borders going on for included add-ons.
2017-08-22 18:05:00 +02:00
Gina Häußge
bfe5bc179c
New hook octoprint.comm.protocol.temperatures.received
...
Allows preprocessing/sanitizing temperatures as received from the
printer.
Workaround for printers that occasionally report garbage temperature
data, e.g. #2050
2017-08-22 11:32:47 +02:00
Gina Häußge
d7298cee06
Virtual printer: Less code duplication in temp simulation
2017-08-22 11:21:04 +02:00
Gina Häußge
fbcbb3f5f7
Virtual printer: Support configurable ambient temperature
2017-08-21 16:52:38 +02:00
Gina Häußge
0c2169dd9c
Removed leftover </span>
...
Thanks @dforsi for the heads-up.
2017-08-21 13:17:29 +02:00
Gina Häußge
7828258fdb
Merge pull request #2048 from dforsi/fix/fix-rst
...
Fix some rst warnings
2017-08-21 12:38:20 +02:00
Daniele Forsi
edb4d0fe04
Fix warnings about duplicated names in rst files
...
Replacing a single underscore (which creates a named target) with a double
underscore creates an anonymous target.
Fixes:
/home/daniele/OctoPrint/docs/bundledplugins/cura.rst:4: WARNING: Duplicate explicit target name: "here".
/home/daniele/OctoPrint/docs/plugins/hooks.rst:370: WARNING: Invalid caption: /home/daniele/OctoPrint/docs/plugins/hooks.rst:4: (INFO/1) Duplicate explicit target name: "custom_action_command.py".
2017-07-30 23:18:08 +02:00
Gina Häußge
4d27de032d
Improved handling of external reset while operational
...
* Display message to user
* Stop print/transfer (lost state)
2017-07-28 13:35:00 +02:00
Gina Häußge
7073c12444
Virtual printer: Support debug commands while streaming
2017-07-28 13:34:10 +02:00
Gina Häußge
60be6349f5
Allow cancelling file transfers
...
Cancelling also deletes the incomplete file on the printer's SD.
2017-07-28 13:08:28 +02:00
Gina Häußge
ec55890c55
Check that .metadata.yaml actually contains a dict
...
It might just be empty (= None) or a list or something.
Thanks @Kunsi for the heads-up.
2017-07-28 12:01:36 +02:00
Gina Häußge
e508898564
Merge branch 'staging/maintenance' into maintenance
2017-07-27 14:38:54 +02:00
Gina Häußge
c33e9e4c85
staging is 1.3.5rc3.dev
2017-07-27 14:38:30 +02:00
Gina Häußge
1f9fe8c868
Preparing release of 1.3.5rc2
2017-07-27 13:33:45 +02:00
Gina Häußge
8f2e4ad978
Temperature tab: "Hotend" -> "Tool"
2017-07-27 12:41:08 +02:00
Gina Häußge
b82d955ec7
Fix printer profile update on temperature tab & gcode viewer
...
As reported in #2033
2017-07-27 12:40:27 +02:00
Gina Häußge
832d2f4155
Fix temperature controls in FF not fitting on one line
...
Mentioned in #2033
2017-07-27 10:14:59 +02:00
Gina Häußge
c336452f6c
Do not run subprocesses while intermediary server is active
...
Any processes inheriting the open port descriptor of that server will
cause the actual server startup to fail due to the port still being
claimed.
We can't fully prevent this under Windows thanks to fnctl not being
available and win32api being a PITA, and also close_fds on Popen not
being allowed if we also need to redirect stdout/stderr/stdin for a
process. So let's hope hardening against this problem when running
under *nix, adding a bit fat warning to never start a subprocess
during the intermediary's runtime and also moving the only actual
process we so far DID start (analysis backlog processing) to after
Tornado is running will suffice.
Fixes #2035
2017-07-27 09:58:20 +02:00
Gina Häußge
a9b6edde2b
Fix incompatibility with non-ASCII strings in wizard sorting
2017-07-26 16:47:57 +02:00
Gina Häußge
d59ef5c711
Corewizard: Fix wrongly displaying firstrunonly wizards again
2017-07-26 16:47:40 +02:00
Gina Häußge
375480c707
allViewModels -> self.allViewModels
2017-07-26 16:32:05 +02:00
Gina Häußge
60cacb9447
Temperature: Fix for legend not updating with current values
...
See #2033
2017-07-26 16:26:27 +02:00
Gina Häußge
a21f5c4497
Merge branch 'staging/maintenance' into maintenance
2017-07-26 14:27:59 +02:00
Gina Häußge
c159ab7fe2
Merge branch 'rc/maintenance' into staging/maintenance
2017-07-26 14:27:47 +02:00
Gina Häußge
251ed7a2a2
Merge branch 'staging/maintenance' into maintenance
2017-07-26 14:25:15 +02:00
Gina Häußge
e949e0198f
maintenance is now 1.3.6.dev, staging is 1.3.5rc2.dev
2017-07-26 14:24:30 +02:00
Gina Häußge
1a6dbb3f4a
Preparing release of 1.3.5rc1
2017-07-26 12:47:47 +02:00
Gina Häußge
10e834f623
Improve logging of async system commands
...
Closes #2025
2017-07-24 18:32:21 +02:00
Gina Häußge
5ce34f774e
GCODE Viewer: Fix file position calculation
...
We were only adding one byte for "\n". That ignored that our regex
could also match "\r\n" or "\r\r" or something like that.
Our split regex now only matches one "\r" or "\n". Empty lines we'll
simply ignore anyhow so no real harm done.
Also, we no longer strip the comments in this step - leave that to
the worker running in its own thread. Not only should that speed
things up a bit, it will also allow us to better debug the worker in
the future.
2017-07-24 12:55:39 +02:00
Gina Häußge
0456896d71
GCODE Viewer: Fix issue with lookup of layer index 0
...
We were just testing if z_heights[z] was truthy. If the layer index was
set but 0 that wasn't properly detected and let to overwriting our
layer information. Instead check explicitly against undefined.
Closes #2017
2017-07-24 12:52:13 +02:00
Gina Häußge
e06c09e206
Fix some more FontAwesome related things
...
* remove some more "fa" classes where they didn't belong
* use "fa-toggle-(on|off)" instead of circles where they were used
to signify toggle actions
* fix SD card icon being too high
Another follow-up to #1915
2017-07-21 12:29:18 +02:00
Gina Häußge
a6d3299b91
Add user manager factory hook
2017-07-20 20:03:05 +02:00
Gina Häußge
0a7f2a209b
Add opt-in wizard for online connectivity check
...
See also #2011
2017-07-20 20:02:57 +02:00
Gina Häußge
67f7580506
Only run connectivity checker if enabled
...
Otherwise assume we are online but don't ping anything.
See also #2011
2017-07-20 20:02:44 +02:00
Gina Häußge
aab3a7bd63
Wizard: Support to prevent the "settings updated" dialog
...
Subwizards might actually intentionally want to update stuff through
the settings API, let's allow that.
2017-07-20 19:36:14 +02:00