project/luci.git
11 years ago* luci/modules: fix default translation of no-encryption-option in both admin-full...
Jo-Philipp Wich [Wed, 3 Sep 2008 22:42:20 +0000 (22:42 +0000)]
* luci/modules: fix default translation of no-encryption-option in both admin-full and admin-fixed

11 years ago* luci/contrib/luci-addons: always create /var/etc in luci_ethers, fixes #113 - thank...
Jo-Philipp Wich [Wed, 3 Sep 2008 22:33:53 +0000 (22:33 +0000)]
* luci/contrib/luci-addons: always create /var/etc in luci_ethers, fixes #113 - thanks KanjiMonster!

11 years ago* luci/libs/uvl: fix error handling of OPT_INVVALUE too
Jo-Philipp Wich [Wed, 3 Sep 2008 22:02:35 +0000 (22:02 +0000)]
* luci/libs/uvl: fix error handling of OPT_INVVALUE too

11 years ago* luci/libs/uvl:
Jo-Philipp Wich [Wed, 3 Sep 2008 21:49:13 +0000 (21:49 +0000)]
* luci/libs/uvl:
- implement host datatype which matches hostname, ip4addr or ip6addr datatype
- implement multival flag for options
- fix handling of OPT_BADVALUE errors
- add multival flag spec to reference scheme

11 years ago* luci/libs/uvl: fix zone references in firewall scheme
Jo-Philipp Wich [Wed, 3 Sep 2008 21:11:05 +0000 (21:11 +0000)]
* luci/libs/uvl: fix zone references in firewall scheme

11 years ago* luci/libs/uvl: completed firewall scheme
Jo-Philipp Wich [Wed, 3 Sep 2008 21:07:07 +0000 (21:07 +0000)]
* luci/libs/uvl: completed firewall scheme

11 years agoAdded cbi2uvl converter
Steven Barth [Wed, 3 Sep 2008 12:16:46 +0000 (12:16 +0000)]
Added cbi2uvl converter

11 years agolibs/web: Fixed luci.template
Steven Barth [Wed, 3 Sep 2008 11:01:21 +0000 (11:01 +0000)]
libs/web: Fixed luci.template

11 years ago* luci/libs/uvl: add "network" option to firewall scheme
Jo-Philipp Wich [Wed, 3 Sep 2008 10:52:40 +0000 (10:52 +0000)]
* luci/libs/uvl: add "network" option to firewall scheme

11 years ago* luci/contrib/olsrd-luci: add timer fix from (http://gredler.at/hg/olsrd/rev/ace7c09...
Jo-Philipp Wich [Wed, 3 Sep 2008 09:43:07 +0000 (09:43 +0000)]
* luci/contrib/olsrd-luci: add timer fix from (gredler.at/hg/olsrd/rev/ace7c0970ec)

11 years ago* luci/libs/uvl:
Jo-Philipp Wich [Wed, 3 Sep 2008 02:08:38 +0000 (02:08 +0000)]
* luci/libs/uvl:
- fix command line switches for uvl
- honour STRICT_UNKOWN_OPTIONS in luci.uvl._validate_option()

11 years ago* luci/libs/uvl: add missing username, password and server options to network schame...
Jo-Philipp Wich [Wed, 3 Sep 2008 01:51:12 +0000 (01:51 +0000)]
* luci/libs/uvl: add missing username, password and server options to network schame, fix c-n-p errors

11 years ago* luci/libs/uvl: completed network scheme, add "uint" and "ipaddr" datatypes
Jo-Philipp Wich [Wed, 3 Sep 2008 01:45:43 +0000 (01:45 +0000)]
* luci/libs/uvl: completed network scheme, add "uint" and "ipaddr" datatypes

11 years ago* luci/contrib/olsrd-luci: adept config generator to new uci api and fix ifname in...
Jo-Philipp Wich [Wed, 3 Sep 2008 00:36:13 +0000 (00:36 +0000)]
* luci/contrib/olsrd-luci: adept config generator to new uci api and fix ifname in interface sections

11 years ago* luci/libs: uvl: remove deprecated notice from reference scheme
Jo-Philipp Wich [Tue, 2 Sep 2008 22:26:36 +0000 (22:26 +0000)]
* luci/libs: uvl: remove deprecated notice from reference scheme

11 years ago* luci/libs/uvl:
Jo-Philipp Wich [Tue, 2 Sep 2008 22:13:52 +0000 (22:13 +0000)]
* luci/libs/uvl:
- fix handling of missing package/section/variable fields in scheme specs
- fix dereferencing of scheme tables in luci.uvl.uvlitem.scheme()
- unify TYPE_VARIABLE and TYPE_OPTION
- implement external "regexp:..." validators
- extend reference scheme to implement "lazylist" type for lists

11 years ago* luci/libs: uvl: implement package sections in the uvl scheme format
Jo-Philipp Wich [Tue, 2 Sep 2008 20:24:06 +0000 (20:24 +0000)]
* luci/libs: uvl: implement package sections in the uvl scheme format

11 years agoAlias luci.util.exec as luci.sys.exec for legacy purposes
Steven Barth [Tue, 2 Sep 2008 19:08:43 +0000 (19:08 +0000)]
Alias luci.util.exec as luci.sys.exec for legacy purposes

11 years agoFixed occasionally occuring "Overload"-problems with luci-httpd
Steven Barth [Tue, 2 Sep 2008 15:03:18 +0000 (15:03 +0000)]
Fixed occasionally occuring "Overload"-problems with luci-httpd

11 years agoFixed some UCI transition fallout
Steven Barth [Tue, 2 Sep 2008 14:50:00 +0000 (14:50 +0000)]
Fixed some UCI transition fallout

11 years agoRewrote luci.config
Steven Barth [Tue, 2 Sep 2008 14:24:00 +0000 (14:24 +0000)]
Rewrote luci.config

11 years agoapplications/luci-fw: Fixed r2979, closes #112
Steven Barth [Tue, 2 Sep 2008 11:27:00 +0000 (11:27 +0000)]
applications/luci-fw: Fixed r2979, closes #112

11 years agoBump i18n-files
Steven Barth [Tue, 2 Sep 2008 09:08:11 +0000 (09:08 +0000)]
Bump i18n-files

11 years agomodules/admin-full: Fixed a typo on IPKG configuration page
Steven Barth [Tue, 2 Sep 2008 09:06:27 +0000 (09:06 +0000)]
modules/admin-full: Fixed a typo on IPKG configuration page

11 years agolibs/uci: Optimized workaround
Steven Barth [Tue, 2 Sep 2008 09:02:20 +0000 (09:02 +0000)]
libs/uci: Optimized workaround

11 years agolibs/web: Fixed a typo in template error handling
Steven Barth [Tue, 2 Sep 2008 09:02:13 +0000 (09:02 +0000)]
libs/web: Fixed a typo in template error handling

11 years agoFixed reference to luci.ltn12
Steven Barth [Tue, 2 Sep 2008 08:24:45 +0000 (08:24 +0000)]
Fixed reference to luci.ltn12

11 years ago* luci/build: add extended xml->lua xslt, thanks Alina
Jo-Philipp Wich [Tue, 2 Sep 2008 01:12:21 +0000 (01:12 +0000)]
* luci/build: add extended xml->lua xslt, thanks Alina

11 years ago* luci/libs: uvl: reenable xml translations, adept to new method="text" conversation...
Jo-Philipp Wich [Tue, 2 Sep 2008 01:11:46 +0000 (01:11 +0000)]
* luci/libs: uvl: reenable xml translations, adept to new method="text" conversation method

11 years ago* luci/libs: uvl: add definition of package sections to meta scheme
Jo-Philipp Wich [Tue, 2 Sep 2008 00:39:26 +0000 (00:39 +0000)]
* luci/libs: uvl: add definition of package sections to meta scheme

11 years ago* luci/contrib: olsrd-luci: only write sections for existing plugins, change default...
Jo-Philipp Wich [Mon, 1 Sep 2008 23:42:49 +0000 (23:42 +0000)]
* luci/contrib: olsrd-luci: only write sections for existing plugins, change default interface to br-lan

11 years ago* luci/contrib: olsrd-luci: and now switch to 0.5.6 final while we're at it...
Jo-Philipp Wich [Mon, 1 Sep 2008 23:26:19 +0000 (23:26 +0000)]
* luci/contrib: olsrd-luci: and now switch to 0.5.6 final while we're at it...

11 years ago* luci/contrib: olsrd-luci: fix yet another error
Jo-Philipp Wich [Mon, 1 Sep 2008 23:21:49 +0000 (23:21 +0000)]
* luci/contrib: olsrd-luci: fix yet another error

11 years ago* luci/contrib: olsrd-luci: fix fork fallout
Jo-Philipp Wich [Mon, 1 Sep 2008 23:18:10 +0000 (23:18 +0000)]
* luci/contrib: olsrd-luci: fix fork fallout

11 years ago* luci/contrib: change dependencies to use olsrd-luci instead of olsrd
Jo-Philipp Wich [Mon, 1 Sep 2008 23:08:37 +0000 (23:08 +0000)]
* luci/contrib: change dependencies to use olsrd-luci instead of olsrd

11 years ago* luci/applications: olsr: remove init stuff, moved to olsrd-luci
Jo-Philipp Wich [Mon, 1 Sep 2008 23:04:38 +0000 (23:04 +0000)]
* luci/applications: olsr: remove init stuff, moved to olsrd-luci

11 years ago* luci/contrib: add fork of openwrt olsrd
Jo-Philipp Wich [Mon, 1 Sep 2008 23:02:29 +0000 (23:02 +0000)]
* luci/contrib: add fork of openwrt olsrd

11 years ago* luci/applications: olsr: add own initscript and configuration
Jo-Philipp Wich [Mon, 1 Sep 2008 22:25:51 +0000 (22:25 +0000)]
* luci/applications: olsr: add own initscript and configuration

11 years agoFixed some encoding issues
Steven Barth [Mon, 1 Sep 2008 22:04:34 +0000 (22:04 +0000)]
Fixed some encoding issues

11 years agoAdded UVC-Streamer application
Steven Barth [Mon, 1 Sep 2008 21:56:30 +0000 (21:56 +0000)]
Added UVC-Streamer application
Contributed by Yanira
Thanks a lot

11 years agoUGLY workaround is UGLY
Steven Barth [Mon, 1 Sep 2008 21:40:08 +0000 (21:40 +0000)]
UGLY workaround is UGLY

11 years ago* luci/libs: uvl: fix possible "attempt to index field '?' (a nil value)" in uvl...
Jo-Philipp Wich [Mon, 1 Sep 2008 20:48:18 +0000 (20:48 +0000)]
* luci/libs: uvl: fix possible "attempt to index field '?' (a nil value)" in uvl.uvlitem.config()

11 years agoAdded custom filename support to luci.template
Steven Barth [Mon, 1 Sep 2008 20:43:48 +0000 (20:43 +0000)]
Added custom filename support to luci.template

11 years agolibs/cbi: Forward errors (like syntactical errors) from CBI model parser to the user...
Steven Barth [Mon, 1 Sep 2008 19:51:37 +0000 (19:51 +0000)]
libs/cbi: Forward errors (like syntactical errors) from CBI model parser to the user output

11 years agoAdded luci.fs.copy and luci.fs.rename
Steven Barth [Mon, 1 Sep 2008 19:42:43 +0000 (19:42 +0000)]
Added luci.fs.copy and luci.fs.rename

11 years agoFixed last commit
Steven Barth [Mon, 1 Sep 2008 19:28:06 +0000 (19:28 +0000)]
Fixed last commit

11 years agoAdded more reliable Lua2XML Converter for translations
Steven Barth [Mon, 1 Sep 2008 19:23:56 +0000 (19:23 +0000)]
Added more reliable Lua2XML Converter for translations

11 years agoAdd stupid XHTML 1.0 DOCTYPES to themes
Steven Barth [Mon, 1 Sep 2008 17:36:09 +0000 (17:36 +0000)]
Add stupid XHTML 1.0 DOCTYPES to themes

11 years agolibs/web: Cleaned up template library
Steven Barth [Mon, 1 Sep 2008 16:05:40 +0000 (16:05 +0000)]
libs/web: Cleaned up template library

11 years agolibs/web: Added several sanity checks to avoid local privilege escalation
Steven Barth [Mon, 1 Sep 2008 16:05:34 +0000 (16:05 +0000)]
libs/web: Added several sanity checks to avoid local privilege escalation

11 years agolibs/core: Added mising import for math module to luci.util
Steven Barth [Mon, 1 Sep 2008 11:10:06 +0000 (11:10 +0000)]
libs/core: Added mising import for math module to luci.util

11 years agoFix usage of WPA/PSK encryption options in wifi configuration
Steven Barth [Sun, 31 Aug 2008 22:44:32 +0000 (22:44 +0000)]
Fix usage of WPA/PSK encryption options in wifi configuration

11 years ago* luci/libs: uvl: add reference meta scheme
Jo-Philipp Wich [Sun, 31 Aug 2008 18:20:08 +0000 (18:20 +0000)]
* luci/libs: uvl: add reference meta scheme

11 years ago* luci/applications: statistics: strip leading and trailing whitespace from config...
Jo-Philipp Wich [Sun, 31 Aug 2008 14:50:43 +0000 (14:50 +0000)]
* luci/applications: statistics: strip leading and trailing whitespace from config values, fixes OpenWrt Bug #3892

11 years ago* luci/applications: statistics: pick up new rrdtool translations in controller and...
Jo-Philipp Wich [Sun, 31 Aug 2008 14:38:28 +0000 (14:38 +0000)]
* luci/applications: statistics: pick up new rrdtool translations in controller and rrdtool-i18n binding

11 years ago* luci/applications: statistics: split i18n data for rrdtool (Latin1) and webinterfac...
Jo-Philipp Wich [Sun, 31 Aug 2008 14:37:28 +0000 (14:37 +0000)]
* luci/applications: statistics: split i18n data for rrdtool (Latin1) and webinterface (UTF8), hide rrdtool xml since xsltproc generates UTF8 where it should create Latin1 and escapes characters that should not be escaped which leads to corrupted labels in generated diagram images

11 years ago* luci/libs: uvl: fix errors in xml translations
Jo-Philipp Wich [Sun, 31 Aug 2008 13:51:33 +0000 (13:51 +0000)]
* luci/libs: uvl: fix errors in xml translations

11 years ago* luci/libs: uvl: hide xml translations, revert lua translations to non-bracket form...
Jo-Philipp Wich [Sun, 31 Aug 2008 13:49:14 +0000 (13:49 +0000)]
* luci/libs: uvl: hide xml translations, revert lua translations to non-bracket form (\n) and replace "<nil>" with "(nil)" in uvl.errors

11 years ago* luci/libs: uvl: add error translations in german and english
Jo-Philipp Wich [Sun, 31 Aug 2008 13:31:11 +0000 (13:31 +0000)]
* luci/libs: uvl: add error translations in german and english

11 years ago* luci/libs: uvl: add i18n support to error handling, remove former debug code in...
Jo-Philipp Wich [Sun, 31 Aug 2008 12:42:29 +0000 (12:42 +0000)]
* luci/libs: uvl: add i18n support to error handling, remove former debug code in error.string()

11 years agoReorganise luacurses
Steven Barth [Sun, 31 Aug 2008 11:16:52 +0000 (11:16 +0000)]
Reorganise luacurses

11 years agoAdd luacurses to contrib
Steven Barth [Sun, 31 Aug 2008 11:14:47 +0000 (11:14 +0000)]
Add luacurses to contrib

11 years agolibs/web: Fix dispatching index scope
Steven Barth [Sun, 31 Aug 2008 10:48:56 +0000 (10:48 +0000)]
libs/web: Fix dispatching index scope

11 years agolibs/uci: Pipe output of reload commands to /dev/null
Steven Barth [Sat, 30 Aug 2008 21:14:08 +0000 (21:14 +0000)]
libs/uci: Pipe output of reload commands to /dev/null

11 years agoCompletely rewrote WiFi configuration pages, to synchronise with upstream featureset...
Steven Barth [Sat, 30 Aug 2008 20:32:27 +0000 (20:32 +0000)]
Completely rewrote WiFi configuration pages, to synchronise with upstream featureset of mac80211, madwifi and broadcom wireless configuration

11 years agolibs/cbi: Make sure newly created sections have optional field selectors
Steven Barth [Sat, 30 Aug 2008 20:32:13 +0000 (20:32 +0000)]
libs/cbi: Make sure newly created sections have optional field selectors

11 years agolibs/cbi: Add a check whether a section was recently created
Steven Barth [Sat, 30 Aug 2008 20:32:07 +0000 (20:32 +0000)]
libs/cbi: Add a check whether a section was recently created

11 years agolibs/web: Return more verbose error messages when template execution fails
Steven Barth [Sat, 30 Aug 2008 20:32:00 +0000 (20:32 +0000)]
libs/web: Return more verbose error messages when template execution fails

11 years agolibs/cbi: Simplified _uvl_validate_section
Steven Barth [Sat, 30 Aug 2008 15:41:02 +0000 (15:41 +0000)]
libs/cbi: Simplified _uvl_validate_section

11 years agolibs/cbi: Use :is instead of .code == for UVL error tests
Steven Barth [Sat, 30 Aug 2008 15:29:09 +0000 (15:29 +0000)]
libs/cbi: Use :is instead of .code == for UVL error tests

11 years ago* luci/libs: uvl: added qos and network schemes, fixes in uvl error handling
Jo-Philipp Wich [Sat, 30 Aug 2008 15:15:42 +0000 (15:15 +0000)]
* luci/libs: uvl: added qos and network schemes, fixes in uvl error handling

11 years agolibs/cbi: Disable strict mode for now
Steven Barth [Sat, 30 Aug 2008 12:47:14 +0000 (12:47 +0000)]
libs/cbi: Disable strict mode for now

11 years agoOptimized UVL validation handling
Steven Barth [Sat, 30 Aug 2008 12:11:27 +0000 (12:11 +0000)]
Optimized UVL validation handling

11 years agolibs/cbi: Create section after validation to avoid validation errors with empty fields
Steven Barth [Sat, 30 Aug 2008 10:18:56 +0000 (10:18 +0000)]
libs/cbi: Create section after validation to avoid validation errors with empty fields

11 years agolibs/cbi: Temporarily allow invalid configuration values to be saved
Steven Barth [Sat, 30 Aug 2008 09:21:38 +0000 (09:21 +0000)]
libs/cbi: Temporarily allow invalid configuration values to be saved

11 years ago* luci/libs: uvl: first round of uci schemes
Jo-Philipp Wich [Sat, 30 Aug 2008 03:46:55 +0000 (03:46 +0000)]
* luci/libs: uvl: first round of uci schemes

11 years agoWifi updates part #1
Steven Barth [Sat, 30 Aug 2008 00:11:48 +0000 (00:11 +0000)]
Wifi updates part #1

11 years agolibs/ipkg: Fixed a transition issue
Steven Barth [Fri, 29 Aug 2008 23:41:24 +0000 (23:41 +0000)]
libs/ipkg: Fixed a transition issue

11 years agoGeneral optimizations, simplifications and improvements
Steven Barth [Fri, 29 Aug 2008 23:26:01 +0000 (23:26 +0000)]
General optimizations, simplifications and improvements

11 years agoSpeed up generation of dispatching tree
Steven Barth [Fri, 29 Aug 2008 20:36:45 +0000 (20:36 +0000)]
Speed up generation of dispatching tree

11 years agoPass $LDFLAGS while linking
Steven Barth [Fri, 29 Aug 2008 19:01:05 +0000 (19:01 +0000)]
Pass $LDFLAGS while linking

11 years agolib/sys: Fixed inline documentation
Steven Barth [Fri, 29 Aug 2008 17:38:23 +0000 (17:38 +0000)]
lib/sys: Fixed inline documentation

11 years agoFixed RPC-API
Steven Barth [Fri, 29 Aug 2008 17:12:35 +0000 (17:12 +0000)]
Fixed RPC-API

11 years agomodules/rpc: Check for existence of external libraries
Steven Barth [Fri, 29 Aug 2008 17:06:58 +0000 (17:06 +0000)]
modules/rpc: Check for existence of external libraries
libs/sys: Small fix for API-Documentation

11 years agoPublish luci.model.ipkg via JSON-RPC
Steven Barth [Fri, 29 Aug 2008 15:54:13 +0000 (15:54 +0000)]
Publish luci.model.ipkg via JSON-RPC

11 years agoCleanup and documentation
Steven Barth [Fri, 29 Aug 2008 15:47:56 +0000 (15:47 +0000)]
Cleanup and documentation

11 years agoOptimized encoding of arrays containing nil values
Steven Barth [Fri, 29 Aug 2008 13:44:33 +0000 (13:44 +0000)]
Optimized encoding of arrays containing nil values
Optimized inline documentation

11 years agoCompleted first version of JSON-RPC API
Steven Barth [Fri, 29 Aug 2008 12:27:54 +0000 (12:27 +0000)]
Completed first version of JSON-RPC API

11 years ago* luci/libs: uvl: invalid wrong "option not found in config" errors
Jo-Philipp Wich [Thu, 28 Aug 2008 21:44:14 +0000 (21:44 +0000)]
* luci/libs: uvl: invalid wrong "option not found in config" errors

11 years agolibs/cbi: Make sure options in ListValues are unique
Steven Barth [Thu, 28 Aug 2008 21:30:49 +0000 (21:30 +0000)]
libs/cbi: Make sure options in ListValues are unique

11 years agomini: Force network interface to not be removable
Steven Barth [Thu, 28 Aug 2008 19:33:17 +0000 (19:33 +0000)]
mini: Force network interface to not be removable

11 years agoCBI-UVL Validation Integration part #1
Steven Barth [Thu, 28 Aug 2008 19:31:25 +0000 (19:31 +0000)]
CBI-UVL Validation Integration part #1

11 years agolibs/uvl: Set an own savedir to avoid UCI problems
Steven Barth [Thu, 28 Aug 2008 18:57:49 +0000 (18:57 +0000)]
libs/uvl: Set an own savedir to avoid UCI problems

11 years agoFixed luci.util.dumptable again
Steven Barth [Thu, 28 Aug 2008 18:57:34 +0000 (18:57 +0000)]
Fixed luci.util.dumptable again

11 years agoAdded maxdepth to luci.util.dumptable
Steven Barth [Thu, 28 Aug 2008 17:10:35 +0000 (17:10 +0000)]
Added maxdepth to luci.util.dumptable

11 years ago* luci/libs: util: little bugfix in serialize_data()
Jo-Philipp Wich [Thu, 28 Aug 2008 16:44:10 +0000 (16:44 +0000)]
* luci/libs: util: little bugfix in serialize_data()

11 years ago* luci/libs: util: further enhancements to table serialisation
Jo-Philipp Wich [Thu, 28 Aug 2008 16:40:51 +0000 (16:40 +0000)]
* luci/libs: util: further enhancements to table serialisation

11 years ago* luci/libs: util: improve table handling and support mixed tables in serialize_data()
Jo-Philipp Wich [Thu, 28 Aug 2008 16:17:42 +0000 (16:17 +0000)]
* luci/libs: util: improve table handling and support mixed tables in serialize_data()

11 years agoFixed luci.util.dumptable
Steven Barth [Thu, 28 Aug 2008 16:16:51 +0000 (16:16 +0000)]
Fixed luci.util.dumptable

11 years agolibs/core: Add recursion detection to dumptable, serialize_data
Steven Barth [Thu, 28 Aug 2008 15:50:27 +0000 (15:50 +0000)]
libs/core: Add recursion detection to dumptable, serialize_data
Dumptable now writes to stderr