Gina Häußge
3ebf5e5240
Merge branch 'devel' into dev/pluginLifecycleMgmt
...
Conflicts:
src/octoprint/plugin/core.py
2015-04-01 11:02:05 +02:00
Gina Häußge
66e3ee28b6
Started work on plugin lifecycle management
...
Plugins may be loaded, unloaded, activated and deactivated. Errors while trying to load a plugin or initializing an implementation will only result in it staying deactive but registered in the system, allowing it to be further processed e.g. by a plugin manager
2015-04-01 10:55:13 +02:00
Gina Häußge
8a41cef00b
[Doc] Restructured the plugins section so it makes more sense
2015-03-31 20:08:32 +02:00
Gina Häußge
5c228e6071
[Doc] Big overhaul of TemplatePlugin docs & component ordering
2015-03-31 18:23:18 +02:00
Gina Häußge
8a3993ca59
To determine order of template components, first use user order, then default order, then type ordering
...
Also moved suffix calculation for template keys into _process_template_config
2015-03-31 18:22:38 +02:00
Gina Häußge
c9f5476588
Settings now allow providing a custom "config" dict to work on
...
Can be used to always retrieve the defaults (by providing an empty config dict) or to utilize the get method with other settings than the system settings.
2015-03-31 18:20:44 +02:00
Gina Häußge
2d54ab5fcf
Fix: identifer => identifier (is it really that hard to type foosel?)
2015-03-30 22:08:49 +02:00
Gina Häußge
86cd162784
Fix: get_implementations now returns a list instead of a dict
2015-03-30 22:03:36 +02:00
Gina Häußge
8ff0096eb6
Fix & Docs: Plugins may only have one mixin implementation
...
Multiple mixins are allowed of course. Allowing multiple implementations lead to too many problems due to plugin names for referring to the APIs of SimpleApiPlugins or the assets of AssetPlugins.
Hence __plugin_implementations__ has been deprecated in favor of __plugin_implementation__. The plugin subsystem will automatically copy the first implementation from __plugin_implementations__ to __plugin_implementation__ and log a deprecation warning.
Adjusted documentation accordingly. Also added docs for helpers.
2015-03-30 16:50:06 +02:00
Gina Häußge
79336ca108
Fix: Improved handling of data coming in from the printer
...
Hopefully closes #829
2015-03-30 13:15:52 +02:00
Gina Häußge
2fa0673e0b
Fix: javascript custom controls should now work again
2015-03-27 17:10:48 +01:00
Gina Häußge
d62ac5239b
[Doc] PluginSettings.getFoo -> PluginSettings.get_foo, also fixed an example for settings preprocessors
2015-03-27 11:18:55 +01:00
Gina Häußge
9b3daeea01
Exception.message => str(Exception)
2015-03-26 12:04:05 +01:00
Gina Häußge
fb2719ce8a
[Doc] let's see if moving the figures out of the tables solves the PDF issue
2015-03-26 10:55:51 +01:00
Gina Häußge
45bf398494
[Docs] Added an example for octoprint.comm.protocol.action handler
...
Used same example to illustrate hook handlers within mixin implementations.
2015-03-25 19:30:49 +01:00
Gina Häußge
974e19fa3a
Removed version numbers from bundled plugins
...
Missing version numbers will not be displayed as "(unknown)" anymore, and bundled plugins don't necessarily need their own version.
2015-03-25 18:56:59 +01:00
Gina Häußge
954397b6a6
Changed logging of plugin subsystem slightly
...
Detected plugins are now logged in a better readable way and with additional information.
Also marked folder for bundled plugins as bundled - forgot to do that earlier.
2015-03-25 18:56:11 +01:00
Gina Häußge
c6e4057add
[Docs] Documented octoprint.comm.protocol.gcode hook
...
Experimenting with including examples stored on github, let's see if RTD likes that.
2015-03-25 18:24:51 +01:00
Gina Häußge
af7d2bb8c7
Utilize adaptive interval for temperature and sd status polling
...
This way user adjustments to those timeouts via the settings
will take immediate effect even while the connection to the
printer is already established.
2015-03-25 17:27:59 +01:00
Gina Häußge
50862668b1
RepeatedTimer now allows adaptive interval and dynamic loop condition
2015-03-25 17:24:12 +01:00
Gina Häußge
18dd1659da
Fixed a typo in the RepeatedTimer docs
2015-03-25 16:52:09 +01:00
Gina Häußge
1c1e6b45b6
Added RepeatedTime class to use for repeated tasks
...
Utilizing it for temperature and sd status polling in comm.py
2015-03-25 16:48:30 +01:00
Gina Häußge
97c8c7826c
[Docs] Documented AppPlugins
2015-03-23 18:15:18 +01:00
Gina Häußge
05c11911fb
[Docs] Plugin and PluginInfo docs now includes members, OctoPrintPlugin now includes ref to base class
2015-03-20 11:33:54 +01:00
Gina Häußge
05f6425a53
Fixed some documentation and implementation details on the slicing API
2015-03-19 21:03:28 +01:00
Gina Häußge
f2eeb50381
Lots of documentation for slicing related things and some refactorings
2015-03-19 20:58:24 +01:00
Gina Häußge
c12b0f5fee
Removed auto slicing of STLs from watchdog
...
Easier to trigger via the UI
2015-03-19 20:56:03 +01:00
Gina Häußge
71fedd3be4
Fix: Don't duplicate for submission in cura profile importer
2015-03-19 20:55:32 +01:00
Bryan Mayland
8a3fb2ac00
Fix inability to set printer profile extruder feedrate from settings UI
2015-03-19 09:28:23 -04:00
Gina Häußge
87acd4c555
Fix: don't die during locale selection if access control is disabled
2015-03-19 09:31:13 +01:00
Gina Häußge
b35ee6d3db
Well... apparently it does work after all, re-enabling
2015-03-18 16:50:40 +01:00
Gina Häußge
67fcb0c1a0
Disabled not working qr code in user settings again
2015-03-18 16:48:29 +01:00
Gina Häußge
c51c45b46d
Better handling of callbacks for /api/users/... calls
2015-03-18 16:44:22 +01:00
Gina Häußge
728951cb55
Merge branch 'devel' into dev/userlanguage
2015-03-18 16:27:21 +01:00
Gina Häußge
aa0e7a6dd3
Fixed `/api/printer` which wasn't adapter yet to new internal offset data model
2015-03-18 15:54:06 +01:00
Gina Häußge
ddb588e751
Language settings now work, both global and per user
...
Still need to test if reload of current user settings works upon change of those.
2015-03-18 15:49:29 +01:00
Gina Häußge
7b9e3efea1
Removed /dev/ttyAMA* from serial ports added by default to connection list
...
Added additional ports configuration to settings to make it easier for people who actually need that port in the selection to add it back.
2015-03-18 12:08:21 +01:00
Gina Häußge
590bff696b
Also allow plugins to extend gcode scripts which are empty
2015-03-18 11:32:55 +01:00
Gina Häußge
f98ebaafee
WIP on introducing user settings (incl. interface language)
2015-03-18 11:30:08 +01:00
Gina Häußge
7bd83e7ef3
Merge branch 'devel' into dev/userlanguage
...
Conflicts:
src/octoprint/users.py
2015-03-16 12:48:48 +01:00
Gina Häußge
f79e361823
Merge branch 'dev/tornadoTimeFunc' into devel
2015-03-16 12:40:10 +01:00
Gina Häußge
89fba67eb0
Added X-Clacks-Overhead header to commemorate Sir Terry
...
For as long as his name is still passed along the Clacks,
Death can't have him.
-- "Going Postal", Chapter 4 Prologue
RIP Terry Pratchett
See also http://gnuterrypratchett.com/
2015-03-16 10:41:04 +01:00
Gina Häußge
57de36a9d3
Monkey patching tornado to backport tornadoweb/tornado#1290
...
Should hopefully help with freezing/blocking issues upon first connect with the net on the Pi, more tests needed.
2015-03-16 10:19:03 +01:00
Gina Häußge
91b9fb3e3f
Added proper form validation to printer profile editor to the UI
...
Closes #809
2015-03-13 15:49:35 +01:00
Jarek Szczepanski
5cadfb5a09
Simple alert when try to overwrite existing printer profile
2015-03-13 10:08:58 +01:00
Gina Häußge
1f559049c6
Merge branch 'devel' into dev/tornadoTimeFunc
2015-03-12 19:20:17 +01:00
Gina Häußge
7995858124
Merge remote-tracking branch 'origin/devel' into devel
2015-03-12 17:27:57 +01:00
Gina Häußge
699f7b5278
More work on custom controls
...
Added a lot of documentation, more stream lining, should now work completely without having to define types but offer the same/more functionality than before. Backwards compatible too.
2015-03-12 17:23:55 +01:00
Gina Häußge
22c73d831a
More cleanup for the feedback controls
...
Preprocessing for better performancy, unit tests for preprocessing, controls don't need a type anymore (makes things way less complicated and repetitive)
2015-03-10 21:49:18 +01:00
Teja
16e63824f1
made dwelling (G4 P...) commands more tolerant.
...
Conflicts:
src/octoprint/util/comm.py
2015-03-10 19:20:35 +01:00