Teja
7b92fb27c0
bugfix. initialize counter for plugins of type generic.
2015-02-07 19:23:07 +01:00
Teja
0e829e8e9d
laser safety notes appear and are closable
2015-02-07 19:19:26 +01:00
Teja
e4cc81d643
updated safety plugin
2015-02-06 17:16:13 +01:00
Teja
4dc1c2cdad
fixes keyerror when using generic template plugins
2015-02-06 16:12:22 +01:00
Gina Häußge
be9021d377
Some more unit tests for the plugin manager
2015-02-05 19:20:51 +01:00
Gina Häußge
ec7feb1a3c
Possible workaround for OctoPrint stalling when a clock change happens while it is running
2015-02-05 11:12:03 +01:00
Gina Häußge
70a75863ab
Rudimentary multi pass dependency resolution for view models
...
Largely based on a patch by @mrbeam - big thanks for that!
Conflicts:
src/octoprint/static/js/app/main.js
2015-02-04 10:51:39 +01:00
Gina Häußge
63f7b21f5b
Fall back to unmodified default profile if the overridden version is invalid
2015-02-04 10:01:59 +01:00
Gina Häußge
e899050517
Rudimentary multi pass dependency resolution for view models
...
Largely based on a patch by @mrbeam - big thanks for that!
2015-02-03 22:23:32 +01:00
Teja
7e8491804f
primitive dependency resolving while instanciating plugins viewmodels
2015-02-03 19:12:47 +01:00
Gina Häußge
d8dffc9dd3
Fall back to unmodified default profile if the overridden version is invalid
2015-02-03 11:46:30 +01:00
Gina Häußge
5a68d26d59
We now depend on sarge >= 0.1.4
2015-02-03 11:45:26 +01:00
Gina Häußge
d5abf3f0f5
Merge remote-tracking branch 'origin/devel' into devel
2015-02-03 10:18:31 +01:00
Gina Häußge
9a476073cb
Made call_plugin method more error resilient
...
Should catch any exceptions thrown by the plugin, log them and only hand them off if the caller requested to be informed about such things. This way if something goes wrong with a StartupPlugin there should be no problem anymore to still get the server up and running.
2015-02-03 10:17:39 +01:00
Teja
f6a3cf9821
bugfix. $H at the beginning of the print results in "invalid GCode ID33 when hitting a G02/03 command. WTF ? grbl bug?
2015-02-02 13:14:15 +01:00
Teja
b68f613849
bugfix. don't send M02 after print end / cancel to leave working coordinates as they are.
2015-02-02 11:45:04 +01:00
Teja
bccd87f6dc
improvements when just starting a single gcode file.
2015-02-02 11:27:26 +01:00
Teja
ccee370d4f
bugfix. if only gco files are placed on the working area, don't overwrite their sources when joining them.
2015-02-01 19:51:15 +01:00
Gina Häußge
21dd31b0fd
Fixed a bug causing gcodeInterpreter to hiccup on GCODES containing invalid coordinates such as Xnan or Yinf, causing in turn the file API to fail until the offending file was deleted and its metadata removed
2015-02-01 17:37:11 +01:00
Gina Häußge
2da952e7ff
Merge remote-tracking branch 'origin/devel' into devel
2015-02-01 17:27:53 +01:00
Gina Häußge
ce363ce409
Fixed a bug causing gcodeInterpreter to hiccup on GCODES containing invalid coordinates such as Xnan or Yinf, causing in turn the file API to fail until the offending file was deleted and its metadata removed
2015-02-01 17:27:12 +01:00
Gina Häußge
2523cf81ba
Merge pull request #752 from Diaoul/patch-1
...
Fix logger call for gcode multi commands events
2015-02-01 12:59:56 +01:00
Teja
2800f53448
auto-sending machine specific headers / footers
2015-02-01 12:34:32 +01:00
Teja
2c37cd589a
small bugfix. ensure laser is off between gcode files
2015-02-01 11:53:28 +01:00
Teja
b7ea00ebac
mix of svg and gcode files works
2015-02-01 11:34:58 +01:00
Antoine Bertin
8a61e4517f
Fix logger call for gcode multi commands events
2015-02-01 11:05:37 +01:00
Gina Häußge
cc9e495042
Extracted common CSS styles for action button columns in various tables into LESS mixin
...
.actioncol now sets text align to center, color of contained links to black and disables wrapping on whitespace (thanks to @Renha for that one)
2015-01-31 17:10:32 +01:00
Gina Häußge
8f8b66fbff
Merge pull request #742 from Renha/devel
...
Fixed wrapping of Icons at Action column in Access Controll settings page
2015-01-31 16:36:58 +01:00
Teja
20927ad862
bugfix. remove updates list
2015-01-31 11:36:27 +01:00
Teja
7aa59e5763
initial design lib tab. adding and removing svgs works.
2015-01-31 01:34:49 +01:00
Teja
16b721ede3
fixed some matrix mess in the gcode preview
2015-01-30 23:16:39 +01:00
Gina Häußge
8bfa3ef250
Adjusted discovery plugin to new blueprint and settings functionality for plugins
2015-01-30 22:22:39 +01:00
Gina Häußge
17d0b17a86
Blueprints of BlueprintPlugins now also get instantiated with defined template and static folder, plugins may override this via get_blueprint_kwargs
2015-01-30 22:22:08 +01:00
Gina Häußge
2f5e955367
Fixed an issue causing slicing not to work due to a change in how the used sarge library works
...
Starting commands asynchronously now necessitates a call to Pipeline.wait_events in order to be able to access the started Command instances. Not waiting causes the list of commands to be not fully populated and hence issues with code depending on that stuff being present.
2015-01-30 21:47:48 +01:00
Teja
369a59e24a
workaround for corrupt metadata file. bugfixes in the gcode preview
2015-01-30 20:04:47 +01:00
Gina Häußge
6f52e7a008
More error resilience when (re)loading plugins
2015-01-30 18:06:52 +01:00
Gina Häußge
86734076e0
Fixed a bug which caused self.implementations to be able to return None instead of [] if no implementations were provided by a plugin
2015-01-30 18:04:15 +01:00
Gina Häußge
e6a0019cc7
Forgot to commit an image for the documentation
2015-01-30 13:56:41 +01:00
Gina Häußge
6b6bef4e86
First inject static additional injects, then follow up with factory created ones
...
This way plugins are already prepopulated with stuff like basefolder and logger and such when the factories are executed.
2015-01-30 13:56:18 +01:00
Gina Häußge
998420312e
Adjusted CuraPlugin to use new blueprint and settings mechanisms for plugins
2015-01-30 13:24:34 +01:00
Gina Häußge
d3bd990009
The plugin system now also injects self._settings into SettingsPlugins and create the blueprint for BlueprintPlugins
...
Also adjusted a lot of documentation for that stuff and continued writing the Getting Started guide for plugin development.
2015-01-30 13:22:35 +01:00
Gina Häußge
e1e47abfbe
Fixed selecting the first dialog in the settings dialog upon first opening it
2015-01-30 09:28:41 +01:00
Teja
8bc350fa8e
hacked the gCodeViewer to render into our svg preview
2015-01-29 20:45:41 +01:00
Teja
3746ecd17b
bugfix. don't send move commands while printing state
2015-01-29 18:06:26 +01:00
Teja
73da6e57de
bugfix. correct slider value for feedrate
2015-01-29 17:57:46 +01:00
Teja
b837975805
bugfix. () in filenames are stripped by svg id generation.
2015-01-29 17:36:00 +01:00
Teja
9bd5a71875
code cleanup, svgDPI introduced in settings
2015-01-29 17:21:18 +01:00
Gina Häußge
8c2214fc09
Ordering of injected templates decoupled from template content
...
Internal templates get handled the same way as those from plugins. Plugins may also in theory now replace existing internal templates, however for that to not cause any errors on the client side due to missing expected elements that will for now stay an undocumented feature.
2015-01-29 16:39:09 +01:00
Gina Häußge
250d71b580
Added server side caching of main page
...
Index page will now be cached for up to five minutes, unless the
request contains "_refresh" in the query or the Cache-Control header
contains no-cache
2015-01-29 16:37:20 +01:00
Gina Häußge
151864f1d4
Always send responses to POST requests with Cache-Control: no-cache
2015-01-29 16:36:08 +01:00