Commit graph

51 commits

Author SHA1 Message Date
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
Jo-Philipp Wich
971ffe47da * luci/libs: move time fix to luci-addons 2008-06-14 15:14:15 +00:00
Steven Barth
855b7582d3 * Rewrote Luci to be coroutine-safe allowing the use of non-forking webservers
* Setting base version to 0.7
2008-06-14 14:12:12 +00:00
Steven Barth
211c6394a0 * Prepare german translation cleanup 2008-06-09 10:10:29 +00:00
Steven Barth
14438002a1 * More Translation 2008-06-08 15:36:57 +00:00
Steven Barth
7d03f8ea8a * Core translation
* Added license headers
* Splitted qos into separate application package
2008-06-08 08:14:31 +00:00
Steven Barth
09ecbe73ed * libs/web: Fixed time hack 2008-06-07 08:22:35 +00:00
Steven Barth
0eefbbe91d * libs/web: Fixed secure caching with setuid/setgid handling 2008-06-07 07:18:40 +00:00
Steven Barth
92fc9cd62f * Fixed last commit 2008-06-07 06:49:38 +00:00
Steven Barth
f8925eefa3 * libs/web: Fixed Luci template cache
* libs/web: Added luci.http.urlencode, luci.http.urldecode
* Minor enhancements
2008-06-07 06:44:27 +00:00
Steven Barth
9322801072 * Separated OLSR pages into separate application pack
* Minor bugfixes and enhancements
2008-06-06 15:50:21 +00:00
Steven Barth
dd9606825d * Merged Luci to use native UCI-library 2008-06-05 19:16:38 +00:00
Jo-Philipp Wich
48e06817da * luci/statistics: moving the graph controller to admin caused the images to be generated by the root user which rendered the linked-in public statistics pages unusable because of missing permissions to write the generated graphics as nobody to directories created by root
* luci/core:		store the actual dispatching path to .path in node() - this permits dispatcher modules to get the canonical path as luci.dispatcher.dispatched.path
2008-06-04 22:41:58 +00:00
Felix Fietkau
d0694fdb1e fix footer 2008-06-03 23:17:40 +00:00
Steven Barth
56a23c609c * libs/web: Added support for custom query strings 2008-06-03 18:02:53 +00:00
Steven Barth
561b0cfaa3 * Moved Freifunk status pages to admin-core and linked them in Freifunk
* luci/web: Added assign() to dispatcher to reference foreign nodes in the dispatching tree
2008-06-02 20:16:05 +00:00
Steven Barth
f56890a573 * Added native basic authentication support
* Cleanups
2008-06-02 17:49:27 +00:00
Steven Barth
08e85e726c * Reintegrated fastindex support 2008-06-02 15:36:13 +00:00
Steven Barth
fbe3f6f09f Revert "full fastindex integration, drop old cache stuff"
This reverts commit 19917e78d47dc33c3f75b7fac9585e534d144fd3.
2008-06-02 15:36:05 +00:00
Steven Barth
271bfb4725 full fastindex integration, drop old cache stuff 2008-06-02 15:35:57 +00:00
Steven Barth
633692fc68 * Fixed last commit 2008-06-01 17:25:07 +00:00
Steven Barth
c73afe8b25 * Added timing fix 2008-06-01 17:22:21 +00:00
Steven Barth
b454395a8d * Performance optimizations
* libs/core: Added bytecode stripping function to luci.util
* libs/core: Added smart indexcache that automatically updates cached index-files on change
* libs/web: Enabled template caching support
* Core Translation part 4
2008-06-01 12:12:18 +00:00
Steven Barth
8f7f03a0c5 * Core translation part 2 2008-05-31 13:57:30 +00:00
Steven Barth
2623e2880c * Core translation part 1
* Introduced new default theme "OpenWRT.org"
* Minor tweaks
2008-05-31 08:04:49 +00:00
Steven Barth
d5c47776a5 * Temporarily disabled fastindex-support due to a bug where controllers containing "require"-calls are not indexed correctly 2008-05-29 19:39:08 +00:00
Steven Barth
3f5f89451e * libs/web: Added .leaf attribute to dispatching tree to stop dispatching at a certain node
* libs/web: Added rewrite target for advanced aliasing
2008-05-29 19:18:49 +00:00
Steven Barth
d8f5ce4759 * Fixed dispatching regex 2008-05-29 18:52:22 +00:00
Steven Barth
8687547e47 * Bugfixes
* Moved cbi.js into the right directory
* Added more debugging to dispatcher
* Introduced about page
2008-05-29 18:27:12 +00:00
Steven Barth
fe7cbc15b8 Revert "* luci/core: dispatcher.lua: fix build_url()"
This reverts commit 7512f2e5f533cb8ef51a9e4ee01081da0df23853.
2008-05-29 13:51:32 +00:00
Jo-Philipp Wich
b8abce7f1e * luci/core: dispatcher.lua: fix build_url() 2008-05-29 00:58:52 +00:00
Steven Barth
776f9957d0 * Updated dispatching cache mechanism 2008-05-28 04:08:54 +00:00
Steven Barth
b1e131a3db * Optimized dispatching model 2008-05-27 20:39:48 +00:00
Steven Barth
6a0da42bef * Fixed caching mechanism 2008-05-27 15:40:49 +00:00
Steven Barth
882940a807 * Added cache to createindex_plain 2008-05-27 14:40:41 +00:00