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
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
6c8a39607b
A couple more change log entries
2015-03-16 12:44:20 +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
b9102841b7
Removed accidentally committed line in requirements.txt
2015-03-12 19:19:42 +01:00
Gina Häußge
6797432f9b
[doc] Move whitespace visualization up a bit
...
As suggested by @Mikk36
2015-03-12 18:09:24 +01:00
Gina Häußge
6c09210380
[doc] Forgot a file
2015-03-12 17:32:00 +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
Gina Häußge
46b48cb7c4
Merge pull request #807 from mrbeam/vanilla_devel
...
made dwelling (G4 P...) commands more tolerant, because GRBL needs floats as P value.
2015-03-10 19:32:38 +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
Gina Häußge
7ed9cc0f87
Merge branch 'devel' into dev/customControlsDocs
...
Conflicts:
src/octoprint/static/js/app/viewmodels/control.js
2015-03-10 11:20:36 +01:00
Gina Häußge
9d761c4ee9
Make sure already processed custom controls don't get processed twice
...
Fixes an issue causing feedback controls to stop working if additional plugin controls are added
2015-03-10 11:19:58 +01:00
Gina Häußge
a956abd65a
Only display sidebar/tab if there are components within
...
If sidebar is present but tabs not or vice versa, it will be blown up to 100% width.
2015-03-09 13:29:51 +01:00
Gina Häußge
1a96480aa7
Allow to define additional bindings for existing view models
...
Adding a line such as
OCTOPRINT_ADDITIONAL_BINDINGS.push(["gcodeFilesViewModel", "#tab_plugin_my_other_file_plugin"]);
to a plugin JS now allows the plugin to configure existing view models to bind to additional elements, not just the ones configured by the view model itself. This allows binding view models of standard components to other component types and thus "moving" components, e.g. the files dialog from the sidebar to the tab section.
2015-03-09 13:11:43 +01:00
Gina Häußge
a87c3f6d4d
Allow defining order of UI components through config.yaml
...
config.yaml now has a new section "components" located under "appearance" which allows configuring the order and list of disabled components. Example:
appearance:
components:
order:
tab:
- control
- temperature
- gcodeviewer
- terminal
- timelapse
disabled:
sidebar:
- files
This would make the "Control" tab the first tab, followed by the usual order (plugins afterwards), and disable the Files sidebar component.
2015-03-09 12:37:07 +01:00
Gina Häußge
8cba11930f
WIP: Streamlining controls to not overly depend on types anymore
2015-03-09 11:40:47 +01:00
Gina Häußge
2b51501a57
Fixed key generation for template rendering
...
Key was only generated correctly if a suffix was set, causing templates from plugins of the same type to override each other.
2015-03-09 10:27:10 +01:00
Gina Häußge
cf05b571ac
Merge branch 'master' into devel
...
Conflicts:
docs/api/printer.rst
src/octoprint/server/api/printer.py
2015-03-09 09:31:39 +01:00
Gina Häußge
ad68b05f7d
Fix: docs for printer resource now match implementation
2015-03-09 09:29:17 +01:00
Gina Häußge
7eb7acf3af
Fixed bed temperature offsets
...
See #801 and guysoft/OctoPi#76
2015-03-09 09:08:07 +01:00
Gina Häußge
8f6784d5d2
WIP: streamlining and documenting custom controls
2015-03-09 08:51:49 +01:00
Gina Häußge
dee205fc2f
Fixed octoprint.printer.standard.select_tool
...
Was expecting integers although it does get a tool identifier. Also fixed docs accordingly.
2015-03-06 16:54:41 +01:00
Gina Häußge
aecc7a4734
Added triggering GCODE scripts to the REST API and custom controls
2015-03-06 16:04:43 +01:00
Gina Häußge
e79fd99a41
Fixed comment handling in GCODE lines, escapes are no longer stripped
...
A good example while late night commits can sometimes be a bad idea.
2015-03-06 11:37:06 +01:00
Gina Häußge
fbca845bbd
G32 also qualifies as a blocking command
2015-03-06 11:36:03 +01:00
Gina Häußge
d447308ef0
Even more documentation of the internal modules
2015-03-06 01:42:49 +01:00
Gina Häußge
975cc5ccfc
GCODE scripts are now Jinja templates
...
Refactored some things in octoprint.util.comm and octoprint.settings, added migration function to get users of the devel version up to date with their gcode scripts. Migration function will be removed again one week from now.
2015-03-06 01:42:09 +01:00
Gina Häußge
d665cc9538
Fixed refreshing of timelapse file list upon finished rendering of a new one
2015-03-05 11:37:56 +01:00
Gina Häußge
8a70b5cd7f
Merge remote-tracking branch 'origin/devel' into devel
2015-03-04 23:05:44 +01:00
Gina Häußge
ee73e51d03
Also set heating flag when sending heatup GCODE through comm layer
2015-03-04 23:04:45 +01:00
Gina Häußge
923fe98a99
Merge branch 'dev/commExperiments' into dev/printerRefactoring
...
Conflicts:
src/octoprint/util/comm.py
2015-03-04 20:43:02 +01:00
Gina Häußge
88ac1974d1
Time estimation for SD printing needs less strict thresholds
2015-03-04 20:41:10 +01:00
Gina Häußge
f0b2f6d509
Fix: Display full name currently selected SD file
...
Wrong truncation caused first character to be missing
2015-03-04 20:39:36 +01:00
Gina Häußge
edd560f5a4
Fixed a bug causing feed rate adjustment to not work while printing
2015-03-04 20:38:49 +01:00
Gina Häußge
c7cccb2ce5
Prevent multiple copies of poll commands in send queue
...
Utilizes a "TypedQueue" which tracks command types - if provided - and doesn't
add entries of the same type as another entry in the queue.
Somewhat backported from dev/commRefactoring branch
2015-03-04 20:38:15 +01:00
Gina Häußge
8092ff7e62
Workaround a bug in old versions of Marlin
...
For some versions, the ok for a file delete message is not prepended
by a newline: "File Deleted:<filename>ok"
This work around will make it still detectable.
2015-03-04 20:35:10 +01:00
Gina Häußge
b1129332c9
Detect external heatup
...
If a line "T: <temperature>" comes in, the printer is heating up although
we don't know why. Nevertheless count the time.
2015-03-04 20:33:44 +01:00
Gina Häußge
cc4d13e1ce
Fix issue with rewinding SD files
...
Sometimes M26 S0 does not cause a selected SD file to be
properly rewound, leading to issues when restarting the
print job. Reselecting the file (and ignoring the
resulting select event) solves this.
2015-03-04 20:31:51 +01:00
Gina Häußge
bcc724df2c
Merge pull request #793 from imrahil/fix_in_apidocs
...
Fixed docs for BlueprintPlugin
2015-03-04 16:59:33 +01:00
Gina Häußge
116a540abd
More experimenting with comm queueing, seems to work fine now
...
Next up: actual print
2015-03-04 14:15:01 +01:00
Gina Häußge
4383a89091
_heatupWaitStartTime should be reset to None instead of 0
2015-03-04 10:29:29 +01:00
Gina Häußge
801f9adfd7
Further experiments with send_queue and polling timers
2015-03-04 10:20:13 +01:00