0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-06-26 11:31:23 +02:00
Commit Graph

154 Commits

Author SHA1 Message Date
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
4f84e1060b Add padding to level names in log messages.
Other minor changes.
2016-01-08 20:41:42 +01:00
Wouter R
759c0a3007 Install loglite filter to wifibox.
Small fixes to loglite filter.
Set dummy host/port/agent info on command-line API call.
Remove non-functional version info from shell banner.
New todo item in release script.

Conflicts:
	extra/scripts/publish-wifibox-release.lua
2016-01-08 20:41:40 +01:00
Wouter R
bca5228b73 More changes to log messages. 2016-01-08 14:53:05 +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
peteruithoven
2669ca2135 Added api availability comment 2014-05-14 16:52:18 +02:00
peteruithoven
e4b2e605ed Removed network configuration boot mode and starting wifibox init after uhttpd and dnsmasq 2014-03-12 18:23:10 +01:00
peteruithoven
09f653e3da Fixed issue that control access wasn't properly reset after print 2014-03-12 16:36:16 +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
b6a3426b07 Merge branch 'develop' of github.com:Doodle3D/doodle3d-firmware into develop
Conflicts:
	src/rest/api/api_info.lua
2014-03-05 17:53:43 +01:00
Wouter R
4a76f022e0 Modification for connecting state of printer. 2014-03-05 17:52:46 +01:00
peteruithoven
89cec5c989 Added substituted wifiboxid to d3dapi/config post response 2014-02-28 11:11:16 +01:00
peteruithoven
5ee34873c3 wifiboxid (substituted) available under d3dapi/info 2014-02-28 11:05:23 +01:00
peteruithoven
c0a3747d00 api/info/status cleanup 2014-02-28 11:05:22 +01:00
Wouter R
9f50ec73b3 Merge branch 'develop' of github.com:Doodle3D/doodle3d-firmware into develop 2014-02-28 09:47:30 +01:00
Wouter R
ef296218a2 Change update site URL to be a setting.
Show release date in command-line info.
Remove development path from updater script.
2014-02-25 23:57:37 +01:00
Wouter R
a5f0492a13 Identify beta->stable transition as 'update' when includeBetas setting is false.
Fix in index generator in update publisher.
2014-02-24 22:59:38 +01:00
peteruithoven
19892f0917 Removed debug ssid retrieval from info/alive 2014-02-24 15:33:58 +01:00
peteruithoven
39b5b756ec Removed legacy v property from info/status 2014-02-24 15:31:04 +01:00
Wouter R
524ef027f5 Add a number of sanity checks to release script.
Tidying up.
Several changes and fixes to beta updating code.
2014-02-24 15:22:08 +01:00
Wouter R
8582f88e06 Extend updater and API to support betas and release dates (untested). 2014-02-21 11:15:36 +01:00
peteruithoven
daabffd1ca Use application/json for REST API 2014-01-31 15:41:53 +01:00
peteruithoven
c0901747b3 Don't switch to ap mode when updating 2014-01-10 12:23:32 +01:00
peteruithoven
c621c618bd Start access point network services on boot instead of reload 2014-01-10 11:14:17 +01:00
peteruithoven
cdcd76654a Small cleanup 2014-01-08 14:50:52 +01:00
peteruithoven
e056e4e936 Properly handling API:update/install no_retain argument 2013-12-23 23:24:31 +01:00