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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

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

16 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

16 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

16 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

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

16 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

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

16 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

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

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

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

16 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

16 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

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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

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

16 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

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

16 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

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

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

16 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

16 years agolibs/uci: Updated API-Docs
Steven Barth [Thu, 28 Aug 2008 10:18:10 +0000 (10:18 +0000)]
libs/uci: Updated API-Docs

16 years agoShortend the new descriptions
Steven Barth [Thu, 28 Aug 2008 09:37:10 +0000 (09:37 +0000)]
Shortend the new descriptions

16 years agoChanged descriptions for Essentials and Administration
Steven Barth [Thu, 28 Aug 2008 09:26:06 +0000 (09:26 +0000)]
Changed descriptions for Essentials and Administration

16 years agomini/wifi: Make WPA(2)-Radius only avaiable in Master-Mode, Remove double XML-escape...
Steven Barth [Thu, 28 Aug 2008 09:11:23 +0000 (09:11 +0000)]
mini/wifi: Make WPA(2)-Radius only avaiable in Master-Mode, Remove double XML-escape for ESSID

16 years agoFixed enum dependencies
Steven Barth [Thu, 28 Aug 2008 09:11:16 +0000 (09:11 +0000)]
Fixed enum dependencies

16 years ago* luci/libs: uvl: add uci error mechanism to uvl error handling
Jo-Philipp Wich [Thu, 28 Aug 2008 00:21:43 +0000 (00:21 +0000)]
* luci/libs: uvl: add uci error mechanism to uvl error handling

16 years agoFixed incompatible APIs in CBI
Steven Barth [Wed, 27 Aug 2008 22:02:38 +0000 (22:02 +0000)]
Fixed incompatible APIs in CBI

16 years agoSwitch back to mainline UCI
Steven Barth [Wed, 27 Aug 2008 21:32:05 +0000 (21:32 +0000)]
Switch back to mainline UCI

16 years ago* luci/applications: luci-fw: implement combined tcp+udp protocol option
Jo-Philipp Wich [Wed, 27 Aug 2008 19:20:43 +0000 (19:20 +0000)]
* luci/applications: luci-fw: implement combined tcp+udp protocol option

16 years ago* luci/libs: uvl: fix crash when trying to validate malformed or not-existing configu...
Jo-Philipp Wich [Wed, 27 Aug 2008 18:55:42 +0000 (18:55 +0000)]
* luci/libs: uvl: fix crash when trying to validate malformed or not-existing configuration, more verbose error message for uci load failure

16 years ago* luci/libs: uvl: allow optional uci config as argument in validate_*()
Jo-Philipp Wich [Wed, 27 Aug 2008 17:51:35 +0000 (17:51 +0000)]
* luci/libs: uvl: allow optional uci config as argument in validate_*()

16 years agoRewrote the API-documentation for luci.json
Steven Barth [Wed, 27 Aug 2008 17:49:52 +0000 (17:49 +0000)]
Rewrote the API-documentation for luci.json

16 years agoFix some Luadoc glitches
Steven Barth [Wed, 27 Aug 2008 17:49:45 +0000 (17:49 +0000)]
Fix some Luadoc glitches

16 years agoFix some synchronization issues
Steven Barth [Wed, 27 Aug 2008 17:45:58 +0000 (17:45 +0000)]
Fix some synchronization issues

16 years ago* luci/libs: uvl: actually create error constants in luci.uvl.error
Jo-Philipp Wich [Wed, 27 Aug 2008 16:56:38 +0000 (16:56 +0000)]
* luci/libs: uvl: actually create error constants in luci.uvl.error

16 years ago* luci/libs: uvl: Major rewrite of internal element handling, reworked error model...
Jo-Philipp Wich [Wed, 27 Aug 2008 16:44:07 +0000 (16:44 +0000)]
* luci/libs: uvl: Major rewrite of internal element handling, reworked error model, dropped loghelper and get_dependencies(), introduced luci.uvl.errors api

16 years agoSwitch to new UCI version
Steven Barth [Wed, 27 Aug 2008 15:00:12 +0000 (15:00 +0000)]
Switch to new UCI version

16 years agoSync translations
Steven Barth [Wed, 27 Aug 2008 15:00:00 +0000 (15:00 +0000)]
Sync translations

16 years agoUpstream compatibility
Steven Barth [Wed, 27 Aug 2008 14:10:40 +0000 (14:10 +0000)]
Upstream compatibility

16 years agoOptical improvements
Steven Barth [Wed, 27 Aug 2008 13:53:55 +0000 (13:53 +0000)]
Optical improvements

16 years agoFix missing UCI transition
Steven Barth [Wed, 27 Aug 2008 13:52:25 +0000 (13:52 +0000)]
Fix missing UCI transition

16 years agoAdded missing import
Steven Barth [Wed, 27 Aug 2008 13:49:32 +0000 (13:49 +0000)]
Added missing import

16 years agoUpstream compatibility
Steven Barth [Wed, 27 Aug 2008 12:29:59 +0000 (12:29 +0000)]
Upstream compatibility

16 years agoRenamed reworked UCI API to uci2 to allow a peaceful coexistence with the old one
Steven Barth [Wed, 27 Aug 2008 08:53:40 +0000 (08:53 +0000)]
Renamed reworked UCI API to uci2 to allow a peaceful coexistence with the old one
Minor bugfixes

16 years agoRewrote advice
Steven Barth [Tue, 26 Aug 2008 23:56:40 +0000 (23:56 +0000)]
Rewrote advice

16 years agoAdd a nice user advise
Steven Barth [Tue, 26 Aug 2008 23:47:42 +0000 (23:47 +0000)]
Add a nice user advise

16 years agoFixed typos
Steven Barth [Tue, 26 Aug 2008 23:20:41 +0000 (23:20 +0000)]
Fixed typos

16 years agoUCI API changes
Steven Barth [Tue, 26 Aug 2008 23:00:44 +0000 (23:00 +0000)]
UCI API changes

16 years agolibs/cbi: Added support for enum dependencies
Steven Barth [Tue, 26 Aug 2008 19:36:41 +0000 (19:36 +0000)]
libs/cbi: Added support for enum dependencies

16 years agoUpdated UCI in contrib
Steven Barth [Tue, 26 Aug 2008 19:10:14 +0000 (19:10 +0000)]
Updated UCI in contrib

16 years agolibs/core: Added target parameter to luci.sys.httpget
Steven Barth [Tue, 26 Aug 2008 18:02:27 +0000 (18:02 +0000)]
libs/core: Added target parameter to luci.sys.httpget

16 years agolibs/json: Completed JSON library
Steven Barth [Tue, 26 Aug 2008 17:50:32 +0000 (17:50 +0000)]
libs/json: Completed JSON library
modules/rpc: Added experimental JSON-RPC API

16 years ago* luci: the monthly round of svn property fixups
Jo-Philipp Wich [Tue, 26 Aug 2008 09:51:49 +0000 (09:51 +0000)]
* luci: the monthly round of svn property fixups

16 years agolibs/core: Reworked some basic libraries to not use package.seeall
Steven Barth [Tue, 26 Aug 2008 00:53:28 +0000 (00:53 +0000)]
libs/core: Reworked some basic libraries to not use package.seeall
libs/json: Implemented own JSON-Decoder (Encoder will follow)
modules/rpc: Preliminary implemented RPC-Exports for luci.fs, luci.sys and luci.model.uci

16 years ago* luci/libs: uvl: implement dependencies for enum values
Jo-Philipp Wich [Mon, 25 Aug 2008 18:30:25 +0000 (18:30 +0000)]
* luci/libs: uvl: implement dependencies for enum values

16 years ago* luci/libs: cbi: implement get_scheme() on some more map-like objects; whitespace...
Jo-Philipp Wich [Mon, 25 Aug 2008 00:36:07 +0000 (00:36 +0000)]
* luci/libs: cbi: implement get_scheme() on some more map-like objects; whitespace cleanup

16 years agolibs/cbi: Fixed UVL integration
Steven Barth [Sun, 24 Aug 2008 20:44:47 +0000 (20:44 +0000)]
libs/cbi: Fixed UVL integration

16 years agoCBI-UVL integration part #2
Steven Barth [Sun, 24 Aug 2008 19:51:09 +0000 (19:51 +0000)]
CBI-UVL integration part #2

16 years ago* luci/libs: uvl: store valueof values as associative table
Jo-Philipp Wich [Sun, 24 Aug 2008 18:33:25 +0000 (18:33 +0000)]
* luci/libs: uvl: store valueof values as associative table

16 years ago* luci/libs: uvl: implement "valueof" option
Jo-Philipp Wich [Sun, 24 Aug 2008 18:06:51 +0000 (18:06 +0000)]
* luci/libs: uvl: implement "valueof" option

16 years ago* luci/libs: uvl: remove a brain-dead unpack()
Jo-Philipp Wich [Sun, 24 Aug 2008 17:14:31 +0000 (17:14 +0000)]
* luci/libs: uvl: remove a brain-dead unpack()

16 years ago* luci/libs: uvl: use python-style format syntax for errors
Jo-Philipp Wich [Sun, 24 Aug 2008 17:12:16 +0000 (17:12 +0000)]
* luci/libs: uvl: use python-style format syntax for errors

16 years agolibs/core: Add Pythonic string formatting syntax
Steven Barth [Sun, 24 Aug 2008 16:35:06 +0000 (16:35 +0000)]
libs/core: Add Pythonic string formatting syntax

16 years agoCBI-UVL integration part #1
Steven Barth [Sun, 24 Aug 2008 16:22:49 +0000 (16:22 +0000)]
CBI-UVL integration part #1

16 years ago* luci/libs: uvl: implement "named" flag for schemes
Jo-Philipp Wich [Sun, 24 Aug 2008 16:09:02 +0000 (16:09 +0000)]
* luci/libs: uvl: implement "named" flag for schemes

16 years ago* luci/libs: uvl: implement get_scheme() and get_dependencies()
Jo-Philipp Wich [Sun, 24 Aug 2008 14:20:20 +0000 (14:20 +0000)]
* luci/libs: uvl: implement get_scheme() and get_dependencies()

16 years ago* luci/contrib: bump uci to v0.6.0
Jo-Philipp Wich [Sat, 23 Aug 2008 17:51:51 +0000 (17:51 +0000)]
* luci/contrib: bump uci to v0.6.0

16 years ago* luci/libs: web: fix "dispatcher.lua:167: attempt to concatenate a
Jo-Philipp Wich [Sat, 23 Aug 2008 15:17:10 +0000 (15:17 +0000)]
* luci/libs: web: fix "dispatcher.lua:167: attempt to concatenate a
nil value" when running luci on a shell