Commit graph

1288 commits

Author SHA1 Message Date
Jo-Philipp Wich
e75cb4f5ba libs/cbi: drop UVL, introduce server side datatype validation 2010-04-26 22:27:18 +00:00
Jo-Philipp Wich
ee36ef4170 libs/cbi: implement realtime client side input validation for Value and DynamicList fields 2010-04-26 21:42:10 +00:00
Jo-Philipp Wich
8e590d6650 libs/cbi: always reset class name in validation handler 2010-04-26 00:00:33 +00:00
Jo-Philipp Wich
dcf53bd886 libs/cbi: add field validation handlers 2010-04-25 23:50:25 +00:00
Jo-Philipp Wich
5879873fca libs/cbi: add datatype validators for upcoming client side field validation 2010-04-25 23:34:24 +00:00
Jo-Philipp Wich
3cb299dc10 libs/cbi: try to load fully qualified model path first, drop support for .lua.gz models 2010-04-21 19:41:46 +00:00
Jo-Philipp Wich
4c4d9b869b libs/web: don't fail if no langauge is set in luci config 2010-04-16 19:05:05 +00:00
Jo-Philipp Wich
74f118ab5c libs/nixio: save uhttpd certs as well 2010-04-05 17:38:05 +00:00
Jo-Philipp Wich
9dbc3a879b libs/lucid: make lucid work without nixio tls support 2010-04-03 18:53:35 +00:00
Steven Barth
53f812b11a nixio: Fix interface data for layer 3+ interfaces 2010-03-28 19:42:09 +00:00
Jo-Philipp Wich
c0d0953bd7 libs/nixio: make TLS support optional 2010-03-27 19:16:54 +00:00
Jo-Philipp Wich
be8a41822c libs: add uhttpd gateway interface 2010-03-21 17:59:37 +00:00
Jo-Philipp Wich
0799c5f9ea libs/uvl: convert luci.uvl.validation to new luci.uvl.error api 2010-03-18 22:39:48 +00:00
Jo-Philipp Wich
30f7206c59 libs/uvl: convert luci.uvl.dependencies to new luci.uvl.error api 2010-03-18 22:36:59 +00:00
Jo-Philipp Wich
1661add529 libs/uvl: local symbol error shadows error class declaration, drop it 2010-03-18 17:25:25 +00:00
Jo-Philipp Wich
c91c64b927 libs/uvl: fix syntax error introduced with r5861 2010-03-18 17:03:14 +00:00
Jo-Philipp Wich
e301256632 libs/cbi: change usage of uvl error api after r5861 2010-03-18 17:00:23 +00:00
Jo-Philipp Wich
3d426e48d4 libs/uvl: rework error handling to prevent triggering lvm issues 2010-03-18 16:58:58 +00:00
Jo-Philipp Wich
2fede7361f libs/core: disable runtime byte code stripping, it causes lvm errors (OpenWrt #6235, LuCI #110) 2010-03-18 15:19:11 +00:00
Jo-Philipp Wich
9a6d72238d trunk: remove libs/lpk and libs/luanet 2010-03-15 15:23:50 +00:00
Jo-Philipp Wich
7b276a5f48 libs/sys: fix unwanted invocation of initscripts when probing index of rcS 2010-03-08 18:56:03 +00:00
Jo-Philipp Wich
538af500a6 libs/uci: reload luci-statistics when changing system properties 2010-03-08 02:43:58 +00:00
Jo-Philipp Wich
2269eb3ef0 libs/ipkg: call opkg with --autoremove 2010-03-08 01:47:10 +00:00
Jo-Philipp Wich
928f16618e libs/uci: purge luci_ethers and luci_hosts from ucitrack 2010-03-08 01:23:31 +00:00
Jo-Philipp Wich
6a02931893 libs/sys: workaround for Lua number overflow in ipv6 route metrics 2010-03-08 00:49:39 +00:00
Jo-Philipp Wich
59b3711e70 libs/ipkg: add overlay_root(), determines the overlay used by opkg 2010-03-07 21:51:45 +00:00
Jo-Philipp Wich
fe8e9abc0f libs/ipkg: pass some force flags to opkg invokations for non interactive mode 2010-03-07 20:14:07 +00:00
Jo-Philipp Wich
cb0718b9f7 libs/cbi: implement .sectiontitle callback for tblsections to allow custom per-row titles 2010-03-06 19:10:30 +00:00
Jo-Philipp Wich
8338e5e8f5 libs/ipkg: add callback based list_all() and list_installed() 2010-02-28 23:38:22 +00:00
Jo-Philipp Wich
859f99845e libs/nixio: fix uninitialized variable warning on Darwin in splice.c 2009-12-29 17:55:10 +00:00
Jo-Philipp Wich
74630d6814 libs/lucid-http: fix regressions with recent git uci 2009-12-29 17:50:35 +00:00
Jo-Philipp Wich
6ea063dc11 libs/nixio: properly cast len argument for OS X sendfile() 2009-12-28 23:07:04 +00:00
Jo-Philipp Wich
6ffdb72a4d libs/nixio: fix compile on OS X 2009-12-28 22:03:42 +00:00
Jo-Philipp Wich
0ddedc638c libs/cbi: don't filter bridge ports in firewall zone widget 2009-12-26 00:09:47 +00:00
Vasilis Tsiligiannis
b9b4d9a2ab libs/iwinfo: Respect IW_TXPOW_DBM flag over IW_TXPOW_MWATT when both are set 2009-12-24 21:34:57 +00:00
Vasilis Tsiligiannis
f790aae15a libs/core: Fix wireless network ids 2009-12-24 21:34:52 +00:00
Vasilis Tsiligiannis
748b9b9462 libs/ipkg: Remove deprecated -force-defaults option when executing opkg 2009-12-23 09:33:58 +00:00
Jo-Philipp Wich
85eec9c21f libs/http: don't calculate etag twice in If-None-Match, fix typos in inline-doc 2009-12-20 18:35:05 +00:00
Jo-Philipp Wich
21328113dd libs/http: fix incorrent treatment of If-None-Match (#100) 2009-12-20 18:18:43 +00:00
Steven Barth
e8220d96a5 httpclient: Add basic auth support 2009-12-08 12:13:26 +00:00
Steven Barth
e822874a71 NIU:
Add WDS bridge client mode
Extending / repeating WDS network in AP wizard
Better 802.11s support
2009-11-29 13:46:04 +00:00
Steven Barth
87491bf031 nixio: Improve number handling with non-double Lua setups 2009-11-28 10:24:19 +00:00
Jo-Philipp Wich
bddc2053b4 libs/cbi: fix dependency handling of radio buttons 2009-11-26 00:24:59 +00:00
Steven Barth
1f83b916ac NIU: Minor fixes 2009-11-23 19:36:37 +00:00
Steven Barth
edb5427181 Correct order of wizard buttons 2009-11-23 14:10:14 +00:00
Steven Barth
840d8c89b5 CBI:
Ensure revalidation
2009-11-23 13:19:53 +00:00
Steven Barth
565cc95f0d CBI: Free dependencies 2009-11-23 13:09:52 +00:00
Jo-Philipp Wich
945f8910c1 libs/iwinfo: add freqlist() to dummy backend 2009-11-23 08:11:46 +00:00
Steven Barth
4cf6fdcdbe NIU:
Implemented WiFi-WAN
Overall improvements
2009-11-22 20:33:16 +00:00
Steven Barth
cba506cb70 CBI:
Allow skipping of non-routing wizard steps
2009-11-22 20:33:00 +00:00
Steven Barth
19758fae43 CBI:
Implement reverse dependencies
Allow wiazrd steps without buttons
2009-11-22 20:32:56 +00:00
Jo-Philipp Wich
a1ab9b5110 libs/iwinfo: support txpwrlist() for madwifi master devices 2009-11-21 02:10:13 +00:00
Jo-Philipp Wich
0f9ee2bea2 libs/iwinfo: support freqlist() on madwifi master devices 2009-11-21 01:40:48 +00:00
Steven Barth
7c9847ab12 IWINFO: Somehtings wrong with scanning and this header, seems to work with this change (taken from wireless-tools) 2009-11-17 19:53:55 +00:00
Steven Barth
23e0a7da6a CBI: Allow lazy loading of wizard pages (improving RAM usage) 2009-11-17 16:12:53 +00:00
Steven Barth
6a51fbe673 Minor fixes 2009-11-15 19:02:39 +00:00
Jo-Philipp Wich
21c3e37062 libs/sys: mhz are not floats 2009-11-15 17:06:33 +00:00
Jo-Philipp Wich
2a68a29c57 libs/iwinfo: conditionally compile wl.o or madwifi support, make it depend on $(CRAP) 2009-11-15 15:53:35 +00:00
Steven Barth
89ece183ef Merge luci.sys.wifi.channels to iwinfo 2009-11-15 15:46:27 +00:00
Jo-Philipp Wich
1b77a6f4c4 libs/iwinfo: add *_get_freqlist() 2009-11-15 15:21:03 +00:00
Jo-Philipp Wich
319f820388 libs/lmo: revert r5539, breaks target builds 2009-11-14 18:43:50 +00:00
Steven Barth
6fd3c1f367 Publish nixio.fs in index-scope 2009-11-14 18:41:16 +00:00
Steven Barth
b882bdeb04 Avoid unnecessary compiling 2009-11-14 13:41:31 +00:00
Steven Barth
43820b99ec JSON: Add encode / decode shortcut 2009-11-13 18:25:59 +00:00
Steven Barth
7aed1e4b9d NIU: More pages 2009-11-10 16:02:48 +00:00
Jo-Philipp Wich
4c08e29387 libs/cbi: add option to reveal/hide value for password fields 2009-11-10 01:42:18 +00:00
Steven Barth
284f85fb4e CBI: Fix subdependencies 2009-11-09 11:22:29 +00:00
Jo-Philipp Wich
6965f4ac2b libs/cbi: auto-hide apply messages and make title and description optional for Map and SimpleForm instances 2009-11-09 00:33:45 +00:00
Jo-Philipp Wich
5c4cd0c4d6 libs/cbi: fix some logic errors in firewall zone picker widget 2009-11-09 00:32:36 +00:00
Jo-Philipp Wich
c70edf0f94 libs/cbi: implement on_parse hook for maps 2009-11-09 00:32:05 +00:00
Jo-Philipp Wich
ee85b3b76b libs/core: i18n fixes for wds mode 2009-11-08 02:35:03 +00:00
Jo-Philipp Wich
c07a7b5a02 libs/core: implement add_network() and del_network() in wireless model 2009-11-08 02:34:31 +00:00
Jo-Philipp Wich
936d82ea5a libs/uci: fix bug in property_bool() of luci.model.uci.bind class 2009-11-08 02:32:29 +00:00
Jo-Philipp Wich
392bfd38f8 libs/cbi: implement SimpleForm on_cancel hook in main class 2009-11-08 02:31:41 +00:00
Jo-Philipp Wich
9199b2ca02 libs/cbi: fix bug in form prefill of zone picker widgets 2009-11-08 02:31:19 +00:00
Jo-Philipp Wich
6ba1aef019 libs/cbi:
- support hidden fields for SimpleForm, NamedSection and TypedSection instances
	- add support for on_cancel event in SimpleForm instances
2009-11-08 02:30:35 +00:00
Jo-Philipp Wich
dc93bf1fcc libs/cbi: properly handle .default for dummy values 2009-11-08 02:29:05 +00:00
Steven Barth
86e00cb771 LuCId: Watch threads in debug mode 2009-11-02 15:59:44 +00:00
Steven Barth
ffae6adf66 Avoid lacking fds 2009-11-02 15:40:53 +00:00
Steven Barth
c45930e05e LuCId: Only count our own threads 2009-11-02 14:21:55 +00:00
Jo-Philipp Wich
a60f781bdf libs/cbi: fix formatting issue in zone picker widget 2009-11-01 19:49:07 +00:00
Steven Barth
1bc570101b nixio: Device stats are unsinged from kernel and likely to overflow so use pushnumber instead of pushinteger. 2009-11-01 18:29:15 +00:00
Jo-Philipp Wich
9b888c18e3 libs: fix some more translation errors 2009-11-01 17:30:15 +00:00
Jo-Philipp Wich
58ba2de8e1 libs/lmo: fix logic errors in po2lmo 2009-11-01 17:27:56 +00:00
Jo-Philipp Wich
249ebe3622 i18n: fix references to po files 2009-11-01 14:30:02 +00:00
Jo-Philipp Wich
f5a760168b all: remove references to old i18n files 2009-11-01 14:24:04 +00:00
Jo-Philipp Wich
3e6d86c80e libs/cbi: i18n markup fix for filebrowser widget 2009-11-01 13:44:31 +00:00
Jo-Philipp Wich
5f0ecfe984 libs/uvl: fix i18n handling for errors 2009-11-01 13:19:03 +00:00
Jo-Philipp Wich
b786f4ade4 libs/cbi: fix some default translations 2009-11-01 11:54:14 +00:00
Jo-Philipp Wich
4ef4776c9a all: various i18n realted fixes 2009-10-31 21:09:02 +00:00
Jo-Philipp Wich
eeed712024 all: next round of translation fixups 2009-10-31 20:03:27 +00:00
Jo-Philipp Wich
cffba70b2e all: translation fixes in templates 2009-10-31 19:26:07 +00:00
Jo-Philipp Wich
50a26ced11 libs/cbi: remove auto-i18n, does not work anymore 2009-10-31 16:48:31 +00:00
Jo-Philipp Wich
ccc8c1dae7 libs/lmo: fix po2lmo to cope with new po format 2009-10-31 16:46:13 +00:00
Steven Barth
760b917114 System loads are floats 2009-10-31 16:30:44 +00:00
Jo-Philipp Wich
7c76587588 all: change most translate statements to new format, some need manual cleanup 2009-10-31 15:54:11 +00:00
Jo-Philipp Wich
8f2a3f1dcc libs/web: prepare template parser, dispatcher and i18n class for upcoming po format change 2009-10-31 15:42:07 +00:00
Jo-Philipp Wich
7f92fa405c libs/core: fix type in luci.model.wireless 2009-10-30 21:05:38 +00:00
Jo-Philipp Wich
20f2edcce0 libs/uci: fix property_bool() in luci.model.uci.bind 2009-10-30 19:43:13 +00:00
Jo-Philipp Wich
0b71cdaaad libs/core: extend and fix luci.model.wireless 2009-10-29 02:20:44 +00:00
Jo-Philipp Wich
1a9b5381c0 libs/core: fixes luci.model.wireless 2009-10-28 20:44:46 +00:00
Steven Barth
e93a3e0c74 CBI: Delegators: Don't proceed when step is not completed yet 2009-10-28 17:38:11 +00:00
Jo-Philipp Wich
910f48117f libs/cbi: add on_init, on_before_commit, on_after_commit, on_before_apply, on_after_apply hooks 2009-10-27 23:21:11 +00:00
Jo-Philipp Wich
c582cbcb61 libs/iwinfo: treat wifiX as wireless iface in dummy backend 2009-10-27 21:43:34 +00:00
Jo-Philipp Wich
bec91e4caf libs/cbi: fixes for widget templates 2009-10-27 21:42:40 +00:00
Jo-Philipp Wich
09fa7f18c9 libs/uci: support custom initalizers in luci.model.uci.bind 2009-10-27 21:38:15 +00:00
Jo-Philipp Wich
99d425aeed libs/core: fixes for luci.model.firewall, luci.model.network and luci.model.network.wireless 2009-10-27 21:34:06 +00:00
Jo-Philipp Wich
7bf9452985 libs/core: add luci.model.wireless 2009-10-27 21:33:26 +00:00
Steven Barth
92bbfc8ca8 Be a bit more non-standard 2009-10-26 17:55:08 +00:00
Steven Barth
36e18e87ef CBI: Cancelaction and event callbacks for Delegators
LuCId: Send Keep-Alive headers to avoid browser quirks
2009-10-26 17:40:44 +00:00
Steven Barth
6e7c32fa7d Build fixes 2009-10-26 13:24:36 +00:00
Felix Fietkau
64d9a00a99 nixio: store stats and other number information as integer, which works better when lua number support is downgraded from double to float 2009-10-26 04:52:07 +00:00
Jo-Philipp Wich
536430d0ee libs/cbi: change widgets using model.network to new api 2009-10-15 16:37:29 +00:00
Jo-Philipp Wich
09c5e7241a libs/core: implement special treatment of wireless in network model 2009-10-15 16:30:17 +00:00
Jo-Philipp Wich
98187975f9 libs/uci: fix attempt to assign empty tables in uci bind class 2009-10-15 16:22:03 +00:00
Jo-Philipp Wich
f7ab20f6e3 libs/lucid: enable tls in sdk 2009-10-15 16:20:48 +00:00
Jo-Philipp Wich
a7b1ebe096 libs/iwinfo: don't treat every iface as dummy wireless, do some heuristics on the ifname 2009-10-15 16:20:29 +00:00
Jo-Philipp Wich
e2147feb63 libs/cbi: fix error in previous commit 2009-10-14 00:02:38 +00:00
Jo-Philipp Wich
5ce9bd5fc8 libs/cbi: support horizontal display for radio button groups 2009-10-13 23:59:50 +00:00
Jo-Philipp Wich
42e1f743b3 libs/cbi: fix dynamic tab hiding 2009-10-10 22:18:50 +00:00
Jo-Philipp Wich
3fb80187f8 libs/core: fixes for network model 2009-10-10 14:53:39 +00:00
Jo-Philipp Wich
17f2921341 libs/cbi: add network picker widget 2009-10-10 14:51:59 +00:00
Jo-Philipp Wich
988de587ee libs/cbi: various widget fixes 2009-10-10 14:47:37 +00:00
Jo-Philipp Wich
0533309ef2 libs/core: fix firewall model 2009-10-10 04:48:57 +00:00
Jo-Philipp Wich
03a6d3fcd4 libs/core: extend network model, only allow one zone per network 2009-10-10 04:46:26 +00:00
Jo-Philipp Wich
c199fb44c0 libs/cbi: hide tabs that have zero fields after dependency update 2009-10-10 04:18:16 +00:00
Jo-Philipp Wich
5c4a002a46 libs/cbi: allow underscores in AbstractSection.create() 2009-10-09 00:45:47 +00:00
Jo-Philipp Wich
a5b315694d libs/cbi: add interface picker widget 2009-10-08 10:26:57 +00:00
Jo-Philipp Wich
a037d94383 libs/core: luci.model.network: implement contains_inteface(), fix bugs 2009-10-08 10:25:52 +00:00
Jo-Philipp Wich
740bb20850 libs/uci: optimize get & set performance in luci.model.uci.bind, fix ambiguous case in uciop() 2009-10-08 10:07:51 +00:00
Jo-Philipp Wich
667e05a8b4 libs/core: add luci.model.network oop abstraction layer 2009-10-08 09:32:00 +00:00
Jo-Philipp Wich
6c64745e2c libs/cbi: comply with changed firewall interface 2009-10-08 01:26:09 +00:00
Jo-Philipp Wich
9fcd1f2f59 libs/core: luci.model.firewall: make top level functions instance methods to keep interface consistent, implement rename_zone() 2009-10-08 01:22:21 +00:00
Jo-Philipp Wich
d3e65f3e1d libs/cbi: auto-select appropriate option if create field is focused 2009-10-08 00:46:01 +00:00
Jo-Philipp Wich
33c8b37310 libs/cbi: i18n for zone picker 2009-10-08 00:27:39 +00:00
Jo-Philipp Wich
f4ce127051 libs/cbi: add a firewall zone picker widget 2009-10-08 00:17:40 +00:00
Jo-Philipp Wich
470184bd57 libs/core: add luci.model.firewall, oop abstraction for uci firewall 2009-10-08 00:14:07 +00:00
Jo-Philipp Wich
6ef4b7f7e8 libs/uci: add luci.model.uci.bind class for easier oop-uci integration 2009-10-08 00:11:16 +00:00
Jo-Philipp Wich
da2b40c9e3 libs/cbi: fix wrong value handling in FileUpload widgets (#85) 2009-10-07 19:50:20 +00:00
Jo-Philipp Wich
93215e86d8 libs/iwinfo: fix dummy scanresults 2009-09-26 13:58:36 +00:00
Steven Barth
7bd891326d Fix Save & Apply for lists 2009-09-24 16:40:32 +00:00
Jo-Philipp Wich
48465cebab libs/iwinfo: find/autocreate madwifi vap if scan on wifi0 is requested 2009-09-23 18:04:29 +00:00
Jo-Philipp Wich
79022dcc63 libs/iwinfo: add some required includes 2009-09-23 18:03:36 +00:00
Jo-Philipp Wich
9fde34000d libs/iwinfo: probe madwifi first, poking wifi0 with wl ioctls results in bus error 2009-09-23 18:03:09 +00:00
Steven Barth
9b50dd9cba Fix requestpath, export authuser 2009-09-11 10:46:06 +00:00
Jo-Philipp Wich
0fbcef99a3 libs/http: map *.xsl files to application/xml 2009-09-11 01:55:10 +00:00
Jo-Philipp Wich
c152de01eb libs/iwinfo: add channels to the dummy scan results 2009-09-10 09:19:18 +00:00
Jo-Philipp Wich
a90e6dc95f libs/iwinfo: add fake scan results to the dummy module 2009-09-10 09:08:38 +00:00
Jo-Philipp Wich
d6caf509ad libs/web: drop unneeded requires in template class 2009-09-10 08:15:49 +00:00
Jo-Philipp Wich
cf1e1534bc libs/web: add missing local variable declaration 2009-09-10 08:11:25 +00:00