Jo-Philipp Wich [Mon, 30 Jun 2008 12:06:49 +0000 (12:06 +0000)]
* libs/httpd: also handle missing directory permissions correctly
Jo-Philipp Wich [Mon, 30 Jun 2008 11:52:23 +0000 (11:52 +0000)]
* libs/http: removed protocol.filter, added mimetypes to protocol.mime
* libs/httpd: handle missing permissions correctly, perform urldecode on request uri and urlencode on generated links, added css
Steven Barth [Sun, 29 Jun 2008 20:49:06 +0000 (20:49 +0000)]
* luci/httpd: Populated missing functions to wrapped socket
Jo-Philipp Wich [Sun, 29 Jun 2008 18:42:59 +0000 (18:42 +0000)]
* luci: fix stripping of certain multi line comments
Jo-Philipp Wich [Sun, 29 Jun 2008 18:36:43 +0000 (18:36 +0000)]
* luci: strip comments in source target
Steven Barth [Sun, 29 Jun 2008 16:40:20 +0000 (16:40 +0000)]
* lib/sgi-luci: Fixed init.d scripts
Steven Barth [Sun, 29 Jun 2008 16:15:26 +0000 (16:15 +0000)]
* libs/core: Moved ltn12 inside LuCI to avoid package conflicts with luasocket
Steven Barth [Sun, 29 Jun 2008 14:57:30 +0000 (14:57 +0000)]
* Fixed last commit
Steven Barth [Sun, 29 Jun 2008 14:56:33 +0000 (14:56 +0000)]
* luci/httpd: Handle timeouts on socket writes correctly
Steven Barth [Sun, 29 Jun 2008 14:43:06 +0000 (14:43 +0000)]
* 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
Steven Barth [Sun, 29 Jun 2008 14:42:53 +0000 (14:42 +0000)]
* applications/luci-splash: Rewrote luci-splash using an own daemon implementation
* Minor tweaks in luci.dispatcher
Steven Barth [Sun, 29 Jun 2008 13:13:01 +0000 (13:13 +0000)]
* Some more cleanup
Steven Barth [Sun, 29 Jun 2008 12:41:09 +0000 (12:41 +0000)]
* Removed orphaned directories
Steven Barth [Sun, 29 Jun 2008 09:56:38 +0000 (09:56 +0000)]
* libs/core: Made luci.util.strip_bytecode forward-compatible to upcoming OpenWRT Lua-changes
Felix Fietkau [Sun, 29 Jun 2008 00:06:42 +0000 (00:06 +0000)]
better excludes for the local tree copy
Felix Fietkau [Sun, 29 Jun 2008 00:06:36 +0000 (00:06 +0000)]
add cookie support
Felix Fietkau [Sun, 29 Jun 2008 00:06:26 +0000 (00:06 +0000)]
fix bogus quilt patch apply errors
Felix Fietkau [Sat, 28 Jun 2008 23:23:30 +0000 (23:23 +0000)]
fix an accidental return code change
Jo-Philipp Wich [Sat, 28 Jun 2008 23:22:44 +0000 (23:22 +0000)]
* libs/httpd: print request uri, not real path in directory listings
Felix Fietkau [Sat, 28 Jun 2008 23:20:35 +0000 (23:20 +0000)]
fix running boa as root
Felix Fietkau [Sat, 28 Jun 2008 23:20:30 +0000 (23:20 +0000)]
handle local host lookup failures
Felix Fietkau [Sat, 28 Jun 2008 23:20:24 +0000 (23:20 +0000)]
fix dynamic plugin dlopen() linker issues
Felix Fietkau [Sat, 28 Jun 2008 23:20:14 +0000 (23:20 +0000)]
don't copy .o files when copying the local source tree
Jo-Philipp Wich [Sat, 28 Jun 2008 23:18:10 +0000 (23:18 +0000)]
* libs/http: added support for directory listings
Felix Fietkau [Sat, 28 Jun 2008 22:22:10 +0000 (22:22 +0000)]
fix some build flags, add support for transparently copying files from a luci checkout's top level directory if the package subdirectory is symlinked
Steven Barth [Sat, 28 Jun 2008 22:17:24 +0000 (22:17 +0000)]
* lib/sgi-cgi, lib/sgi-webuci: Enforce HTTP standards
Steven Barth [Sat, 28 Jun 2008 21:18:28 +0000 (21:18 +0000)]
* lib/core: Fixed wrong argument order for luci.user.checkpasswd
Felix Fietkau [Sat, 28 Jun 2008 21:01:15 +0000 (21:01 +0000)]
use ldflags in sgi-webuci linking
Steven Barth [Sat, 28 Jun 2008 17:03:47 +0000 (17:03 +0000)]
* libs/httpd: Fixed a problem with empty sources in filehandler
Steven Barth [Sat, 28 Jun 2008 16:25:25 +0000 (16:25 +0000)]
* Fixed last commit
Steven Barth [Sat, 28 Jun 2008 16:23:58 +0000 (16:23 +0000)]
* libs/httpd: Added Cache-Control header to LuCI
* libs/httpd: Added Server-Header
Jo-Philipp Wich [Sat, 28 Jun 2008 16:17:45 +0000 (16:17 +0000)]
* libs/http: add Date header for 304 responses
Jo-Philipp Wich [Sat, 28 Jun 2008 16:12:37 +0000 (16:12 +0000)]
* libs/http: fix header handling in conditionals.lua
* libs/httpd: add support for RFC2616 / 14.24 - 14.28 in file handler, add Date and Expires headers to luci handler
Steven Barth [Sat, 28 Jun 2008 16:03:54 +0000 (16:03 +0000)]
* libs/web: Switched from HTTP-Basic-Auth to Session-Auth
* Updated Makefiles for better testing environment integration
* Fixed libs/sgi-luci
Jo-Philipp Wich [Sat, 28 Jun 2008 02:05:48 +0000 (02:05 +0000)]
* libs/http: prepare support for RFC2616 / 14.24 - 14.28
Jo-Philipp Wich [Fri, 27 Jun 2008 20:48:11 +0000 (20:48 +0000)]
* libs/http: removed caching in http.protocol.date
Steven Barth [Fri, 27 Jun 2008 20:29:05 +0000 (20:29 +0000)]
* libs/web: Prepare session authentication
Steven Barth [Fri, 27 Jun 2008 19:26:55 +0000 (19:26 +0000)]
* Updated thankyou documents
Jo-Philipp Wich [Thu, 26 Jun 2008 20:25:02 +0000 (20:25 +0000)]
* libs/http: implement caching in http.protocol.date
Steven Barth [Thu, 26 Jun 2008 19:42:38 +0000 (19:42 +0000)]
* libs/httpd: Removed a debug function
Steven Barth [Thu, 26 Jun 2008 19:41:37 +0000 (19:41 +0000)]
* libs/httpd: Rewrote daemon controller to increase performance
Jo-Philipp Wich [Thu, 26 Jun 2008 18:49:18 +0000 (18:49 +0000)]
* libs/httpd: added ETag, Date, Content-Type and Last-Modified header support to file handler
Jo-Philipp Wich [Thu, 26 Jun 2008 18:42:28 +0000 (18:42 +0000)]
* libs/http: removed debugging prints from http.protocol.date
Jo-Philipp Wich [Thu, 26 Jun 2008 18:32:29 +0000 (18:32 +0000)]
* libs/http: require luci.util in http.protocol.mime
Jo-Philipp Wich [Thu, 26 Jun 2008 18:31:25 +0000 (18:31 +0000)]
* libs/http: added http mime helper lib
Jo-Philipp Wich [Thu, 26 Jun 2008 18:08:48 +0000 (18:08 +0000)]
* libs/http: added http date helper lib
Jo-Philipp Wich [Wed, 25 Jun 2008 21:19:10 +0000 (21:19 +0000)]
* luci/httpd: fix 500 error case in luci handler, added copyright stuff
Steven Barth [Wed, 25 Jun 2008 18:44:25 +0000 (18:44 +0000)]
* libs/httpd: Optimized performance again
Steven Barth [Wed, 25 Jun 2008 18:33:38 +0000 (18:33 +0000)]
* libs/httpd: Fixed typos
Steven Barth [Wed, 25 Jun 2008 18:09:53 +0000 (18:09 +0000)]
* libs/httpd: Optimized performance
Steven Barth [Wed, 25 Jun 2008 17:13:59 +0000 (17:13 +0000)]
* libs/httpd: cleanup
Steven Barth [Wed, 25 Jun 2008 16:50:55 +0000 (16:50 +0000)]
* libs/httpd: Use HTTP/1.0 for error messages
Steven Barth [Wed, 25 Jun 2008 16:48:48 +0000 (16:48 +0000)]
* libs/httpd: Automatically remove timed out threads
Steven Barth [Wed, 25 Jun 2008 16:38:48 +0000 (16:38 +0000)]
* libs/httpd: Introduced keep-alive and pipelining support
Steven Barth [Wed, 25 Jun 2008 14:58:18 +0000 (14:58 +0000)]
* libs/web: Fixed reference to dispatcher in luci.dispatcher.build_url
Steven Barth [Mon, 23 Jun 2008 23:35:25 +0000 (23:35 +0000)]
libs/web: Fixed bug where the environment table gets returned in case of an undefined variable
Steven Barth [Mon, 23 Jun 2008 23:03:38 +0000 (23:03 +0000)]
* libs/web: Changed caching behaviour of template library
Steven Barth [Mon, 23 Jun 2008 21:49:29 +0000 (21:49 +0000)]
* Added preliminary OpenWRT support for luci-httpd
Steven Barth [Mon, 23 Jun 2008 21:30:44 +0000 (21:30 +0000)]
* libs/httpd: Tuned Garbage Collection
Steven Barth [Mon, 23 Jun 2008 20:01:34 +0000 (20:01 +0000)]
* libs/util: Fixed memory leaks in threadlocal implementations
Steven Barth [Mon, 23 Jun 2008 19:41:35 +0000 (19:41 +0000)]
* libs/httpd: Added performance ;-)
Jo-Philipp Wich [Mon, 23 Jun 2008 19:21:54 +0000 (19:21 +0000)]
* luci/libs: fix syntax error in last commit
Jo-Philipp Wich [Mon, 23 Jun 2008 19:20:57 +0000 (19:20 +0000)]
* luci/libs: fix possible error when doing sub() on chunk in server.lua
Jo-Philipp Wich [Mon, 23 Jun 2008 19:16:00 +0000 (19:16 +0000)]
* luci/libs: fix eof handling for urldecode_message_body() in protocol.lua
Steven Barth [Mon, 23 Jun 2008 18:17:02 +0000 (18:17 +0000)]
* Introducing LuCI HTTPD as testing environment
* Several coroutine-safety fixes
Jo-Philipp Wich [Sun, 22 Jun 2008 12:07:37 +0000 (12:07 +0000)]
* luci/libs: add support for chunked transfer decoding in http.protocol
Steven Barth [Sat, 21 Jun 2008 19:41:17 +0000 (19:41 +0000)]
* libs/httpd: Prepared HTTPD dispatching model
Steven Barth [Sat, 21 Jun 2008 16:39:51 +0000 (16:39 +0000)]
* Fixed call to push_response
Steven Barth [Sat, 21 Jun 2008 16:24:52 +0000 (16:24 +0000)]
* Fixed last commit
Steven Barth [Sat, 21 Jun 2008 16:23:41 +0000 (16:23 +0000)]
* libs/httpd: Forward changed Handler API to use luci.http to push responses
* libs/httpd: Added Expect: 100-continue header support to server (merged from Jow)
Steven Barth [Fri, 20 Jun 2008 19:57:57 +0000 (19:57 +0000)]
* 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
Steven Barth [Fri, 20 Jun 2008 16:47:25 +0000 (16:47 +0000)]
* Moved luci.http.protocol to libs/http
* Added ltn12 to libs/core
* Fixed libs/httpd Makefile
Jo-Philipp Wich [Thu, 19 Jun 2008 03:02:49 +0000 (03:02 +0000)]
* luci/httpd: add initial server implementation
Jo-Philipp Wich [Thu, 19 Jun 2008 02:53:09 +0000 (02:53 +0000)]
* luci/libs: moved http.protocol from libs/web to libs/httpd, rewrote http.protocol to rely on LTN12 chains
Steven Barth [Tue, 17 Jun 2008 16:23:42 +0000 (16:23 +0000)]
* Use CRLF instead of LF in HTTP headers
Steven Barth [Tue, 17 Jun 2008 16:16:27 +0000 (16:16 +0000)]
* Preliminary module implementation for Luci HTTPD
Steven Barth [Mon, 16 Jun 2008 19:53:48 +0000 (19:53 +0000)]
* Removed it
Steven Barth [Mon, 16 Jun 2008 19:47:57 +0000 (19:47 +0000)]
* Added preliminary HTTPD construct
Jo-Philipp Wich [Sun, 15 Jun 2008 21:43:32 +0000 (21:43 +0000)]
* luci/libs: http.protocol: prevent oversized read blocks when reading from socket or file handle
Jo-Philipp Wich [Sun, 15 Jun 2008 21:39:16 +0000 (21:39 +0000)]
* luci/libs: http.protocol: switch to blockwise reading in urlencoded post requests, renamed readbuf constant
Steven Barth [Sun, 15 Jun 2008 21:11:34 +0000 (21:11 +0000)]
* Fixed SGI webuci to work with new HTTP API
Steven Barth [Sun, 15 Jun 2008 20:10:20 +0000 (20:10 +0000)]
* Fix sgi-cgi postinst
Jo-Philipp Wich [Sun, 15 Jun 2008 20:08:29 +0000 (20:08 +0000)]
* luci/libs: improved linereader implementation
Steven Barth [Sun, 15 Jun 2008 18:54:44 +0000 (18:54 +0000)]
* Removed support for Haserl
Steven Barth [Sun, 15 Jun 2008 18:02:47 +0000 (18:02 +0000)]
* Fixed last commit
Steven Barth [Sun, 15 Jun 2008 18:02:09 +0000 (18:02 +0000)]
* Finished support for SGI CGI
Steven Barth [Sun, 15 Jun 2008 17:45:10 +0000 (17:45 +0000)]
* Added support for CGI SGI
Steven Barth [Sun, 15 Jun 2008 16:02:47 +0000 (16:02 +0000)]
* Added support for htdocs module directory
Jo-Philipp Wich [Sun, 15 Jun 2008 13:23:08 +0000 (13:23 +0000)]
* luci/libs: http.protocol: split parse_message() in parse_message_header() and parse_message_body()
Jo-Philipp Wich [Sun, 15 Jun 2008 12:57:02 +0000 (12:57 +0000)]
* luci/libs: drop depency to luci.bits use tonumber() for hex decoding
Steven Barth [Sun, 15 Jun 2008 12:34:16 +0000 (12:34 +0000)]
* Generalized HTTP-API
Jo-Philipp Wich [Sun, 15 Jun 2008 04:11:03 +0000 (04:11 +0000)]
* luci/libs: protocol.lua: store status code and status description in http message object
Jo-Philipp Wich [Sun, 15 Jun 2008 04:01:38 +0000 (04:01 +0000)]
* luci/libs: fix get parameter handling in http.protocol
Jo-Philipp Wich [Sun, 15 Jun 2008 03:49:43 +0000 (03:49 +0000)]
* luci/libs: added initial HTTP protocol implementation
Steven Barth [Sat, 14 Jun 2008 19:30:30 +0000 (19:30 +0000)]
* Added preliminary support for WSAPI SGI
Jo-Philipp Wich [Sat, 14 Jun 2008 15:39:53 +0000 (15:39 +0000)]
* luci/statistics: some german translation fixes
Jo-Philipp Wich [Sat, 14 Jun 2008 15:24:44 +0000 (15:24 +0000)]
* luci/addons: minor fix in luci-fixtime init script
Jo-Philipp Wich [Sat, 14 Jun 2008 15:14:15 +0000 (15:14 +0000)]
* luci/libs: move time fix to luci-addons
Steven Barth [Sat, 14 Jun 2008 14:55:49 +0000 (14:55 +0000)]
* Minor cleanups
Jo-Philipp Wich [Sat, 14 Jun 2008 14:31:37 +0000 (14:31 +0000)]
* luci/themes: fix query string functionality