Commit graph

147 commits

Author SHA1 Message Date
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
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
d5cfb28f9b libs/cbi: Add a check whether a section was recently created 2008-08-30 20:32:07 +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
71c3d30f46 * luci/themes: several xhtml fixes 2008-08-20 19:44:16 +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
9a7c358cfb * luci/themes: fix help text styles in openwrt.org theme 2008-08-20 16:11:27 +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
Steven Barth
d1a448604e libs/cbi: Added preliminary UCI list datatype support... for great justice 2008-08-18 23:26:06 +00:00
Steven Barth
ec796fc52a Fixed a typo 2008-08-18 08: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
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
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
d46f017564 libs/cbi: Prevent SimpleForms from prematurely parsing form data 2008-08-14 22:18:46 +00:00
Steven Barth
68d499edb9 modules/admin-full: Rewrote route configuration page 2008-08-14 20:33:30 +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
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
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
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
b723b936c5 Minor bugfixes 2008-08-11 12:53:41 +00:00
Steven Barth
bdb4bbde13 libs/cbi: Major Improvements
Added initial support for non-UCI-based forms (luci.cbi.SimpleForm)
	Minor API improvements
	Now correctly tagging "empty mandatory field" errors
2008-08-09 14:14:04 +00:00
Steven Barth
fbae92e522 modules/admin-full: Added support for interface aliases 2008-08-07 20:21:38 +00:00
Steven Barth
e72a526984 libs/cbi: Added magic ;-) 2008-08-07 19:03:25 +00:00
Steven Barth
50093ed3d9 Moved luci.sys.libpath to luci.util 2008-08-06 20:20:40 +00:00
Steven Barth
76982655fa Moved luci.sys.exec, luci.sys.execl and luci.sys.bigendian to luci.util 2008-08-06 20:11:15 +00:00
Steven Barth
206bf7f253 modules/admin-full: Several user interface improvements 2008-08-06 10:41:47 +00:00
Steven Barth
084db952ce libs/cbi: Added value function to luci.cbi.Value to create Comboboxes 2008-08-04 17:16:27 +00:00
Steven Barth
5c7ab64306 libs/cbi: Fixed CBI handling of "Save & Apply" 2008-07-30 19:01:07 +00:00
Steven Barth
f8f4fe7523 modules: Redesigned configuration save, apply, save & apply menu options 2008-07-29 15:33:28 +00:00
Steven Barth
43ffb3aacb libs/cbi: Added "Save & Apply" button to CBI forms 2008-07-29 14:01:19 +00:00
Jo-Philipp Wich
4e587d53a8 * luci/themes: several small tweaks in openwrt.org theme
* luci/libs/cbi:	some template improvements
2008-07-20 15:16:13 +00:00
Jo-Philipp Wich
94a968e62f * luci/libs/cbi: print a notice in empty tblsections
* luci/i18n:		added new string to cbi translations
2008-07-20 01:34:05 +00:00
Steven Barth
8d1aff78b1 modules/admin-mini: Added Wifi configuration
several smaller bugfixes and enhancements
2008-07-16 18:54:10 +00:00
Steven Barth
9fd9401d9b libs/cbi: Fixed AbstractSection.create 2008-07-16 07:51:39 +00:00
Steven Barth
ced11a4a13 libs/cbi: Cleaned up *Section.create 2008-07-16 07:24:54 +00:00
Jo-Philipp Wich
18f0ebfd8b * luci/libs/cbi: fix syntax error in mvalue template 2008-07-15 22:09:53 +00:00
Jo-Philipp Wich
05d3bf06b4 * luci/libs/cbi: various template cleanups 2008-07-15 17:27:58 +00:00
Jo-Philipp Wich
41efc83c17 * luci/libs/cbi: fix <label> assignment for checkbox-based mvalues 2008-07-15 15:59:46 +00:00
Steven Barth
d0a622dce8 lib/cbi: Added support for multiple CBI maps per model 2008-07-15 13:17:28 +00:00
Steven Barth
4d7c453ea8 libs/cbi: Fixed MultiValue select widget 2008-07-14 18:57:19 +00:00
Steven Barth
d12dfa5186 libs/cbi: Fixed MultiValues 2008-07-14 17:37:37 +00:00
Jo-Philipp Wich
abda3857e2 * luci/libs/cbi: remove now ununsed tiny_value*.htm templates 2008-07-13 16:09:59 +00:00
Jo-Philipp Wich
41cb1705b7 * luci/themes: more fixes for openwrt.org theme 2008-07-13 01:32:02 +00:00
Jo-Philipp Wich
dfe0287c6f * luci/themes: lots of fixes in openwrt.org theme
* luci/libs/cbi:	use <table> fpr table sections
2008-07-12 16:46:10 +00:00
Steven Barth
1588665618 Added copyright-tags to templates 2008-07-07 22:00:56 +00:00
Steven Barth
0fac926065 libs/cbi: Fixed rendering of checkbox and radiobox-based widgets 2008-07-06 11:24:26 +00:00
Steven Barth
6e2fe3af63 libs/cbi: Use labels instead of divs for field titles 2008-07-06 11:24:20 +00:00
Steven Barth
855b7582d3 * Rewrote Luci to be coroutine-safe allowing the use of non-forking webservers
* Setting base version to 0.7
2008-06-14 14:12:12 +00:00
Steven Barth
211c6394a0 * Prepare german translation cleanup 2008-06-09 10:10:29 +00:00
Steven Barth
c7e3e11811 * libs/cbi: Fixed a bug which prevented creation of non-anonymous sections 2008-06-08 21:21:33 +00:00
Steven Barth
7d03f8ea8a * Core translation
* Added license headers
* Splitted qos into separate application package
2008-06-08 08:14:31 +00:00
Steven Barth
dd9606825d * Merged Luci to use native UCI-library 2008-06-05 19:16:38 +00:00
Steven Barth
f56890a573 * Added native basic authentication support
* Cleanups
2008-06-02 17:49:27 +00:00
Jo-Philipp Wich
92d76ed836 * luci/core: cbi.lua: automatically set size of MultiValue fields 2008-06-02 16:21:41 +00:00
Jo-Philipp Wich
c660416989 * luci/core: cbi.lua: fix auto-i18n for values inside typed sections 2008-06-01 21:20:20 +00:00
Jo-Philipp Wich
e95d152b3d * luci/core: cbi.lua: NamedSection and TypedSection take different numbers of arguments, move i18n init to corresponding constructors 2008-06-01 18:34:13 +00:00
Jo-Philipp Wich
47b62843fc * luci/core: cbi.lua: automatic i18n capabilities; whitespace cleanup 2008-06-01 16:42:33 +00:00
Steven Barth
8f7f03a0c5 * Core translation part 2 2008-05-31 13:57:30 +00:00
Steven Barth
d35a620e9f commit 4f6198094cf4134179d1f9c9fa8f79759a27c87e
Author: Felix Fietkau <nbd@openwrt.org>
Date:   Tue May 27 13:56:12 2008 +0200

    rename src/ to luasrc/
2008-05-27 12:23:39 +00:00