Gina Häußge
09ecd68fde
Parametric commands for custom controls can now define sliders instead of input fields
2015-02-22 22:19:43 +01:00
Gina Häußge
60a747620c
Bit more error resilience for the gcode viewer ui elements
2015-02-22 21:49:33 +01:00
Gina Häußge
4abcf1054b
Added controls for changing feed and flow rate factors to Controls tab
...
Closes #362
2015-02-22 21:20:56 +01:00
Gina Häußge
e476e4154e
Added custom control type for rows of controls
...
This allows horizontal placement of buttons. Custom controls in rows can have specified two new attributes: width which is the width of their container in the bootstrap 12-slot grid, and offset to specify offsets to the former control on the row.
2015-02-22 16:42:26 +01:00
Gina Häußge
ad23c88347
Merge remote-tracking branch 'origin/devel' into devel
2015-02-20 19:02:00 +01:00
Marcel
61c4a8b635
Error messages show the proper name of the objects
...
Just try to figure out why some binding wasn't working on my version and came out with this small change
2015-02-18 12:07:36 -08:00
Gina Häußge
28738a5179
More documentation and unit tests
2015-02-18 17:16:37 +01:00
Gina Häußge
3c33401b48
GCODE viewer: Only try to instantiate sliders if their elements are available
2015-02-17 13:51:34 +01:00
Gina Häußge
9aa45041f6
View models can now implement getAdditionalControls to add controls to the control tab
...
Controls may now contain a new property "javascript" which may be either a javascript function to be called when the control is executed, or a string to be eval'd when the control is executed. If it is a function, it will be called with the config of the custom control as single parameter "data". If it is a string it will be eval'd within a function context providing the custom control configuration as variable data.
Additionally controls may contain a new property "enabled", which may also be either a javascript function or a string to be eval'd. The custom control config will be available to the enabled code as described above. The code is expected to return true if the component should be enabled or false if not.
2015-02-17 13:51:05 +01:00
Gina Häußge
eb4156c02e
Directly update color coding for success/failure in file list after finishing a print job
2015-02-10 10:55:47 +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
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
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
f4df354cd0
Removed left overs from former cura integration
2015-01-28 15:36:44 +01:00
Артем Груничев
344a505903
Icons at Action column in Access Controll settings page are now wrapped correctly with any translation language; regenerated .css file according to .less one.
2015-01-26 17:24:37 +03:00
Gina Häußge
9cefd06655
Added missing pagination for printer profiles
2015-01-22 17:57:25 +01:00
Gina Häußge
ac549770ee
Move onStartup call to before any bindings getting applied
2015-01-22 16:56:42 +01:00
Gina Häußge
5180fc70d2
Changed how TemplatePlugin works
...
get_template_vars get split into get_template_vars (for injection additional template variables only) and get_template_configs (for configuring injection of additional template). It's now possible to inject more than one of a given template type from within plugins, and template injection is more intelligent in that if a plugin's templates don't need special configuration and stick to default naming and behaviour, just declaring them inside the templates directory of the plugin will be enough to fire up everything including links to switch to tabs, sidebars etc (the plugin's name being used in such cases for link text).
2015-01-16 11:54:34 +01:00
Gina Häußge
23387d6e48
More work on the template refactoring and new template plugin types
2015-01-15 11:06:59 +01:00
Gina Häußge
f9fd4f9009
WIP: refactoring of templates
2015-01-13 18:20:13 +01:00
Gina Häußge
f238ef40ec
Better error validation for printer profiles
...
Data types loaded from disk were not properly ensured to match expected types and input validation also had deficits.
Should fix #714
2015-01-12 15:07:14 +01:00
Gina Häußge
2ba681573f
Key controls are now enabled when you mouse over the webcam picture, indicated by an overlay
...
Also moved key control help in that overlay
2015-01-12 09:40:45 +01:00
Gina Häußge
edafee7b22
Added setting to enable/disable the keycontrol feature
2015-01-12 09:37:52 +01:00
Gina Häußge
52056b0eeb
Merge branch 'devel_keycontrol' of https://github.com/nEuDy/OctoPrint into nEuDy-devel_keycontrol
...
Conflicts:
src/octoprint/static/css/octoprint.css
2015-01-10 13:56:51 +01:00
Gina Häußge
103e0796b7
Request available slicers and slicing profiles from backend asynchronously when opening the slicing dialog
...
Should make sure that slicers and new profiles are detected correctly even without reload.
Could maybe help with #689
2014-12-21 15:57:23 +01:00
Gina Häußge
1180cac147
Fixed heated bed option not being properly displayed in printer profiles
...
Fixes #683
2014-12-19 10:01:00 +01:00
Gina Häußge
270231a004
Fixed extruder offsets not being properly editable in printer profiles
...
Closes #677
2014-12-19 09:54:11 +01:00
Gina Häußge
c2f0f6c7c4
[i18n] Translation update
2014-12-18 15:15:23 +01:00
Gina Häußge
c7afae38a8
Rolled back appearance settings
...
Associating them with the current printer profile is misleading as long as a printer profile represents both a physical printer and a type machine. In the future this association will have to be split, to allow for configuration of printers with respective machine profiles (name subject to be changed).
2014-12-18 13:48:19 +01:00
Gina Häußge
f2562500a3
Print time estimation is now not displayed until it becomes somewhat stable
2014-12-12 23:38:57 +01:00
Gina Häußge
d67ea41032
Fixed jog controls
...
Closes #664
2014-12-11 16:10:50 +01:00
Gina Häußge
f7f70108bc
Make sure the printer profile fields are all of the correct type during validation
2014-12-05 12:20:35 +01:00
Gina Häußge
a2314a9ab3
Fixed URL endpoint for printer profile API, it's supposed to be "api/printerprofiles", not "api/printerProfiles"
2014-12-05 11:52:27 +01:00
Gina Häußge
e1b071c0d8
Removed old printer parameter and appearance settings and added auto migration of config
2014-12-05 11:46:55 +01:00
Gina Häußge
aba8a57fa5
Added possibility to say to select or directly a file right after slicing it finished, both to the API and the UI
2014-12-04 18:06:35 +01:00
Gina Häußge
a149cdc4f5
Added the nozzle diameter to the printer profile (needed for slicing, cura plugin uses it too)
2014-12-02 12:41:25 +01:00
Gina Häußge
2ea1b9df6c
Fully switched to printer profiles
2014-12-02 11:30:00 +01:00
Gina Häußge
05e54fa0c6
Internal representation for extruder offsets changed, adjusted gcode viewer view model to be able to cope
2014-12-01 16:36:08 +01:00
Gina Häußge
0203e6da31
More work on the printer profiles, connection dialog and Settings dialog are now working. GCODE viewer makes trouble
2014-12-01 16:26:55 +01:00
Gina Häußge
93a852e6ea
WIP: Printer profiles & management now functional, but integration with connection dialog still broken
...
The API documentation is also still missing.
2014-11-29 20:55:30 +01:00
Gina Häußge
985b0970f1
More work on the printer profiles
2014-11-29 12:32:55 +01:00
Gina Häußge
a56ddb9ebe
WIP commit, probably a tad bit broken ;)
2014-11-28 11:29:38 +01:00
Gina Häußge
1957d2bb58
WIP First work towards printer profiles
2014-11-28 09:32:44 +01:00
Gina Häußge
183a8feed4
Plugins can now push messages via the websocket as well
2014-11-25 09:08:33 +01:00
Gina Häußge
acd6f729f0
Wait at least 5s before reloading the UI
2014-11-20 12:16:59 +01:00
Gina Häußge
f3f640c24f
On reconnect to server, check if the version changed and if so hard-reload the UI
2014-11-19 09:16:37 +01:00
Gina Häußge
a677ffc90e
Only bind additional view models from plugins if they specify a target to bind to
2014-11-19 09:03:11 +01:00
Gina Häußge
4b9cd490ab
Merge branch 'updateSettingsModal' of https://github.com/Booli/OctoPrint into Booli-updateSettingsModal
2014-11-12 11:26:23 +01:00
Gina Häußge
9709b97adf
GCODE viewer now doesn't stumble over completely extrusionless GCODE files
2014-11-08 15:27:03 +01:00