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
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
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
Wouter R
83167e31fe
Minor changes (fix ap mode, be more informative about failed rename); update TODO.
2013-06-17 20:23:00 +02:00
Wouter R
88e3205347
add proper init script setup; various small fixes.
2013-05-14 17:26:21 +02:00
Wouter R
7778bdd6e2
Restructure src directory; add GPX utility
2013-05-14 16:09:01 +02:00
Wouter R
ce11cd8c1d
post-install/post-remove are now reasonably complete.
2013-05-14 15:09:56 +02:00
Wouter R
9789fdc0c3
Finish post-install/pre-remove package scripts (not yet used/included by Makefile).
2013-05-14 11:34:55 +02:00
Wouter R
21e5ddb51b
Add package configuration options (not used yet)i; test code/scripts for postinstall/preremove; update TODO; add support for eclipse ShellEd plugin.
2013-05-03 13:11:58 +02:00
Wouter R
3840a8798d
Preliminary OpenWrt package support.
2013-05-02 18:05:42 +02:00
Wouter R
1f4ccb6787
Update readme; remove old files; fix multiple creation of wireless networks; add script to auto-archive important files on wifibox.
2013-04-24 10:46:46 +02:00
Wouter R
8b4d81a7e7
Improve logger; set encryption config when creating network from scan info; fix reconfiguration marking; add logging to init script; show encryption in web interface; fixes toward client mode setup; other minor fixes/improvements.
2013-04-09 14:42:54 +02:00
Wouter R
1f39bf6434
Add reconfiguration interface to support more generic and readable reconfiguring; fix js/jq URLs; misc minor fixes.
2013-04-08 01:20:45 +02:00
Wouter R
5b0e219ef6
Several fixes; add operation to enter AP mode; move todo list
2013-04-05 16:22:19 +02:00
Wouter R
b67d67eb91
Initial checkin of Doodle3D WiFi-box project. Files in src directory belong in /usr/share/lua/autowifi on the device and needs several symlinks as described in the readme.
2013-04-04 10:18:08 +02:00