Commit graph

744 commits

Author SHA1 Message Date
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