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
Peter Uithoven
a1edf05bc7
Merge pull request #63 from Doodle3D/feature/always-available
...
Feature/always available
2016-05-25 11:07:17 +02:00
Peter Uithoven
ae036af172
Merge pull request #62 from Doodle3D/feature/button-switch-wificonfig
...
Feature/button switch wificonfig
2016-05-25 10:20:43 +02:00
Wouter R
c666895842
Include /etc/wifibox-version in info/logfiles endpoint ( #305 ).
2016-04-24 11:33: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
olijf
d3d8ebdeda
Changed method from GET to POST
2016-04-12 12:22:14 +02:00
olijf
2b097996e0
Added LUA API call
...
Added Lua API call to reset the network configuration.
2016-04-12 12:05:01 +02:00
olijf
0d9684bfca
seems the removeConfig needs to be called twice
2016-03-30 11:23:27 +02:00
olijf
c6b01a3cf7
switched responsibilities
...
moved the Open Acces point code to the rest API because we dont wish to change setting during boot. (other issues arise now eg: what to do when someone changes his wifi password? box does nog connect but also does not open AP)
2016-03-30 11:10:44 +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
4165d3b46d
When preparing archive for 'info/logfiles' endpoint, create hardlinks to log files instead of copies to require less temporary space.
2016-03-18 10:29:11 +01:00
Wouter R
19eef4a334
Include rotated log files in 'info/logfiles' API endpoint.
2016-03-16 22:54:21 +01:00
Wouter R
260fac9cd4
Log more information when printer/* endpoint operations fail.
2016-03-11 15:58:35 +01:00
Wouter R
65062207ff
Logging:
...
- log only one line when signing in;
- change level of UCI/init.d changes from info to verbose;
- change log level of network:getStatus message from info to verbose.
2016-02-23 17:36:17 +01:00
Wouter R
b4aa1a9746
Wifibox stdout/stderr log file:
...
- rename 'wifibox.cgi-fallback.log' to 'wifibox.stdout.log'
- extend description of Lua debugging (and the fallback log)
- send fallback log along with info/logfiles request
2016-02-23 16:18:42 +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
af76720e54
Prepare log subsystem to be consistent with changes in print3d.
2016-01-08 21:46:46 +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
Rick Companje
b840938cbc
updated release notes and sketch api
2014-12-19 16:10:42 +01:00
peteruithoven
6e6dd1a108
API availability comments
2014-05-14 16:59:47 +02:00