Commit graph

1681 commits

Author SHA1 Message Date
Steven Barth
c5a68895cf libs/core: Update luci.sys inline documentation 2008-07-23 14:17:37 +00:00
Jo-Philipp Wich
ce5f619c4f * luci/libs/core: fix description of link() function in luci.fs 2008-07-23 13:35:12 +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
f10b0e58e2 * luci/libs/core: add inline documentation to luci.fs, style fixups in util.lua 2008-07-23 01:53:52 +00:00
Steven Barth
b4ac19ca76 libs/core: Fixed luci.utils, Added missing in-line documentation 2008-07-22 21:13:04 +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
33b8cf5506 libs/core: Add in-line documentation for luci.util.class 2008-07-22 14:40:53 +00:00
Jo-Philipp Wich
c8e99f87b1 * luci/libs/core: add inline documentation to luci.sys 2008-07-22 03:43:33 +00:00
Jo-Philipp Wich
a037bfd207 * luci/libs/core: added inline documentation to luci.bits, removed duplicated copyright notice 2008-07-22 02:04:24 +00:00
Jo-Philipp Wich
ab9891e0af * luci/libs/http: added inline documentation to luci.http.protocol & friends, fixed urlencode_params() 2008-07-22 01:15:39 +00:00
Jo-Philipp Wich
4e587d53a8 * luci/themes: several small tweaks in openwrt.org theme
* luci/libs/cbi:	some template improvements
2008-07-20 15:16:13 +00:00
Jo-Philipp Wich
94a968e62f * luci/libs/cbi: print a notice in empty tblsections
* luci/i18n:		added new string to cbi translations
2008-07-20 01:34:05 +00:00
Steven Barth
faed4aa7f1 libs/sgi-cgi: Workaround for broken CGI implementation of Busybox HTTPd 2008-07-19 17:13:11 +00:00
Jo-Philipp Wich
040efb954f * luci/libs/http: use aliased ltn12. instead of luci.ltn12. 2008-07-19 16:53:34 +00:00
Jo-Philipp Wich
447df436fc * luci/libs/http: fix a few corner cases which can lead to bugs in mime decoding, allow the message body to exceed Content-Length by two bytes (to ignore a possible trailing \r\n) 2008-07-19 16:27:11 +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
3d794abec4 modules/admin-mini: Several tweaks, initial status page 2008-07-18 21:33:25 +00:00
Steven Barth
90c98540b1 libs/web: Fixed a bug regarding % characters in luci.template 2008-07-18 20:53:45 +00:00
Jo-Philipp Wich
8895d236ea * luci/libs/http: fix "attempt to compare string with number" in http.protocol 2008-07-18 17:18:09 +00:00
Jo-Philipp Wich
40988c4b36 * luci/libs/http: replace url decoder in http.protocol 2008-07-18 15:30:52 +00:00
Jo-Philipp Wich
8c46333ed1 * luci/libs/http: added more sanity checks to mime decoder 2008-07-18 14:19:56 +00:00
Jo-Philipp Wich
daa7d4e8a4 * luci/libs/http: fix wrong varname in http.protocol 2008-07-18 12:02:18 +00:00
Jo-Philipp Wich
fbd663c2eb * luci/libs/http: replaced mime decoder in http.protocol 2008-07-18 11:53:53 +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
53a0f9867a libs/core: Fixed luci.fs.isfile 2008-07-17 18:09:26 +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
8d1aff78b1 modules/admin-mini: Added Wifi configuration
several smaller bugfixes and enhancements
2008-07-16 18:54:10 +00:00
Jo-Philipp Wich
ea69b8dccc * libs/http: fix blocksize-related mime decoding problems in protocol.lua 2008-07-16 15:32:37 +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
9fd9401d9b libs/cbi: Fixed AbstractSection.create 2008-07-16 07:51:39 +00:00
Steven Barth
3ca2844c9f libs/web: Added luci.web.dispatcher.registered 2008-07-16 07:26:36 +00:00
Steven Barth
ced11a4a13 libs/cbi: Cleaned up *Section.create 2008-07-16 07:24:54 +00:00
Jo-Philipp Wich
25c82d7382 * luci: associate luci_ethers reload with luci_ethers uci config 2008-07-15 23:29:21 +00:00
Jo-Philipp Wich
18f0ebfd8b * luci/libs/cbi: fix syntax error in mvalue template 2008-07-15 22:09:53 +00:00
Jo-Philipp Wich
05d3bf06b4 * luci/libs/cbi: various template cleanups 2008-07-15 17:27:58 +00:00
Jo-Philipp Wich
41efc83c17 * luci/libs/cbi: fix <label> assignment for checkbox-based mvalues 2008-07-15 15:59:46 +00:00
Steven Barth
d0a622dce8 lib/cbi: Added support for multiple CBI maps per model 2008-07-15 13:17:28 +00:00
Steven Barth
4d7c453ea8 libs/cbi: Fixed MultiValue select widget 2008-07-14 18:57:19 +00:00
Steven Barth
d12dfa5186 libs/cbi: Fixed MultiValues 2008-07-14 17:37:37 +00:00
Jo-Philipp Wich
89764da368 * luci/libs/http: fix two typos in http.protocol 2008-07-14 17:21:45 +00:00
Jo-Philipp Wich
079f606bf9 * luci/libs/http: use a more flexible aproach when storing multi-value fields 2008-07-14 17:02:22 +00:00
Jo-Philipp Wich
1245a9eaa9 * luci/libs/http: remove left over field initialisation 2008-07-14 16:48:51 +00:00
Jo-Philipp Wich
6ebbffc727 * luci/libs/http: implement multi-value support in http.protocol 2008-07-14 16:45:37 +00:00
Jo-Philipp Wich
426f12416d * luci: add memory status patches from soma 2008-07-14 15:54:53 +00:00
Jo-Philipp Wich
abda3857e2 * luci/libs/cbi: remove now ununsed tiny_value*.htm templates 2008-07-13 16:09:59 +00:00
Steven Barth
8f2bbc4ce0 libs/cbi: Fixed dependency JavaScript to match the template fixes 2008-07-13 15:33:26 +00:00
Jo-Philipp Wich
41cb1705b7 * luci/themes: more fixes for openwrt.org theme 2008-07-13 01:32:02 +00:00
Jo-Philipp Wich
dfe0287c6f * luci/themes: lots of fixes in openwrt.org theme
* luci/libs/cbi:	use <table> fpr table sections
2008-07-12 16:46:10 +00:00
Steven Barth
1588665618 Added copyright-tags to templates 2008-07-07 22:00:56 +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
0fac926065 libs/cbi: Fixed rendering of checkbox and radiobox-based widgets 2008-07-06 11:24:26 +00:00
Steven Barth
6e2fe3af63 libs/cbi: Use labels instead of divs for field titles 2008-07-06 11:24:20 +00:00
Steven Barth
740a341b04 * libs/uci: Added function get_statevalue 2008-07-06 10:56:04 +00:00
Jo-Philipp Wich
8fcbdb39fe * luci/libs: make treatment of "+" conditional in http.protocol ("+" should not be decoded by urldecode)
* luci/https:	fix breakage introduced by "+" decoding
2008-07-05 20:12:24 +00:00
Steven Barth
2edc50aa43 libs/core: Fixed luci.util.split 2008-07-05 16:27:24 +00:00
Steven Barth
8579f2d8c7 libs/http: Added handling of "+" in luci.http.protocl.urldecode 2008-07-05 14:23:50 +00:00
Jo-Philipp Wich
653f5e2361 * luci: fixup svn properties 2008-07-04 15:12:11 +00:00
Steven Barth
280872baa7 * libs/httpd: Add limit for luci handler 2008-07-03 18:49:29 +00:00
Steven Barth
f0a0e50378 * libs/httpd: Fixed garbage collection 2008-07-02 15:41:47 +00:00
Steven Barth
b5204f0887 * libs/httpd: Fixed last commit 2008-07-01 18:13:02 +00:00
Steven Barth
77c7cc6596 * libs/httpd: Memory optimizations part #1 2008-07-01 18:12:34 +00:00
Steven Barth
a6619a5cb7 * libs/httpd: Fixed a memleak 2008-07-01 18:05:48 +00:00
Jo-Philipp Wich
3b2eae63a3 * libs/httpd: also handle missing directory permissions correctly 2008-06-30 12:06:49 +00:00
Jo-Philipp Wich
d7697624c4 * 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
2008-06-30 11:52:23 +00:00
Steven Barth
9926128741 * luci/httpd: Populated missing functions to wrapped socket 2008-06-29 20:49:06 +00:00
Steven Barth
af221af6c4 * lib/sgi-luci: Fixed init.d scripts 2008-06-29 16:40:20 +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
50039c134e * Fixed last commit 2008-06-29 14:57:30 +00:00
Steven Barth
62c61045d8 * luci/httpd: Handle timeouts on socket writes correctly 2008-06-29 14:56:33 +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
25089e49fd * libs/core: Made luci.util.strip_bytecode forward-compatible to upcoming OpenWRT Lua-changes 2008-06-29 09:56:38 +00:00
Felix Fietkau
533d8dee9d add cookie support 2008-06-29 00:06:36 +00:00
Felix Fietkau
b2483cf23a fix bogus quilt patch apply errors 2008-06-29 00:06:26 +00:00
Felix Fietkau
116f8bffde fix an accidental return code change 2008-06-28 23:23:30 +00:00
Jo-Philipp Wich
40d21303f3 * libs/httpd: print request uri, not real path in directory listings 2008-06-28 23:22:44 +00:00
Felix Fietkau
b2c50ce17e fix running boa as root 2008-06-28 23:20:35 +00:00
Felix Fietkau
d6a68a4823 handle local host lookup failures 2008-06-28 23:20:30 +00:00
Felix Fietkau
8bb36f506f fix dynamic plugin dlopen() linker issues 2008-06-28 23:20:24 +00:00
Jo-Philipp Wich
b84259d374 * libs/http: added support for directory listings 2008-06-28 23:18:10 +00:00
Steven Barth
87e30fa12c * lib/sgi-cgi, lib/sgi-webuci: Enforce HTTP standards 2008-06-28 22:17:24 +00:00
Steven Barth
c7b5b23f87 * lib/core: Fixed wrong argument order for luci.user.checkpasswd 2008-06-28 21:18:28 +00:00
Felix Fietkau
ffd74bcc09 use ldflags in sgi-webuci linking 2008-06-28 21:01:15 +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
3fc7d3f5de * Fixed last commit 2008-06-28 16:25:25 +00:00
Steven Barth
699784791c * libs/httpd: Added Cache-Control header to LuCI
* libs/httpd: Added Server-Header
2008-06-28 16:23:58 +00:00
Jo-Philipp Wich
cd4353e65f * libs/http: add Date header for 304 responses 2008-06-28 16:17:45 +00:00
Jo-Philipp Wich
e08b97565f * 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
2008-06-28 16:12:37 +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
Jo-Philipp Wich
7f56bf9475 * libs/http: prepare support for RFC2616 / 14.24 - 14.28 2008-06-28 02:05:48 +00:00
Jo-Philipp Wich
3eefe8a8e2 * libs/http: removed caching in http.protocol.date 2008-06-27 20:48:11 +00:00
Steven Barth
289b8fc1b6 * libs/web: Prepare session authentication 2008-06-27 20:29:05 +00:00
Jo-Philipp Wich
96e11423b3 * libs/http: implement caching in http.protocol.date 2008-06-26 20:25:02 +00:00
Steven Barth
378ef2da56 * libs/httpd: Removed a debug function 2008-06-26 19:42:38 +00:00
Steven Barth
dc583e0d3f * libs/httpd: Rewrote daemon controller to increase performance 2008-06-26 19:41:37 +00:00
Jo-Philipp Wich
3346f8fccd * libs/httpd: added ETag, Date, Content-Type and Last-Modified header support to file handler 2008-06-26 18:49:18 +00:00
Jo-Philipp Wich
6ce3d85076 * libs/http: removed debugging prints from http.protocol.date 2008-06-26 18:42:28 +00:00
Jo-Philipp Wich
5c5bbf9c50 * libs/http: require luci.util in http.protocol.mime 2008-06-26 18:32:29 +00:00
Jo-Philipp Wich
98b954a48f * libs/http: added http mime helper lib 2008-06-26 18:31:25 +00:00
Jo-Philipp Wich
85ec6b0a75 * libs/http: added http date helper lib 2008-06-26 18:08:48 +00:00
Jo-Philipp Wich
b8faf24d5c * luci/httpd: fix 500 error case in luci handler, added copyright stuff 2008-06-25 21:19:10 +00:00
Steven Barth
231cd0b89d * libs/httpd: Optimized performance again 2008-06-25 18:44:25 +00:00
Steven Barth
7d0b17c7d3 * libs/httpd: Fixed typos 2008-06-25 18:33:38 +00:00
Steven Barth
e0e4983130 * libs/httpd: Optimized performance 2008-06-25 18:09:53 +00:00
Steven Barth
741bbe7817 * libs/httpd: cleanup 2008-06-25 17:13:59 +00:00
Steven Barth
5d9394a3d6 * libs/httpd: Use HTTP/1.0 for error messages 2008-06-25 16:50:55 +00:00
Steven Barth
215e225fe9 * libs/httpd: Automatically remove timed out threads 2008-06-25 16:48:48 +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
623eb26486 * Added preliminary OpenWRT support for luci-httpd 2008-06-23 21:49:29 +00:00
Steven Barth
df8f524940 * libs/httpd: Tuned Garbage Collection 2008-06-23 21:30:44 +00:00
Steven Barth
1e413b9251 * libs/util: Fixed memory leaks in threadlocal implementations 2008-06-23 20:01:34 +00:00
Steven Barth
02cce96c83 * libs/httpd: Added performance ;-) 2008-06-23 19:41:35 +00:00
Jo-Philipp Wich
d5deb7a99a * luci/libs: fix syntax error in last commit 2008-06-23 19:21:54 +00:00
Jo-Philipp Wich
520b4060a7 * luci/libs: fix possible error when doing sub() on chunk in server.lua 2008-06-23 19:20:57 +00:00
Jo-Philipp Wich
a9a80a3be3 * luci/libs: fix eof handling for urldecode_message_body() in protocol.lua 2008-06-23 19:16:00 +00:00
Steven Barth
4f630d647c * Introducing LuCI HTTPD as testing environment
* Several coroutine-safety fixes
2008-06-23 18:17:02 +00:00
Jo-Philipp Wich
a038da390d * luci/libs: add support for chunked transfer decoding in http.protocol 2008-06-22 12:07:37 +00:00
Steven Barth
90aef16aea * libs/httpd: Prepared HTTPD dispatching model 2008-06-21 19:41:17 +00:00
Steven Barth
16dfa697e4 * Fixed call to push_response 2008-06-21 16:39:51 +00:00
Steven Barth
b28bf0f394 * Fixed last commit 2008-06-21 16:24:52 +00:00
Steven Barth
bfbd74c6ae * 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)
2008-06-21 16:23:41 +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
Steven Barth
e2e9e119d6 * Moved luci.http.protocol to libs/http
* Added ltn12 to libs/core
* Fixed libs/httpd Makefile
2008-06-20 16:47:25 +00:00
Jo-Philipp Wich
8349a0504e * luci/httpd: add initial server implementation 2008-06-19 03:02:49 +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
304ce583c7 * Use CRLF instead of LF in HTTP headers 2008-06-17 16:23:42 +00:00
Steven Barth
71beb64a22 * Preliminary module implementation for Luci HTTPD 2008-06-17 16:16:27 +00:00
Steven Barth
37ab75aea5 * Removed it 2008-06-16 19:53:48 +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
Steven Barth
8d2f6c7041 * Fix sgi-cgi postinst 2008-06-15 20:10:20 +00:00
Jo-Philipp Wich
72aa111b22 * luci/libs: improved linereader implementation 2008-06-15 20:08:29 +00:00
Steven Barth
6fa9ec035b * Removed support for Haserl 2008-06-15 18:54:44 +00:00
Steven Barth
d5d8e8c867 * Fixed last commit 2008-06-15 18:02:47 +00:00
Steven Barth
eac91268f1 * Finished support for SGI CGI 2008-06-15 18:02:09 +00:00
Steven Barth
eae0e44798 * Added support for CGI SGI 2008-06-15 17:45:10 +00:00
Steven Barth
3455ee6d8d * Added support for htdocs module directory 2008-06-15 16:02:47 +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
Steven Barth
1d7935cae0 * Added preliminary support for WSAPI SGI 2008-06-14 19:30:30 +00:00
Jo-Philipp Wich
971ffe47da * luci/libs: move time fix to luci-addons 2008-06-14 15:14:15 +00:00
Steven Barth
cb53f314f4 * Minor cleanups 2008-06-14 14:55:49 +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
8138a60504 * Rolling back to Boa 0.94.13 due to chaos 2008-06-12 09:11:57 +00:00
Steven Barth
fd76e7f7fe * Fixed cross compiling 2008-06-12 08:45:05 +00:00
Steven Barth
b8430dcff7 Readded unfindes Boa 0.94.14rc21 2008-06-12 08:25:36 +00:00
Steven Barth
e6cf26b8ee * libs/sgi-webuci: Added init-script for Boa 2008-06-12 07:33:50 +00:00
Steven Barth
d8e5e32ad8 Revert "* Updated Boa to 0.94.14rc21 + Debian patches"
due to instability of new version
Updated Boa configuration
2008-06-11 22:11:55 +00:00
Steven Barth
aeb411d19d * Disable Boa gunzip support 2008-06-11 20:16:41 +00:00
Steven Barth
0ce532556c * Updated Boa to 0.94.14rc21 + Debian patches 2008-06-11 08:39:43 +00:00
Steven Barth
d291e1c3f5 * Fixed host builds 2008-06-10 23:01:40 +00:00
Steven Barth
211c6394a0 * Prepare german translation cleanup 2008-06-09 10:10:29 +00:00
Steven Barth
2bf012a40a * themes/fledermaus: Register on install
* applications/luci-statistics: Fixed wrong paths in templates
2008-06-09 08:48:10 +00:00
Steven Barth
64806f32be * Made Makefiles attribute aware 2008-06-09 07:56:20 +00:00
Steven Barth
c7e3e11811 * libs/cbi: Fixed a bug which prevented creation of non-anonymous sections 2008-06-08 21:21:33 +00:00
Steven Barth
e9c93fea17 * Increased version number to 0.6 2008-06-08 20:58:22 +00:00
Jo-Philipp Wich
4ad4a77b3d * luci/core: add spairs(), kspairs() and vspairs() sorted hashtable iterator functions 2008-06-08 20:51:48 +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
a7a2afdb0a * libs/uci: Fixed uci.delete_all
* Fixed Freifunk wizard
2008-06-07 07:58: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
741f7a44f5 * Fixed typos 2008-06-06 22:27:03 +00:00
Steven Barth
cd0fb5e44e * Removed High-Level UCI-API due to Lua compiler bugs 2008-06-06 20:45:33 +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
Steven Barth
75f3dbaa61 * Updated UCI libraries
* Removed old UCI libraries
* Added new High-Level UCI API
2008-06-05 19:15:31 +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
f7fab0d54f allow the sgi-webuci prepare_req function to reload the lua context if necessary (not used yet) 2008-06-04 00:01:21 +00:00
Felix Fietkau
d0694fdb1e fix footer 2008-06-03 23:17:40 +00:00
Felix Fietkau
77f8074a01 make use of the new features in the binding for uci v0.4.0 - fixes remaining dependencies of libuci.lua on the cli 2008-06-03 22:42:01 +00:00
Jo-Philipp Wich
5c1fe0e544 * luci/core: util.lua: implement min(utes) in parse_units() 2008-06-03 19:12:32 +00:00
Steven Barth
56a23c609c * libs/web: Added support for custom query strings 2008-06-03 18:02:53 +00:00
Steven Barth
47b1f40356 * Fixed COPTS handling in OpenWRT Makefile
* libs/fastindex: fixed Makefile
2008-06-03 16:41:32 +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
95116c8d3b * libs/fastindex: Changed Makefile to use LUCI_INSTALLDIR 2008-06-02 19:14:56 +00:00
Jo-Philipp Wich
a29fb388f5 * luci/core: util.lua: added parse_units() helper function 2008-06-02 18:02:00 +00:00
Steven Barth
f56890a573 * Added native basic authentication support
* Cleanups
2008-06-02 17:49:27 +00:00
Jo-Philipp Wich
92d76ed836 * luci/core: cbi.lua: automatically set size of MultiValue fields 2008-06-02 16:21:41 +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
f5c117f067 fix fastindex namespace 2008-06-02 15:35:44 +00:00
Steven Barth
ed0ef1f9f0 move the .o and .so .gitignore lines to the top level .gitignore 2008-06-02 15:35:30 +00:00
Steven Barth
088bc4628b add the fastindex module 2008-06-02 15:35:22 +00:00
Steven Barth
dc157c4dda remove unnecessary compiler command line stuff in sgi-webuci 2008-06-02 15:35:10 +00:00
Jo-Philipp Wich
c660416989 * luci/core: cbi.lua: fix auto-i18n for values inside typed sections 2008-06-01 21:20:20 +00:00
Jo-Philipp Wich
e95d152b3d * luci/core: cbi.lua: NamedSection and TypedSection take different numbers of arguments, move i18n init to corresponding constructors 2008-06-01 18:34:13 +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
Jo-Philipp Wich
47b62843fc * luci/core: cbi.lua: automatic i18n capabilities; whitespace cleanup 2008-06-01 16:42:33 +00:00
Steven Barth
6250394740 * libs/core: Adapted luci.util.strip_bytecode to handle lnum-bytecode correctly 2008-06-01 14:54:58 +00:00
Steven Barth
bc5c1995eb * luci/web: Set default language to English
* applications/community-*: Set default language to German
2008-06-01 12:35:19 +00:00
Steven Barth
e1c469e634 * Added OpenWRT package for english translation (incomplete)
* libs/core: Fixed indentation of luci.util.strip_bytecode
2008-06-01 12:22:47 +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
4e53d007bf * Reworked Makefiles
* Introduced following targets:
	build: gccbuild luabuild
	gccbuild: compile
	luabuild: luasource||luacompile
* Removed requirement for lua-headers respecting lua-only builds
* Split compile part of OpenWRT Makefile
2008-05-28 19:37:43 +00:00
Steven Barth
4365fbe2a3 Squashed commit of the following:
commit d45d1757d24d8214f730af1a3401dd2bef4a434f
Author: Steven <steven@cyrus.homeunix.org>
Date:   Wed May 28 17:23:27 2008 +0200

    * libs/core: Removed dummymode checks in sys
    * libs/sgi-webuci: Fixes

commit b870e8d345bc8912fd8ab61d463b9d68b924a6f4
Author: Felix Fietkau <nbd@openwrt.org>
Date:   Wed May 28 15:40:10 2008 +0200

    fix path to theme

commit e3732926bd98db4cc38de6eb8018cd4e55176699
Author: Felix Fietkau <nbd@openwrt.org>
Date:   Wed May 28 14:56:03 2008 +0200

    set the proper path to the config in dummy mode

commit a75aecf46f037c98bd6e49b9e48adb735d76d150
Author: Felix Fietkau <nbd@openwrt.org>
Date:   Wed May 28 14:50:42 2008 +0200

    add some dummy mode support

commit 12bb39ef606bca6b403cc982213a6597b76dc1b3
Author: Felix Fietkau <nbd@openwrt.org>
Date:   Wed May 28 14:41:56 2008 +0200

    normalize paths

commit 7aaad1103fd2bdc75aca158baa6ef191f9a961c6
Author: Felix Fietkau <nbd@openwrt.org>
Date:   Wed May 28 14:27:26 2008 +0200

    add missing require statement

commit 5766274bd2511b00c42b474aeeeb3efaca6ded9b
Author: Felix Fietkau <nbd@openwrt.org>
Date:   Wed May 28 14:19:54 2008 +0200

    add optional luaposix package (patched for darwin support)

commit 9e257a76d03722fc0ce8312aa9952641b21424bd
Author: Felix Fietkau <nbd@openwrt.org>
Date:   Tue May 27 20:21:59 2008 +0200

    add missing files, more integration for the boa plugin, fix path to lua modules

commit dacc1a98ec946975fcb19f87076dfa7db865fca6
Author: Felix Fietkau <nbd@openwrt.org>
Date:   Tue May 27 19:42:37 2008 +0200

    use "compile" instead of "source" and rename the old version of compile to "compile-all"

commit eb14777c4fee1eb5740aba1e5603e481320da7b1
Author: Felix Fietkau <nbd@openwrt.org>
Date:   Tue May 27 19:41:59 2008 +0200

    more boa integration

commit df0afb965bf0a987b653e9d0acadf3151179a596
Author: Felix Fietkau <nbd@openwrt.org>
Date:   Tue May 27 18:33:42 2008 +0200

    build boa and the webuci.so plugin along with sgi-webuci

commit 878161dabf32066631103d199e2cbaf3f5a7fb07
Author: Felix Fietkau <nbd@openwrt.org>
Date:   Tue May 27 18:03:16 2008 +0200

    add .gitignore
2008-05-28 15:28:13 +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
Steven Barth
d35a620e9f commit 4f6198094cf4134179d1f9c9fa8f79759a27c87e
Author: Felix Fietkau <nbd@openwrt.org>
Date:   Tue May 27 13:56:12 2008 +0200

    rename src/ to luasrc/
2008-05-27 12:23:39 +00:00
Steven Barth
93ff578ac8 * 3rd Package reorgnaisation
* Moved core, web, cbi to libs
* Refactored OpenWRT Makefile to separate Libraries, Webinterface Components, Freifunk packages
2008-05-27 09:33:52 +00:00