Commit graph

1228 commits

Author SHA1 Message Date
Jo-Philipp Wich
1208895c18 libs/core: remove luci.model.uci.bind 2010-10-30 04:50:04 +00:00
Jo-Philipp Wich
c0f5518bdb libs/core: reuse existing uci context in network model if possible. fix some bugs 2010-10-30 04:48:55 +00:00
Jo-Philipp Wich
08dfc28786 libs/core: rework firewall model 2010-10-30 04:47:37 +00:00
Jo-Philipp Wich
82b7e4e72b libs/web: add html5 placeholder attribute support to cbi options 2010-10-30 02:51:15 +00:00
Jo-Philipp Wich
2b7ba80b8a libs/core: fix various bugs in network model 2010-10-30 02:33:06 +00:00
Jo-Philipp Wich
bc78f7e08d libs/web: implement forcewrite attribute for cbi options 2010-10-30 02:30:09 +00:00
Jo-Philipp Wich
85a5d628ec libs/web: live validation fixes 2010-10-30 01:03:20 +00:00
Jo-Philipp Wich
595020f919 libs/web: convert cbi widgets to new network model 2010-10-30 00:42:58 +00:00
Jo-Philipp Wich
df01f3e431 libs/core: merge luci.model.wireless into luci.model.network 2010-10-30 00:40:07 +00:00
Jo-Philipp Wich
33378709a9 libs/core: rework network model 2010-10-28 18:30:15 +00:00
Jo-Philipp Wich
21de97b235 libs/core: implement substate() in uci model for creating bound state cursors 2010-10-28 17:26:48 +00:00
Jo-Philipp Wich
70706cf388 libs/web: rework DynamicList widget 2010-10-25 17:04:03 +00:00
Jo-Philipp Wich
63089ef8be libs/web: annotate form object with cbi state when using section add/remove buttons 2010-10-21 20:51:32 +00:00
Jo-Philipp Wich
98b4da49b0 libs/web: fix ip6addr js validation, fixes for live validation 2010-10-21 20:50:18 +00:00
Jo-Philipp Wich
5e45e4107b libs/web: fix tab highlighting with multiple tabs 2010-10-20 22:43:29 +00:00
Jo-Philipp Wich
687861c498 libs/core: fix network counting in luci.model.wireless 2010-10-19 04:13:33 +00:00
Jo-Philipp Wich
1a3533cb86 libs/web: add String.serialize() and String.format() to cbi.js 2010-10-19 04:06:46 +00:00
Jo-Philipp Wich
db46443478 libs/web: support different caption for button widgets 2010-10-19 04:03:36 +00:00
Jo-Philipp Wich
cca45d0bdb libs/sys: resolve pseudo ifaces in luci.sys.wifi.getiwinfo() 2010-10-19 03:56:53 +00:00
Jo-Philipp Wich
dd2abf2ea4 libs/web: move XHR apply callback into subtemplate 2010-10-15 21:56:44 +00:00
Jo-Philipp Wich
f7ab1fbc56 libs/web: add export() to template namespace, allows templates to export symbols to the calling view namespace, this is useful for includes defining shared procedures or variables 2010-10-15 16:12:07 +00:00
Jo-Philipp Wich
fbaabd7d93 libs/web: cbi: add new on_before_save and on_after_save hook, implement :reset_values() for options supporting :value() 2010-10-14 23:21:25 +00:00
Jo-Philipp Wich
8038cbf004 libs/web: fix various issues in cbi option error handling, call validator for missing options to obtain error message 2010-10-14 00:18:28 +00:00
Jo-Philipp Wich
17575b4d75 libs/web: rework cbi field validation, let validators return custom error messages, properly handle errors in multiple sections 2010-10-12 23:08:54 +00:00
Jo-Philipp Wich
551224f51c libs: remove uci folder 2010-10-12 05:29:12 +00:00
Jo-Philipp Wich
5c2000a157 libs: merge libs/uci into libs/core 2010-10-12 05:28:49 +00:00
Jo-Philipp Wich
2472cd5613 libs: remove http folder 2010-10-12 05:23:00 +00:00
Jo-Philipp Wich
b6358aaea4 libs: merge libs/http into libs/web 2010-10-12 05:22:38 +00:00
Jo-Philipp Wich
719fd249aa libs: remove obsolete iwinfo, its independant now 2010-10-12 05:19:10 +00:00
Jo-Philipp Wich
aff68f5375 libs: remove cbi folder 2010-10-12 05:17:08 +00:00
Jo-Philipp Wich
ede4aca4b9 libs: merge libs/cbi into libs/web 2010-10-12 05:15:32 +00:00
Jo-Philipp Wich
051186345c libs/sys: implement luci.sys.user.getpasswd() 2010-10-11 23:22:25 +00:00
Jo-Philipp Wich
a5e34813e3 libs/uci: prevent concurrent luci-reload instances, write currently processed init script to status file 2010-10-11 22:56:58 +00:00
Jo-Philipp Wich
f735ef30bd libs/cbi: don't run apply on render, this is a quick hack and will be reworked soon 2010-10-11 22:55:49 +00:00
Jo-Philipp Wich
2c22ea7b77 libs/cbi: interface with service control backend to trigger service reload asynchronously 2010-10-11 22:54:35 +00:00
Steven Barth
05a61e4632 nixio: Add set_verify_locations for TLS 2010-06-10 07:46:36 +00:00
Steven Barth
ad2ff61191 nixio: Add nixio.gettimeofday() per user request 2010-05-23 16:35:59 +00:00
Jo-Philipp Wich
4dc420efd3 libs/cbi: fix crash with tabless sections 2010-04-27 07:25:20 +00:00
Jo-Philipp Wich
eca5a0abf0 libs/cbi:
- skip client side field validation if corrsponding field was removed due to dependencies
	- human readable error strings in uci section summary
	- implement field validation for dnyamic lists
	- render optional fields when section has tabs
2010-04-27 00:27:37 +00:00
Jo-Philipp Wich
f1ebca9388 libs/cbi: add wep and wpa key datatype validators 2010-04-26 22:37:09 +00:00
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