Gina Häußge
fca7b2ebae
Merge branch 'maintenance' into devel
...
Conflicts:
.versioneer-lookup
CHANGELOG.md
2015-10-20 14:55:46 +02:00
Gina Häußge
adf39cdf21
maintenance branch is now 1.2.8-dev
2015-10-20 14:54:16 +02:00
Gina Häußge
6c622f7c43
Fixed indentation of change log
2015-10-20 12:24:23 +02:00
Gina Häußge
d34790e74e
Unit tests for octoprint.util.RepeatedTimer
...
(cherry picked from commit 7362067 )
2015-10-20 12:07:31 +02:00
Gina Häußge
aa5099340e
Two new callbacks for RepeatedTimer when cancelled or condition untrue
...
(cherry picked from commit 9b9ecfe )
2015-10-20 12:07:24 +02:00
Gina Häußge
693633bd1d
RepeatedTimer now supports callback when timer stops
...
(cherry picked from commit 3c5a976 )
2015-10-20 12:05:12 +02:00
Gina Häußge
758062133c
Updated changelog for 1.2.7
2015-10-20 11:55:34 +02:00
Gina Häußge
66fbd1fc6a
Fix: Also provide custom control parameters to custom GCODE scripts
...
Closes #1085
2015-10-19 13:45:40 +02:00
Gina Häußge
4cfc74c344
Fix: Each divider action needs a custom action id
...
Closes #1084
2015-10-19 13:24:16 +02:00
Gina Häußge
c55fea666d
Updated required versions of psutil and netifaces
...
Also see #1090
2015-10-19 09:33:48 +02:00
Salandora
20676926e6
Fix a typo that broke custom control parameters
2015-10-12 13:54:52 +02:00
Salandora
1bf46d655d
Fix SD disabled error
2015-10-12 10:20:32 +02:00
Gina Häußge
12403444c4
Merge branch 'fix/swuReloadDialog' into devel
2015-10-08 17:09:18 +02:00
Gina Häußge
c932e496fa
SWU: Show reload dialog after update
...
The notification and the (forced) dialog afterwards were way too
redundant.
2015-10-08 17:08:36 +02:00
Gina Häußge
3767f83fe2
Slight timing changes in wizard finishing process
...
We now wait until the settings have been saved before we close the dialog.
That should hopefully reduce chances of an asynchronous "Oh no, the settings
were updated" message showing up just when finishing the dialog.
2015-10-08 15:23:19 +02:00
Gina Häußge
dd4bec3329
Fix: Do not cache templates if wizards are active
...
Otherwise wizards will be reshown until the cache is forcefully
cleared.
2015-10-08 13:49:57 +02:00
Gina Häußge
d3b7a77da7
Fix: Core wizard API didn't yet understand json-only requests
2015-10-08 12:22:22 +02:00
Gina Häußge
e5217813bd
Merge branch 'fix/sdcardTimelapseWarning' into devel
...
Conflicts:
src/octoprint/server/views.py
src/octoprint/templates/initscript.jinja2
2015-10-08 10:25:18 +02:00
Gina Häußge
bbbdb3dde6
Note that z-based timelapses don't work when printing from SD
2015-10-08 10:22:09 +02:00
Gina Häußge
b9460b4890
Merge branch 'fix/uiEscaping' into maintenance
2015-10-08 09:52:08 +02:00
Gina Häußge
251ec9d823
Added changelog entry for #632 and adjusted Fan On
2015-10-08 09:26:34 +02:00
Gina Häußge
db05632677
Updated compiled CSS file
2015-10-07 18:58:42 +02:00
Gina Häußge
b7973e4256
Merge branch 'fix/gcodeViewerUpdateOnFileUpdate' into devel
2015-10-07 18:54:21 +02:00
Gina Häußge
947f4c89cc
Fixed a win-only issue causing the gcode view not to reload on file modification
2015-10-07 18:52:18 +02:00
Gina Häußge
5f982ec6c8
Merge branch 'fix/atomicWrites' into maintenance
2015-10-07 17:53:43 +02:00
Gina Häußge
355bf784c0
Merge branch 'fix/contentTypeForDownloads' into devel
2015-10-07 17:50:26 +02:00
Gina Häußge
dcf2e51b21
Moved filemanager method tests to test_filemanager.py
2015-10-07 17:50:08 +02:00
Gina Häußge
cb8167a25a
Merge branch 'fix/atomicWrites' into devel
2015-10-07 17:45:20 +02:00
Gina Häußge
85e6ae8e82
Fixed a unit test that broke by switching to atomic_write
2015-10-07 17:45:07 +02:00
Gina Häußge
4017f96ed5
Merge branch 'fix/contentTypeForDownloads' into devel
2015-10-07 17:22:21 +02:00
Gina Häußge
859ea0d0e4
Added mime type guessing for downloads to Tornado
2015-10-07 17:19:18 +02:00
Gina Häußge
236f87ca23
Merge remote-tracking branch 'origin/devel' into devel
2015-10-07 12:29:11 +02:00
Gina Häußge
b458759159
Merge branch 'fix/wrongEtagForDownloads' into devel
2015-10-07 12:25:52 +02:00
Gina Häußge
9cf21aa036
Also set caching headers for downloads to discourage client-side caching
...
At least if necessary (added new boolean flag to the constructor of
LargeResponseHandler for that). While at it also rename UrlForwardHandler
to UrlProxyHandler (it does not forward, it proxies) and make it aware of
ETag and Expires headers.
2015-10-07 12:25:25 +02:00
Mark Walker
3aa4c8f6c6
Add S255 parameter to M106 for "Fan On"
...
Bit of a debate with some gcode purists. RepRapPro demands an S
parameter. Adding S255 should be backward compatible with the firmwares
that recognize M106 as full on. As with other issues, it'd be nice to
have something more to go on here than the reprap wiki and firmware
source code.
2015-10-06 14:07:08 -07:00
Gina Häußge
60ce959909
Merge branch 'fix/atomicWrites' into devel
2015-10-06 18:41:04 +02:00
Gina Häußge
78d8c18a82
Merge branch 'fix/wrongEtagForDownloads' into devel
2015-10-06 18:40:55 +02:00
Gina Häußge
637adc3095
Fix: LargeResponseHandler was wrongly caching ETag value
...
ETag values returned with download responses were cached internally within
the LargeResponseHandler class, with the file's path as key. That let to
problems once the content changed and hence the ETag value actually
becoming invalid. Since the path however stayed the same, the same ETag
value for the modified file was assumed and a 304 Not Modified response
was generated.
This patch changes the behaviour of LargeResponseHandler to use
the last modified date of the file as the ETag value and alternatively allowing
an etag generator function to be provided as constructor parameter as well
to use for calculating (or disabling) the ETag header dependant on the
situation.
2015-10-06 18:19:53 +02:00
Gina Häußge
548f976d35
Some more defensive escaping for various settings in the UI
...
Entering HTML fragments into the webcam stream URL could cause
issues, anything injected via Jinja should now be escaped properly.
2015-10-06 13:41:54 +02:00
Gina Häußge
a6c21c4985
Merge branch 'fix/utf8BomResilience' into devel
...
Conflicts:
src/octoprint/static/js/app/dataupdater.js
src/octoprint/util/comm.py
2015-10-05 19:58:01 +02:00
Gina Häußge
45c92cb1f4
Fix: Open GCODE files als utf-8, replacing encoding errors
...
Also detect files that contain a BOM and strip it.
Internal handling of GCODE file contents switched to unicode.
Should take care of #1077
2015-10-05 19:43:40 +02:00
Gina Häußge
f83d5aa89f
Fix: Use atomic writes for all save processes
...
That includes uploaded files, profiles, caching files, settings and user
directories.
2015-10-05 18:07:43 +02:00
Nicanor Romero Venier
c050f6a467
Merge branch 'dev/dynamicMaxTemp' into devel
2015-10-05 16:04:08 +02:00
Gina Häußge
abf073340f
Fixed reporting of duration needed for capturing timelapse postroll
...
Needs to be calculated differently for time based and z-triggered. Capture interval
was not taken properly into account.
(cherry picked from commit 9284ff4 )
2015-10-02 18:22:44 +02:00
Gina Häußge
918ffa2557
Refactored timelapse core
...
Capturing is now queue based, rendering will not start until all images have been captured,
and timed postroll does not depend on system time anymore.
Also refactored some of the names to be python naming compliant while at it.
(cherry picked from commit 4f5dc70 )
2015-10-02 18:18:31 +02:00
Gina Häußge
e9074e127e
Added a couple of changelog entries
2015-10-02 18:13:40 +02:00
Gina Häußge
9284ff4086
Fixed reporting of duration needed for capturing timelapse postroll
...
Needs to be calculated differently for time based and z-triggered. Capture interval
was not taken properly into account.
2015-10-02 15:14:05 +02:00
Gina Häußge
5644b5dc01
clientlib: Fixed some refactoring errors still referring to exports var
...
Closes #1079
2015-10-02 14:26:51 +02:00
Gina Häußge
a28198edef
Timelapse API couldn't yet cope with JSON requests
2015-10-02 13:16:58 +02:00
Gina Häußge
874ebde069
Fix: make a deep copy of temp profiles and terminal filters
...
Otherwise changes to the observable will write into the last received values,
making the changes undetectable.
2015-10-02 10:18:30 +02:00