Steven Barth [Mon, 1 Sep 2008 20:43:48 +0000 (20:43 +0000)]
Added custom filename support to luci.template
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
Steven Barth [Mon, 1 Sep 2008 19:42:43 +0000 (19:42 +0000)]
Added luci.fs.copy and luci.fs.rename
Steven Barth [Mon, 1 Sep 2008 19:28:06 +0000 (19:28 +0000)]
Fixed last commit
Steven Barth [Mon, 1 Sep 2008 19:23:56 +0000 (19:23 +0000)]
Added more reliable Lua2XML Converter for translations
Steven Barth [Mon, 1 Sep 2008 17:36:09 +0000 (17:36 +0000)]
Add stupid XHTML 1.0 DOCTYPES to themes
Steven Barth [Mon, 1 Sep 2008 16:05:40 +0000 (16:05 +0000)]
libs/web: Cleaned up template library
Steven Barth [Mon, 1 Sep 2008 16:05:34 +0000 (16:05 +0000)]
libs/web: Added several sanity checks to avoid local privilege escalation
Steven Barth [Mon, 1 Sep 2008 11:10:06 +0000 (11:10 +0000)]
libs/core: Added mising import for math module to luci.util
Steven Barth [Sun, 31 Aug 2008 22:44:32 +0000 (22:44 +0000)]
Fix usage of WPA/PSK encryption options in wifi configuration
Jo-Philipp Wich [Sun, 31 Aug 2008 18:20:08 +0000 (18:20 +0000)]
* luci/libs: uvl: add reference meta scheme
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
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
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
Jo-Philipp Wich [Sun, 31 Aug 2008 13:51:33 +0000 (13:51 +0000)]
* luci/libs: uvl: fix errors in xml translations
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
Jo-Philipp Wich [Sun, 31 Aug 2008 13:31:11 +0000 (13:31 +0000)]
* luci/libs: uvl: add error translations in german and english
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()
Steven Barth [Sun, 31 Aug 2008 11:16:52 +0000 (11:16 +0000)]
Reorganise luacurses
Steven Barth [Sun, 31 Aug 2008 11:14:47 +0000 (11:14 +0000)]
Add luacurses to contrib
Steven Barth [Sun, 31 Aug 2008 10:48:56 +0000 (10:48 +0000)]
libs/web: Fix dispatching index scope
Steven Barth [Sat, 30 Aug 2008 21:14:08 +0000 (21:14 +0000)]
libs/uci: Pipe output of reload commands to /dev/null
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
Steven Barth [Sat, 30 Aug 2008 20:32:13 +0000 (20:32 +0000)]
libs/cbi: Make sure newly created sections have optional field selectors
Steven Barth [Sat, 30 Aug 2008 20:32:07 +0000 (20:32 +0000)]
libs/cbi: Add a check whether a section was recently created
Steven Barth [Sat, 30 Aug 2008 20:32:00 +0000 (20:32 +0000)]
libs/web: Return more verbose error messages when template execution fails
Steven Barth [Sat, 30 Aug 2008 15:41:02 +0000 (15:41 +0000)]
libs/cbi: Simplified _uvl_validate_section
Steven Barth [Sat, 30 Aug 2008 15:29:09 +0000 (15:29 +0000)]
libs/cbi: Use :is instead of .code == for UVL error tests
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
Steven Barth [Sat, 30 Aug 2008 12:47:14 +0000 (12:47 +0000)]
libs/cbi: Disable strict mode for now
Steven Barth [Sat, 30 Aug 2008 12:11:27 +0000 (12:11 +0000)]
Optimized UVL validation handling
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
Steven Barth [Sat, 30 Aug 2008 09:21:38 +0000 (09:21 +0000)]
libs/cbi: Temporarily allow invalid configuration values to be saved
Jo-Philipp Wich [Sat, 30 Aug 2008 03:46:55 +0000 (03:46 +0000)]
* luci/libs: uvl: first round of uci schemes
Steven Barth [Sat, 30 Aug 2008 00:11:48 +0000 (00:11 +0000)]
Wifi updates part #1
Steven Barth [Fri, 29 Aug 2008 23:41:24 +0000 (23:41 +0000)]
libs/ipkg: Fixed a transition issue
Steven Barth [Fri, 29 Aug 2008 23:26:01 +0000 (23:26 +0000)]
General optimizations, simplifications and improvements
Steven Barth [Fri, 29 Aug 2008 20:36:45 +0000 (20:36 +0000)]
Speed up generation of dispatching tree
Steven Barth [Fri, 29 Aug 2008 19:01:05 +0000 (19:01 +0000)]
Pass $LDFLAGS while linking
Steven Barth [Fri, 29 Aug 2008 17:38:23 +0000 (17:38 +0000)]
lib/sys: Fixed inline documentation
Steven Barth [Fri, 29 Aug 2008 17:12:35 +0000 (17:12 +0000)]
Fixed RPC-API
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
Steven Barth [Fri, 29 Aug 2008 15:54:13 +0000 (15:54 +0000)]
Publish luci.model.ipkg via JSON-RPC
Steven Barth [Fri, 29 Aug 2008 15:47:56 +0000 (15:47 +0000)]
Cleanup and documentation
Steven Barth [Fri, 29 Aug 2008 13:44:33 +0000 (13:44 +0000)]
Optimized encoding of arrays containing nil values
Optimized inline documentation
Steven Barth [Fri, 29 Aug 2008 12:27:54 +0000 (12:27 +0000)]
Completed first version of JSON-RPC API
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
Steven Barth [Thu, 28 Aug 2008 21:30:49 +0000 (21:30 +0000)]
libs/cbi: Make sure options in ListValues are unique
Steven Barth [Thu, 28 Aug 2008 19:33:17 +0000 (19:33 +0000)]
mini: Force network interface to not be removable
Steven Barth [Thu, 28 Aug 2008 19:31:25 +0000 (19:31 +0000)]
CBI-UVL Validation Integration part #1
Steven Barth [Thu, 28 Aug 2008 18:57:49 +0000 (18:57 +0000)]
libs/uvl: Set an own savedir to avoid UCI problems
Steven Barth [Thu, 28 Aug 2008 18:57:34 +0000 (18:57 +0000)]
Fixed luci.util.dumptable again
Steven Barth [Thu, 28 Aug 2008 17:10:35 +0000 (17:10 +0000)]
Added maxdepth to luci.util.dumptable
Jo-Philipp Wich [Thu, 28 Aug 2008 16:44:10 +0000 (16:44 +0000)]
* luci/libs: util: little bugfix in serialize_data()
Jo-Philipp Wich [Thu, 28 Aug 2008 16:40:51 +0000 (16:40 +0000)]
* luci/libs: util: further enhancements to table serialisation
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()
Steven Barth [Thu, 28 Aug 2008 16:16:51 +0000 (16:16 +0000)]
Fixed luci.util.dumptable
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
Steven Barth [Thu, 28 Aug 2008 10:18:10 +0000 (10:18 +0000)]
libs/uci: Updated API-Docs
Steven Barth [Thu, 28 Aug 2008 09:37:10 +0000 (09:37 +0000)]
Shortend the new descriptions
Steven Barth [Thu, 28 Aug 2008 09:26:06 +0000 (09:26 +0000)]
Changed descriptions for Essentials and Administration
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
Steven Barth [Thu, 28 Aug 2008 09:11:16 +0000 (09:11 +0000)]
Fixed enum dependencies
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
Steven Barth [Wed, 27 Aug 2008 22:02:38 +0000 (22:02 +0000)]
Fixed incompatible APIs in CBI
Steven Barth [Wed, 27 Aug 2008 21:32:05 +0000 (21:32 +0000)]
Switch back to mainline UCI
Jo-Philipp Wich [Wed, 27 Aug 2008 19:20:43 +0000 (19:20 +0000)]
* luci/applications: luci-fw: implement combined tcp+udp protocol option
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
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_*()
Steven Barth [Wed, 27 Aug 2008 17:49:52 +0000 (17:49 +0000)]
Rewrote the API-documentation for luci.json
Steven Barth [Wed, 27 Aug 2008 17:49:45 +0000 (17:49 +0000)]
Fix some Luadoc glitches
Steven Barth [Wed, 27 Aug 2008 17:45:58 +0000 (17:45 +0000)]
Fix some synchronization issues
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
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
Steven Barth [Wed, 27 Aug 2008 15:00:12 +0000 (15:00 +0000)]
Switch to new UCI version
Steven Barth [Wed, 27 Aug 2008 15:00:00 +0000 (15:00 +0000)]
Sync translations
Steven Barth [Wed, 27 Aug 2008 14:10:40 +0000 (14:10 +0000)]
Upstream compatibility
Steven Barth [Wed, 27 Aug 2008 13:53:55 +0000 (13:53 +0000)]
Optical improvements
Steven Barth [Wed, 27 Aug 2008 13:52:25 +0000 (13:52 +0000)]
Fix missing UCI transition
Steven Barth [Wed, 27 Aug 2008 13:49:32 +0000 (13:49 +0000)]
Added missing import
Steven Barth [Wed, 27 Aug 2008 12:29:59 +0000 (12:29 +0000)]
Upstream compatibility
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
Steven Barth [Tue, 26 Aug 2008 23:56:40 +0000 (23:56 +0000)]
Rewrote advice
Steven Barth [Tue, 26 Aug 2008 23:47:42 +0000 (23:47 +0000)]
Add a nice user advise
Steven Barth [Tue, 26 Aug 2008 23:20:41 +0000 (23:20 +0000)]
Fixed typos
Steven Barth [Tue, 26 Aug 2008 23:00:44 +0000 (23:00 +0000)]
UCI API changes
Steven Barth [Tue, 26 Aug 2008 19:36:41 +0000 (19:36 +0000)]
libs/cbi: Added support for enum dependencies
Steven Barth [Tue, 26 Aug 2008 19:10:14 +0000 (19:10 +0000)]
Updated UCI in contrib
Steven Barth [Tue, 26 Aug 2008 18:02:27 +0000 (18:02 +0000)]
libs/core: Added target parameter to luci.sys.httpget
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
Jo-Philipp Wich [Tue, 26 Aug 2008 09:51:49 +0000 (09:51 +0000)]
* luci: the monthly round of svn property fixups
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
Jo-Philipp Wich [Mon, 25 Aug 2008 18:30:25 +0000 (18:30 +0000)]
* luci/libs: uvl: implement dependencies for enum values
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
Steven Barth [Sun, 24 Aug 2008 20:44:47 +0000 (20:44 +0000)]
libs/cbi: Fixed UVL integration
Steven Barth [Sun, 24 Aug 2008 19:51:09 +0000 (19:51 +0000)]
CBI-UVL integration part #2
Jo-Philipp Wich [Sun, 24 Aug 2008 18:33:25 +0000 (18:33 +0000)]
* luci/libs: uvl: store valueof values as associative table
Jo-Philipp Wich [Sun, 24 Aug 2008 18:06:51 +0000 (18:06 +0000)]
* luci/libs: uvl: implement "valueof" option
Jo-Philipp Wich [Sun, 24 Aug 2008 17:14:31 +0000 (17:14 +0000)]
* luci/libs: uvl: remove a brain-dead unpack()
Jo-Philipp Wich [Sun, 24 Aug 2008 17:12:16 +0000 (17:12 +0000)]
* luci/libs: uvl: use python-style format syntax for errors