Commit Graph

147 Commits (ae09a50fe50426a9ffe37c4907e55ff06738a334)

Author SHA1 Message Date
Gina Häußge 08229598e6 Merge branch 'repetier' into devel 2013-05-23 22:45:21 +02:00
Gina Häußge 45fef79e3d Use M26 to reset SD position to 0 when cancelling and restarting a print, preprocess gcode before sending to printer 2013-05-21 23:30:29 +02:00
Gina Häußge eeddf0ae1a Reset SD file data when disconnecting or when losing/regaining connection to the backend 2013-05-21 23:08:34 +02:00
Gina Häußge b048cc390b Proper uploading incl. drag-n-drop for both local storage and SD card 2013-05-20 23:31:17 +02:00
Gina Häußge 039a17d923 First try at SD card support 2013-05-20 19:18:03 +02:00
Richard Mitchell c1760c9940 A very simple API endpoint for loading and printing files direct. This is by default turned off and it "allowed" via the settings
From within Slic3r adding a post-processing script .bat containing

c:\curl\curl "http://192.168.0.7:5000/api/load?apikey=D96FA6A216CB44F78705D4506689D0EC&print=true" -F file=@%*
2013-05-18 17:47:31 +00:00
Gina Häußge fc56744705 Fixed URL for setting timelapse configuration.
Closes #110
2013-05-01 20:17:30 +02:00
Gina Häußge d721e5edc2 Merge branch 'devel' into repetier
Conflicts:
	octoprint/util/comm.py
2013-04-16 15:14:18 +02:00
Gina Häußge 628ffb5600 Do not convert command to send to upper case after checksum was calculated
Removed for the time being until I have a better idea on how allow stuff like "g28 x0 y0" to be autoconverted to "G28 X0 Y0" but autoconvert something like "m117 Some case sensitive text" only to "M117 Some case sensitive text"

Should fix #103
2013-04-16 14:45:25 +02:00
Gina Häußge 552048efbe Fixed Modernizr queries by gcode renderer 2013-04-14 13:42:30 +02:00
Gina Häußge 7e82214d75 Added missing files 2013-04-14 13:15:54 +02:00
Gina Häußge f7334ef65f Fixed some merge bugs 2013-04-13 22:26:23 +02:00
Gina Häußge 19dc238f06 User management now working
Also reorganized javascripts a bit (as preparation for some refactoring coming up) and renamed templates from ".html" to ".jinja2".
2013-04-13 22:21:53 +02:00
Gina Häußge 244ff25e2f Fixed settings for gcode file list 2013-04-13 22:20:41 +02:00
Gina Häußge 3e5a6d3679 Furhter work on user management 2013-04-13 22:20:41 +02:00
Gina Häußge 1febcd671a "Writing" backend methods now protected (need logged in user (or dummy user if access control is disabled) to perform action), most "writing" frontend controls disabled if no logged in (or dummy) user returned from backend. 2013-04-13 22:19:17 +02:00
Gina Häußge 874a7421e9 Login and logout working for the first time 2013-04-13 21:45:20 +02:00
Gina Häußge 150d6cb53d First work on login and user management 2013-04-13 21:42:53 +02:00
Gina Häußge 34a860efda Added confirmation dialog and different logo for print job restart
Closes #98
2013-04-10 16:37:12 +02:00
Gina Häußge 3174559072 Moved webcam view to Control tab 2013-04-07 22:15:04 +02:00
Gina Häußge e70071f6c1 Removed waitForWait again (that didn't make much sense to begin with...) 2013-04-01 17:31:02 +02:00
Gina Häußge 9618407aed Merge branch 'devel' into repetier
Conflicts:
	octoprint/server.py
2013-04-01 17:25:08 +02:00
Gina Häußge c01b49fbc7 Forgot to commit Font Awesome 2013-03-30 18:29:13 +01:00
Gina Häußge cfdfad1c06 Changed color and font-size of footer 2013-03-30 18:28:24 +01:00
Gina Häußge b5b023a29c Merge remote-tracking branch 'splitbrain/footer' into devel 2013-03-30 18:22:33 +01:00
Gina Häußge f70649b0d2 Removed a couple of redundancies for loadAndPrint button, actions are now disabled if they don't make sense 2013-03-30 18:21:49 +01:00
Gina Häußge f050567a1c User thread lock instead of boolean to ensure only one concurrent sending thread, introduced wait flag for repetier printers 2013-03-29 22:17:44 +01:00
Dale Price 021f413c12 add "Load and Print" button which automatically starts printing when a gcode file is done loading.
Solves foosel/OctoPrint#91
2013-03-26 00:09:36 -05:00
Andreas Gohr 9314e83665 added footer
makes it faster, to refer to the OctoPrint site when problems occur.
2013-03-24 16:11:54 +01:00
Gina Häußge d6a83d174f Overhauled resend handling to also work with alwaysSendChecksum feature. Also introduced new feature flag resetLineNumbersWithPrefixedN to make M110 commands send the target line number as part of their N prefix (Repetier), not as a separate N parameter (Marlin & co) 2013-03-16 18:25:39 +01:00
Gina Häußge 8ef580cfd9 Two changes to try to achieve repetier firmware compatibility
- Read a "wait" as an empty line in order to send keep alive temperature updates
- Added option to add a checksum to all commands. Needed to add current line tracking for this, let's hope that we'll never get out of synch here...
2013-03-16 01:57:05 +01:00
Gina Häußge e08783c8bf Merge remote-tracking branch 'daprice/master' into devel 2013-03-16 00:28:37 +01:00
Dale Price 088253e564 work around a bug in iOS 6 where ajax requests get cached and only work once 2013-03-14 20:55:02 -05:00
Dale Price d564176c9c fix localStorage bug by not trying (and failing) to make it a multidimensional array; use JSON to store array of filters in localStorage 2013-03-13 03:01:18 -05:00
Gina Häußge 4b8260b933 Fixed some indentation 2013-03-11 21:46:05 +01:00
Gina Häußge e2798de727 Merge branch 'daftscience-master' into devel 2013-03-11 21:15:27 +01:00
Tom 2904bd62d7 Enter key sends command
Sending a command also clears the field.
2013-03-11 10:38:41 -04:00
Gina Häußge eb3832b028 Implemented support for customizable system actions/commands, e.g. for shutting down/rebooting the system OctoPrint's running on from within the UI. 2013-03-10 17:04:05 +01:00
Gina Häußge 07d4a8fd4f Added (optional!) watermark addition to generated timelapse movies. 2013-03-09 00:23:52 +01:00
Gina Häußge 3b50fdcf3f Switched column sizes for gcode and timelapse file tables to pixel values. 2013-03-08 23:25:04 +01:00
Gina Häußge 133831e08e Fixed buggy column styles for gcode and timelapse file tables 2013-03-08 21:47:51 +01:00
Gina Häußge f1dc0a629a Fixed state information for gcode file upload. Now offers some status text that gives feedback whether file is still uploading to the server or being saved to disk on the server. 2013-03-08 21:05:53 +01:00
Gina Häußge 95d6c18183 Use contrast function for calculating text color in navbar 2013-03-08 20:36:18 +01:00
Richard Mitchell 26c6c0fb5f Missing semi-colon causing problems 2013-03-08 06:34:31 +00:00
Gina Häußge 6eb8991035 Migrated ui.css to LESS (just some small touch ups compared to plain css version, nothing fancy) 2013-03-07 22:19:33 +01:00
Gina Häußge 59ffa94cde Playing around with less... 2013-03-06 23:38:31 +01:00
Gina Häußge 1fbb73e448 Refactored pagination/sorting/filtering of gcode files into own configurable listHelper now used to provide pagination etc to both gcode and timelapse file list. 2013-03-06 23:27:16 +01:00
Gina Häußge dae1c0367a Merge branch 'daprice-sorting_persistence' into devel
Conflicts:
	octoprint/static/js/ui.js
2013-03-03 19:38:26 +01:00
Gina Häußge 98a7c3d8b8 New option to sort gcode files by size, reverted former utc "fix" (doesn't work anymore, works without the fix, I have no idea...), added adjusted modernizr, delete metadata from old gcode file version when adding a new one 2013-03-03 19:37:52 +01:00
Gina Häußge 9b3fc0c65e Set default instance name to empty string 2013-03-03 16:57:35 +01:00
Dale Price eecb19ecf6 store file sorting options in the browser's LocalStorage 2013-03-02 22:56:58 -06:00
Gina Häußge 766e9f0e7f Show custom title first in head in case of small tabs 2013-03-02 13:38:30 +01:00
Gina Häußge e0b405054a Fixed some whitespace and reworked custom title to always include an "OctoPrint" prefix (gotta protect the "brand" here ;)) 2013-03-02 12:42:35 +01:00
Richard Mitchell 260606601d Title and limited color control via settings 2013-03-02 10:56:32 +00:00
Richard Mitchell b2408c92a5 Didn't add the restart button after all 2013-03-01 21:57:13 +00:00
Richard Mitchell 324601dfed Did clever stuff at first for restart but replacing the appearance of start is all that is needed I believe 2013-03-01 21:52:15 +00:00
Gina Häußge 899d618efe Couple of fixes while merging... 2013-02-23 22:46:29 +01:00
Richard Mitchell 0e6fd2bde2 Merge remote-tracking branch 'upstream/devel' into devel 2013-02-23 18:40:28 +00:00
Richard Mitchell e79aede3f4 Bug in bootstrap forcing use of knockout click binding - actually works better 2013-02-23 18:38:18 +00:00
Richard Mitchell 8a3df3d4e7 Easier than I thought to add/remove temperature profiles 2013-02-23 17:59:27 +00:00
Richard Mitchell 9ba88a7d1a New temperature profile settings and hooked into ui. WIP: add and remove profiles 2013-02-23 17:47:01 +00:00
Gina Häußge 2e766a7eca Added custom controls with multiple commands
Closes #48
2013-02-23 18:08:59 +01:00
Richard Mitchell 42838f8b58 Fixed the navigate to top of page on e.g. Set ABS issue
Also replaced to HTML ° for degrees symobol
2013-02-23 10:11:42 +00:00
Richard Mitchell 9e351339a4 Added features for quick setting of temperatures for PLA and ABS - configured via new settings.
Not perfect, I'd like to show temperature to be set in UI.
On clicking it always moves to the top of the page.
The overflow and temp layout changes are to allow the drop down to display outside of the tab.

Is it worth having more temp boxes e.g. Nylon? - array like similar to move speeds?
2013-02-23 01:09:30 +00:00
Gina Häußge 1c9854b6c1 Merge branch 'master' into devel 2013-02-17 22:31:11 +01:00
Gina Häußge 1c4203b708 Added settings dialog for configuring OctoPrint
Warning: Many settings will need a restart of OctoPrint to take effect, adding corresponding notes is still a TODO. There's also no proper validation and error handling yet, so use at your own risk.
2013-02-17 22:30:34 +01:00
Dale Price 0266bcd593 optimize image file size on iOS web clip icons 2013-02-16 23:32:31 -06:00
Dale Price 48f0af2e7a Add iOS web clip icons 2013-02-16 23:28:23 -06:00
Richard Mitchell 22e5f656fe Sort out the spacing and alignment on jog controls 2013-02-10 21:12:38 +00:00
Gina Häußge bd68e0ae54 Added sorting and filtering options for gcode files.
Closes #21
2013-02-10 21:48:24 +01:00
Richard Mitchell 4035ebcec5 Various control for jogging, speed reduced 2013-02-10 16:00:47 +00:00
Richard Mitchell 142d07be21 Equalized the size of the button with the input control 2013-02-10 09:34:53 +00:00
Gina Häußge 8c9c2ecfee Added extrusion controls, kept motor and fan controls in general control area as suggested (recurring demand suggests that they definitely aren't something to be added by anyone individually via custom controls), made custom controls always position themselves below the general stuff. 2013-02-10 00:40:06 +01:00
Gina Häußge f09d57bef9 Started work on adding extrusion control 2013-02-09 23:20:41 +01:00
Richard Mitchell 7fb354a256 Added controls I want (motors off, fans on/off) - they perhaps should be custom 2013-02-09 12:07:31 +00:00
Richard Mitchell 878bee784a Modified the appearance of the jogging controls with a view to adding finer control 2013-02-09 11:22:09 +00:00
Gina Häußge 5f55ebd90a GCode file list now automatically switches to page with newly uploaded file as soon as upload request comes back from backend as finished. Progress bar also gets emptied again then. Careful: might take a bit after the upload progress reaches 100% since the file still has to be written to disk in the backend (have to look into how to get this done in a streaming way), metadata analysis gets triggered after returning a response.
Different sorting options are still on my mental todo list ;)

Closes #34.
2013-02-04 22:24:32 +01:00
Gina Häußge 3de0d1b1e5 Fixed file deletion for gcode files 2013-02-04 21:41:02 +01:00
Gina Häußge 959feba9ca First version with gcode viewer integration.
Did some minor changes: renamed gcode tab, renamed gcode file download endpoint, added some margin for gcode viewer accordion. Not sure yet what to do about the gcode viewer controls/settings, until I figure this out they'll stay where they are now ,)
2013-02-03 22:01:11 +01:00
Gina Häußge ea52bbfb14 Merge branch 'gcodeViewer' into devel
Conflicts:
	octoprint/server.py
	octoprint/settings.py
	octoprint/static/js/ui.js
2013-02-03 21:38:00 +01:00
Gina Häußge 6fd0646128 Revamped gcode analysis.
Now UI and backend take data from saved metadata (if available). Metadata gets written after file upload and also on startup (for files that have not been added yet). Gcode analysis is interrupted if a printjob is started and resumed when it ends. Frontend is notified when new metadata comes available and UI triggers reload of gcode file list.  Also started on implementing proper logging.
2013-02-03 21:14:22 +01:00
Alex Ustyantsev a1763554e4 Remove duplicate css files 2013-02-03 12:52:27 +03:00
Alex Ustyantsev 1b70801a6b Fixed some residual stuff after rebase 2013-02-03 12:44:41 +03:00
Alex Ustyantsev 4163d9436f Some cleanup from initial integration: removed separate icon for viewing gcode 2013-02-03 12:05:45 +03:00
Alex Ustyantsev e49669430b gCodeVisualizer can be enabled as a feature in config now (enabled by
default)
2013-02-03 12:04:41 +03:00
Alex Ustyantsev a5518f7877 Bug: octoprint deleted all commented lines, now gcodevisualizer deletes them too so the line numbers match 2013-02-03 12:02:41 +03:00
Alex Ustyantsev 644e5907ec Auto-load file on connect; some refactoring 2013-02-03 12:02:41 +03:00
Alex Ustyantsev 4b69bde8bb Initial implementation of autoupdate gcodeview on status from server 2013-02-03 12:02:41 +03:00
Alex Ustyantsev 7c00dd5594 Initial gCodeViewer (http://github.com/hudbrog/gCodeViewer) integration 2013-02-03 12:01:01 +03:00
Gina Häußge 49cd1ffbd6 Gcode filemanagement now lives in its own module. Upload triggers gcode analysis, result is stored into metadata file. Print jobs triggered and their results are saved as well. Adjusted UI to display gcode analysis result and last print date and (color coded) result if available. Also adjusted gcode file list to color code entries according to last print result. 2013-01-30 20:56:17 +01:00
Gina Häußge 84c9403e65 parametrized_command => parametric_command 2013-01-27 18:52:25 +01:00
Gina Häußge ee7a1f9615 Added custom controls via configuration file.
Closes #13
2013-01-27 18:28:11 +01:00
Gina Häußge 0552d43b16 Further work on custom controls and custom bitrate for timelapses 2013-01-27 11:12:28 +01:00
Gina Häußge 01ffd88a37 Use UTC timestamps only for the temperature graph. Should get rid of weird timestamps in case server and client are in a different timezone.
Also fixed the "display minutes since the epoch when not connected to a freshly started server" issue ;)
2013-01-22 17:44:20 +01:00
Gina Häußge ca3c973bfc Added checkbox to enable autoscroll in the terminal tab. 2013-01-20 14:34:44 +01:00
Gina Häußge 1e77467a41 Added pagination for gcode files. 2013-01-20 13:43:29 +01:00
Gina Häußge 720f3b3eb6 Renamed from Printer WebUI to OctoPrint
The location of the config folder has changed. OctoPrint will try to migrate the configuration from its old location (~/.printerwebui, ...) to its new one (~/.octoprint, ...). For this to work the following conditions must be met: 1) the old config folder exists and is a directory 2) the new config folder does not exist at all. The migration functionality will be in the future.
2013-01-18 23:44:11 +01:00