project/luci.git
15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

15 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

15 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

15 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

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

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

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

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

15 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

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

15 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

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

15 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

15 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

15 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

15 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

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

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

15 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

15 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

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

15 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

15 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

15 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

15 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

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

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

15 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

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

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

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

15 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

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

15 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

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

15 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

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

15 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

15 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

15 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

15 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

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

15 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

15 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

15 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

15 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

15 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

15 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

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

15 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

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

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

15 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

15 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

15 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

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

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

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

15 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