Gina Häußge
df5a6e42d7
Docs for additions to slicing event payload
2016-06-28 12:58:31 +02:00
Gina Häußge
b41c1d89f4
Docs for octoprint.printer.factory hook
2016-06-28 12:58:08 +02:00
Gina Häußge
3b2af5b7ed
Fix settings unit tests
2016-06-28 10:57:51 +02:00
Gina Häußge
b5cce6d41f
Merge branch 'devel' into dev/settingsOverlays
...
Conflicts:
src/octoprint/settings.py
2016-06-28 10:44:18 +02:00
Gina Häußge
73ba5b05a9
Add unit tests for settings
2016-06-28 10:29:05 +02:00
Gina Häußge
b39bb4c961
Move get_connection_options as classmethod into PrinterInterface
2016-06-27 12:19:28 +02:00
Gina Häußge
8b4d59f904
Merge branch 'devel' into dev/settingsOverlays
2016-06-24 14:59:36 +02:00
Gina Häußge
cf496662e9
If plugin is not enabled/installed, skip preemptive caching
2016-06-24 14:59:25 +02:00
Gina Häußge
3258b4b7f0
Fix processing of settings if there are no overlay maps
2016-06-24 14:57:52 +02:00
Gina Häußge
4070702931
Fix error in deep_dict when settings substructure defaults to None
2016-06-24 14:42:55 +02:00
Gina Häußge
3893b700f6
Merge branch 'devel' into dev/settingsOverlays
2016-06-24 14:31:41 +02:00
Gina Häußge
7ed71fad28
Improved request and preemptive caching
...
* UiPlugins may now disable preemptive caching
* Preemptive cache recording will also be disabled when preemptive caching
is disabled according to settings (so far only execution on startup was prevented
then)
* Preemptive cache forces configured view. E.g. if plugin "someplugin" was recorded
in the preemptive cache, a custom context now makes sure that only that this view
will be cached even if request parameters are hard to define to get routing to work
correctly for an alternative UI
2016-06-24 14:28:19 +02:00
Gina Häußge
0fb1a41fef
Fix ETag computation for UIPlugins
2016-06-24 12:18:13 +02:00
Gina Häußge
f8a4d73c30
Also detect editable plugins installs as managable
2016-06-24 11:06:23 +02:00
Gina Häußge
4398931b5c
Normalize paths for sub path testing in pluginmgr
2016-06-24 09:23:53 +02:00
Gina Häußge
e5b8fdf0f4
Fix plugin settings cleanup
...
"only_local" was not properly evaluated
when retrieving full settings tree for
config diffing and minimal persistance
in SettingsPlugin.
That lead to overlay settings making their
way into config.yaml.
2016-06-23 17:51:46 +02:00
Gina Häußge
4dafa6704d
Fix processing of overlays with plugin defaults
2016-06-23 16:14:28 +02:00
Gina Häußge
c693bce761
Plugins with settings overlay need restart
2016-06-23 16:13:49 +02:00
Gina Häußge
19ff9ac664
Allow plugins to define settings overlays
2016-06-23 13:54:14 +02:00
Gina Häußge
9131b3edd6
Allow defining a class on confirmation dialog
2016-06-23 11:26:51 +02:00
Gina Häußge
c879ae4099
Allow adding a settings overlay
2016-06-23 11:25:57 +02:00
Gina Häußge
34842d4312
Use ChainMap for settings
2016-06-22 15:22:47 +02:00
Gina Häußge
7d3440b744
Set user manager on components dict for plugins
2016-06-22 13:45:17 +02:00
Gina Häußge
bf6ce92be2
Add location for gcode and stl to slicing events
2016-06-21 17:47:41 +02:00
Gina Häußge
4e60c9ff49
Added file type path to file manager response
2016-06-21 17:34:30 +02:00
Gina Häußge
b32c231c47
Merge branch 'maintenance' into devel
...
Conflicts:
CHANGELOG.md
src/octoprint/plugins/virtual_printer/virtual.py
src/octoprint/static/js/app/viewmodels/gcode.js
2016-06-21 16:10:02 +02:00
Gina Häußge
f20fdfd4db
Add octoprint.printer.factory hook
2016-06-21 15:57:28 +02:00
Gina Häußge
6c20e58529
Handle browsers w/o support for visibility tracking
2016-06-16 12:10:14 +02:00
Gina Häußge
611c1ccf4a
Disable GCODE viewer if browser is unsupported
2016-06-16 12:08:46 +02:00
Gina Häußge
397f762182
Don't trigger initial passive login before viewmodels are available
...
Closes #1374
2016-06-15 17:15:57 +02:00
Gina Häußge
ad201b040d
Don't parse B: in position as bed temperature
...
Closes #1373
2016-06-15 16:27:51 +02:00
Gina Häußge
0274b0f25b
Have virtual printer report back with "B:" in line
...
Similar to Marlin with enabled COREXY. Useful for testing
parser behaviour.
2016-06-15 16:22:37 +02:00
Gina Häußge
9c89d45c10
Use print_function import + added @MirceDan to AUTHORS.md
2016-06-15 10:52:49 +02:00
MirceaDan
65c1415d4b
added () to print statements for python 3.x compatibility
...
some print already have () some did not , for consistency and
compatibility i added () to all prints.
(cherry picked from commit b601239)
2016-06-15 10:48:59 +02:00
Gina Häußge
8616bc13cb
Made optional pass flag a parameter to viewmodel factory
...
Also some minor whitespace related stuff and some comments
2016-06-15 10:41:59 +02:00
Gina Häußge
9e2f24b767
Merge branch 'devel-ko-rewrite-optional' of https://github.com/BillyBlaze/OctoPrint into pr/BillyBlaze/devel-ko-rewrite-optional
2016-06-15 09:49:21 +02:00
Gina Häußge
467cda54a4
Don't display wizard if ACL is active and user not logged in
...
Fixes #1365
2016-06-09 14:05:09 +02:00
Gina Häußge
0bb467e884
Ensure temperature graph to be properly initialized
2016-06-09 13:41:14 +02:00
Gina Häußge
de78c14ae3
Merge branch 'maintenance' into devel
...
Conflicts:
CHANGELOG.md
src/octoprint/static/js/app/dataupdater.js
src/octoprint/static/js/app/main.js
src/octoprint/static/js/app/viewmodels/files.js
src/octoprint/static/js/app/viewmodels/loginstate.js
2016-06-09 12:56:07 +02:00
Gina Häußge
685ce16c85
Preparing release of 1.2.12 (part three)
...
Forgot to add the news category of the blog to the announcement
plugin and also updated the list of patrons again.
2016-06-09 09:31:36 +02:00
Gina Häußge
d7ef60b4d2
Slight change in function definition of reused functions (JS)
2016-06-08 16:33:08 +02:00
Gina Häußge
63cec660ca
Solve a race condition that could cause 401 responses and a broken UI
...
Closes #1364 . See ticket for details.
2016-06-08 16:21:25 +02:00
Gina Häußge
4c34cb84c7
Preparing release of 1.2.12
2016-06-08 13:09:04 +02:00
Gina Häußge
5006b019af
Add events for slicing profile manipulation
...
Events SlicingProfile(Added|Modified|Deleted). Initially thought to be necessary
to properly refresh available profiles in slicing dialog, not needed for that after
all but still left in and documented, might be useful for someone.
2016-06-06 18:12:32 +02:00
Gina Häußge
4f3e4f7f38
Force rescanning of available slicing profiles for slicer on update
...
Should make newly uploaded profiles available in the slicing dialog without
having to first deselect and then reselected the current slicer.
2016-06-06 16:20:47 +02:00
Gina Häußge
db66e4afea
Merge branch 'maintenance' into devel
2016-06-02 12:05:08 +02:00
Gina Häußge
a0697f8bad
Use movie prefix for timelapse notifications
...
Also added a missing lock.
Also part of the fix for #1320
2016-06-02 12:03:57 +02:00
Gina Häußge
2833372603
Allow deletion of *.mp4 timelapse files
...
That one was missing in a00faf2 .
Fixes #1320
2016-06-02 11:11:06 +02:00
Gina Häußge
8ce1eafd5d
Properly track unrendered timelapses that are being processed
...
UI removes action buttons for them and displays a spinner
indicating that the timelapse in question is either being
recorded or being rendered at the moment.
Should prevent users from accidentally trying to render an
incomplete timelapse.
2016-06-02 10:11:54 +02:00
Gina Häußge
21a4033f73
Don't concurrently delete unrendered timelapses
...
Could trigger lots of errors if an unrendered timelapse currently
being collected was deleted from a separate thread from right
under the collection thread.
Also only log errors while processing already deleted files
if debug logging is enabled.
Finally trigger MovieDone event AFTER deleting unrendered
files (otherwise just rendered timelapse might still be present
when list of timelapses is queried right after).
Should solve #1326
2016-06-02 10:05:44 +02:00