Commit graph

82 commits

Author SHA1 Message Date
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
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
712424dc0c Overall CBI improvements: DummyValue handling, dependency conflicts, ... 2008-09-19 10:42:02 +00:00
Steven Barth
d0442f8aab libs/cbi: Fix option initialisation errors 2008-09-14 21:58:55 +00:00
Steven Barth
f9303705a0 Overall CBI-UVL ineraction fixes 2008-09-13 12:20:39 +00:00
Steven Barth
19c79a30b9 Fixed DHCP-Options and some CBI stuff 2008-09-07 23:50:58 +00:00
Steven Barth
2590722de0 libs/cbi: Fixed DynamicLists 2008-09-07 23:03:05 +00:00
Steven Barth
d8282d382b libs/cbi: Catch errors while creating named sections 2008-09-07 21:22:39 +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
c5278e17dc * luci/libs/cbi: fix error assignment in cbi sections 2008-09-06 22:37:56 +00:00
Steven Barth
9befed193a cbi: Increare responsiveness of "Save & Apply" 2008-09-06 14:59:48 +00:00
Steven Barth
dbde0216c2 Rewrote UCI apply logic 2008-09-06 13:51:51 +00:00
Jo-Philipp Wich
7f7a600b12 * luci/libs/cbi: remove dead code 2008-09-05 23:25:51 +00:00
Jo-Philipp Wich
898c45743a * luci/libs/cbi: improved error integration with uvl 2008-09-05 23:21:37 +00:00
Steven Barth
3e9e582572 Heavy memory/performance optimizations #1 2008-09-05 18:34:46 +00:00
Steven Barth
8af9060efd libs/cbi: Pass default values from UVL 2008-09-05 15:58:19 +00:00
Steven Barth
34ab619ee3 libs/cbi: Compatibility changes for non-standards-compliant browsers 2008-09-03 22:51:27 +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
05d6b9684c libs/cbi: Make sure newly created sections have optional field selectors 2008-08-30 20:32:13 +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
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
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
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
12912ba7a4 Fixed enum dependencies 2008-08-28 09:11:16 +00:00
Steven Barth
a3fcd87a71 Fixed incompatible APIs in CBI 2008-08-27 22:02:38 +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
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
Steven Barth
451eacf8da CBI-UVL integration part #1 2008-08-24 16:22:49 +00:00
Jo-Philipp Wich
18dfd21c39 * luci/libs: use striptags() in cbi <option> elements 2008-08-20 16:58:29 +00:00
Steven Barth
dc638500b5 libs/cbi: Moved typecasting to the appropriate place 2008-08-19 15:33:04 +00:00
Steven Barth
d1a448604e libs/cbi: Added preliminary UCI list datatype support... for great justice 2008-08-18 23:26:06 +00:00
Steven Barth
935f4a805a Small bug fixes 2008-08-18 02:06:59 +00:00
Steven Barth
97ce1ad8ad Preparing rewrite of WiFi configuration 2008-08-17 18:32:53 +00:00
Steven Barth
75d4cca7ae Fixed a design flaw in luci.model.uci 2008-08-17 10:20:36 +00:00
Steven Barth
d7b95a555b Added process control page
Minor improvements
2008-08-16 20:18:14 +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
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