oweals/luci.git
16 years agoFixed luci.config
Steven Barth [Fri, 5 Sep 2008 18:39:42 +0000 (18:39 +0000)]
Fixed luci.config

16 years agoRemoved inefficient environment manipulation functions
Steven Barth [Fri, 5 Sep 2008 18:35:14 +0000 (18:35 +0000)]
Removed inefficient environment manipulation functions

16 years agoHeavy memory/performance optimizations #4
Steven Barth [Fri, 5 Sep 2008 18:35:09 +0000 (18:35 +0000)]
Heavy memory/performance optimizations #4

16 years agoHeavy memory/performance optimizations #3
Steven Barth [Fri, 5 Sep 2008 18:35:03 +0000 (18:35 +0000)]
Heavy memory/performance optimizations #3

16 years agoHeavy memory/performance optimizations #2
Steven Barth [Fri, 5 Sep 2008 18:34:56 +0000 (18:34 +0000)]
Heavy memory/performance optimizations #2

16 years agoHeavy memory/performance optimizations #1
Steven Barth [Fri, 5 Sep 2008 18:34:46 +0000 (18:34 +0000)]
Heavy memory/performance optimizations #1

16 years ago* luci/libs/uvl: fix an error message in luci.uvl.read_scheme()
Jo-Philipp Wich [Fri, 5 Sep 2008 16:49:17 +0000 (16:49 +0000)]
* luci/libs/uvl: fix an error message in luci.uvl.read_scheme()

16 years ago* luci/libs/uvl:
Jo-Philipp Wich [Fri, 5 Sep 2008 16:46:51 +0000 (16:46 +0000)]
* luci/libs/uvl:
- implement bytecode loading in luci.uvl.read_scheme()
- add "uvlc" executable to byte-compile arbitary schemes
- add lib/uci/schema/bytecode/ directory

16 years agolibs/cbi: Pass default values from UVL
Steven Barth [Fri, 5 Sep 2008 15:58:19 +0000 (15:58 +0000)]
libs/cbi: Pass default values from UVL

16 years agoFixed UVL bindings
Steven Barth [Fri, 5 Sep 2008 15:43:57 +0000 (15:43 +0000)]
Fixed UVL bindings

16 years agoFixed JSON-RPC API, added uvl API-Bindings
Steven Barth [Fri, 5 Sep 2008 15:38:53 +0000 (15:38 +0000)]
Fixed JSON-RPC API, added uvl API-Bindings

16 years ago* luci/libs/uvl: translation fixes
Jo-Philipp Wich [Fri, 5 Sep 2008 15:32:33 +0000 (15:32 +0000)]
* luci/libs/uvl: translation fixes

16 years agoInprove sanity check for luci.sauth.read
Steven Barth [Fri, 5 Sep 2008 14:52:06 +0000 (14:52 +0000)]
Inprove sanity check for luci.sauth.read

16 years agolibs/web: Turn dependency tracking on by default
Steven Barth [Fri, 5 Sep 2008 14:34:59 +0000 (14:34 +0000)]
libs/web: Turn dependency tracking on by default

16 years agoFixed some minor session handling issues
Steven Barth [Fri, 5 Sep 2008 14:28:36 +0000 (14:28 +0000)]
Fixed some minor session handling issues

16 years ago* luci/libs/uvl: make "proto=dhcp" the default value in network scheme
Jo-Philipp Wich [Fri, 5 Sep 2008 14:26:54 +0000 (14:26 +0000)]
* luci/libs/uvl: make "proto=dhcp" the default value in network scheme

16 years agolibs/sys: Added luci.sys.call
Steven Barth [Fri, 5 Sep 2008 13:55:49 +0000 (13:55 +0000)]
libs/sys: Added luci.sys.call

16 years agoAdded .href parameter to DummyValues
Steven Barth [Fri, 5 Sep 2008 13:32:59 +0000 (13:32 +0000)]
Added .href parameter to DummyValues

16 years agoFixed luci.uci.Cursor.delete_all
Steven Barth [Fri, 5 Sep 2008 12:05:06 +0000 (12:05 +0000)]
Fixed luci.uci.Cursor.delete_all

16 years agoFixed HTTP stack to parse urlencoded data from Internet Explorer correctly
Steven Barth [Fri, 5 Sep 2008 11:36:53 +0000 (11:36 +0000)]
Fixed HTTP stack to parse urlencoded data from Internet Explorer correctly
Internet Explorer appends a whitespace character after the last parameter which will now be stripped

16 years agoFix whitespace issues in CBI template
Steven Barth [Fri, 5 Sep 2008 11:36:47 +0000 (11:36 +0000)]
Fix whitespace issues in CBI template

16 years agoFixed Reboot pages
Steven Barth [Fri, 5 Sep 2008 10:20:07 +0000 (10:20 +0000)]
Fixed Reboot pages

16 years agoOptimized error handling
Steven Barth [Fri, 5 Sep 2008 09:37:02 +0000 (09:37 +0000)]
Optimized error handling

16 years agoPush new Freifunk configuration
Steven Barth [Fri, 5 Sep 2008 01:02:36 +0000 (01:02 +0000)]
Push new Freifunk configuration

16 years agoFFWizard rewrite
Steven Barth [Fri, 5 Sep 2008 01:01:53 +0000 (01:01 +0000)]
FFWizard rewrite

16 years ago* luci/libs/uvl:
Jo-Philipp Wich [Thu, 4 Sep 2008 23:39:55 +0000 (23:39 +0000)]
* luci/libs/uvl:
- implement port and portrange datatypes
- fix datatype of port ranges in firewall scheme

16 years agoAdded device hints to fstab configuration page.
Steven Barth [Thu, 4 Sep 2008 22:03:19 +0000 (22:03 +0000)]
Added device hints to fstab configuration page.

16 years agoUse /usr/bin/env lua instead of /usr/bin/lua in development environment startscript
Steven Barth [Thu, 4 Sep 2008 20:13:17 +0000 (20:13 +0000)]
Use /usr/bin/env lua instead of /usr/bin/lua in development environment startscript

16 years agoAdded placeholder example application
Steven Barth [Thu, 4 Sep 2008 20:03:00 +0000 (20:03 +0000)]
Added placeholder example application

16 years agoAdd table-comparators to luci.model.uci.delete_all
Steven Barth [Thu, 4 Sep 2008 11:48:27 +0000 (11:48 +0000)]
Add table-comparators to luci.model.uci.delete_all

16 years ago* luci/applications/uvc_streamer: sync xml translations
Jo-Philipp Wich [Thu, 4 Sep 2008 11:17:02 +0000 (11:17 +0000)]
* luci/applications/uvc_streamer: sync xml translations

16 years ago* luci/application/uvc_streame: apply translation enhancements
Jo-Philipp Wich [Thu, 4 Sep 2008 11:07:19 +0000 (11:07 +0000)]
* luci/application/uvc_streame: apply translation enhancements

16 years agolibs/cbi: Use a Combobox for optional values if a section is dynamic and has defined...
Steven Barth [Thu, 4 Sep 2008 09:55:46 +0000 (09:55 +0000)]
libs/cbi: Use a Combobox for optional values if a section is dynamic and has defined optional fields

16 years agoFixed event handlers to be more standards compliant
Steven Barth [Thu, 4 Sep 2008 09:31:54 +0000 (09:31 +0000)]
Fixed event handlers to be more standards compliant
(fixed dependency tracking not working correctly on Konqueror and others)

16 years ago* luci/libs/uvl:
Jo-Philipp Wich [Thu, 4 Sep 2008 00:56:13 +0000 (00:56 +0000)]
* luci/libs/uvl:
- implement aliasing in luci.uvl.read_scheme()
- fixed wrong enum definition in reference scheme
- fixed boolean() datatype validator to actually accept "true" and "false" literals
- extend uvl cli to validate schemes against the reference scheme (incomplete)

16 years agolibs/cbi: Compatibility changes for non-standards-compliant browsers
Steven Barth [Wed, 3 Sep 2008 22:51:27 +0000 (22:51 +0000)]
libs/cbi: Compatibility changes for non-standards-compliant browsers

16 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

16 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!

16 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

16 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

16 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

16 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

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

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

16 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

16 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)

16 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()

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

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

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

16 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

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

16 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

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

16 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

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

16 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

16 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

16 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

16 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

16 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...

16 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

16 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

16 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

16 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

16 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

16 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

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

16 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

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

16 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()

16 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

16 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

16 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

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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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()

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

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

16 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

16 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