Simon Voordouw
634465fdd6
move deleting start/endgcode files to stopFetch
2017-07-06 15:31:57 +02:00
Simon Voordouw
1bbb327178
remove semicolon
2017-07-06 15:06:19 +02:00
Simon Voordouw
fdbc07b377
use accessManager.hasControl. Fixes issue #75
2017-07-06 14:39:28 +02:00
Simon Voordouw
db259bbfc6
return "printer not idle" as fail. Fixes issue #76
2017-07-06 14:24:59 +02:00
Simon Voordouw
22b6abfd8b
stop fetch program in printer/{fetch,print}. Fixes issue #74
2017-07-06 14:24:55 +02:00
Simon Voordouw
2883a066ef
add currentPrint get/setter. Fix issue #78
2017-07-06 13:59:45 +02:00
Simon Voordouw
8adc74876e
use current-print
2017-06-27 17:45:56 +02:00
Simon Voordouw
753672e164
Merge branch 'develop' of github.com:Doodle3D/Doodle3D-firmware into develop
2017-06-27 17:45:05 +02:00
Simon Voordouw
0acc20f498
stop print-fetch before stopping print
2017-06-27 17:42:19 +02:00
Rick Companje
07d4316a7f
fixed typo in filename /tmp/currentprint
2017-06-23 15:34:07 +02:00
Simon Voordouw
9571af19ac
check if file is opened
2017-06-21 11:50:50 +02:00
Simon Voordouw
6729af7064
rename remote to gcodeServer for clarity
2017-06-20 15:18:36 +02:00
Simon Voordouw
8eb83ac6a0
save print id and add it to the progres api
2017-06-20 15:17:29 +02:00
Simon Voordouw
28e131f8de
kill fetch program on print stop
2017-06-20 14:13:49 +02:00
Simon Voordouw
a9c2f6096c
check if printer is idle before fetching
2017-06-19 16:13:07 +02:00
Simon Voordouw
aec8343bc0
add more error handling
2017-06-13 13:22:59 +02:00
Simon Voordouw
0d955b48ea
WiFi-box can't handle https
2017-06-13 13:09:46 +02:00
Simon Voordouw
fbb536f4ad
use correct lua not equal
2017-06-13 11:10:50 +02:00
Simon Voordouw
5607ab96ad
add end and start-gcode parameters to printer/fetch API
2017-06-12 17:49:46 +02:00
Simon Voordouw
2f91065ff7
add check for control and clear gcode on print fetch start
2017-06-12 12:06:27 +02:00
Simon Voordouw
02b198d773
return success response
2017-05-18 15:01:27 +02:00
Simon Voordouw
25aba526b4
fetch specific file id from server
2017-04-11 17:04:57 +02:00
Simon Voordouw
fe5b2ec306
get gcode-server url from config
2017-04-11 12:50:49 +02:00
Simon Voordouw
a3468b85ce
add fetch-from-server api endpoint
2017-04-11 12:00:34 +02:00
Wouter R
7cc345d729
Rename sequence_* in API responses to seq_* to be consistent with printer/print POST arguments.
2016-04-19 12:10:40 +02:00
Wouter R
6a26cf3005
Include sequence_number and sequence_total in printer/progress as well as printer/print (to improve client recovery on unstable networks).
2016-04-19 00:27:10 +02:00
Wouter R
ca45f15151
Improve printer/print logging, partial fix for https://github.com/Doodle3D/doodle3d-firmware/issues/58 .
2016-03-18 17:04:20 +01:00
Wouter R
260fac9cd4
Log more information when printer/* endpoint operations fail.
2016-03-11 15:58:35 +01:00
Wouter R
03e34f2676
'printer/print' API call: change 'first' parameter to 'clear' and deprecate old name.
2016-02-14 00:38:31 +01:00
Wouter R
de16721b85
Accept argument 'total_lines' in printer/print API request.
2016-02-13 17:17:57 +01:00
Wouter R
f3e9ebf26e
Report current and maximum size in bytes of gcode buffer in getProgress functions.
2016-02-12 15:40:07 +01:00
Wouter R
c3756f5348
Fix return values in printer api.
...
Pass along chunk metadata in printer api.
Move wifi station mode check from main.lua to signin.lua so it is always run past.
Only log postresponsequeue if it is not empty.
Conflicts:
src/rest/api/api_printer.lua
2016-01-08 22:26:36 +01:00
Wouter R
9fd96740a3
Remove unnecessary require.
...
Change backup log file name in d3dapi script.
2016-01-08 22:03:52 +01:00
Wouter R
1439bd0434
Change levels and improve consistency in log statements.
2016-01-08 14:53:05 +01:00
Wouter R
5f59e5e2c9
Add logging module/facility support.
...
Change log message format to match with that in print3d logger.
2016-01-08 14:52:39 +01:00
Wouter R
2459cda0ac
Reorder and rename log levels to match those in print server.
...
Fix typo in regex in getLocalIp function.
Conflicts:
src/script/wifibox.uci.config
2016-01-08 13:48:24 +01:00
Wouter R
0b6de9adba
Return "connecting" state if printer is connected but server has not started yet; other calls will fail just like if no printer exists.
2014-03-09 02:12:36 +01:00
Wouter R
fc9460fc82
Add license header to source files.
2013-12-20 16:29:46 +01:00
Rick Companje
34491670b8
added printer/listall to API
2013-12-05 17:31:44 +01:00
peteruithoven
92628c660f
Removing endcode variables comment
2013-10-30 15:29:46 +01:00
peteruithoven
23d077c4ca
API:printer/stop doesn't automatically send endcode, you have to specify it trough a gcode argument
2013-10-28 17:13:26 +01:00
Wouter R
628f05b682
Deny API access to operations that can/will interrupt printing (updating, reconfiguring network, change settings).
2013-10-23 17:38:54 +02:00
peteruithoven
78a71ca625
Bed temperatures
2013-10-22 16:00:37 +02:00
peteruithoven
8ab87312b3
Replacing variables in endcode on API:printer/stop
2013-10-22 13:51:02 +02:00
peteruithoven
a818dbcc55
API:printer/print changed argument last to start
2013-10-11 15:34:57 +02:00
peteruithoven
e0c4c81d75
Merge branch 'feature/printerdriver' of https://github.com/Doodle3D/doodle3d-firmware into feature/printerdriver
...
Conflicts:
src/rest/api/api_info.lua
src/rest/api/api_printer.lua
2013-10-10 17:55:35 +02:00
peteruithoven
0667dfe070
Handle errors in api:info/status. Use Disconnected state when there is no printer driver
2013-10-10 17:51:14 +02:00
Wouter R
0e8a08594a
Update info/logfiles API call to collect print3d logs instead of ultifi logs. Change printer/getProgress to return current, buffered and total gcode lines. Remove unused constants from printer api.
2013-10-10 17:00:16 +02:00
peteruithoven
d49b1bbd94
better network connect feedback
...
control access managment
start of api:info/status
2013-10-10 12:11:21 +02:00
Wouter R
2f04bbb35d
www submodule update to printerdriver branch; fix heatup config names.
2013-09-27 18:25:16 +02:00