0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-12-22 19:13:49 +01:00
Commit Graph

63 Commits

Author SHA1 Message Date
peteruithoven
633fc86551 Adding progress to rest api 2013-08-09 22:15:58 +02:00
peteruithoven
ba1ca3e322 less debug 2013-08-07 20:37:05 +02:00
peteruithoven
395ac53497 Fixed last_mod 2013-08-07 18:30:58 +02:00
peteruithoven
b8e0acb16b Supporting M109 temp format. Also returning last modified time using LuaFileSystem library. 2013-08-07 17:50:30 +02:00
peteruithoven
4239044c54 Allow access from all domains (not really secure) 2013-08-07 11:15:55 +02:00
Wouter R
7dba0ad104 Update TODO (beware, it's a mess) 2013-08-04 11:31:52 +02:00
Wouter R
77723fb000 Support print cancellation in api (untested!) 2013-08-04 11:26:47 +02:00
Wouter R
973b81f2cb Add configurable temperature. 2013-08-02 14:05:34 +02:00
Wouter R
b971be33d1 Fix post-install script for 'Y' inlusion in openwrt images; fix small bug in request.lua. 2013-08-01 16:29:17 +02:00
Wouter R
eddb7f7d0d Fixes to getMacAddress() and to adding gcode. 2013-07-29 19:22:09 +02:00
Wouter R
3bc22c19fe Update web client to send gcode for printing. 2013-07-29 19:09:11 +02:00
Wouter R
1608875891 Report failure if wlan associate fails; Fix setting/unsetting boolean config key through API. 2013-07-29 13:48:56 +02:00
Wouter R
6ee8b0193e Better response to invalid request method in rest api; fix creation of DHCP pool. 2013-07-29 12:21:08 +02:00
Wouter R
1acb559a1b Update webinterface to latest commit; add wopkg alias to root profile. 2013-07-29 12:17:08 +02:00
Wouter R
07ca14e35c Add doxify.sh to generate HTML code documentation using ldoc; update documentation in several utility files. 2013-07-29 12:07:23 +02:00
Wouter R
827affd4e4 Remove old www files. 2013-07-27 02:44:12 +02:00
Wouter R
5746d244d7 Repository cleanup. 2013-07-27 02:39:45 +02:00
Wouter R
efaf58c880 Fix outdated configuration key names; add API function to get all configuration keys at once; remove logging of request arguments to prevent printing large blocks of gcode. 2013-07-27 00:25:43 +02:00
Wouter R
0f4b938444 preliminary printing support (through ultifi). 2013-07-27 00:22:55 +02:00
Wouter R
9d6992ce95 Add configuration keys for printing; rework configuration key naming. 2013-07-26 10:18:34 +02:00
Wouter R
596799472c Change package-directory script to include ultifi package; several fixes to package installation; rename wifibox init script. 2013-07-26 02:15:01 +02:00
Wouter R
781c3f9ff1 Add kmod-usb-serial-ftdi as package dependency for FTDI-based 3D printers; fix MAC address lookup; fix dhcp configuration when switching to AP mode; rename api functions in network module; minor fixes and changes. 2013-07-25 01:11:46 +02:00
Wouter R
d4b9c39d60 Split debug flags into DEBUG_PCALLS and DEBUG_API; fix more quotation style and import naming. 2013-07-24 18:49:07 +02:00
Wouter R
9fd13dda65 Add small c program to test settings arbitrary baud rates. 2013-07-24 16:38:21 +02:00
Wouter R
243655b634 First steps towards package update support (current+available versions can be requested). 2013-07-24 16:36:27 +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
9fb01b9ea3 Add script to create a feed directory with package index file for upgrading with opkg. 2013-07-19 14:17:00 +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
d3e4812cbf Implement settings interface. 2013-07-17 17:43:33 +02:00
Wouter R
9a8ac55b8f Add simple unit test framework and various other improvements/changes:
* Move logger.lua;
* update quotation style in several files;
* add proposed configuration key layout to conf_defaults.lua;
* move dump function to utils.lua;
* implement (very) basic unit testing environment;
* fix bugs in various functions in utils.lua;
* checkin of preliminary REST API test code.
2013-07-17 13:44:54 +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
80fdadde47 Update Makefile and Config.in to handle/describe new www directory and API test interface properly. 2013-07-12 17:26:12 +02:00
Wouter R
9dd2928755 Change REST API to obtain module/function arguments from URL path; move several network settings to config.h. 2013-07-11 10:39:49 +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
4847b59378 Update TODO 2013-07-08 21:45: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
b861f43e11 Fix wlan state information (and add a number of extra fields). 2013-07-08 18:12:05 +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
915d1cd900 Move and clean up utils.lua. 2013-07-08 13:43:59 +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
peteruithoven
e26f776cec MakeFile: Preventing the client to be moved into a wifibox subfolder 2013-07-05 20:03:49 +02:00
peteruithoven
9f8d788adc Added client submodule 2013-07-05 19:31:45 +02:00
peteruithoven
166dbc582b Moved moved www experiment code away for new client submodule 2013-07-05 19:26:04 +02:00
Wouter R
c0b06a77fb Create base files in rest subdirectory. 2013-07-05 17:26:39 +02:00
Wouter R
ef87b18ed9 More fixes to changed paths and names. 2013-07-05 16:44:49 +02:00
Wouter R
0b298b5e46 Change require statements in code to reflect new structure; rename autowifi -> wifibox everywhere. 2013-07-04 17:26:13 +02:00
Wouter R
f298fbf0db Extract logger to separate module; update code and package Makefile to reflect new structure; rename wfcf to d3dapi; add dependency on usb ACM driver (required for communication with arduino). 2013-07-04 17:24:06 +02:00
Wouter R
cf0f7f594d Code restructure. 2013-06-28 13:47:45 +02:00
Wouter R
b059cf07e0 Minor fix. 2013-06-28 12:40:04 +02:00