Commit graph

1350 commits

Author SHA1 Message Date
Steven Barth
d81b3548a9 nixio:
Added binding for getifaddrs(): List network interfaces, their flags,
addresses and statistics
Cleanups
2009-04-26 19:10:36 +00:00
Steven Barth
a2b916ab73 Merge nixio 0.2 2009-04-21 16:26:45 +00:00
Jo-Philipp Wich
383cac453b libs/cbi: workaround git deficiencies 2009-04-16 10:36:29 +00:00
Jo-Philipp Wich
38a52d9a29 libs/sys: sync zoneinfo to tzdata 2009d 2009-04-10 19:32:00 +00:00
Steven Barth
0acedfff3e Fix some fallout 2009-04-09 13:59:50 +00:00
Jo-Philipp Wich
859a3fee88 libs/web: fix file caches in dispatcher, broke when introducing lua-gz support 2009-04-08 00:08:38 +00:00
Jo-Philipp Wich
9835296ba2 trunk: prepare LuCI to handle .lua.gz files 2009-04-04 22:54:16 +00:00
Steven Barth
f3deef9ec5 Backport Skip-Button support 2009-04-03 18:08:25 +00:00
Steven Barth
0ef46dc967 Import luanet library
Relicensed with author's permission
Thanks John
2009-03-30 11:27:43 +00:00
Jo-Philipp Wich
0c7effc0c0 libs/cbi: properly handle uvl errors without childs 2009-03-29 22:13:26 +00:00
Steven Barth
8fdb12c4d1 Introduce noheader and nofooter CBI-Dispatcher config 2009-03-27 00:10:17 +00:00
Steven Barth
8368432a63 Fix last commit 2009-03-26 12:39:43 +00:00
Steven Barth
b9fbed39ca Correctly set status FORM_PROCEED instead of FORM_CHANGED if user
creates / deletes a field or section
2009-03-26 12:37:26 +00:00
Steven Barth
5de4878257 nixio: solaris does not recognize LOG_PERROR 2009-03-16 13:40:22 +00:00
Steven Barth
13767f5d1a Fix a possible stack corruption 2009-03-16 13:34:46 +00:00
Steven Barth
e5a34b512c Added missing file 2009-03-16 13:29:06 +00:00
Steven Barth
452442d1d0 nixio: added syslog support 2009-03-16 13:28:47 +00:00
Jo-Philipp Wich
fc62fe46d0 libs/web:
- improve handling of low level runtime errors
	- wrap access to luci.main into assert()
2009-03-14 01:16:03 +00:00
Steven Barth
ee4852a5ad Sync nixio 2009-03-13 18:29:23 +00:00
Steven Barth
edda19be9a nixio: More sockopts 2009-03-13 12:10:33 +00:00
Steven Barth
5fa29b1c5a nixio: +socket options SO_DONTROUTE, SO_BINDTODEVICE 2009-03-13 11:53:12 +00:00
Steven Barth
9bf88087f4 nixio: chdir() 2009-03-12 21:44:11 +00:00
Steven Barth
82858a8e8f nixio: add setsid() 2009-03-12 21:31:57 +00:00
Steven Barth
2c7a30708d httpclient: handle redirects more graceful 2009-03-12 20:14:55 +00:00
Steven Barth
6aa6fb88ab FreeBSD compatibility #3 2009-03-12 15:09:12 +00:00
Steven Barth
04eb9de74e nixio: FreeBSD compatibility #2 2009-03-12 14:53:52 +00:00
Steven Barth
35f40376c3 nixio: FreeBSD compatibility #1 2009-03-12 13:06:19 +00:00
Jo-Philipp Wich
e401b4a620 libs/sys: update zoneinfo to version 2009b 2009-03-12 07:47:11 +00:00
Steven Barth
8eadc262d0 Drop XML i18n files 2009-03-11 15:21:59 +00:00
Steven Barth
a125a64a15 Be nice() 2009-03-10 20:59:56 +00:00
Steven Barth
68a95e6806 nixio: Implement protable behaviour of signal(), export more error
constants
2009-03-09 22:19:47 +00:00
Steven Barth
2e79c969c0 httpclient: Added missing import
nixio: waitpid() returns 0 with WNOHANG and no terminated childs
2009-03-09 20:06:36 +00:00
Steven Barth
7b5d67305e Allow SimpleForm handler to set CBI status 2009-03-09 14:28:55 +00:00
Steven Barth
73607dbd7d Improved httpclient 2009-03-09 14:02:34 +00:00
Steven Barth
6129d031b0 nixio: reenable splice() for linux 2009-03-09 13:17:44 +00:00
Steven Barth
4aa848533e Cicrumvent possible segfaults in axTLS
More compatibility
2009-03-09 11:38:29 +00:00
Steven Barth
589e680970 Make nixio compile on OpenSolaris 2009-03-09 09:37:08 +00:00
Steven Barth
30b7bc7c62 Fixed last commit 2009-03-07 16:28:27 +00:00
Steven Barth
25da62f8ff Don't compare cstate if there is none 2009-03-07 16:24:05 +00:00
Steven Barth
1ed9be270b Fix debugging output 2009-03-07 13:21:27 +00:00
Steven Barth
ad57125f41 Allow combination of SimpleForms as Forms into pages with Maps
Allow subsequent changes of Table data
2009-03-07 11:30:41 +00:00
Steven Barth
eb6f9c6192 Fixed last commit 2009-03-06 17:20:42 +00:00
Steven Barth
22a9815e3e Fixed last commit 2009-03-06 17:20:38 +00:00
Steven Barth
ec29107ede bla 2009-03-06 17:18:45 +00:00
Steven Barth
96d988abb0 httpclient: Improved callback support 2009-03-06 17:17:44 +00:00
Steven Barth
09a18c2c31 nixio util:
Don't shutdown TLS connection on close()
This could lead to problems when calling close on a forked socket
sink() also shutdown connection if close is requested and possible
2009-03-06 16:34:26 +00:00
Steven Barth
0b8a61a536 httpclient: callback can abort download 2009-03-05 23:52:54 +00:00
Steven Barth
f151bb804f nixio: Export more constants, introduce {g,s}et{g,u}id, getpid, getppid 2009-03-05 19:20:40 +00:00
Steven Barth
f1b667fc6f nixio: Fix generation of private key for axtls 2009-03-04 18:30:56 +00:00
Steven Barth
fc45514531 Still not working... 2009-03-04 17:53:25 +00:00
Steven Barth
f94538dda3 Fix nixio postinst 2009-03-04 17:41:55 +00:00
Steven Barth
b92e6532a0 nixio: Autogenerate private key on installation if we have axtls
support, make the TLS provider configurable in the build menu
2009-03-04 17:17:30 +00:00
Steven Barth
a5ae3959b5 Set /etc/private.rsa as default key for axTLS contexts
More openssl - axTLS fixes
2009-03-04 13:09:32 +00:00
Steven Barth
e38c438771 nixio:
Use POSIX file functions
introduce dup()
introduce fork() wait() kill()
more signal interrupt wrappers
more POSIX / UNIX standard compliance
2009-03-03 22:44:26 +00:00
Steven Barth
a3079828b4 Fix header generator 2009-03-02 20:18:29 +00:00
Steven Barth
eb64affa39 Set method to POST if we have postdata and no other method is set 2009-03-02 19:45:07 +00:00
Steven Barth
62a914555e httpclient: default content-type for post data is
"application/x-www-form-urlencoded"
2009-03-02 19:41:32 +00:00
Steven Barth
33fe5b57d7 More splicing stuff 2009-02-28 21:21:52 +00:00
Steven Barth
7196b2cd84 nixio: Fixes, use POSIX calls for file i/o
httpclient: resume support, splice() support, cookie support
2009-02-27 14:51:37 +00:00
Steven Barth
30421d38dd Introduce luci.dispatcher.get(...) which works like node(...) but does
not disable the autocreated flag and does not overwrite the target
controller so that call()-targets won't loose their binding to their
controller
2009-02-26 17:08:41 +00:00
Steven Barth
3b7bb9c82f Enable stack tracebacks for 500 errors 2009-02-26 16:45:01 +00:00
Steven Barth
ff2bc9081b nixio: Finetuning of TLS-support
httpclient: HTTPS support
axTLS: enable diagnostic mode
2009-02-24 17:54:48 +00:00
Steven Barth
1eec55dd47 Fix option dependencies, this was lost in some IE fixing stuff 2009-02-23 22:53:42 +00:00
Steven Barth
6b104b9a45 nixio:
Reogranize TLS headers
Fix TLS receive buffer workaround for axTLS
Add support for flock()
2009-02-23 17:21:14 +00:00
Steven Barth
65b50a8f8a More compat fixes 2009-02-22 23:45:49 +00:00
Steven Barth
06450d3fe3 Remove some crap
Add compatiblity for older uclibc versions
2009-02-22 23:37:35 +00:00
Steven Barth
d730c12633 Add axTLS sourcecode 2009-02-22 23:19:25 +00:00
Steven Barth
d2b11117f2 NIXIO: TLS-Support, bugfixes 2009-02-22 22:49:23 +00:00
Steven Barth
360479b5a5 Fixes UVLdoc generation, thanks ffrrrr (closes #49) 2009-02-20 11:47:03 +00:00
Steven Barth
cbc49a3b53 More nixio fixes, initial httpclient 2009-02-18 21:46:55 +00:00
Jo-Philipp Wich
e062ec6981 libs/ipkg: use -force-defaults to ensure non-interactive execution 2009-02-17 01:37:18 +00:00
Steven Barth
695361877c More nixio fixes 2009-02-15 13:59:30 +00:00
Steven Barth
157cc2b896 nixio: +performance 2009-02-14 14:39:12 +00:00
Steven Barth
aa0cee169f nixio: added sendfile(), return false instead of nil for EWOULDBLOCK 2009-02-14 10:42:48 +00:00
Steven Barth
5ff898e624 nixio next
splice() still does not work correctly
2009-02-12 19:48:06 +00:00
Steven Barth
4327f9250e nixio + io = nix2io 2009-02-10 17:35:07 +00:00
Jo-Philipp Wich
b5026e65c0 libs/web: don't send Status: 500 in error500() if header is already sent
modules/admin-core: include template header only once
2009-02-09 13:17:26 +00:00
Steven Barth
8dbb8a0ad3 Use poll() instead of select()
Reintroduce nanosleep()
2009-02-08 20:57:36 +00:00
Steven Barth
56d142a1a1 nixio linux IO/socket api (incomplete / WIP) 2009-02-08 14:01:48 +00:00
Jo-Philipp Wich
f52ec22717 modules/admin-full: implement iptables status page
i18n/english: resync xml, add strings for iptables page
libs/sys/iptparser: implement chain() and is_custom_target()
2009-02-08 03:56:50 +00:00
Jo-Philipp Wich
e3c8b9a10b libs/sys/iptparser: remove typo, bump copyright year 2009-02-08 00:50:25 +00:00
Jo-Philipp Wich
474a617268 libs/sys/iptparser: import required functions 2009-02-08 00:48:21 +00:00
Jo-Philipp Wich
a9f58b0c52 libs/sys/iptparser:
- rewrite inline documentation to luadoc
	- utilize luci.ip for source and destination comparisations
2009-02-08 00:45:13 +00:00
Jo-Philipp Wich
43844ccc0d libs/sys: import missing symbol 2009-02-02 17:35:51 +00:00
Jo-Philipp Wich
4b9f7db1ce libs/sys: extend luci.sys.hostname() to allow setting a new name
modules/admin-{full,mini}: update the hostname at runtime
2009-02-01 17:08:40 +00:00
Steven Barth
ab18c3ba10 Fix autodetection for extended language identifiers 2009-01-30 15:29:14 +00:00
Jo-Philipp Wich
b0abe4aa08 libs/core: further fixes for luci.util.pcdata(), fix wrong character range and drop invalid control chars entirely 2009-01-25 13:03:17 +00:00
Jo-Philipp Wich
e226a77b24 libs/core: rework luci.util.pcdata() to also escape ascii control chars 2009-01-25 12:29:37 +00:00
Jo-Philipp Wich
fc1e5cbe4d libs/lucittpd: fix format strings in luaplugin.c and log.c 2009-01-21 13:50:24 +00:00
Steven Barth
05da6913dd urldecode path_info before using it 2009-01-20 19:40:14 +00:00
Steven Barth
514a9bfec7 Add utime to luci.fs 2009-01-20 10:18:45 +00:00
Jo-Philipp Wich
eedf535996 libs/cbi: remove workaround for libuci 2009-01-20 00:51:01 +00:00
Jo-Philipp Wich
10ab31ef5f libs/cbi:
- add workaround for libuci-lua bug when writing list values
	- compare values against keyllist not vallist when validating StaticList
	-> fixes StaticList and DynamicList widgets
2009-01-20 00:05:18 +00:00
Jo-Philipp Wich
b204c9ec8d libs/uci: implement get_bool() to retrive uci variables as boolean value 2009-01-19 13:39:54 +00:00
Jo-Philipp Wich
14c485e117 libs/uvl: update inline documentation 2009-01-18 00:02:13 +00:00
Jo-Philipp Wich
9ee2ef5623 libs/uvl:
- allow overriding the config directory in luci.uvl
	- support --configdir for uvl verify too
2009-01-17 23:50:32 +00:00
Steven Barth
a6159010a8 Purge abandonend brands 2009-01-17 17:56:43 +00:00
Jo-Philipp Wich
89c8f98b12 build: add mkversion.sh helper script
contrib: (re-)generate version.lua at build time
libs/core: use version.lua
themes: adept header to version.lua, fix css for openwrt.org
2009-01-17 16:35:02 +00:00
Steven Barth
4957144262 Autoapplying on creation / deletion of sections is annoying, disable it. 2009-01-17 13:06:18 +00:00
Steven Barth
d0d1fe0a28 Automatic language detection 2009-01-14 23:47:56 +00:00
Jo-Philipp Wich
c730262d14 libs/cbi: implement .sectionhead and .sectiondesc properties to allow labelling the id column in table layouts 2009-01-12 17:31:19 +00:00
Jo-Philipp Wich
dfbd41b2dc libs/cbi: also set id attribute for hidden fields 2009-01-11 15:45:34 +00:00
Jo-Philipp Wich
fb7aea55e8 libs/cbi: add support for hidden form fields in sections 2009-01-11 03:44:04 +00:00
Steven Barth
85f780f576 Resolve dependencies when a combobox is updated. 2009-01-09 10:57:28 +00:00
Steven Barth
cc4e2d4943 Introduce active (pulling) JSON-Decoder 2009-01-04 20:08:45 +00:00
Steven Barth
f911758bc2 Add extended dispatching targets, optimize dispatching behaviour 2009-01-04 15:45:57 +00:00
Jo-Philipp Wich
870397a3cd libs/ip: return a copy of given tables in __mask16() to avoid destroying them later 2008-12-27 01:42:34 +00:00
Steven Barth
014d971eab Fix urltoken passing on several pages 2008-12-22 21:54:20 +00:00
Jo-Philipp Wich
0c3f77a397 libs/core: implement fs.isdirectory() 2008-12-19 12:08:51 +00:00
Steven Barth
57cfc2ee26 Fixed REQUEST_URI 2008-12-17 19:52:50 +00:00
Steven Barth
1ee5ba632a Refined urltokens and XSRF protection 2008-12-15 10:40:45 +00:00
Steven Barth
271c53a4af Implement URL tokens
Add basic XSRF protection
2008-12-14 21:43:10 +00:00
Steven Barth
8b978f79fc Added luci.sauth.kill, sanitize luci.sauth even more 2008-12-14 21:42:59 +00:00
Jo-Philipp Wich
f7a3e34955 prevent package upgrade failures caused by sloppy postinstalls 2008-12-09 00:03:08 +00:00
Steven Barth
77ac7cfcad Start LuCIttpd in background 2008-12-07 20:09:46 +00:00
Steven Barth
dd74b986a0 Make luci.sys.wifi.getiwconfig more compatible 2008-12-07 19:38:22 +00:00
Steven Barth
506822ee70 Make LuCIttpd work OOTB 2008-12-07 11:47:59 +00:00
Jo-Philipp Wich
cbdc5af52e build: generate timezone offsets too in zoneinfo2lua.pl
libs/http:	drop zoneinfo information in luci.http.protocol.data, use luci.sys.zoneinfo instead
libs/sys:	refresh zoneinfo information
2008-12-06 03:18:14 +00:00
Steven Barth
7540f86d40 Reload luci.config for each thread 2008-12-05 15:36:44 +00:00
Jo-Philipp Wich
46bb17c2d2 modules/admin-full: whitesapce cleanup in routes.lua
libs/sys:		code changes in routes6() and defaultroute6()
2008-11-30 19:12:58 +00:00
Steven Barth
cd8e12d72a Don't fail if we do not have v6 support 2008-11-30 18:43:10 +00:00
Steven Barth
5734545388 Optimized conntrack (thanks to Joe Burpee) 2008-11-30 17:22:48 +00:00
Steven Barth
b33943a6e8 Merge LuCIttpd 2008-11-30 13:19:45 +00:00
Steven Barth
0b34ab07d4 Scope compatibility fixes 2008-11-29 21:58:39 +00:00
Jo-Philipp Wich
a4fcc13388 libs/web: reformat code in dispatcher.lua that confuses luadoc 2008-11-29 21:21:43 +00:00
Jo-Philipp Wich
dda65d2b94 libs/core/ip: optmizations
libs/sys:		implement defaultroute6(), change return values of routes() and routes6()
modules/admin-full:	adept route config page to new api
modules/freifunk:	adept overview page to new routes api
2008-11-29 20:46:26 +00:00
Steven Barth
6b6359a7ef Enable rmempty by default 2008-11-27 22:03:50 +00:00
Jo-Philipp Wich
5b48beff18 libs/sys: whitespace fix 2008-11-27 00:17:36 +00:00
Jo-Philipp Wich
ddccf47328 libs/sys: fix regexp pattern in routes6() 2008-11-27 00:07:17 +00:00
Jo-Philipp Wich
3793244fcb libs/sys: whitespaces fixes 2008-11-26 22:59:11 +00:00
Jo-Philipp Wich
950825d323 libs/sys: implement luci.sys.net.routes6() 2008-11-26 22:57:57 +00:00
Jo-Philipp Wich
18b4c1f6b6 libs/core/ip: fix host() method 2008-11-26 22:57:26 +00:00
Jo-Philipp Wich
fda52c6fec libs/core/ip: fix prefix length handling in Hex() constructor 2008-11-26 22:29:14 +00:00
Steven Barth
408e9d289d Fixed last commit 2008-11-20 21:16:02 +00:00
Steven Barth
8d2c8c131d Remove luci.cutil: does not affect performance 2008-11-20 21:14:58 +00:00
Steven Barth
a3cf596d37 More luci.cutil 2008-11-20 19:39:40 +00:00
Steven Barth
9c260769a5 More C-Functions (luci.cutil.instanceof, luci.cutil.pcdata) 2008-11-20 19:22:05 +00:00
Steven Barth
9a203c52dd Integrate core C implementation 2008-11-20 15:15:50 +00:00
Steven Barth
40639695cb LuCI Core C-Rewrite: First steps 2008-11-19 23:02:36 +00:00
Jo-Philipp Wich
cbed72fb47 * luci/themes: fix log pages
* luci/modules/admin-full: add dmesg page
* luci/i18n: add "dmesg" translations
* luci/libs/util: add cmatch(), register string functions in string class
* luci/libs/sys: add dmesg()
2008-11-16 22:45:10 +00:00
Steven Barth
d0939b4e33 Assign correct path attribute to nodes 2008-11-16 13:52:50 +00:00
Steven Barth
34283b2733 IPKG würgaround 2008-11-12 19:05:03 +00:00
Steven Barth
20fc751eca Detect IXP4xx processors correctly 2008-11-12 18:05:43 +00:00
Steven Barth
97130b6486 Make luci.fs.rename work across fielsystems 2008-11-12 12:52:57 +00:00
Steven Barth
f96de2586a Implemented dispatching tree modifiers 2008-11-11 18:55:07 +00:00
Jo-Philipp Wich
6114c47269 * luci/i18n/french: refresh and fix french translation, thanks! (fixes #4) 2008-11-09 22:42:36 +00:00
Steven Barth
ce4c71cda0 Increase compatibility of SGI-CGI with CGI1.1 standard 2008-11-08 20:23:55 +00:00
Steven Barth
f64847e2dd Fix a nasty Internet Suxplorer bug which prevented XHR forms from being correctly submitted. 2008-11-08 15:27:31 +00:00
Steven Barth
a5cb3b04cb Skip validation of options on second parse cycle 2008-11-06 21:00:16 +00:00
Steven Barth
caf05a86f3 Workaround some Heisenbug 2008-11-06 18:32:07 +00:00
Jo-Philipp Wich
42e79af68b * luci/libs/sys: add zoneinfo module 2008-11-06 17:49:22 +00:00
Steven Barth
0969279c41 Interet Suxplorer sends invalid HTTP-headers, ignore them 2008-11-06 17:34:46 +00:00
Steven Barth
9f28871ffc Fix error handling for SimpleForms 2008-11-05 21:12:26 +00:00
Steven Barth
ba689499bb Merge on_***_to handlers 2008-11-05 21:12:19 +00:00
Steven Barth
5c36f21751 Handle empty fields correctly 2008-11-05 14:53:37 +00:00
Steven Barth
eb7c1f337d Ensure hotdeploying 2008-11-05 14:10:02 +00:00
Jo-Philipp Wich
e933d1a678 * luci/libs/uvl: remove max_nil option for now 2008-11-04 23:55:49 +00:00
Jo-Philipp Wich
03b4acea13 * luci/libs/uvl:
- recursively check error-tree of option-level dependencies
	- mask all non-critical errors when walking error tree
2008-11-04 23:49:20 +00:00
Jo-Philipp Wich
d1796b2991 * luci/libs/uvl: fix option dependency error handling in case of different non-critical reasons 2008-11-04 16:11:25 +00:00
Jo-Philipp Wich
7aee80de5c * luci/libs/uvl: revert accidentally committed changes in dependency handler 2008-11-04 16:02:47 +00:00
Jo-Philipp Wich
8d75d524f9 * luci/libs/uvl: more sensitive checking of error reasons in evaluation of option dependencies 2008-11-04 16:00:58 +00:00
Jo-Philipp Wich
4219ec1754 * luci/libs/lua: process option dependencies first, allows mixing of required flags with dependencies 2008-11-04 15:38:44 +00:00
Steven Barth
e0e58e842d Overall CBI improvements 2008-11-03 19:20:21 +00:00
Steven Barth
14a2e32142 Merge CBI change-detection 2008-11-03 10:05:48 +00:00
Steven Barth
4a15c6ffba Always close POST-connections (circumvents some strange browser behaviour in Firefox / Opera) 2008-11-03 09:44:38 +00:00
Steven Barth
9d67f6db01 Fixed new UVL options 2008-11-02 22:22:50 +00:00
Steven Barth
8767a20e40 Apply host-UVL 2008-11-02 22:05:57 +00:00
Steven Barth
de80e2a708 Added UVL values minlength, maxlength, minimum, maximum 2008-11-02 21:42:16 +00:00
Steven Barth
9e4c03a9c3 Bump UCI version 2008-11-02 13:43:17 +00:00
Steven Barth
9d85bd73e5 Rewrote state based redirection 2008-11-02 13:26:41 +00:00
Steven Barth
d600a2f209 Publish request args 2008-11-01 18:49:41 +00:00
Steven Barth
c7a06b61c7 Extend CBI state handling 2008-11-01 18:32:02 +00:00
Steven Barth
ae6fd93b8c Add XHR CBI helper 2008-11-01 17:11:11 +00:00
Steven Barth
ea9b377ec5 Merge pageactions 2008-11-01 17:11:02 +00:00
Steven Barth
e29810c534 * set .pageaction = false transparently in cbi SimpleForm constructor 2008-11-01 17:10:50 +00:00
Steven Barth
f3ca7840d6 Remove overload protection from SDK httpd 2008-11-01 10:53:29 +00:00
Steven Barth
be090ec9a7 Throw error messages on stderr 2008-10-31 20:57:07 +00:00
Steven Barth
8c4492db5f Removed UCI Save/Apply cache from Essentials
Made CBI controllers configurable
2008-10-31 09:35:11 +00:00
Steven Barth
676966f78b Add luci.util.append 2008-10-30 19:10:39 +00:00
Steven Barth
8d9a130b70 luci.util.combine now also accepts single objects 2008-10-30 19:10:22 +00:00
Steven Barth
b202a403ff Publish status data
Conflicts:

	libs/web/luasrc/dispatcher.lua
2008-10-30 19:10:08 +00:00
Steven Barth
2d4f21e955 Fix rewrite and alias functions 2008-10-30 19:09:52 +00:00
Steven Barth
3f66d4e5fc Replace some makes-you-want-to-slash-your-wrists-Code with something less harmful 2008-10-30 13:09:40 +00:00
Steven Barth
062eea6b4b Fixed a typo in luci.sys.httpget 2008-10-30 13:09:35 +00:00
Steven Barth
fefe7c0f5d Use uname instead of /proc for reading the system hostname 2008-10-30 12:18:52 +00:00
Jo-Philipp Wich
50442d7438 * luci/libs/cbi: fix possible "Error in template cbi/full_valuefooter: ?:0: attempt to get length of field 'description' (a nil value)" 2008-10-30 02:39:54 +00:00
Jo-Philipp Wich
d05d5db855 * luci/sgi/webuci: remove now empty 130-inet6_fix.patch 2008-10-28 18:42:05 +00:00
Jo-Philipp Wich
8b55782ed8 * luci/sgi/webuci: fix boa IPv4 support, thanks Alina! 2008-10-28 18:36:27 +00:00
Jo-Philipp Wich
dc00b42e6d * luci: replace all "OpenWRT" occurences with "OpenWrt" 2008-10-27 15:19:58 +00:00
Steven Barth
511b573c95 Add posibility to pass args to called-functions in dispatcher 2008-10-26 18:55:54 +00:00
Jo-Philipp Wich
9451a49408 * luci/libs/core: use numeric entities in pcdata() 2008-10-24 19:15:09 +00:00
Jo-Philipp Wich
bf21777126 * luci/libs/web: change OpenWRT to OpenWrt in distro title 2008-10-24 12:30:00 +00:00
Steven Barth
0ba0030745 Some browsers send crippled content-type headers when it comes to XHR, catch them as well 2008-10-21 20:25:29 +00:00
Steven Barth
ac3489049f Added missing submitstate-function to tables pseudo map 2008-10-21 20:22:42 +00:00
Steven Barth
f35cea8c53 Content Type for www-urlencoded should match additions like "; charset=utf8" as well 2008-10-20 22:35:22 +00:00
Steven Barth
de4b0abeb9 Propagate CBI status via HTTP-Header 2008-10-20 22:35:11 +00:00
Jo-Philipp Wich
76f8a9cfd2 * luci/themes: fix small styling issue 2008-10-20 19:02:26 +00:00
Steven Barth
c951eeb008 Added support for per dispatching node theme control 2008-10-19 20:49:10 +00:00
Steven Barth
c31dc4f97f CBI: Push savestatus to commit_handler 2008-10-19 19:01:50 +00:00
Steven Barth
ffbf54d892 Add default redirection page for SDK httpd 2008-10-19 09:35:38 +00:00
Steven Barth
758c06df58 Rearrange output of luci.sys.wifi.*, luci.sys.net.conntrack 2008-10-17 21:56:21 +00:00
Jo-Philipp Wich
e69dcf68a2 * luci/libs/httpd: fix spurious Overload errors in luci-httpd 2008-10-15 20:04:46 +00:00
Jo-Philipp Wich
eb05b1ee7e * luci/themes/openwrt.org: first round of layout fixes for IE6 2008-10-14 22:55:44 +00:00
Jo-Philipp Wich
725719c221 * luci/libs/uvl: add new datatype "device" 2008-10-12 22:24:41 +00:00
Jo-Philipp Wich
6d3d30d88f * luci/libs/sys: fix password authentication for users with disabled password and shadow environments 2008-10-12 00:12:21 +00:00
Steven Barth
39efe2207d Fixed a typo in button template 2008-10-11 11:40:44 +00:00
Steven Barth
d97b73c8c0 OXYGEN #4: Fixed indexing support in dispatcher 2008-10-11 11:30:43 +00:00
Jo-Philipp Wich
b618361bf1 * luci/libs/cbi: implement file browse fields
* luci/modules/admin-full: add file browse controller
2008-10-10 21:52:22 +00:00
Jo-Philipp Wich
a957254e79 * luci/libs/httpprotocol: store QUERY_STRING in environment too, fixes query strings with luci-httpd and propably others 2008-10-10 20:28:57 +00:00
Steven Barth
676203d1fc OXYGEN #2: Reorganized theme selection, added indexing support 2008-10-10 14:37:53 +00:00
Jo-Philipp Wich
bfb5a53c45 * luci/libs/cbi: implement addremove_template 2008-10-10 11:47:32 +00:00
Steven Barth
dc494c838c Optimized IPKG info parser 2008-10-08 23:35:54 +00:00
Steven Barth
b99972e671 Fixed a typo 2008-10-08 22:43:43 +00:00
Steven Barth
895ef413f1 Remove debug code from last commit 2008-10-08 21:47:26 +00:00
Steven Barth
e317c7545e modules/admin-full: Added conntrack network page 2008-10-08 21:46:20 +00:00
Jo-Philipp Wich
4c73997ea1 * luci/libs/web: add /lib/uci/upload/ to sysupgrade keep files 2008-10-07 18:25:00 +00:00
Jo-Philipp Wich
f107196c3d * luci/sgi/webuci: apply accept header fix - thanks Alina! 2008-10-07 16:44:51 +00:00
Jo-Philipp Wich
c6143b89d3 * luci/libs/cbi: also set css class names for dynamically generated select lists 2008-10-07 16:01:10 +00:00
Jo-Philipp Wich
8ecff0a9cc * luci/libs/cbi: add css classes to input fields - needed for IE compat 2008-10-07 15:41:15 +00:00
Jo-Philipp Wich
86e1aebb59 * luci-trunk: huge xhtml, css and accessibility improvement patch - thanks Alina! 2008-10-07 13:10:24 +00:00
Jo-Philipp Wich
255449a1e2 * luci/i18n: rename *.pt_br.* to *.pt-br.*, extend luci.i18n to convert "_" to "-" in language tags 2008-10-05 16:08:33 +00:00
Jo-Philipp Wich
77159d8b66 * luci/lib/sys: fixes for sys.init api 2008-10-03 17:33:04 +00:00
Steven Barth
c5219322fb Minor tinyproxy fixes (bumped translations, added missing ucitrack entry) 2008-10-03 16:04:19 +00:00
Jo-Philipp Wich
675b1b6d68 * luci/lib/httpprotocol: fix inline documentation for http.protocol.conditionals 2008-10-03 14:14:38 +00:00
Jo-Philipp Wich
84b98f7e8c * luci/lib/sys: fix inline documentation of sys.init 2008-10-03 14:05:53 +00:00
Jo-Philipp Wich
e36ee05196 * luci/libs/sys: fix function name of init.disable() 2008-10-03 14:03:20 +00:00
Jo-Philipp Wich
85b3ee12c2 * luci/libs/httpprotocol: remove internal functions from lucidoc 2008-10-03 13:58:51 +00:00
Jo-Philipp Wich
b0cbce0da2 * luci/i18n/portuguese_brazilian: add uvl lua translation too 2008-10-02 14:12:04 +00:00
Jo-Philipp Wich
76f8ba692f * luci/i18n/portuguese_brazilian: add uvl translations 2008-10-02 14:11:18 +00:00
Jo-Philipp Wich
2b81e10bc6 * luci-0.8: backport olsr translation fixes 2008-10-01 15:52:55 +00:00
Steven Barth
07a8c9c43d Fix a bug preventing login in non-shadow environments 2008-10-01 15:43:12 +00:00
Steven Barth
fb2f4af1fb Fixed a typo which prevented proper dependency tracking for additional fields 2008-09-30 21:13:14 +00:00
Steven Barth
8138c8475d Work around OpenWRT / Busybox shadow password quirks 2008-09-29 22:12:56 +00:00
Steven Barth
a633631307 Added support for shadow passwords 2008-09-29 16:02:54 +00:00
Steven Barth
40540257ae Fallback to working theme if selected one does not exist 2008-09-29 15:38:13 +00:00
Jo-Philipp Wich
3ddce490db * luci/applications: create empty asterisk app folder
* luci/libs/uvl: move asterisk scheme to app folder
2008-09-25 14:01:49 +00:00
Jo-Philipp Wich
729c5a24a8 * luci/libs/uvl: move most schemes to their corresponding packages 2008-09-25 13:57:28 +00:00
Steven Barth
0227e3cea1 httpd sections are not unique anymore 2008-09-23 23:08:29 +00:00
Steven Barth
c94ef7f8d3 Optimize return value checks for luci-reload 2008-09-23 23:06:11 +00:00
Jo-Philipp Wich
b869dfa552 * luci/libs/cbi: remove leftover debugging code 2008-09-23 13:32:04 +00:00
Jo-Philipp Wich
c0b2cda50e * luci/libs: move upload dispatching from dispatcher to cbi.load() 2008-09-23 13:30:07 +00:00
Jo-Philipp Wich
6b3985b6be * luci/libs/cbi:
- implement file upload fields
	- change default enctype in forms to multipart/form-data
	- add upload template
* luci/libs/web:
	- dispatch file uploads to cbi form fields
* luci/i18n:
	- add german and english translations for file upload fields
2008-09-23 00:10:51 +00:00
Jo-Philipp Wich
225de06244 * luci/libs/uvl: add "device" option to wireless scheme 2008-09-22 16:26:05 +00:00
Jo-Philipp Wich
dc253f4af4 * luci/libs/cbi: implement commit hooks in cbi maps
* luci/moules/admin-mini: reload global config namespace when change theme or language (for persistent environments)
* luci/moules/admin-full: reload global config namespace when change theme or language (for persistent environments)
2008-09-20 22:11:41 +00:00
Steven Barth
f5d4157cab admin-full/admin-mini: Fixed backup module 2008-09-19 17:47:56 +00:00
Steven Barth
2b8a092f93 libs/http: Updated inline documentation for mimedecode_message_body 2008-09-19 13:56:29 +00:00
Steven Barth
82cec2c01b Push full metadata to the file callback (parsed and unparsed) - not only the unparsed mime headers 2008-09-19 12:20:18 +00:00
Steven Barth
1c7cc8501c Fixed a typo for broadcom maclist, Improved general maclist handling 2008-09-19 10:42:18 +00:00
Steven Barth
712424dc0c Overall CBI improvements: DummyValue handling, dependency conflicts, ... 2008-09-19 10:42:02 +00:00
Steven Barth
a54b1945c4 Revert mtdow 2008-09-18 21:45:01 +00:00
Steven Barth
8f5d0d6ff5 new sysupgrade fixes part 2 2008-09-18 21:26:34 +00:00
Steven Barth
5067e2d185 Revised sysupgrade part 1 2008-09-18 19:23:08 +00:00
Steven Barth
8509b6a83f More mtdow fixes 2008-09-18 16:44:49 +00:00
Steven Barth
6785c3ed4b Work around an ugly Opera and Internet Explorer event handling bug. 2008-09-18 14:36:26 +00:00
Steven Barth
8ff88fcd85 mtdow fixes level 1 2008-09-18 14:02:23 +00:00
Steven Barth
a9fba87a13 libs/sys: Added autodetection for mtdow 2008-09-18 11:37:07 +00:00
Jo-Philipp Wich
ce4236acff * luci/libs/uvl: set type of "dhcp_option" variable to lazylist in dhcp scheme, breaks webif if only one option is set 2008-09-17 23:15:23 +00:00
Jo-Philipp Wich
8b53a27b5c * luci/libs/uvl: mark "enabled" option as required in fstab scheme, this prevents the deletion from uci 2008-09-17 22:22:12 +00:00
Steven Barth
3ab109da95 Initial implementation of OpenWrt mtd writer 2008-09-17 20:44:12 +00:00
Steven Barth
309a448a1f Don't validate dependencies for fields which are not part of the form 2008-09-17 12:06:05 +00:00
Steven Barth
38e60dcf9b More IE compatibility fixes 2008-09-16 15:51:11 +00:00
Steven Barth
0a0220ca29 Internet suXplorer JavaScript compatibility fixes 2008-09-16 10:08:20 +00:00
Jo-Philipp Wich
ccf1355343 * luci/libs/sys: add workaround for wrapped lines in df output 2008-09-16 02:22:13 +00:00
Steven Barth
dc33ed7b57 Tuned dispatcher behaviour 2008-09-15 16:50:55 +00:00
Steven Barth
22c927621c Optimized caching behaviour, automatically flush caches in dev environment 2008-09-15 16:49:56 +00:00
Jo-Philipp Wich
25263f0144 * luci/libs/uci: register luci_hosts in ucitrack, fix dependencies for luci_ethers and luci_hosts
* luci/contrib/addons: fix luci_ethers and luci_hosts initscripts to always return 0
2008-09-14 23:57:13 +00:00
Steven Barth
d0442f8aab libs/cbi: Fix option initialisation errors 2008-09-14 21:58:55 +00:00
Steven Barth
713454cefa Fix some too strict validation schemes 2008-09-14 19:01:05 +00:00
Steven Barth
56ccdb78fa libs/uci: Cursor.delete_all: fix logical condition 2008-09-14 19:00:52 +00:00
Steven Barth
5fff612e0a Make Boa IPv6-ready. Patch by Alina Friedrichsen. Thanks a lot. 2008-09-14 11:12:39 +00:00
Steven Barth
f9303705a0 Overall CBI-UVL ineraction fixes 2008-09-13 12:20:39 +00:00
Jo-Philipp Wich
a8d165a5bf * luci/libs/uvl:
- only check option dependencies if option has a value
	- remove option required for atheros mode in wireless scheme - breaks broadcom
* luci/model/admin-full:
	- override section validation if we create a new network on demand
2008-09-13 04:26:37 +00:00
Steven Barth
871f07ad2e Avoid XML errors 2008-09-12 16:12:51 +00:00
Steven Barth
2bbc4eb3c3 Revert "Redesigned firmware upgrade process" 2008-09-12 16:12:23 +00:00
Steven Barth
65b0a2bfad Replace short anchor tags, as they cause strange CSS behaviour 2008-09-12 14:41:05 +00:00
Steven Barth
df723f9d9e Avoid some blocking issues 2008-09-12 13:32:35 +00:00
Steven Barth
bf7287c60d Disable buffering of sysupgrade output 2008-09-12 12:32:18 +00:00
Steven Barth
67049e97b4 Fixed status detection for firmware flash 2008-09-12 12:13:26 +00:00
Steven Barth
fade8edd2d Redesigned firmware upgrade process 2008-09-12 11:53:08 +00:00
Steven Barth
e0cfb49235 UVLDoc: Minor style improvements 2008-09-11 21:45:29 +00:00
Steven Barth
55cf7dbf34 Reworked UVL schemes 2008-09-11 21:45:23 +00:00
Steven Barth
ecf5ed021f UVLDoc: Rendering optimizations and CSS style 2008-09-11 15:21:56 +00:00
Steven Barth
e5cb252043 UVL: Fixed dependency handling 2008-09-11 12:58:57 +00:00
Steven Barth
c6492df613 UVLDoc: Fixed referencing 2008-09-11 01:08:46 +00:00
Steven Barth
c8ef012b3a Completed first part of UVLDoc 2008-09-11 00:50:19 +00:00
Steven Barth
ef8f835894 UVL: Fixed dependency parsing 2008-09-10 23:16:36 +00:00
Steven Barth
38691ce540 UVL: Export raw value of "valueof" for references 2008-09-10 15:35:11 +00:00
Steven Barth
1a4c192c65 More luci.util optimizations 2008-09-10 12:47:21 +00:00
Steven Barth
9e2759ec34 Optimized luci.util.class 2008-09-10 12:22:29 +00:00
Steven Barth
52c9166a7a uvldoc: Added preliminary section support, optimized menu generating 2008-09-09 21:55:54 +00:00
Steven Barth
a4a77446e9 UVL: Add missing export for loadfile 2008-09-09 18:47:45 +00:00
Jo-Philipp Wich
77432eb047 * luci/libs/uvl: allow empty strings or undefined options as booleans too 2008-09-09 16:28:19 +00:00
Jo-Philipp Wich
0345180f72 * luci/libs/uvl: prevent "Value "" of option "qos.wan.enabled" does not validate as datatype "boolean"" error in qos pages 2008-09-09 16:21:21 +00:00
Steven Barth
abad8af0e7 again 2008-09-09 16:20:56 +00:00
Steven Barth
cd1db0eda2 Fixed last commit 2008-09-09 16:19:52 +00:00
Steven Barth
8766b050bd Replace some util.splits with gmatch and match 2008-09-09 16:04:49 +00:00
Steven Barth
9f7832b827 Main library optimizations #2 2008-09-09 15:40:00 +00:00
Steven Barth
9ffd02f8d6 Main library optimizations #1 2008-09-09 15:39:54 +00:00
Steven Barth
2d409a3586 Optimized uvl.dependencies 2008-09-09 15:39:43 +00:00
Steven Barth
64a4270a59 Fixed uvl.errors 2008-09-09 15:39:38 +00:00
Steven Barth
1bfd6b667b Optimized uvl.validation 2008-09-09 15:39:30 +00:00
Steven Barth
c939a799ce Optimized uvl.errors 2008-09-09 15:39:25 +00:00
Steven Barth
9a8cd55c36 Optimized uvl.datatypes 2008-09-09 15:39:17 +00:00
Steven Barth
c287c8ca7e Scheme parsing optimizations 2008-09-09 15:39:10 +00:00
Steven Barth
68ecfaf698 Revert UVL optimizations 2008-09-09 12:44:51 +00:00
Steven Barth
8dbf29e86e Performance optimisations:
In-line expressions are faster than function calls
2008-09-09 12:44:41 +00:00
Steven Barth
023b4ddf64 Fixed UVL 2008-09-08 18:34:26 +00:00
Steven Barth
5d3bddd899 Fixed last commit 2008-09-08 17:55:24 +00:00
Jo-Philipp Wich
8d372d2f28 * luci/libs/cbi: better layout for apply output
* luci/themes: introduce new css class for apply ul
2008-09-08 16:51:50 +00:00
Steven Barth
9890c99d0b UVL optimizations round 1 2008-09-08 14:39:47 +00:00
Jo-Philipp Wich
eff278317e * luci/libs/cbi: fix html errors in cbi templates 2008-09-08 00:34:27 +00:00
Steven Barth
19c79a30b9 Fixed DHCP-Options and some CBI stuff 2008-09-07 23:50:58 +00:00
Jo-Philipp Wich
554286bdc6 * luci/libs/uvl: extend network scheme to allow proto=none for interfaces 2008-09-07 23:08:13 +00:00
Steven Barth
2590722de0 libs/cbi: Fixed DynamicLists 2008-09-07 23:03:05 +00:00
Steven Barth
7fb577f21e Fixed last commit 2008-09-07 22:55:59 +00:00
Steven Barth
7334fc65b2 Fixed a swap of keys and descriptions in additional fields of dynamic sections 2008-09-07 22:55:10 +00:00
Steven Barth
d8282d382b libs/cbi: Catch errors while creating named sections 2008-09-07 21:22:39 +00:00
Steven Barth
d8e11218b4 Remove "done." message from luci-reload 2008-09-07 18:54:25 +00:00
Jo-Philipp Wich
a8f137973b * luci/libs/uvl: add asterisk uci config scheme 2008-09-07 18:53:15 +00:00
Steven Barth
7bcd7e67d4 Fixed last commit 2008-09-07 16:27:01 +00:00
Steven Barth
85f9c51016 libs/cbi: Don't validate on reparse after commiting 2008-09-07 16:25:42 +00:00
Jo-Philipp Wich
1dcd836a30 * luci/libs/uvl: fix firewall scheme issue with custom rules 2008-09-07 15:27:24 +00:00
Jo-Philipp Wich
6a5ce5e45f * luci/libs/uvl: extend firewall scheme to include more sane dependencies for custom rules 2008-09-07 13:38:23 +00:00
Jo-Philipp Wich
071f485a69 * luci/libs/uvl: prepare support for @type[n] notation in luci.uvl.uvlitem.cid() 2008-09-07 03:29:54 +00:00
Jo-Philipp Wich
96e7e81d1d * luci/libs/uvl: fix description of default option in meta scheme 2008-09-07 02:57:47 +00:00
Jo-Philipp Wich
885e54007f * luci/libs/uvl: implement default value option for variable sections 2008-09-07 02:55:42 +00:00
Jo-Philipp Wich
98ff081c9f * luci/libs/uvl: allow combined enum/valueof options 2008-09-07 00:44:54 +00:00
Jo-Philipp Wich
c5278e17dc * luci/libs/cbi: fix error assignment in cbi sections 2008-09-06 22:37:56 +00:00
Steven Barth
a9875adb29 Merge branch 'uvldoc' 2008-09-06 20:18:00 +00:00
Jo-Philipp Wich
1bc3365f02 * luci/libs/uvl: add scheme for luci_hosts configuration 2008-09-06 18:14:17 +00:00
Steven Barth
a59d6a7877 Added proto: none to network scheme 2008-09-06 16:46:27 +00:00
Steven Barth
3001586c04 Cosemtical changes 2008-09-06 16:27:40 +00:00
Steven Barth
38bdb5f504 Fixed a whitespace issue 2008-09-06 16:09:58 +00:00
Steven Barth
f297be56e9 Fixed permissions of luci-reload 2008-09-06 16:05:34 +00:00
Steven Barth
9befed193a cbi: Increare responsiveness of "Save & Apply" 2008-09-06 14:59:48 +00:00
Steven Barth
03e11688ca One more 2008-09-06 14:31:17 +00:00
Steven Barth
1c2ab810b2 Bump version to 0.9 2008-09-06 14:07:21 +00:00
Steven Barth
dbde0216c2 Rewrote UCI apply logic 2008-09-06 13:51:51 +00:00
Steven Barth
8e00d27ae7 Removed unneeded exports 2008-09-06 09:58:32 +00:00
Jo-Philipp Wich
cc7e96e352 * luci/libs/uvl: add definition for route sections to network scheme 2008-09-06 03:05:27 +00:00
Jo-Philipp Wich
7f7a600b12 * luci/libs/cbi: remove dead code 2008-09-05 23:25:51 +00:00
Steven Barth
40d4e839ef Added bytecodecache 2008-09-05 23:24:39 +00:00
Jo-Philipp Wich
a37ba532ff * luci/libs/uvl: fix dependencies in qos scheme 2008-09-05 23:22:00 +00:00
Jo-Philipp Wich
898c45743a * luci/libs/cbi: improved error integration with uvl 2008-09-05 23:21:37 +00:00
Steven Barth
e63d3f03eb Added memory tracer 2008-09-05 20:32:20 +00:00
Steven Barth
ac05bea1be Small dispatcher improvement 2008-09-05 19:17:48 +00:00
Steven Barth
a8a72c1ec8 Fixed luci.config 2008-09-05 18:39:42 +00:00
Steven Barth
4483ebd74d Removed inefficient environment manipulation functions 2008-09-05 18:35:14 +00:00
Steven Barth
6a6edda049 Heavy memory/performance optimizations #4 2008-09-05 18:35:09 +00:00
Steven Barth
37b5ef40df Heavy memory/performance optimizations #3 2008-09-05 18:35:03 +00:00
Steven Barth
45319b232b Heavy memory/performance optimizations #2 2008-09-05 18:34:56 +00:00
Steven Barth
3e9e582572 Heavy memory/performance optimizations #1 2008-09-05 18:34:46 +00:00
Jo-Philipp Wich
2b0f1af5cc * luci/libs/uvl: fix an error message in luci.uvl.read_scheme() 2008-09-05 16:49:17 +00:00
Jo-Philipp Wich
3315203f2f * luci/libs/uvl:
- implement bytecode loading in luci.uvl.read_scheme()
	- add "uvlc" executable to byte-compile arbitary schemes
	- add lib/uci/schema/bytecode/ directory
2008-09-05 16:46:51 +00:00
Steven Barth
8af9060efd libs/cbi: Pass default values from UVL 2008-09-05 15:58:19 +00:00
Jo-Philipp Wich
94996dd639 * luci/libs/uvl: translation fixes 2008-09-05 15:32:33 +00:00
Steven Barth
c03bde275f Inprove sanity check for luci.sauth.read 2008-09-05 14:52:06 +00:00
Steven Barth
47c07adf75 libs/web: Turn dependency tracking on by default 2008-09-05 14:34:59 +00:00
Steven Barth
e2e1cf5497 Fixed some minor session handling issues 2008-09-05 14:28:36 +00:00
Jo-Philipp Wich
406de82821 * luci/libs/uvl: make "proto=dhcp" the default value in network scheme 2008-09-05 14:26:54 +00:00
Steven Barth
aa0617e4ed libs/sys: Added luci.sys.call 2008-09-05 13:55:49 +00:00
Steven Barth
9243e20e27 Added .href parameter to DummyValues 2008-09-05 13:32:59 +00:00
Steven Barth
9cae9dabf2 Fixed luci.uci.Cursor.delete_all 2008-09-05 12:05:06 +00:00
Steven Barth
f62839fde9 Fixed HTTP stack to parse urlencoded data from Internet Explorer correctly
Internet Explorer appends a whitespace character after the last parameter which will now be stripped
2008-09-05 11:36:53 +00:00
Steven Barth
cc4c0688b5 Fix whitespace issues in CBI template 2008-09-05 11:36:47 +00:00
Steven Barth
cac36db080 Optimized error handling 2008-09-05 09:37:02 +00:00
Jo-Philipp Wich
35a529a5c5 * luci/libs/uvl:
- implement port and portrange datatypes
	- fix datatype of port ranges in firewall scheme
2008-09-04 23:39:55 +00:00
Steven Barth
d1c078e1a7 Use /usr/bin/env lua instead of /usr/bin/lua in development environment startscript 2008-09-04 20:13:17 +00:00
Steven Barth
e4cbd59c39 Add table-comparators to luci.model.uci.delete_all 2008-09-04 11:48:27 +00:00
Steven Barth
1f2289b41e libs/cbi: Use a Combobox for optional values if a section is dynamic and has defined optional fields 2008-09-04 09:55:46 +00:00
Steven Barth
ccc02d4188 Fixed event handlers to be more standards compliant
(fixed dependency tracking not working correctly on Konqueror and others)
2008-09-04 09:31:54 +00:00
Jo-Philipp Wich
19e22598fd * luci/libs/uvl:
- implement aliasing in luci.uvl.read_scheme()
	- fixed wrong enum definition in reference scheme
	- fixed boolean() datatype validator to actually accept "true" and "false" literals
	- extend uvl cli to validate schemes against the reference scheme (incomplete)
2008-09-04 00:56:13 +00:00
Steven Barth
34ab619ee3 libs/cbi: Compatibility changes for non-standards-compliant browsers 2008-09-03 22:51:27 +00:00
Jo-Philipp Wich
85461e4226 * luci/libs/uvl: fix error handling of OPT_INVVALUE too 2008-09-03 22:02:35 +00:00
Jo-Philipp Wich
727e9878fb * luci/libs/uvl:
- implement host datatype which matches hostname, ip4addr or ip6addr datatype
	- implement multival flag for options
	- fix handling of OPT_BADVALUE errors
	- add multival flag spec to reference scheme
2008-09-03 21:49:13 +00:00
Jo-Philipp Wich
5cf454019c * luci/libs/uvl: fix zone references in firewall scheme 2008-09-03 21:11:05 +00:00
Jo-Philipp Wich
ba3c967d65 * luci/libs/uvl: completed firewall scheme 2008-09-03 21:07:07 +00:00
Steven Barth
43a730c88a libs/web: Fixed luci.template 2008-09-03 11:01:21 +00:00
Jo-Philipp Wich
7c91b79121 * luci/libs/uvl: add "network" option to firewall scheme 2008-09-03 10:52:40 +00:00
Jo-Philipp Wich
eedb43da9b * luci/libs/uvl:
- fix command line switches for uvl
	- honour STRICT_UNKOWN_OPTIONS in luci.uvl._validate_option()
2008-09-03 02:08:38 +00:00
Jo-Philipp Wich
3817e51402 * luci/libs/uvl: add missing username, password and server options to network schame, fix c-n-p errors 2008-09-03 01:51:12 +00:00
Jo-Philipp Wich
2b767fc45c * luci/libs/uvl: completed network scheme, add "uint" and "ipaddr" datatypes 2008-09-03 01:45:43 +00:00
Jo-Philipp Wich
15eb2bcbb0 * luci/libs: uvl: remove deprecated notice from reference scheme 2008-09-02 22:26:36 +00:00
Jo-Philipp Wich
6b6abc95d0 * luci/libs/uvl:
- fix handling of missing package/section/variable fields in scheme specs
	- fix dereferencing of scheme tables in luci.uvl.uvlitem.scheme()
	- unify TYPE_VARIABLE and TYPE_OPTION
	- implement external "regexp:..." validators
	- extend reference scheme to implement "lazylist" type for lists
2008-09-02 22:13:52 +00:00
Jo-Philipp Wich
51bfdb1377 * luci/libs: uvl: implement package sections in the uvl scheme format 2008-09-02 20:24:06 +00:00
Steven Barth
eb279ab360 Alias luci.util.exec as luci.sys.exec for legacy purposes 2008-09-02 19:08:43 +00:00
Steven Barth
95f9bb97ba Fixed occasionally occuring "Overload"-problems with luci-httpd 2008-09-02 15:03:18 +00:00
Steven Barth
048fe5ce12 Fixed some UCI transition fallout 2008-09-02 14:50:00 +00:00
Steven Barth
b693e1ab91 Rewrote luci.config 2008-09-02 14:24:00 +00:00
Steven Barth
bdf75b1e03 libs/uci: Optimized workaround 2008-09-02 09:02:20 +00:00
Steven Barth
765d5b8540 libs/web: Fixed a typo in template error handling 2008-09-02 09:02:13 +00:00
Steven Barth
74408bbb74 Fixed reference to luci.ltn12 2008-09-02 08:24:45 +00:00
Jo-Philipp Wich
d1a035a62d * luci/libs: uvl: reenable xml translations, adept to new method="text" conversation method 2008-09-02 01:11:46 +00:00
Jo-Philipp Wich
6179e46ff5 * luci/libs: uvl: add definition of package sections to meta scheme 2008-09-02 00:39:26 +00:00
Steven Barth
e5be8db114 UGLY workaround is UGLY 2008-09-01 21:40:08 +00:00
Jo-Philipp Wich
c230b83679 * luci/libs: uvl: fix possible "attempt to index field '?' (a nil value)" in uvl.uvlitem.config() 2008-09-01 20:48:18 +00:00
Steven Barth
06b6d23c20 Added custom filename support to luci.template 2008-09-01 20:43:48 +00:00
Steven Barth
3568e2ba50 libs/cbi: Forward errors (like syntactical errors) from CBI model parser to the user output 2008-09-01 19:51:37 +00:00
Steven Barth
76f2e5ec1a Added luci.fs.copy and luci.fs.rename 2008-09-01 19:42:43 +00:00
Steven Barth
895b68050b libs/web: Cleaned up template library 2008-09-01 16:05:40 +00:00
Steven Barth
bb8137062f libs/web: Added several sanity checks to avoid local privilege escalation 2008-09-01 16:05:34 +00:00
Steven Barth
c1edac6ed0 libs/core: Added mising import for math module to luci.util 2008-09-01 11:10:06 +00:00
Jo-Philipp Wich
4afe2a3d3e * luci/libs: uvl: add reference meta scheme 2008-08-31 18:20:08 +00:00
Jo-Philipp Wich
ec8047cf3b * luci/libs: uvl: fix errors in xml translations 2008-08-31 13:51:33 +00:00
Jo-Philipp Wich
83ecefc76c * luci/libs: uvl: hide xml translations, revert lua translations to non-bracket form (\n) and replace "<nil>" with "(nil)" in uvl.errors 2008-08-31 13:49:14 +00:00
Jo-Philipp Wich
4cfd1d25d1 * luci/libs: uvl: add error translations in german and english 2008-08-31 13:31:11 +00:00
Jo-Philipp Wich
8f0f4a04f5 * luci/libs: uvl: add i18n support to error handling, remove former debug code in error.string() 2008-08-31 12:42:29 +00:00
Steven Barth
f28422324d libs/web: Fix dispatching index scope 2008-08-31 10:48:56 +00:00
Steven Barth
041321c5f7 libs/uci: Pipe output of reload commands to /dev/null 2008-08-30 21:14:08 +00:00
Steven Barth
05d6b9684c libs/cbi: Make sure newly created sections have optional field selectors 2008-08-30 20:32:13 +00:00
Steven Barth
d5cfb28f9b libs/cbi: Add a check whether a section was recently created 2008-08-30 20:32:07 +00:00
Steven Barth
cec13fcb29 libs/web: Return more verbose error messages when template execution fails 2008-08-30 20:32:00 +00:00
Steven Barth
171cbec25d libs/cbi: Simplified _uvl_validate_section 2008-08-30 15:41:02 +00:00
Steven Barth
0e05dbb02e libs/cbi: Use :is instead of .code == for UVL error tests 2008-08-30 15:29:09 +00:00
Jo-Philipp Wich
1b36a57d3e * luci/libs: uvl: added qos and network schemes, fixes in uvl error handling 2008-08-30 15:15:42 +00:00
Steven Barth
63706a9f43 libs/cbi: Disable strict mode for now 2008-08-30 12:47:14 +00:00
Steven Barth
055cef5336 Optimized UVL validation handling 2008-08-30 12:11:27 +00:00
Steven Barth
7e792dad2e libs/cbi: Create section after validation to avoid validation errors with empty fields 2008-08-30 10:18:56 +00:00
Steven Barth
ccf73ec14e libs/cbi: Temporarily allow invalid configuration values to be saved 2008-08-30 09:21:38 +00:00
Jo-Philipp Wich
d564e036b3 * luci/libs: uvl: first round of uci schemes 2008-08-30 03:46:55 +00:00
Steven Barth
76c5cc5ff9 libs/ipkg: Fixed a transition issue 2008-08-29 23:41:24 +00:00
Steven Barth
ffd5c4ec65 General optimizations, simplifications and improvements 2008-08-29 23:26:01 +00:00
Steven Barth
5cfda95377 Speed up generation of dispatching tree 2008-08-29 20:36:45 +00:00
Steven Barth
944f753eba lib/sys: Fixed inline documentation 2008-08-29 17:38:23 +00:00
Steven Barth
a0650b4ca9 modules/rpc: Check for existence of external libraries
libs/sys: Small fix for API-Documentation
2008-08-29 17:06:58 +00:00
Steven Barth
e068351a3f Cleanup and documentation 2008-08-29 15:47:56 +00:00
Steven Barth
b6e397e1a4 Optimized encoding of arrays containing nil values
Optimized inline documentation
2008-08-29 13:44:33 +00:00
Jo-Philipp Wich
5778eae369 * luci/libs: uvl: invalid wrong "option not found in config" errors 2008-08-28 21:44:14 +00:00
Steven Barth
8003e3b648 libs/cbi: Make sure options in ListValues are unique 2008-08-28 21:30:49 +00:00
Steven Barth
4ca6f02af2 CBI-UVL Validation Integration part #1 2008-08-28 19:31:25 +00:00
Steven Barth
565bc6d4c2 libs/uvl: Set an own savedir to avoid UCI problems 2008-08-28 18:57:49 +00:00
Steven Barth
8f03192ce4 Fixed luci.util.dumptable again 2008-08-28 18:57:34 +00:00
Steven Barth
8b28f46eea Added maxdepth to luci.util.dumptable 2008-08-28 17:10:35 +00:00
Jo-Philipp Wich
af2cce3839 * luci/libs: util: little bugfix in serialize_data() 2008-08-28 16:44:10 +00:00
Jo-Philipp Wich
33ef3a1da2 * luci/libs: util: further enhancements to table serialisation 2008-08-28 16:40:51 +00:00
Jo-Philipp Wich
2975bb66a6 * luci/libs: util: improve table handling and support mixed tables in serialize_data() 2008-08-28 16:17:42 +00:00
Steven Barth
b3d63252e7 Fixed luci.util.dumptable 2008-08-28 16:16:51 +00:00
Steven Barth
ba22660cb8 libs/core: Add recursion detection to dumptable, serialize_data
Dumptable now writes to stderr
2008-08-28 15:50:27 +00:00
Steven Barth
b5b0914ae3 libs/uci: Updated API-Docs 2008-08-28 10:18:10 +00:00
Steven Barth
12912ba7a4 Fixed enum dependencies 2008-08-28 09:11:16 +00:00
Jo-Philipp Wich
c2f79950b2 * luci/libs: uvl: add uci error mechanism to uvl error handling 2008-08-28 00:21:43 +00:00
Steven Barth
a3fcd87a71 Fixed incompatible APIs in CBI 2008-08-27 22:02:38 +00:00
Steven Barth
11bcdfd91a Switch back to mainline UCI 2008-08-27 21:32:05 +00:00
Jo-Philipp Wich
8be65461bc * luci/libs: uvl: fix crash when trying to validate malformed or not-existing configuration, more verbose error message for uci load failure 2008-08-27 18:55:42 +00:00
Jo-Philipp Wich
339042c46a * luci/libs: uvl: allow optional uci config as argument in validate_*() 2008-08-27 17:51:35 +00:00
Steven Barth
9a8eb7fce6 Rewrote the API-documentation for luci.json 2008-08-27 17:49:52 +00:00
Steven Barth
af18067e75 Fix some synchronization issues 2008-08-27 17:45:58 +00:00
Jo-Philipp Wich
4e15641c24 * luci/libs: uvl: actually create error constants in luci.uvl.error 2008-08-27 16:56:38 +00:00
Jo-Philipp Wich
aa94931fa0 * luci/libs: uvl: Major rewrite of internal element handling, reworked error model, dropped loghelper and get_dependencies(), introduced luci.uvl.errors api 2008-08-27 16:44:07 +00:00
Steven Barth
ccb1ea29ac Added missing import 2008-08-27 13:49:32 +00:00
Steven Barth
d463d0b835 Renamed reworked UCI API to uci2 to allow a peaceful coexistence with the old one
Minor bugfixes
2008-08-27 08:53:40 +00:00
Steven Barth
91ba7c42f5 UCI API changes 2008-08-26 23:00:44 +00:00
Steven Barth
43b3217e55 libs/cbi: Added support for enum dependencies 2008-08-26 19:36:41 +00:00
Steven Barth
3a09a73d2b libs/core: Added target parameter to luci.sys.httpget 2008-08-26 18:02:27 +00:00
Steven Barth
df40e4df5e libs/json: Completed JSON library
modules/rpc: Added experimental JSON-RPC API
2008-08-26 17:50:32 +00:00
Steven Barth
0c5dc7bc77 libs/core: Reworked some basic libraries to not use package.seeall
libs/json: Implemented own JSON-Decoder (Encoder will follow)
modules/rpc: Preliminary implemented RPC-Exports for luci.fs, luci.sys and luci.model.uci
2008-08-26 00:53:28 +00:00
Jo-Philipp Wich
8e6d1e682a * luci/libs: uvl: implement dependencies for enum values 2008-08-25 18:30:25 +00:00
Jo-Philipp Wich
1e6001c235 * luci/libs: cbi: implement get_scheme() on some more map-like objects; whitespace cleanup 2008-08-25 00:36:07 +00:00
Steven Barth
d97d6329c3 libs/cbi: Fixed UVL integration 2008-08-24 20:44:47 +00:00
Steven Barth
d68d03085a CBI-UVL integration part #2 2008-08-24 19:51:09 +00:00
Jo-Philipp Wich
a0b9f952e5 * luci/libs: uvl: store valueof values as associative table 2008-08-24 18:33:25 +00:00
Jo-Philipp Wich
e124eec0e8 * luci/libs: uvl: implement "valueof" option 2008-08-24 18:06:51 +00:00
Jo-Philipp Wich
75aac77206 * luci/libs: uvl: remove a brain-dead unpack() 2008-08-24 17:14:31 +00:00
Jo-Philipp Wich
5117fc703e * luci/libs: uvl: use python-style format syntax for errors 2008-08-24 17:12:16 +00:00
Steven Barth
0647fadb0a libs/core: Add Pythonic string formatting syntax 2008-08-24 16:35:06 +00:00
Steven Barth
451eacf8da CBI-UVL integration part #1 2008-08-24 16:22:49 +00:00
Jo-Philipp Wich
1946740198 * luci/libs: uvl: implement "named" flag for schemes 2008-08-24 16:09:02 +00:00
Jo-Philipp Wich
23101e7137 * luci/libs: uvl: implement get_scheme() and get_dependencies() 2008-08-24 14:20:20 +00:00
Jo-Philipp Wich
4fc00fead3 * luci/libs: web: fix "dispatcher.lua:167: attempt to concatenate a
nil value" when running luci on a shell
2008-08-23 15:17:10 +00:00
Steven Barth
3bcab66128 RPC initial authentication API completed 2008-08-22 22:13:54 +00:00
Steven Barth
69cab40a9a libs/web: Remove unneeded status call 2008-08-22 22:01:53 +00:00
Steven Barth
20116047b0 Fix unhandled track values for leafs 2008-08-22 21:52:36 +00:00
Steven Barth
830ca24abb libs/http: Fixed default sink for unknown data 2008-08-22 20:33:48 +00:00
Steven Barth
03c0b0ad12 RPC part #3 2008-08-22 20:04:49 +00:00
Steven Barth
4eead17501 RPC part #2 2008-08-22 20:04:04 +00:00
Steven Barth
dcf0f6146f libs/rpc: Created new library 2008-08-21 19:13:45 +00:00
Jo-Philipp Wich
71c3d30f46 * luci/themes: several xhtml fixes 2008-08-20 19:44:16 +00:00
Steven Barth
3fdccc976e libs/web: Corrected HTTP-Headers 2008-08-20 19:24:09 +00:00
Steven Barth
0e1ec77d17 libs/web: Set Expires-Header 2008-08-20 19:04:10 +00:00
Jo-Philipp Wich
0938135dbb * luci/libs: add striptags() to global dispatcher namespace 2008-08-20 17:04:03 +00:00
Jo-Philipp Wich
18dfd21c39 * luci/libs: use striptags() in cbi <option> elements 2008-08-20 16:58:29 +00:00
Jo-Philipp Wich
ab71972c7e * luci/libs: use pcdata() in striptags() 2008-08-20 16:55:10 +00:00
Jo-Philipp Wich
5b718fe88d * luci/libs: add striptags() to luci.util 2008-08-20 16:40:25 +00:00
Jo-Philipp Wich
9a7c358cfb * luci/themes: fix help text styles in openwrt.org theme 2008-08-20 16:11:27 +00:00
Jo-Philipp Wich
8000a4e704 * luci/libs: change default scheme directory to /lib/uci/schema/ in uvl 2008-08-19 17:19:32 +00:00
Steven Barth
a35337e6a1 Minor bugfixes
Added possibility to add networks from Wifi page
2008-08-19 17:02:40 +00:00
Steven Barth
dc638500b5 libs/cbi: Moved typecasting to the appropriate place 2008-08-19 15:33:04 +00:00
Jo-Philipp Wich
e5608ae6b2 * luci/libs: fix datatype validation of list values 2008-08-18 23:43:20 +00:00
Steven Barth
d1a448604e libs/cbi: Added preliminary UCI list datatype support... for great justice 2008-08-18 23:26:06 +00:00
Jo-Philipp Wich
70aa9bb855 * luci/libs: uvl: add support for list values in schemes and configurations 2008-08-18 20:37:13 +00:00
Jo-Philipp Wich
6802546621 * libs/luci: implement get_list() and set_list() wrappers in luci.model.uci 2008-08-18 18:06:49 +00:00
Steven Barth
ec796fc52a Fixed a typo 2008-08-18 08:30:15 +00:00
Jo-Philipp Wich
0fb1e9267b * luci/libs: use one common quoting style for error messages in luci.uvl 2008-08-18 02:30:15 +00:00
Steven Barth
935f4a805a Small bug fixes 2008-08-18 02:06:59 +00:00
Steven Barth
0c3fc70ddb Huuuuuuuuuuuge rewrite of the Wireless Configuration 2008-08-18 00:38:18 +00:00
Jo-Philipp Wich
3944408637 * luci/libs: set svn property on uvl executable 2008-08-17 23:50:56 +00:00
Jo-Philipp Wich
db82e041a8 * luci: big svn property fixup 2008-08-17 23:47:38 +00:00
Jo-Philipp Wich
d0cbcfa458 * luci/libs: further fixes in uvl cli and library 2008-08-17 23:40:51 +00:00
Jo-Philipp Wich
6d5efc7925 * luci/libs: properly implement and document --schemedir in uvl cli 2008-08-17 23:30:23 +00:00
Jo-Philipp Wich
13439a8ac5 * luci/libs: fix typo in uvl utility 2008-08-17 22:44:15 +00:00
Jo-Philipp Wich
ed05a304d9 * luci/libs: add missing shebang to uvl cli 2008-08-17 22:38:10 +00:00
Jo-Philipp Wich
f9edabb142 * luci/libs: add uvl cli utility 2008-08-17 22:34:09 +00:00
Jo-Philipp Wich
5e606c8fe2 * luci/libs: uvl: rename validate() to validate_config() and reimplement validate() as "catch all" variant 2008-08-17 21:43:56 +00:00
Jo-Philipp Wich
a966a3b2b4 * luci/libs: uvl: implement scheme loading on demand, add inline documentation 2008-08-17 18:47:32 +00:00
Steven Barth
97ce1ad8ad Preparing rewrite of WiFi configuration 2008-08-17 18:32:53 +00:00
Jo-Philipp Wich
1d08361bea * luci/libs: uvl: add support for external validation commands, various cleanups 2008-08-17 17:40:57 +00:00
Jo-Philipp Wich
ed5c3eacf0 * luci/libs: uvl: fix handling of boolean options, better error descriptions, implement "required" and "unique" scheme properties for sections 2008-08-17 15:31:48 +00:00
Jo-Philipp Wich
c7ba7f99b0 * luci/libs: add keys() to luci.util 2008-08-17 14:56:03 +00:00
Jo-Philipp Wich
38ef0f92e7 * luci/libs: add alias to posix.readlink() in luci.fs 2008-08-17 14:47:49 +00:00
Steven Barth
75d4cca7ae Fixed a design flaw in luci.model.uci 2008-08-17 10:20:36 +00:00
Steven Barth
510fde0118 Added status information
Minor Cleanups
2008-08-16 23:17:50 +00:00
Jo-Philipp Wich
f5046bbca7 * luci/libs: uvl - cleanup round #3, flush lookup tables to prevent circular depency errors when reusing scheme instance 2008-08-16 21:02:46 +00:00
Jo-Philipp Wich
ef0be82b31 * luci/libs: uvl - cleanup round #2, reinitroduce validate_section() and validate_option() 2008-08-16 20:41:13 +00:00
Steven Barth
d7b95a555b Added process control page
Minor improvements
2008-08-16 20:18:14 +00:00
Jo-Philipp Wich
5237b79adf * luci/libs: uvl - cleanup round #1 2008-08-16 20:06:51 +00:00
Steven Barth
09b829a9c7 UI Improvements 2008-08-16 15:37:28 +00:00
Jo-Philipp Wich
4ed96bb95e * luci/libs: more UVL hacking, needs to be rewritten later 2008-08-16 03:41:57 +00:00
Steven Barth
f94fb5ac18 Some cleanups 2008-08-15 22:22:54 +00:00
Steven Barth
8e4afe1210 Several escaping fixes
Updated XML translation system
Use the new Table widget for DHCP leases
2008-08-15 20:42:25 +00:00
Steven Barth
1d4196b3ff Some more escaping 2008-08-15 18:26:32 +00:00
Steven Barth
d212e531d5 Added missing value escaping
Fixed a typo (wrong if-condition)
Added support for Table objects in CBI
2008-08-15 18:18:16 +00:00
Steven Barth
8d9d419f84 libs/cbi: Some fixes 2008-08-15 09:22:45 +00:00
Steven Barth
4bd74d0a98 libs/core: Remove deprecated luci.bits which got replaced by bitlib 2008-08-14 22:51:12 +00:00
Steven Barth
d46f017564 libs/cbi: Prevent SimpleForms from prematurely parsing form data 2008-08-14 22:18:46 +00:00
Steven Barth
ff30f2292c libs/sys: Added luci.sys.mounts 2008-08-14 21:55:53 +00:00
Steven Barth
2b0e8c6d7f libs/core: Add luci.execi as memory efficient replacement for now deprecated luci.execl 2008-08-14 21:55:43 +00:00
Jo-Philipp Wich
23a4d764d9 * luci/libs: make uvl code usable 2008-08-14 21:52:06 +00:00
Steven Barth
68d499edb9 modules/admin-full: Rewrote route configuration page 2008-08-14 20:33:30 +00:00
Jo-Philipp Wich
7726e73725 * luci/libs: add preliminary uvl code 2008-08-14 20:24:31 +00:00
Steven Barth
1616d5a81e Enable more sanity checks for Password Changing page 2008-08-14 19:19:05 +00:00
Steven Barth
15e2e16c6d Converted password change form to CBI model 2008-08-14 19:01:36 +00:00
Steven Barth
d915e6e1d7 Converted IPKG configuration to CBI model
Removed abandoned code
2008-08-14 17:16:56 +00:00
Steven Barth
36717208f1 Fixed login form
Converted SSH-Keys to CBI-Map
2008-08-14 16:11:49 +00:00
Steven Barth
2c09564d76 modules/admin-core: Added several cross-references to relevant configuration pages 2008-08-14 14:51:06 +00:00
Steven Barth
e42779fcab User interface improvements part #3 2008-08-14 11:50:44 +00:00
Steven Barth
fce1109817 libs/cbi: Add cross-linking capabilities 2008-08-14 11:50:13 +00:00
Steven Barth
15f4fa76d5 libs/cbi: Added TextValue 2008-08-14 11:50:00 +00:00
Steven Barth
568441a441 libs/core: Added missing license information to coxpcall 2008-08-14 11:49:50 +00:00
Jo-Philipp Wich
dfdd557d5d * luci/libs: only create <legend> if there is a title in tblsection template 2008-08-14 01:33:48 +00:00
Jo-Philipp Wich
8591d4e396 * luci/libs: improved cbi templates
* luci/modules:	fix layout of sshkeys page in admin-full
2008-08-14 01:31:17 +00:00
Steven Barth
58f183a282 Completed rewrite of network interface configuration page 2008-08-13 22:54:38 +00:00
Jo-Philipp Wich
1dacc5c20a * luci/libs: changed template for tblsection to save more vertical space 2008-08-13 18:12:47 +00:00
Steven Barth
5dc01425ef More UI optimizations 2008-08-13 18:01:30 +00:00
Steven Barth
36f1dac36f User interface improvements part #2 2008-08-13 16:18:39 +00:00
Steven Barth
5a92c0fc08 libs/cbi: Improved user interface draft #1 2008-08-13 14:09:33 +00:00
Steven Barth
07fdaa87db modules/admin-full: Network interface configuration optimization part #1 2008-08-13 01:24:44 +00:00
Steven Barth
355ac6b1a2 libs/cbi: Added support for stateful Values, Added editlink template 2008-08-12 15:31:09 +00:00
Steven Barth
c10065b71c Added new Application luci-samba offering SMB/CIFS network share configuration 2008-08-11 16:05:50 +00:00
Steven Barth
b723b936c5 Minor bugfixes 2008-08-11 12:53:41 +00:00
Steven Barth
37b3fba688 Fixed last commit 2008-08-11 10:51:02 +00:00