Gina Häußge
29e2bbd2a7
Undo: Changes to make behaviour on mobile safari better caused issues with everything else
2015-04-15 15:30:11 +02:00
Gina Häußge
d58a2fd4c6
Renamed temperature and SD status timeout to interval
2015-04-15 14:19:41 +02:00
Gina Häußge
5804825dc3
Fix: Made initial connection to printer a bit more responsive
...
Having to wait for the first serial timeout before sending the first M105 even when not waiting for seeing a "start" caused unnecessary wait times for reaching the "Operational" state.
2015-04-15 09:14:36 +02:00
Gina Häußge
24495d046f
Renamed temperature and SD status timeout to interval
2015-04-15 09:04:54 +02:00
Gina Häußge
e8c085b89c
Removed dependency on monotime (accidental leftover)
2015-04-13 18:22:26 +02:00
Gina Häußge
41c10a759a
Better behaviour of the settings dialog on low-width devices
...
Navigation and content also now scroll independently from each other.
Compare #823 .
2015-04-13 17:33:06 +02:00
Gina Häußge
dd3455d598
Merge branch 'devel' of https://github.com/webmonger/OctoPrint into webmonger-devel
2015-04-13 13:21:23 +02:00
Mark Walker
88bc0b7a92
Show .gcode .gco and .g files in the SD file list
...
(cherry picked from commit e91b103)
2015-04-13 13:13:36 +02:00
Gina Häußge
f480e29342
Fixed implementation/docs mismatch: header_addon -> template_header
...
Closes #848 , thanks to @markwal for spotting and reporting
2015-04-13 12:53:19 +02:00
Mark Walker
b25443d142
foosel/Octoprint #841 : Can't login using IE
...
Add computed property "name" to function objects if not provided by the
browser, to avoid dropping out of main.js before it is finished.
(cherry picked from commit 68215c6)
2015-04-13 12:36:12 +02:00
Gina Häußge
354e064969
Only resend next line after first resend is through
...
Tracking the "ok" attached to a resend is necessary in order to make sure that it does not trigger the resend of the next line after the requested one right after, causing resend loops in some cases, e.g. "> 100", "> 101" , "< rs 100", "ok", "> 100", "< expected 100, got 101, rs 100" -- here the last error from the firmware could not be processed as "false negative" correctly (101 was already sent to the printer when it detected the error for 100, so this error just needs to be ignored) since the resend flag was already cleared due to line 100 and 101 having been enqueued, 100 in the resend handler, 101 due to the following ok. This patch fixes the latter, thus solving the problem.
2015-04-13 12:24:43 +02:00
Gina Häußge
594636e0e3
Make sure to operate on unicode when sanitzing sd filenames
...
Should fix #834
2015-04-13 12:24:42 +02:00
Gina Häußge
a34cbc58dc
Merge pull request #828 from Voxel8/update-selected-event
...
update FileSelected event to be more consistent with other events
2015-04-02 22:14:12 +02:00
Jack Minardi
5eface585d
update docs to reflect new payload data
2015-04-02 14:53:00 -04:00
Gina Häußge
0ed8afd999
Fix: Validate plugins separately from constructor
...
Otherwise plugins that inject data via __plugin_init__ won't work properly
2015-04-01 11:54:11 +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
Jack Minardi
2478b73ee5
update FileSelected event to be more consistent with other events
2015-03-29 23:44:19 -04: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
94b207257e
[Doc] ok, that was not it, reverting and trying something else
2015-03-26 10:24:33 +01:00
Gina Häußge
1b6b0181c5
[Doc] quick test if the whitespace enabled code-block causes the PDF build errors on RTD or something else
2015-03-26 10:19:33 +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
7bba22c5d2
[Doc] Include example for octoprint.comm.protocol.scripts hook
2015-03-25 18:45:32 +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
b3739c10cc
[Docs] Started documenting plugin hooks and core concepts.
2015-03-25 09:39:25 +01:00
Gina Häußge
97c8c7826c
[Docs] Documented AppPlugins
2015-03-23 18:15:18 +01:00
Gina Häußge
7bf1627625
Merge branch 'master' into devel
...
Conflicts:
CHANGELOG.md
docs/api/datamodel.rst
docs/api/index.rst
docs/conf.py
src/octoprint/static/js/app/viewmodels/files.js
src/octoprint/static/js/app/viewmodels/printerstate.js
src/octoprint/util/gcodeInterpreter.py
2015-03-23 10:58:51 +01:00
Gina Häußge
7affce2f64
Forgot to fix the Commit link
2015-03-23 10:49:35 +01:00
Gina Häußge
809c452285
Preparing release of 1.1.2
2015-03-23 10:43:42 +01:00
Gina Häußge
157408b53a
Back ported some documentation from devel
2015-03-23 10:08:16 +01:00
Gina Häußge
d8694107b7
Made metadata reading in client a bit more resilient against errors
2015-03-23 10:08:01 +01:00
Gina Häußge
30e43f9c41
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
...
(cherry picked from commit ce363ce )
2015-03-23 09:51:54 +01:00
Gina Häußge
3899626870
If a tool did not extrude anything, skip it in the filament usage summary
...
Also targets #539
(cherry picked from commit dffa00d )
2015-03-23 09:18:52 +01:00
Gina Häußge
d504157c6f
Added sanity check for extruder selection in gcode files
...
Any T command targeting a number higher than the value specified in the settings for gcodeAnalysis.maxExtruders (defaults to 10) will be ignored and trigger a warning in the log file.
Fix for #539
(cherry picked from commit 7d5c55f )
2015-03-23 09:15:27 +01:00
Jon Carlos
917a2a528b
Fix: Settings modal did not display properly on iPad and other browsers under 1200px wide
2015-03-21 22:25:26 +00:00