Gina Häußge
2fac5c76d9
Fixed styling of tables in docs
2015-02-23 22:15:04 +01:00
Gina Häußge
bb0a607891
Fixed gcode and terminal view models not properly handling missing elements
2015-02-23 21:41:19 +01:00
Gina Häußge
b401d957e5
Tabs now overflow into a tabdrop instead of wrapping
2015-02-23 21:40:55 +01:00
Gina Häußge
1c931a65e7
Asset injection for core components now uses same mechanism as plugins
2015-02-23 21:40:17 +01:00
Gina Häußge
b9fd3dda7d
Added onAfterTabChange callback, fixed tab switching this way
...
Both temperature graph and terminal need to be updated AFTER the tab has been switched (onAfterTabChange) not before (onTabChange).
2015-02-23 14:55:43 +01:00
Gina Häußge
8b4b5fb058
Documented slightly changed view model registration
...
Still backwards compatible though!
2015-02-23 14:00:14 +01:00
Gina Häußge
3a41ec2e20
Refactored view models, switched from underscore to lodash
...
Also added loglevel.js to allow for level based logging and added sprintf.js separately
2015-02-23 13:54:40 +01:00
Gina Häußge
cc975f77aa
Removed broken source map links in jquery.min.js and underscore-min.js
...
Should get rid of *.min.map 404s
2015-02-23 10:43:44 +01:00
Gina Häußge
81ef3d1e02
Fixed new slider controls
...
Needed proper observables to work
2015-02-22 22:26:05 +01:00
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
4829c21db7
Merge branch 'master' into devel
2015-02-22 16:03:08 +01:00
Gina Häußge
d974ab0979
Forgot a changelog entry (again)
...
(cherry picked from commit 2111a06 )
2015-02-22 15:38:44 +01:00
Gina Häußge
2111a06ce3
Forgot a changelog entry (again)
2015-02-22 15:37:37 +01:00
Gina Häußge
89d972ff40
Always make sure to (re)set file position to the beginning when starting SD card prints
...
Closes #780
(cherry picked from commit 5c35a28 )
2015-02-22 15:24:48 +01:00
Gina Häußge
5c35a288a3
Always make sure to (re)set file position to the beginning when starting SD card prints
...
Closes #780
2015-02-22 15:15:45 +01:00
Gina Häußge
ad23c88347
Merge remote-tracking branch 'origin/devel' into devel
2015-02-20 19:02:00 +01:00
Gina Häußge
f60435aca4
Also allow downloading of STL files from server
2015-02-20 19:01:14 +01:00
Gina Häußge
578f77a411
Merge pull request #775 from matobago/patch-1
...
Error messages show the proper name of the objects
2015-02-18 22:03:14 +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
258b824ff8
self._printer in plugins now allows direct access to the transport object (serial instance in most cases)
2015-02-17 21:53:45 +01:00
Gina Häußge
7438ba1eea
Merge remote-tracking branch 'origin/devel' into devel
2015-02-17 14:26:52 +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
56bce984fa
Merge pull request #673 from fjriosp/reconnect_fix
...
BugFix to Reconnect on Debian
2015-02-17 09:42:42 +01:00
Gina Häußge
6cdd8de248
docs: Fixed a wrong reference
2015-02-13 15:50:09 +01:00
Gina Häußge
197ed7b912
More documentation
2015-02-13 12:50:02 +01:00
Gina Häußge
7de90e16f6
And of course I forgot a file again and overlooked a typo...
2015-02-12 13:34:57 +01:00
Gina Häußge
cad4e2f6dc
Update some line numbers
2015-02-12 13:31:12 +01:00
Gina Häußge
4d5443ed6b
Finalized plugin tutorial (for now)
2015-02-12 13:29:00 +01:00
Gina Häußge
00760ef1b3
If plugins only provide LESS or CSS files, they should still be properly included in the page regardless of stylesheet mode
...
Up until now OctoPrint would not include anything for plugins which didn't provide LESS files but CSS files when in LESS mode (and vice versa). This is not rectified to make development a bit easier and less restrictive - if a plugin author doesn't want to use LESS but just plain CSS, that's now fine too.
2015-02-12 13:28:37 +01:00
Gina Häußge
65557f670a
Fixed copy paste error from way back
2015-02-11 12:26:18 +01:00
Gina Häußge
9cdb273cbc
Tooltips for the serial connection settings
2015-02-11 12:22:41 +01:00
Gina Häußge
4fede5a9c6
Merge remote-tracking branch 'origin/master'
2015-02-10 18:41:24 +01:00
Gina Häußge
7971bc91b2
Always send commands with checksum when printing
...
(cherry picked from commit 3ee745d )
2015-02-10 18:40:41 +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
faccba1c86
Fix the system menu again (stupid comma...)
2015-02-09 21:43:15 +01:00
Gina Häußge
d3a00fc887
Properly disable UI elements again after change in templating
2015-02-09 16:12:07 +01:00
Gina Häußge
5c756768c8
Merge pull request #759 from mrbeam/vanilla_devel
...
bugfix. initialize counter for plugins of type generic.
2015-02-07 21:15:47 +01:00
Teja
7b92fb27c0
bugfix. initialize counter for plugins of type generic.
2015-02-07 19:23:07 +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
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
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
Gina Häußge
2da952e7ff
Merge remote-tracking branch 'origin/devel' into devel
2015-02-01 17:27:53 +01:00