Jo-Philipp Wich [Wed, 4 Jun 2008 22:41:58 +0000 (22:41 +0000)]
* luci/statistics: moving the graph controller to admin caused the images to be generated by the root user which rendered the linked-in public statistics pages unusable because of missing permissions to write the generated graphics as nobody to directories created by root
* luci/core: store the actual dispatching path to .path in node() - this permits dispatcher modules to get the canonical path as luci.dispatcher.dispatched.path
Jo-Philipp Wich [Wed, 4 Jun 2008 21:04:51 +0000 (21:04 +0000)]
* luci/themes: oops I forgot the most important piece of code - fix last commit
Jo-Philipp Wich [Wed, 4 Jun 2008 21:01:48 +0000 (21:01 +0000)]
* luci/themes: fix admin header template, crashes badly when luci.model.uci.changes() returns nil (shouldn't we move this code snipped into a helper function or sth. like that?)
Steven Barth [Wed, 4 Jun 2008 14:24:15 +0000 (14:24 +0000)]
* Fix #2275
Felix Fietkau [Wed, 4 Jun 2008 00:01:21 +0000 (00:01 +0000)]
allow the sgi-webuci prepare_req function to reload the lua context if necessary (not used yet)
Jo-Philipp Wich [Tue, 3 Jun 2008 23:58:42 +0000 (23:58 +0000)]
* luci/statistics: made definition fallbacks for date w/o digram model working again
Jo-Philipp Wich [Tue, 3 Jun 2008 23:30:51 +0000 (23:30 +0000)]
* luci/statistics: definitions.lua: remove all defs handled by diagram models, removed duplicate date (saves ~1000 loc ;-) )
Jo-Philipp Wich [Tue, 3 Jun 2008 23:22:55 +0000 (23:22 +0000)]
* luci/statistics: remove unneeded processes/ps_state diagram definition
Jo-Philipp Wich [Tue, 3 Jun 2008 23:18:37 +0000 (23:18 +0000)]
* luci/statistics: added missing iptables/ipt_bytes definition, svn property fixups
Felix Fietkau [Tue, 3 Jun 2008 23:17:40 +0000 (23:17 +0000)]
fix footer
Jo-Philipp Wich [Tue, 3 Jun 2008 23:15:16 +0000 (23:15 +0000)]
* luc/statistics: add file/license headers
Felix Fietkau [Tue, 3 Jun 2008 22:50:21 +0000 (22:50 +0000)]
some error handling for fs.dir(...) == nil
Felix Fietkau [Tue, 3 Jun 2008 22:42:01 +0000 (22:42 +0000)]
make use of the new features in the binding for uci v0.4.0 - fixes remaining dependencies of libuci.lua on the cli
Steven Barth [Tue, 3 Jun 2008 21:09:43 +0000 (21:09 +0000)]
* Increased menu font size
Steven Barth [Tue, 3 Jun 2008 20:22:54 +0000 (20:22 +0000)]
* Linked statistic graphs to Freifunk module
Jo-Philipp Wich [Tue, 3 Jun 2008 20:04:20 +0000 (20:04 +0000)]
* luci/statistics: move public pages to /admin/statistics/graph/
Jo-Philipp Wich [Tue, 3 Jun 2008 19:33:16 +0000 (19:33 +0000)]
* luci/contrib: drop "(incomplete)" notice in Makefile for statistics
Jo-Philipp Wich [Tue, 3 Jun 2008 19:22:55 +0000 (19:22 +0000)]
* luci/statistics: update config generator
Jo-Philipp Wich [Tue, 3 Jun 2008 19:18:29 +0000 (19:18 +0000)]
* luci/statistics: update default config
Jo-Philipp Wich [Tue, 3 Jun 2008 19:12:32 +0000 (19:12 +0000)]
* luci/core: util.lua: implement min(utes) in parse_units()
Jo-Philipp Wich [Tue, 3 Jun 2008 19:05:34 +0000 (19:05 +0000)]
* luci/statistics: implement timespan selection in public interface
Steven Barth [Tue, 3 Jun 2008 18:02:53 +0000 (18:02 +0000)]
* libs/web: Added support for custom query strings
Steven Barth [Tue, 3 Jun 2008 17:19:53 +0000 (17:19 +0000)]
* Added luasocket OpenWRT Makefile
Steven Barth [Tue, 3 Jun 2008 16:53:51 +0000 (16:53 +0000)]
* applications/luci-splash: Fixed a typo
Steven Barth [Tue, 3 Jun 2008 16:47:42 +0000 (16:47 +0000)]
* Fixed last commit
Steven Barth [Tue, 3 Jun 2008 16:41:32 +0000 (16:41 +0000)]
* Fixed COPTS handling in OpenWRT Makefile
* libs/fastindex: fixed Makefile
Steven Barth [Tue, 3 Jun 2008 16:33:42 +0000 (16:33 +0000)]
* Changed Makefile to honour COPTS
Steven Barth [Tue, 3 Jun 2008 16:33:34 +0000 (16:33 +0000)]
Revert "* Don't override environment variables in Makefile"
This reverts commit
e60afb9e0d2b1f791399f91c5de626fe215d1d88.
Steven Barth [Mon, 2 Jun 2008 21:36:21 +0000 (21:36 +0000)]
* Removed dependency on fastindex due to some bugs
Steven Barth [Mon, 2 Jun 2008 21:01:59 +0000 (21:01 +0000)]
* Don't override environment variables in Makefile
Steven Barth [Mon, 2 Jun 2008 20:16:05 +0000 (20:16 +0000)]
* Moved Freifunk status pages to admin-core and linked them in Freifunk
* luci/web: Added assign() to dispatcher to reference foreign nodes in the dispatching tree
Steven Barth [Mon, 2 Jun 2008 19:27:06 +0000 (19:27 +0000)]
* Changed OpenWRT Makefile to support OpenWRT compiler flags
Steven Barth [Mon, 2 Jun 2008 19:14:56 +0000 (19:14 +0000)]
* libs/fastindex: Changed Makefile to use LUCI_INSTALLDIR
Jo-Philipp Wich [Mon, 2 Jun 2008 18:02:00 +0000 (18:02 +0000)]
* luci/core: util.lua: added parse_units() helper function
Steven Barth [Mon, 2 Jun 2008 17:49:27 +0000 (17:49 +0000)]
* Added native basic authentication support
* Cleanups
Jo-Philipp Wich [Mon, 2 Jun 2008 16:21:41 +0000 (16:21 +0000)]
* luci/core: cbi.lua: automatically set size of MultiValue fields
Felix Fietkau [Mon, 2 Jun 2008 15:57:17 +0000 (15:57 +0000)]
always enable luaposix
Felix Fietkau [Mon, 2 Jun 2008 15:51:59 +0000 (15:51 +0000)]
add luaposix crypt() support
Steven Barth [Mon, 2 Jun 2008 15:36:13 +0000 (15:36 +0000)]
* Reintegrated fastindex support
Steven Barth [Mon, 2 Jun 2008 15:36:05 +0000 (15:36 +0000)]
Revert "full fastindex integration, drop old cache stuff"
This reverts commit
19917e78d47dc33c3f75b7fac9585e534d144fd3.
Steven Barth [Mon, 2 Jun 2008 15:35:57 +0000 (15:35 +0000)]
full fastindex integration, drop old cache stuff
Steven Barth [Mon, 2 Jun 2008 15:35:44 +0000 (15:35 +0000)]
fix fastindex namespace
Steven Barth [Mon, 2 Jun 2008 15:35:37 +0000 (15:35 +0000)]
ignore vim swap files
Steven Barth [Mon, 2 Jun 2008 15:35:30 +0000 (15:35 +0000)]
move the .o and .so .gitignore lines to the top level .gitignore
Steven Barth [Mon, 2 Jun 2008 15:35:22 +0000 (15:35 +0000)]
add the fastindex module
Steven Barth [Mon, 2 Jun 2008 15:35:10 +0000 (15:35 +0000)]
remove unnecessary compiler command line stuff in sgi-webuci
Steven Barth [Mon, 2 Jun 2008 15:34:59 +0000 (15:34 +0000)]
fix symlink creation
Steven Barth [Mon, 2 Jun 2008 15:34:33 +0000 (15:34 +0000)]
fix luaposix build
Steven Barth [Mon, 2 Jun 2008 15:34:26 +0000 (15:34 +0000)]
add "run" target
Jo-Philipp Wich [Mon, 2 Jun 2008 01:49:51 +0000 (01:49 +0000)]
* luci/statistics: add init script
Jo-Philipp Wich [Mon, 2 Jun 2008 00:48:25 +0000 (00:48 +0000)]
* luci/statistics: template and controller translation
Jo-Philipp Wich [Sun, 1 Jun 2008 23:52:07 +0000 (23:52 +0000)]
* luci/statistics: complete cbi model translation
Jo-Philipp Wich [Sun, 1 Jun 2008 21:20:20 +0000 (21:20 +0000)]
* luci/core: cbi.lua: fix auto-i18n for values inside typed sections
Jo-Philipp Wich [Sun, 1 Jun 2008 18:34:13 +0000 (18:34 +0000)]
* luci/core: cbi.lua: NamedSection and TypedSection take different numbers of arguments, move i18n init to corresponding constructors
Steven Barth [Sun, 1 Jun 2008 17:25:07 +0000 (17:25 +0000)]
* Fixed last commit
Steven Barth [Sun, 1 Jun 2008 17:22:21 +0000 (17:22 +0000)]
* Added timing fix
Steven Barth [Sun, 1 Jun 2008 17:22:11 +0000 (17:22 +0000)]
Revert "* Added time initialization init.d script to luci-addons"
This reverts commit
5a8742b6a83857fcc8477762717af81a791cac65.
Steven Barth [Sun, 1 Jun 2008 17:22:01 +0000 (17:22 +0000)]
Revert "* Fixed last commit"
This reverts commit
2ad50a40d16e5c53dde95d08e4f9fb6072c29a1e.
Steven Barth [Sun, 1 Jun 2008 17:02:19 +0000 (17:02 +0000)]
* Fixed last commit
Steven Barth [Sun, 1 Jun 2008 16:55:59 +0000 (16:55 +0000)]
* Added time initialization init.d script to luci-addons
Jo-Philipp Wich [Sun, 1 Jun 2008 16:42:33 +0000 (16:42 +0000)]
* luci/core: cbi.lua: automatic i18n capabilities; whitespace cleanup
Steven Barth [Sun, 1 Jun 2008 14:54:58 +0000 (14:54 +0000)]
* libs/core: Adapted luci.util.strip_bytecode to handle lnum-bytecode correctly
Steven Barth [Sun, 1 Jun 2008 12:48:37 +0000 (12:48 +0000)]
* Added dependencies for i18n/german to applications/community-*
Steven Barth [Sun, 1 Jun 2008 12:47:05 +0000 (12:47 +0000)]
* Added initial German Translation stub
Steven Barth [Sun, 1 Jun 2008 12:36:36 +0000 (12:36 +0000)]
* Added dependency for English translation to modules/admin-core
Steven Barth [Sun, 1 Jun 2008 12:35:19 +0000 (12:35 +0000)]
* luci/web: Set default language to English
* applications/community-*: Set default language to German
Steven Barth [Sun, 1 Jun 2008 12:22:47 +0000 (12:22 +0000)]
* Added OpenWRT package for english translation (incomplete)
* libs/core: Fixed indentation of luci.util.strip_bytecode
Steven Barth [Sun, 1 Jun 2008 12:12:18 +0000 (12:12 +0000)]
* Performance optimizations
* libs/core: Added bytecode stripping function to luci.util
* libs/core: Added smart indexcache that automatically updates cached index-files on change
* libs/web: Enabled template caching support
* Core Translation part 4
Jo-Philipp Wich [Sun, 1 Jun 2008 03:12:48 +0000 (03:12 +0000)]
* luci/statistics: let rrdtool.lua use values from the configuration, added irq diagram model
Steven Barth [Sat, 31 May 2008 14:48:48 +0000 (14:48 +0000)]
* Core translation part 3
Steven Barth [Sat, 31 May 2008 13:57:30 +0000 (13:57 +0000)]
* Core translation part 2
Steven Barth [Sat, 31 May 2008 08:12:02 +0000 (08:12 +0000)]
* Moved theme Fledermaus to Freifunk submenu
Steven Barth [Sat, 31 May 2008 08:07:50 +0000 (08:07 +0000)]
* Reset default theme to "Fledermaus" for freifunk community packages
Steven Barth [Sat, 31 May 2008 08:04:49 +0000 (08:04 +0000)]
* Core translation part 1
* Introduced new default theme "OpenWRT.org"
* Minor tweaks
Steven Barth [Fri, 30 May 2008 20:49:23 +0000 (20:49 +0000)]
* Reintroduced compiling support
* Added switch for Production (compiled) / Debug (source) - Target to OpenWRT configuration menu
Jo-Philipp Wich [Fri, 30 May 2008 00:26:18 +0000 (00:26 +0000)]
* luci/statistics: added diagram models for process and df plugins, adept controller to recent luci core, support models with per instance diagrams and index diagrams, added new strings to language file
Steven Barth [Thu, 29 May 2008 19:39:08 +0000 (19:39 +0000)]
* Temporarily disabled fastindex-support due to a bug where controllers containing "require"-calls are not indexed correctly
Steven Barth [Thu, 29 May 2008 19:18:49 +0000 (19:18 +0000)]
* libs/web: Added .leaf attribute to dispatching tree to stop dispatching at a certain node
* libs/web: Added rewrite target for advanced aliasing
Steven Barth [Thu, 29 May 2008 18:52:22 +0000 (18:52 +0000)]
* Fixed dispatching regex
Steven Barth [Thu, 29 May 2008 18:27:12 +0000 (18:27 +0000)]
* Bugfixes
* Moved cbi.js into the right directory
* Added more debugging to dispatcher
* Introduced about page
Jo-Philipp Wich [Thu, 29 May 2008 16:00:34 +0000 (16:00 +0000)]
* luci/statistics: include cpu plugin in stat-genconfig
Steven Barth [Thu, 29 May 2008 13:51:32 +0000 (13:51 +0000)]
Revert "* luci/core: dispatcher.lua: fix build_url()"
This reverts commit
7512f2e5f533cb8ef51a9e4ee01081da0df23853.
Jo-Philipp Wich [Thu, 29 May 2008 00:59:58 +0000 (00:59 +0000)]
* luci/statistics: generate submenus for plugins with multiple instances, i18n menu entries
Jo-Philipp Wich [Thu, 29 May 2008 00:58:52 +0000 (00:58 +0000)]
* luci/core: dispatcher.lua: fix build_url()
Jo-Philipp Wich [Wed, 28 May 2008 22:34:26 +0000 (22:34 +0000)]
* luci/statistics: implement initial i18n support, added first translations, removed hardcoded strings from models
Steven Barth [Wed, 28 May 2008 21:02:52 +0000 (21:02 +0000)]
* Preparing about page
Steven Barth [Wed, 28 May 2008 20:55:05 +0000 (20:55 +0000)]
* Fixed OpenWRT Makefile
Steven Barth [Wed, 28 May 2008 20:20:35 +0000 (20:20 +0000)]
* Fixed OpenWRT Makefile
* Added missing postinst file
Steven Barth [Wed, 28 May 2008 19:37:43 +0000 (19:37 +0000)]
* Reworked Makefiles
* Introduced following targets:
build: gccbuild luabuild
gccbuild: compile
luabuild: luasource||luacompile
* Removed requirement for lua-headers respecting lua-only builds
* Split compile part of OpenWRT Makefile
Jo-Philipp Wich [Wed, 28 May 2008 19:37:20 +0000 (19:37 +0000)]
* luci/statistics: added diagram model for interface plugin
Jo-Philipp Wich [Wed, 28 May 2008 17:51:15 +0000 (17:51 +0000)]
* luci/statistics: implement a more advanced diagram generator in rrdtool.lua, simplified diagram models, fix bug in datatree.lua
Steven Barth [Wed, 28 May 2008 15:28:13 +0000 (15:28 +0000)]
Squashed commit of the following:
commit
d45d1757d24d8214f730af1a3401dd2bef4a434f
Author: Steven <steven@cyrus.homeunix.org>
Date: Wed May 28 17:23:27 2008 +0200
* libs/core: Removed dummymode checks in sys
* libs/sgi-webuci: Fixes
commit
b870e8d345bc8912fd8ab61d463b9d68b924a6f4
Author: Felix Fietkau <nbd@openwrt.org>
Date: Wed May 28 15:40:10 2008 +0200
fix path to theme
commit
e3732926bd98db4cc38de6eb8018cd4e55176699
Author: Felix Fietkau <nbd@openwrt.org>
Date: Wed May 28 14:56:03 2008 +0200
set the proper path to the config in dummy mode
commit
a75aecf46f037c98bd6e49b9e48adb735d76d150
Author: Felix Fietkau <nbd@openwrt.org>
Date: Wed May 28 14:50:42 2008 +0200
add some dummy mode support
commit
12bb39ef606bca6b403cc982213a6597b76dc1b3
Author: Felix Fietkau <nbd@openwrt.org>
Date: Wed May 28 14:41:56 2008 +0200
normalize paths
commit
7aaad1103fd2bdc75aca158baa6ef191f9a961c6
Author: Felix Fietkau <nbd@openwrt.org>
Date: Wed May 28 14:27:26 2008 +0200
add missing require statement
commit
5766274bd2511b00c42b474aeeeb3efaca6ded9b
Author: Felix Fietkau <nbd@openwrt.org>
Date: Wed May 28 14:19:54 2008 +0200
add optional luaposix package (patched for darwin support)
commit
9e257a76d03722fc0ce8312aa9952641b21424bd
Author: Felix Fietkau <nbd@openwrt.org>
Date: Tue May 27 20:21:59 2008 +0200
add missing files, more integration for the boa plugin, fix path to lua modules
commit
dacc1a98ec946975fcb19f87076dfa7db865fca6
Author: Felix Fietkau <nbd@openwrt.org>
Date: Tue May 27 19:42:37 2008 +0200
use "compile" instead of "source" and rename the old version of compile to "compile-all"
commit
eb14777c4fee1eb5740aba1e5603e481320da7b1
Author: Felix Fietkau <nbd@openwrt.org>
Date: Tue May 27 19:41:59 2008 +0200
more boa integration
commit
df0afb965bf0a987b653e9d0acadf3151179a596
Author: Felix Fietkau <nbd@openwrt.org>
Date: Tue May 27 18:33:42 2008 +0200
build boa and the webuci.so plugin along with sgi-webuci
commit
878161dabf32066631103d199e2cbaf3f5a7fb07
Author: Felix Fietkau <nbd@openwrt.org>
Date: Tue May 27 18:03:16 2008 +0200
add .gitignore
Steven Barth [Wed, 28 May 2008 04:08:54 +0000 (04:08 +0000)]
* Updated dispatching cache mechanism
Jo-Philipp Wich [Tue, 27 May 2008 21:23:11 +0000 (21:23 +0000)]
* luci/statistics: adept controller to new dispatcher requirements
Steven Barth [Tue, 27 May 2008 20:39:48 +0000 (20:39 +0000)]
* Optimized dispatching model
Jo-Philipp Wich [Tue, 27 May 2008 20:32:04 +0000 (20:32 +0000)]
* luci/statistics: implement flip, overlay and total options for diagram models, improved/fixed netlink and wireless models
Steven Barth [Tue, 27 May 2008 15:40:49 +0000 (15:40 +0000)]
* Fixed caching mechanism
Steven Barth [Tue, 27 May 2008 14:40:41 +0000 (14:40 +0000)]
* Added cache to createindex_plain
Steven Barth [Tue, 27 May 2008 12:46:10 +0000 (12:46 +0000)]
* Fixed Makefile
Steven Barth [Tue, 27 May 2008 12:23:39 +0000 (12:23 +0000)]
commit
4f6198094cf4134179d1f9c9fa8f79759a27c87e
Author: Felix Fietkau <nbd@openwrt.org>
Date: Tue May 27 13:56:12 2008 +0200
rename src/ to luasrc/