Commit Graph

1345 Commits (54175d214678f212620321e409141e3b1eecfaec)

Author SHA1 Message Date
Gina Häußge 54175d2146 First throw at autologin capabilities 2013-08-18 18:33:21 +02:00
Gina Häußge 94b8d6601d Allow sending temperature updates with enter
Also some refactoring.

Closes #208.
2013-08-11 22:25:47 +02:00
Gina Häußge 84ff4b6416 Refactored ui.js into single files, cleaned up js folder
TODO: minimizer for merging all files belonging to the actual app into one
2013-08-11 19:15:37 +02:00
Gina Häußge ec9c7adf70 Merge branch 'CapnBry-gcodeinterpreter-upstream' into devel 2013-08-11 17:39:53 +02:00
Gina Häußge c7501ded47 Removed commented out and unused code 2013-08-11 17:39:45 +02:00
Gina Häußge f622e1e181 And a robots.txt for good measure... 2013-08-11 16:57:39 +02:00
Gina Häußge b168ef7e74 Only enable "Keep Enabled" button if data entered into form is valid. Also changed the wording a bit here and there. 2013-08-10 23:39:07 +02:00
Gina Häußge 4cf041aaad Enforces a new first-run setup wizard for access control to be run and forbids running OctoPrint as root unless a special command option is supplied
The dialog also informs about the risk of unauthorized strangers (mis)using the printer if an unsecured OctoPrint installation is made available on the internet.
2013-08-10 21:59:05 +02:00
Bryan Mayland 27bc7d3d03 Increase progress callback to every 1000 lines.
The processor handles 2500 lines per second on a 700MHz pi so as a baseline
that's still 2.5 updates per second.
2013-08-07 11:23:40 -04:00
Bryan Mayland 821c0c9abb Don't store layers or path points to save memory 2013-08-07 11:08:08 -04:00
Bryan Mayland 1726e85a68 Merge gcodeInterpreter optimizations from daid/Cura 2013-08-07 11:01:48 -04:00
Gina Häußge 3b3bb36377 Fixed typo (flip{X|Y} => flip{H|V})
Thanks to @spapadim for the heads-up
2013-08-05 17:42:56 +02:00
Bryan Mayland e7f5384427 Refresh gcode visualization if the selected file is modified
This passes the file modification time to the javascript side and if
they don't match then the file is re-downloaded and parsed. The mtime
is also used in the AJAX request as it prevents the browser from serving
the new request from cache.
2013-07-21 06:48:06 -04:00
Gina Häußge 566933a765 Merge branch 'CapnBry-job-metaupdate' into devel 2013-07-20 16:20:42 +02:00
Gina Häußge 2cafc6114d Just in case we'll use subfolders in the future... 2013-07-20 16:20:34 +02:00
Gina Häußge f0746a4140 Merge branch 'master' into devel 2013-07-20 16:02:40 +02:00
Gina Häußge 31d86cd0a2 Added left space on filesystem holding the uploads folder to the gcode files list
Closes #186
2013-07-20 16:01:17 +02:00
Gina Häußge e16f95069a Added a note to please create pull requests against devel 2013-07-15 17:54:28 +02:00
Bryan Mayland 48408910b5 Remove superfluous selectedFile setting as setJobData does that 2013-07-14 11:31:55 -04:00
Bryan Mayland 8f6d536b8f Update job metadata when the gcodemanager signals a change 2013-07-14 11:26:14 -04:00
Bryan Mayland fb9fd7e6c9 Fix metadata removal on upload for files with un-sane characters in them
When re-uploading a file with characters that will be later sanitized,
the old metadata entry wasn't removed because it checked the unsane
filename rather than the sanitized version that will later be stored.

This was creating an inconsistent metadata view during analysis for
files with spaces in them.
2013-07-14 11:20:37 -04:00
Gina Häußge 22ea55746c Overall better gcode file handling
See #182 and https://groups.google.com/forum/#!topic/octoprint/YnOzyToxfkI
2013-07-13 16:30:41 +02:00
Gina Häußge c6a749c684 Properly disable connection configuration when connected 2013-07-13 10:44:09 +02:00
Gina Häußge 92b42dd583 Merge remote-tracking branch 'CapnBry/temphistfix' into devel 2013-07-13 09:59:50 +02:00
Gina Häußge 6e50d37e51 Fixed key error 2013-07-09 22:19:58 +02:00
Gina Häußge d6553a29c6 First throw at clustering of settings 2013-07-09 21:41:26 +02:00
Gina Häußge 31698d3543 First version of setup.py for packaging OctoPrint 2013-07-09 21:39:07 +02:00
Gina Häußge 9038bc2bcd Cleaned up a bit in .gitignore 2013-07-09 21:37:14 +02:00
Bryan Mayland 7d51b32476 Fix initial temperatureHistory load not containing any data 2013-07-09 14:54:32 -04:00
Gina Häußge c33c32410b Added configurable pause triggers to be able to react to custom firmware messages with pausing/unpausing/pause toggling 2013-07-08 18:01:10 +02:00
Gina Häußge 8dcbb620bb Highlight currently selected file, disable deletion and load/loadAndPrint for it
Fixed #182
2013-07-07 23:27:22 +02:00
Gina Häußge 7d85860195 Reset view to first page in file lists when filters are changed 2013-07-07 14:18:08 +02:00
Gina Häußge c9e261df32 Use absolute values for self._serial.timeout, not relative ones
Thanks to @spapadim for spotting this
2013-07-05 16:58:00 +02:00
Gina Häußge 6d3e3221b8 Added timeout settings for serial communiction, initial connection and baudrate detection
Closes #126
2013-07-04 21:26:53 +02:00
Gina Häußge 3ffaaa19be Merge branch 'master' into devel 2013-07-01 15:26:00 +02:00
Gina Häußge 407c61cb24 Removed contents that are now found on the website, added note regarding filing bug reports 2013-07-01 15:23:40 +02:00
Gina Häußge aa9d92417a Removed peakZ again, doesn't work this way
Slicers might raise the print head first for a "nose dive" onto the print platform, leading to a high peakZ already dialed in, with no way to get it down again. This way events won't be fired until the print reaches the height of the initial starting point. As a z-change is a z-change if z changes, we'll just fire the event now (if oldZ != newZ). Event consumers will have to think of a way to filter out the noise.
(cherry picked from commit 9227bb5)
2013-06-30 22:28:04 +02:00
Gina Häußge e62578eb11 Reset peakZ on new print
(cherry picked from commit 83a864d)
2013-06-30 22:27:43 +02:00
Gina Häußge 44f1f01001 Allow enabling of serial logging at runtime 2013-06-30 22:18:29 +02:00
Gina Häußge f14acf8ba7 Fix height of terminal output to 340 px 2013-06-30 21:17:22 +02:00
Gina Häußge 119ee338f1 Client side filtering of M105 request/response and M27 request/response
Since it's client side, if you leave these on when not printing, the log will go completely blank over time due to filling up with M105s. Re-enabling M105s will immediately restore the whole log (although it won't hold much information value).
2013-06-30 21:10:09 +02:00
Gina Häußge 98d4317e6f More error resilience 2013-06-30 21:01:35 +02:00
Gina Häußge 9227bb5fd0 Removed peakZ again, doesn't work this way
Slicers might raise the print head first for a "nose dive" onto the print platform, leading to a high peakZ already dialed in, with no way to get it down again. This way events won't be fired until the print reaches the height of the initial starting point. As a z-change is a z-change if z changes, we'll just fire the event now (if oldZ != newZ). Event consumers will have to think of a way to filter out the noise.
2013-06-30 19:15:16 +02:00
Gina Häußge 83a864d3d8 Reset peakZ on new print 2013-06-30 00:03:34 +02:00
Gina Häußge 81464d65b7 Some more cleanups 2013-06-29 23:48:27 +02:00
Gina Häußge 0ed8f0f28d Fixed typo, better error handling. 2013-06-29 20:39:49 +02:00
Gina Häußge 42f2398ac1 Only auto-connect if configured port is available at server startup. Also bugfixes. 2013-06-29 20:28:37 +02:00
Gina Häußge 8231e70b44 Added tab in settings for serial connection options 2013-06-29 20:20:27 +02:00
Gina Häußge b0518a71a3 Also provide access to the auto-connect setting in the connection and the settings dialog 2013-06-29 19:57:46 +02:00
Gina Häußge 30e1624127 Merge remote-tracking branch 'CapnBry/autoconnect' into devel 2013-06-29 19:16:10 +02:00