Commit graph

89 commits

Author SHA1 Message Date
Steven Barth
8c3ee6f9b7 Added "apidocs" target to Makefile
contrib/luadoc: Added luadoc executable
libs: Fixed typos in inline documentation
2008-07-29 21:16:12 +00:00
Steven Barth
5b43543226 libs/web: Small improvements, added inline documentation 2008-07-29 20:32:02 +00:00
Steven Barth
e5df13e80e libs: Fixed serialization stuff 2008-07-26 17:24:46 +00:00
Steven Barth
a91f1a7e37 libs/core, libs/uci, libs/web: Fixed several inline documentation typos 2008-07-25 11:52:04 +00:00
Steven Barth
f94c7b2c10 libs/web: Cleanup and inline documentation 2008-07-23 19:27:33 +00:00
Steven Barth
71306947ea themes: Add registration of themes at package installation time 2008-07-23 11:32:53 +00:00
Steven Barth
4deb486228 i18n: Added dynamic registration for translations 2008-07-23 11:13:33 +00:00
Jo-Philipp Wich
70b119b8ee * luci/libs/core: added inline documentation to luci.util, reordered and renamed functions to logical groups
* luci/libs/web:	rename dump() to get_bytecode()
2008-07-22 20:33:04 +00:00
Steven Barth
21b491c20b Send Cache-Control headers by default 2008-07-19 16:20:00 +00:00
Steven Barth
3da2286b3d Improved reloading system, fixed a bug with saving network settings 2008-07-19 14:18:03 +00:00
Steven Barth
90c98540b1 libs/web: Fixed a bug regarding % characters in luci.template 2008-07-18 20:53:45 +00:00
Steven Barth
fce0b84501 Added new application luci-ntpc to luci-full and luci-mini 2008-07-17 21:01:15 +00:00
Steven Barth
43b9951481 New application luci-upnp for luci-full and luci-mini 2008-07-17 18:11:15 +00:00
Steven Barth
52d49762ed applications/luci-qos: Smaller enhancements, support for luci-mini
applications/luci-fw: Fixed support for luci-mini
libs/web: Removed luci.dispatcher.registered
2008-07-17 16:02:29 +00:00
Steven Barth
66a6492ae5 libs/web: Prevent luci.http to prematurely parse the POST data
modules/admin-mini: Added fw-upgrade page
2008-07-16 14:26:40 +00:00
Steven Barth
9b1ef9e2b1 libs/web: Made luci.http.write a sink 2008-07-16 09:18:27 +00:00
Steven Barth
3ca2844c9f libs/web: Added luci.web.dispatcher.registered 2008-07-16 07:26:36 +00:00
Jo-Philipp Wich
25c82d7382 * luci: associate luci_ethers reload with luci_ethers uci config 2008-07-15 23:29:21 +00:00
Steven Barth
d0a622dce8 lib/cbi: Added support for multiple CBI maps per model 2008-07-15 13:17:28 +00:00
Jo-Philipp Wich
2fda235223 * luci/libs/web: fixed whitespace strip condition in template parser 2008-07-07 21:31:56 +00:00
Jo-Philipp Wich
e8e67f15cd * luci/libs/web: extended template syntax to allow removal of leading and trailing whitespace 2008-07-07 21:29:22 +00:00
Steven Barth
a41f33ba01 libs/web: Added template comments 2008-07-07 20:58:10 +00:00
Steven Barth
f12acd8a11 libs/web: Removed deprecated i18n-file naming convention 2008-07-06 15:21:12 +00:00
Steven Barth
8f770fd17a * libs/web: Fixed translation handling 2008-07-06 15:19:26 +00:00
Steven Barth
bcce358d8a * libs/web: Prepare entry for french translation 2008-07-06 15:01:42 +00:00
Steven Barth
66ec29f243 * libs/core: Moved ltn12 inside LuCI to avoid package conflicts with luasocket 2008-06-29 16:15:26 +00:00
Steven Barth
b8240f3516 * libs/web: Added Logout support
* libs/web: Fixed a bug with an invalid calling convention in luci.dispatcher
* libs/sys: Fixed rudimentary posix.crypt detection
2008-06-29 14:43:06 +00:00
Steven Barth
ee324cb3a7 * applications/luci-splash: Rewrote luci-splash using an own daemon implementation
* Minor tweaks in luci.dispatcher
2008-06-29 14:42:53 +00:00
Steven Barth
8ca3b888ad * libs/httpd: Fixed a problem with empty sources in filehandler 2008-06-28 17:03:47 +00:00
Steven Barth
00aceaf624 * libs/web: Switched from HTTP-Basic-Auth to Session-Auth
* Updated Makefiles for better testing environment integration
* Fixed libs/sgi-luci
2008-06-28 16:03:54 +00:00
Steven Barth
289b8fc1b6 * libs/web: Prepare session authentication 2008-06-27 20:29:05 +00:00
Steven Barth
7a4aa85dd6 * libs/httpd: Introduced keep-alive and pipelining support 2008-06-25 16:38:48 +00:00
Steven Barth
b85d292bcd * libs/web: Fixed reference to dispatcher in luci.dispatcher.build_url 2008-06-25 14:58:18 +00:00
Steven Barth
1a9fe9cd77 libs/web: Fixed bug where the environment table gets returned in case of an undefined variable 2008-06-23 23:35:25 +00:00
Steven Barth
cd0eaf0005 * libs/web: Changed caching behaviour of template library 2008-06-23 23:03:38 +00:00
Steven Barth
4f630d647c * Introducing LuCI HTTPD as testing environment
* Several coroutine-safety fixes
2008-06-23 18:17:02 +00:00
Steven Barth
65870edf9f * libs/core: Added garbage collector to luci.util.threadlocal to avoid memory leaks
* libs/http: Use env-Variables instead of headers for parse_message_body and subsequent functions
* libs/http: Added missing urldecode call for parsing urlencoded params
* libs/web: Ported luci.http to use ltn12 sources and sinks instead of sockets or file pointers
* libs/sgi-cgi, libs/sgi-webuci, libs/sgi-wsapi: Updated to work with new luci.http.Request ABI
2008-06-20 19:57:57 +00:00
Jo-Philipp Wich
f712a1f2c2 * luci/libs: moved http.protocol from libs/web to libs/httpd, rewrote http.protocol to rely on LTN12 chains 2008-06-19 02:53:09 +00:00
Steven Barth
dfe85d7e51 * Added preliminary HTTPD construct 2008-06-16 19:47:57 +00:00
Jo-Philipp Wich
77da39e776 * luci/libs: http.protocol: prevent oversized read blocks when reading from socket or file handle 2008-06-15 21:43:32 +00:00
Jo-Philipp Wich
15fbb8799e * luci/libs: http.protocol: switch to blockwise reading in urlencoded post requests, renamed readbuf constant 2008-06-15 21:39:16 +00:00
Steven Barth
89f1f43c9d * Fixed SGI webuci to work with new HTTP API 2008-06-15 21:11:34 +00:00
Jo-Philipp Wich
72aa111b22 * luci/libs: improved linereader implementation 2008-06-15 20:08:29 +00:00
Steven Barth
eae0e44798 * Added support for CGI SGI 2008-06-15 17:45:10 +00:00
Jo-Philipp Wich
647bc44868 * luci/libs: http.protocol: split parse_message() in parse_message_header() and parse_message_body() 2008-06-15 13:23:08 +00:00
Jo-Philipp Wich
a80f704e37 * luci/libs: drop depency to luci.bits use tonumber() for hex decoding 2008-06-15 12:57:02 +00:00
Steven Barth
961bfcf77f * Generalized HTTP-API 2008-06-15 12:34:16 +00:00
Jo-Philipp Wich
8b0524cd91 * luci/libs: protocol.lua: store status code and status description in http message object 2008-06-15 04:11:03 +00:00
Jo-Philipp Wich
6d3ac58b42 * luci/libs: fix get parameter handling in http.protocol 2008-06-15 04:01:38 +00:00
Jo-Philipp Wich
6571e9ba6f * luci/libs: added initial HTTP protocol implementation 2008-06-15 03:49:43 +00:00