Commit graph

314 commits

Author SHA1 Message Date
Steven Barth
2755a46c4d applications/luci-splash: Updated to work with new UCI firewall 2008-08-05 12:58:20 +00:00
Steven Barth
eddcc1fdbd libs/cbi: Optimized Comboboxes 2008-08-05 00:44:31 +00:00
Steven Barth
9a63ad7c10 applications/luci-fw: Reworked to use the new native UCI-based firewall configuration 2008-08-04 23:36:33 +00:00
Steven Barth
3d1f9b05e9 libs/cbi: Optimized Comboboxes 2008-08-04 17:35:44 +00:00
Steven Barth
084db952ce libs/cbi: Added value function to luci.cbi.Value to create Comboboxes 2008-08-04 17:16:27 +00:00
Steven Barth
513e1cbba9 libs/core: luci.model.ipkg: Use OPKG instead of IPKG if available 2008-08-03 16:39:20 +00:00
Steven Barth
14e62cc311 libs/web: Fixed template escaping 2008-07-31 09:54:09 +00:00
Steven Barth
5c7ab64306 libs/cbi: Fixed CBI handling of "Save & Apply" 2008-07-30 19:01:07 +00:00
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
a478f25f51 libs/lpk: Fixed typos 2008-07-29 17:00:06 +00:00
Steven Barth
8dad54251a libs/lpk: Several fixes in CLI -> Machine bindings 2008-07-29 16:54:30 +00:00
Steven Barth
41eceab4c4 libs/lpk: Updated CLI 2008-07-29 16:24:24 +00:00
Steven Barth
f8f4fe7523 modules: Redesigned configuration save, apply, save & apply menu options 2008-07-29 15:33:28 +00:00
Steven Barth
43ffb3aacb libs/cbi: Added "Save & Apply" button to CBI forms 2008-07-29 14:01:19 +00:00
Steven Barth
1f3700085c libs/lpk: Initial CLI 2008-07-28 15:16:44 +00:00
Steven Barth
db4447af91 libs/core: Renamed luci.util.create_dtable => luci.util.dtable 2008-07-28 14:17:30 +00:00
Steven Barth
84ad4e3e21 libs/core: Add luci.util.create_dtable 2008-07-28 13:07:22 +00:00
Steven Barth
3b29503f13 libs/lpk: Implemented register/stack/state machine 2008-07-27 17:38:05 +00:00
Steven Barth
e8c0707534 luci/lpk: Initial commit 2008-07-26 22:29:09 +00:00
Steven Barth
e5df13e80e libs: Fixed serialization stuff 2008-07-26 17:24:46 +00:00
Jo-Philipp Wich
81cf9b0206 * luci/libs/core: strip bytecode from serialized data too in get_bytecode() 2008-07-26 00:30:22 +00:00
Jo-Philipp Wich
d240fb4d8c * luci/libs/core: Oops... forgot the boolean datatype in serialize_data() 2008-07-26 00:08:43 +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
714d722961 libs/core: Fixed some typos in the luci.util inline documentation 2008-07-25 11:47:20 +00:00
Steven Barth
c5b7d39f2f libs/uci: Added inline documentation 2008-07-24 16:21:32 +00:00
Jo-Philipp Wich
184b6e6dcc * luci/libs/core: Small translation fix for get_bytecode() 2008-07-24 15:25:52 +00:00
Jo-Philipp Wich
1ff791f765 * luci/libd/core: Add serialize_data() and restore_data() to luci.util, use the new functions to permit the generation of bytecode for most data types. Translation fixes. 2008-07-24 15:23:38 +00:00
Steven Barth
7384e0e6b7 Rewrote host environment targets to work out of the box 2008-07-24 13:55:11 +00:00
Steven Barth
f94c7b2c10 libs/web: Cleanup and inline documentation 2008-07-23 19:27:33 +00:00
Steven Barth
22451345d8 Made SGIs even more standards compliant (respect EOF command from LuCI) 2008-07-23 18:52:12 +00:00
Steven Barth
59bef00fc3 Fix sgi-wsapi and sgi-luci to be standards compliant 2008-07-23 18:31:47 +00:00
Steven Barth
7a08658fe7 libs/core: Fixed docstrings for luci.util 2008-07-23 14:29:31 +00:00
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