0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-09-28 22:28:37 +02:00
Commit Graph

27 Commits

Author SHA1 Message Date
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
4f84e1060b Add padding to level names in log messages.
Other minor changes.
2016-01-08 20:41:42 +01:00
Wouter R
bca5228b73 More changes to log messages. 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
peteruithoven
daabffd1ca Use application/json for REST API 2014-01-31 15:41:53 +01:00
Wouter R
fc9460fc82 Add license header to source files. 2013-12-20 16:29:46 +01:00
peteruithoven
5c7b1dee10 When the status isn't "success" the status and the msg is now logged in wifibox.log. Fixing #140 2013-12-18 17:59:40 +01:00
peteruithoven
c69420b5b3 IE aggressively caches ajax calls, adding this header makes it behaivior consistent with other browsers 2013-12-11 16:57:44 +01:00
peteruithoven
e160f5b94f Updated api info url 2013-11-29 13:28:54 +01:00
Wouter R
0e5726ee04 Documentation. 2013-11-05 01:46:32 +01:00
Wouter R
97564de8fc Add LDoc configuration and slightly extend doxify.sh.
Add documentation in various places.
2013-11-04 22:34:09 +01:00
peteruithoven
524d41e39b Access point can now be made on start up and the activated network config is always moved to the top so it's picked on startup 2013-09-04 19:23:51 +02:00
peteruithoven
3c59322cf7 First attempt to add a post response function queue 2013-09-02 15:01:16 +02:00
Wouter R
dfb16a9b32 Fix logfile saving if ultifi path does not exist; fix http response consistency. 2013-08-21 13:39:45 +02:00
Wouter R
72afef93bd Add d3dapi/info/logfiles API call to obtain a tgz file containing the most important log data. 2013-08-16 20:03:53 +02:00
peteruithoven
4239044c54 Allow access from all domains (not really secure) 2013-08-07 11:15:55 +02:00
Wouter R
0f4b938444 preliminary printing support (through ultifi). 2013-07-27 00:22:55 +02:00
Wouter R
258770675e Fix quoting style in response.lua, add fucntion to set HTTP content type. 2013-07-24 16:30:23 +02:00
Wouter R
f988c13dfa Many changes, mostly a new configuration interface:
* change API access control to use function name suffixes
* implement settings interface with baseline configuration
* make AP properties configurable
* AP SSID can now contain partial MAC address
* update more quotation style and documentation
* remove captive directory change from network mode switcher.
2013-07-17 23:01:01 +02:00
Wouter R
3726063b99 Change split function so it also returns empty fields; add API access control; support returning http status codes; changes towards support for running as uhttp embedded lua module. 2013-07-17 08:18:47 +02:00
Wouter R
1ac3f130ff Fix response sending when init() fails; create config.lua to contain global configuration; improve API function resolution; improve API code structure. 2013-07-10 01:23:16 +02:00
Wouter R
6caa7d244e Move request handling to request object; update and combine todo items to TODO.md; improve test api. 2013-07-09 01:56:21 +02:00
Wouter R
e2127797de Fix problem where 'wlan0' device disappears (code now falls back to 'radio0'); fix symlink path for captive portal www; minor fixes. 2013-07-08 19:02:20 +02:00
Wouter R
115e6a7eff Refactor all code to new API; several minor changes/bug fixes. 2013-07-08 16:53:45 +02:00
Wouter R
ea8100ab60 Logging now prints to stderr, which is redirected to a log file; cgi handler always responds with json; test API implemented; several bug fixes. 2013-07-08 13:37:19 +02:00
Wouter R
c0b06a77fb Create base files in rest subdirectory. 2013-07-05 17:26:39 +02:00