Commit graph

395 commits

Author SHA1 Message Date
Jo-Philipp Wich
1d08361bea * luci/libs: uvl: add support for external validation commands, various cleanups 2008-08-17 17:40:57 +00:00
Jo-Philipp Wich
ed5c3eacf0 * luci/libs: uvl: fix handling of boolean options, better error descriptions, implement "required" and "unique" scheme properties for sections 2008-08-17 15:31:48 +00:00
Jo-Philipp Wich
c7ba7f99b0 * luci/libs: add keys() to luci.util 2008-08-17 14:56:03 +00:00
Jo-Philipp Wich
38ef0f92e7 * luci/libs: add alias to posix.readlink() in luci.fs 2008-08-17 14:47:49 +00:00
Steven Barth
75d4cca7ae Fixed a design flaw in luci.model.uci 2008-08-17 10:20:36 +00:00
Steven Barth
510fde0118 Added status information
Minor Cleanups
2008-08-16 23:17:50 +00:00
Jo-Philipp Wich
f5046bbca7 * luci/libs: uvl - cleanup round #3, flush lookup tables to prevent circular depency errors when reusing scheme instance 2008-08-16 21:02:46 +00:00
Jo-Philipp Wich
ef0be82b31 * luci/libs: uvl - cleanup round #2, reinitroduce validate_section() and validate_option() 2008-08-16 20:41:13 +00:00
Steven Barth
d7b95a555b Added process control page
Minor improvements
2008-08-16 20:18:14 +00:00
Jo-Philipp Wich
5237b79adf * luci/libs: uvl - cleanup round #1 2008-08-16 20:06:51 +00:00
Steven Barth
09b829a9c7 UI Improvements 2008-08-16 15:37:28 +00:00
Jo-Philipp Wich
4ed96bb95e * luci/libs: more UVL hacking, needs to be rewritten later 2008-08-16 03:41:57 +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
4bd74d0a98 libs/core: Remove deprecated luci.bits which got replaced by bitlib 2008-08-14 22:51:12 +00:00
Steven Barth
d46f017564 libs/cbi: Prevent SimpleForms from prematurely parsing form data 2008-08-14 22:18:46 +00:00
Steven Barth
ff30f2292c libs/sys: Added luci.sys.mounts 2008-08-14 21:55:53 +00:00
Steven Barth
2b0e8c6d7f libs/core: Add luci.execi as memory efficient replacement for now deprecated luci.execl 2008-08-14 21:55:43 +00:00
Jo-Philipp Wich
23a4d764d9 * luci/libs: make uvl code usable 2008-08-14 21:52:06 +00:00
Steven Barth
68d499edb9 modules/admin-full: Rewrote route configuration page 2008-08-14 20:33:30 +00:00
Jo-Philipp Wich
7726e73725 * luci/libs: add preliminary uvl code 2008-08-14 20:24:31 +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
e42779fcab User interface improvements part #3 2008-08-14 11:50:44 +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
Steven Barth
568441a441 libs/core: Added missing license information to coxpcall 2008-08-14 11:49:50 +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
36f1dac36f User interface improvements part #2 2008-08-13 16:18:39 +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
c10065b71c Added new Application luci-samba offering SMB/CIFS network share configuration 2008-08-11 16:05:50 +00:00
Steven Barth
b723b936c5 Minor bugfixes 2008-08-11 12:53:41 +00:00
Steven Barth
37b3fba688 Fixed last commit 2008-08-11 10:51:02 +00:00
Steven Barth
fdce917da5 libs/web: Even more sanity checks 2008-08-11 10:49:44 +00:00
Steven Barth
f83bb9996b libs/web: Add additional sanity checks to session mechanism 2008-08-11 10:43:31 +00:00
Steven Barth
673b4e1698 libs/web: Add an additional sanity check to Session IDs 2008-08-11 09:59:44 +00:00
Steven Barth
4bb4304974 Revert "* Fix last commit"
This reverts commit 0c680a15bc487d98bb8b50e4c57f735b957c4744.
2008-08-10 13:01:42 +00:00
Steven Barth
90a6f45d33 * Fix last commit 2008-08-10 13:01:16 +00:00
Steven Barth
f9fa6d82da * libs/web: Reworked authentication 2008-08-10 12:58:05 +00:00
Jo-Philipp Wich
2787a7f688 * luci/libs: In luci.ip: __array16() does assert() already, so drop redundant sanity checks in add() and sub() 2008-08-09 18:59:37 +00:00
Jo-Philipp Wich
ba298a020b * luci/libs: add missing parameter documentation for prefix() in luci.ip 2008-08-09 18:48:13 +00:00
Jo-Philipp Wich
a83de5a3b4 * luci/libs: updated documentation for luci.ip to use new features of luadoc 2008-08-09 18:41:30 +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
Jo-Philipp Wich
f3624d2ccd * luci/libs: fixed documentation for broadcast() in luci.ip 2008-08-09 01:10:42 +00:00
Jo-Philipp Wich
648126f6d0 * luci/libs: added broadcast(), minhost() and maxhost() to luci.ip, allow various datatypes as add() and sub() operands, extended add() and sub() to modify data inplace when flag is set 2008-08-09 01:06:28 +00:00
Jo-Philipp Wich
74824c32bf * luci/libs: Damn, I should take english lessons ... corrected typos in inline documentation 2008-08-08 19:24:33 +00:00
Jo-Philipp Wich
9592b80af6 * luci/libs: added inline documentation and luci.ip.cidr.sub() to luci.ip; allow CIDR notation _and_ netmask argument in IPv4() and IPv6() constructors 2008-08-08 19:06:37 +00:00
Jo-Philipp Wich
a87b197aa8 * luci/libs: properly handle overflows in luci.ip.add() 2008-08-08 13:45:09 +00:00
Jo-Philipp Wich
e502d88407 * luci/libs: fix off-by-one bug in luci.ip 2008-08-08 12:55:57 +00:00
Jo-Philipp Wich
069ac1115d * luci/libs: fixed contains() in luci.ip 2008-08-08 12:38:21 +00:00
Steven Barth
e080fcebd2 libs/core: Cleaned up luci.sys in favor of the new luci.ip module 2008-08-08 12:26:45 +00:00
Steven Barth
f4ec942d1b libs/web: Added missing on_commit trigger 2008-08-08 10:42:34 +00:00
Jo-Philipp Wich
9587d9db02 * luci/libs: add assert() to contains() in luci.ip 2008-08-08 01:32:55 +00:00
Jo-Philipp Wich
12951a951e * luci/libs: fixed big endian in Hex() constructor 2008-08-08 01:04:52 +00:00
Jo-Philipp Wich
edccb1fc95 * luci/libs: added Hex() constructor to luci.ip 2008-08-08 01:03:25 +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
Jo-Philipp Wich
adf1cc4c84 * libs/core/ip: save a redundant object in compare() 2008-08-07 15:39:52 +00:00
Steven Barth
3546ed9bbe lib/core: luci.ip: Added more sanity checks and optimizations 2008-08-07 15:25:59 +00:00
Steven Barth
256ab6b57c libs/core: Taught luci.ip how to use netmasks and smaller syntax sugars 2008-08-07 15:09:29 +00:00
Jo-Philipp Wich
f7f683579f * luci/libs/ip: fix add() 2008-08-07 12:48:25 +00:00
Jo-Philipp Wich
25dd9c5f9b * luci/libs: add preliminary ip calculation library 2008-08-07 12:44:33 +00:00
Steven Barth
a89101e5e5 Added missing Makefiles 2008-08-06 21:54:56 +00:00
Steven Barth
c9a2925055 libs/core: Outsourced luci.sys to own directory 2008-08-06 21:40:48 +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
b1b0c085de Outsourced IPKG abstraction to own directory 2008-08-06 19:51:48 +00:00
Steven Barth
3899482aca libs/core: Replace luci.sys.bigendian with a system independent version 2008-08-06 19:26:35 +00:00
Steven Barth
206bf7f253 modules/admin-full: Several user interface improvements 2008-08-06 10:41:47 +00:00
Steven Barth
2755a46c4d applications/luci-splash: Updated to work with new UCI firewall 2008-08-05 12:58:20 +00:00
Steven Barth
eddcc1fdbd libs/cbi: Optimized Comboboxes 2008-08-05 00:44:31 +00:00
Steven Barth
9a63ad7c10 applications/luci-fw: Reworked to use the new native UCI-based firewall configuration 2008-08-04 23:36:33 +00:00
Steven Barth
3d1f9b05e9 libs/cbi: Optimized Comboboxes 2008-08-04 17:35:44 +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
513e1cbba9 libs/core: luci.model.ipkg: Use OPKG instead of IPKG if available 2008-08-03 16:39:20 +00:00
Steven Barth
14e62cc311 libs/web: Fixed template escaping 2008-07-31 09:54:09 +00:00
Steven Barth
5c7ab64306 libs/cbi: Fixed CBI handling of "Save & Apply" 2008-07-30 19:01:07 +00:00
Steven Barth
8c3ee6f9b7 Added "apidocs" target to Makefile
contrib/luadoc: Added luadoc executable
libs: Fixed typos in inline documentation
2008-07-29 21:16:12 +00:00
Steven Barth
5b43543226 libs/web: Small improvements, added inline documentation 2008-07-29 20:32:02 +00:00
Steven Barth
a478f25f51 libs/lpk: Fixed typos 2008-07-29 17:00:06 +00:00
Steven Barth
8dad54251a libs/lpk: Several fixes in CLI -> Machine bindings 2008-07-29 16:54:30 +00:00
Steven Barth
41eceab4c4 libs/lpk: Updated CLI 2008-07-29 16:24:24 +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
Steven Barth
1f3700085c libs/lpk: Initial CLI 2008-07-28 15:16:44 +00:00
Steven Barth
db4447af91 libs/core: Renamed luci.util.create_dtable => luci.util.dtable 2008-07-28 14:17:30 +00:00
Steven Barth
84ad4e3e21 libs/core: Add luci.util.create_dtable 2008-07-28 13:07:22 +00:00
Steven Barth
3b29503f13 libs/lpk: Implemented register/stack/state machine 2008-07-27 17:38:05 +00:00