Commit graph

157 commits

Author SHA1 Message Date
Jo-Philipp Wich
6bc9c000e8 applications/luci-statistics: add workaround for nixio io bug during config creation 2009-06-27 14:35:21 +00:00
Jo-Philipp Wich
ce6aec0a91 i18n: remove obsolete lua i18n files 2009-05-19 02:35:25 +00:00
Jo-Philipp Wich
7bf803250b build: integrate po files in the build system 2009-05-19 02:18:28 +00:00
Jo-Philipp Wich
684f695c13 applications/luci-statistics: remove bitrot 2009-03-21 00:26:12 +00:00
Steven Barth
8eadc262d0 Drop XML i18n files 2009-03-11 15:21:59 +00:00
Jo-Philipp Wich
cb0e180448 contrib/package: make luci-app-statistics depend on a few collectd plugins
applications/luci-statistics: implement a workaround for broken permissions on /tmp
2009-02-16 17:43:43 +00:00
Steven Barth
70ded13045 Use luci.fs.access instead of luci.fs.isfile where applicable 2009-01-02 21:33:10 +00:00
Jo-Philipp Wich
f7a3e34955 prevent package upgrade failures caused by sloppy postinstalls 2008-12-09 00:03:08 +00:00
Jo-Philipp Wich
b019046776 applications/luci-statistics: improve diagram labels 2008-12-07 23:43:30 +00:00
Jo-Philipp Wich
4309506817 apps/luci-statistics: fix evaluation of RRASingle option in rrdtool backend 2008-11-23 00:56:49 +00:00
Jo-Philipp Wich
5a3422963b * luci/applications: force success for postinstall scripts 2008-11-06 01:56:01 +00:00
Jo-Philipp Wich
7651fd78f0 * luci: fix postinstall scripts 2008-11-05 22:06:27 +00:00
Jo-Philipp Wich
8ac2e55b20 * luci/app/statistics: enable luci_statistics and collectd in postinstall 2008-11-04 20:23:45 +00:00
Jo-Philipp Wich
0543ad6f4f * luci/app/statistics:
- build datatree from rrd directory structure, allows "virtual" plugins
	- flush index cache on statistics reload
	- whitespace cleanup in config generator
2008-10-29 03:59:37 +00:00
Jo-Philipp Wich
9f19574ae0 * luci/app/statistics: fix syntax of collectd Exec plugin config 2008-10-29 01:12:49 +00:00
Jo-Philipp Wich
1fb8929f22 * luci/i18n: fixes for portoguese and eglish translations, thanks Carlos 2008-10-23 15:59:53 +00:00
Steven Barth
8815b6a7dd OXYGEN #1: Added index-marks 2008-10-09 20:28:07 +00:00
Jo-Philipp Wich
f708455d3c * luci/app/statistics: fix dns plugin diagram - proper graph model will follow later 2008-10-08 15:58:02 +00:00
Jo-Philipp Wich
86e1aebb59 * luci-trunk: huge xhtml, css and accessibility improvement patch - thanks Alina! 2008-10-07 13:10:24 +00:00
Jo-Philipp Wich
255449a1e2 * luci/i18n: rename *.pt_br.* to *.pt-br.*, extend luci.i18n to convert "_" to "-" in language tags 2008-10-05 16:08:33 +00:00
Jo-Philipp Wich
b5de7f8138 * luci/i18n: various translation fixes, thanks Carlos! 2008-10-01 15:58:06 +00:00
Jo-Philipp Wich
3993bac38d * luci/i18n, luci/app/statistics: add updated lua files too 2008-09-30 18:52:33 +00:00
Jo-Philipp Wich
c622f0b6d1 * luci/i18n/portuguese_brazilian: core translation fixes
* luci/app/statistics: add missing strings for dns, unixsock and email plugin - thanks Carlos!
2008-09-30 18:44:34 +00:00
Jo-Philipp Wich
36608598b3 * luci/i18n/portuguese_brazilian: add translations for statistics 2008-09-29 19:17:25 +00:00
Jo-Philipp Wich
10db2c2637 * luci/app/statistics: fix some translation issues 2008-09-19 21:10:51 +00:00
Steven Barth
cbb0bead6f Fixed statistics 2008-09-15 23:46:20 +00:00
Steven Barth
dbde0216c2 Rewrote UCI apply logic 2008-09-06 13:51:51 +00:00
Steven Barth
954e61d2a3 Bump i18n-files 2008-09-02 09:08:11 +00:00
Jo-Philipp Wich
c6ea479b06 * luci/applications: statistics: strip leading and trailing whitespace from config values, fixes OpenWrt Bug #3892 2008-08-31 14:50:43 +00:00
Jo-Philipp Wich
d82340ada4 * luci/applications: statistics: pick up new rrdtool translations in controller and rrdtool-i18n binding 2008-08-31 14:38:28 +00:00
Jo-Philipp Wich
64a16c5bbf * 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 2008-08-31 14:37:28 +00:00
Steven Barth
91ba7c42f5 UCI API changes 2008-08-26 23:00:44 +00:00
Steven Barth
9c6a852939 Updated XML translation system, fixed some errors with multiline-translations
Thanks: Alina Friedrichsen
2008-08-22 17:18:36 +00:00
Jo-Philipp Wich
c7c2624713 * luci/i18n: updated translation files, xhtml fixes in openwrt.org theme 2008-08-20 19:35:54 +00:00
Jo-Philipp Wich
7590274b21 * luci/i18n: add luci translations in xml format 2008-08-20 17:23:53 +00:00
Steven Barth
c637f686ee Fixed a typo 2008-08-15 22:04:37 +00:00
Steven Barth
4bd74d0a98 libs/core: Remove deprecated luci.bits which got replaced by bitlib 2008-08-14 22:51:12 +00:00
Steven Barth
66a6492ae5 libs/web: Prevent luci.http to prematurely parse the POST data
modules/admin-mini: Added fw-upgrade page
2008-07-16 14:26:40 +00:00
Jo-Philipp Wich
be4147d3d8 * luci/themes: css fixed in openwrt.org theme
* luci/statistics:		fixed layout of graph display page
* luci/admin:			fixed layout of uci changes page
2008-07-15 22:37:53 +00:00
Steven Barth
1588665618 Added copyright-tags to templates 2008-07-07 22:00:56 +00:00
Steven Barth
eae0e44798 * Added support for CGI SGI 2008-06-15 17:45:10 +00:00
Steven Barth
961bfcf77f * Generalized HTTP-API 2008-06-15 12:34:16 +00:00
Jo-Philipp Wich
16924c1d83 * luci/statistics: some german translation fixes 2008-06-14 15:39:53 +00:00
Steven Barth
855b7582d3 * Rewrote Luci to be coroutine-safe allowing the use of non-forking webservers
* Setting base version to 0.7
2008-06-14 14:12:12 +00:00
Jo-Philipp Wich
e92fce9694 * luci/statistics: fix syntax error in init script 2008-06-10 22:28:08 +00:00
Jo-Philipp Wich
4495c0326c * luci/statistics: add and enable load plugin by default 2008-06-10 22:08:27 +00:00
Steven Barth
2bf012a40a * themes/fledermaus: Register on install
* applications/luci-statistics: Fixed wrong paths in templates
2008-06-09 08:48:10 +00:00
Steven Barth
64806f32be * Made Makefiles attribute aware 2008-06-09 07:56:20 +00:00
Jo-Philipp Wich
5f6561bc34 * luci/statistics: register statistics reload commit action 2008-06-08 22:09:58 +00:00
Jo-Philipp Wich
cb3ed9f226 * luci/statistics: implement reload action in init script 2008-06-08 21:59:51 +00:00
Jo-Philipp Wich
de2e0ce10c * luci/statistics: implement support for the load plugin 2008-06-08 21:51:55 +00:00
Jo-Philipp Wich
52673c157b * luci/statistics: reworked some dispatcher, use new hashtable iterators to create sorted submenus 2008-06-08 21:15:06 +00:00
Jo-Philipp Wich
2d5110fcb4 * luci/statistics: append ".lua" to language files to allow bytecody-compilation 2008-06-08 14:20:19 +00:00
Jo-Philipp Wich
873b20cb19 * luci/statistics: replace load() with loadc() since german translation is now available 2008-06-08 14:19:26 +00:00
Jo-Philipp Wich
3ba1a52c1f * luci/statistics: Latin1 -> UTF-8 conversation for german translation 2008-06-08 14:04:22 +00:00
Jo-Philipp Wich
07ec43bf0c * luci/statistics: add german translation 2008-06-08 13:47:49 +00:00
Steven Barth
dd9606825d * Merged Luci to use native UCI-library 2008-06-05 19:16:38 +00:00
Jo-Philipp Wich
d30d590ae8 * luci/statistics: whitespace cleanup in controller 2008-06-05 09:21:44 +00:00
Jo-Philipp Wich
e9cbb96685 * luci/statistics: fix dispatcher again: drop redirect; use first available instance if no instance requested; breaks menu highlight but lets statistics work in every context (at least for now) 2008-06-05 09:19:46 +00:00
Jo-Philipp Wich
48e06817da * 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
2008-06-04 22:41:58 +00:00
Jo-Philipp Wich
18efb3f75b * luci/statistics: made definition fallbacks for date w/o digram model working again 2008-06-03 23:58:42 +00:00
Jo-Philipp Wich
8d732cb8d9 * luci/statistics: definitions.lua: remove all defs handled by diagram models, removed duplicate date (saves ~1000 loc ;-) ) 2008-06-03 23:30:51 +00:00
Jo-Philipp Wich
2c85ff1fe7 * luci/statistics: remove unneeded processes/ps_state diagram definition 2008-06-03 23:22:55 +00:00
Jo-Philipp Wich
c95801569f * luci/statistics: added missing iptables/ipt_bytes definition, svn property fixups 2008-06-03 23:18:37 +00:00
Jo-Philipp Wich
6071119f2e * luc/statistics: add file/license headers 2008-06-03 23:15:16 +00:00
Felix Fietkau
7557c5bcef some error handling for fs.dir(...) == nil 2008-06-03 22:50:21 +00:00
Felix Fietkau
77f8074a01 make use of the new features in the binding for uci v0.4.0 - fixes remaining dependencies of libuci.lua on the cli 2008-06-03 22:42:01 +00:00
Jo-Philipp Wich
db3a4c5c97 * luci/statistics: move public pages to /admin/statistics/graph/ 2008-06-03 20:04:20 +00:00
Jo-Philipp Wich
8084c460a1 * luci/statistics: update config generator 2008-06-03 19:22:55 +00:00
Jo-Philipp Wich
be71969b76 * luci/statistics: update default config 2008-06-03 19:18:29 +00:00
Jo-Philipp Wich
71449d76e7 * luci/statistics: implement timespan selection in public interface 2008-06-03 19:05:34 +00:00
Jo-Philipp Wich
9f4428eefc * luci/statistics: add init script 2008-06-02 01:49:51 +00:00
Jo-Philipp Wich
4058aacd06 * luci/statistics: template and controller translation 2008-06-02 00:48:25 +00:00
Jo-Philipp Wich
3e94adc682 * luci/statistics: complete cbi model translation 2008-06-01 23:52:07 +00:00
Jo-Philipp Wich
1da5feb9f7 * luci/statistics: let rrdtool.lua use values from the configuration, added irq diagram model 2008-06-01 03:12:48 +00:00
Jo-Philipp Wich
d8ba05412c * 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 2008-05-30 00:26:18 +00:00
Jo-Philipp Wich
7f995fd0b6 * luci/statistics: include cpu plugin in stat-genconfig 2008-05-29 16:00:34 +00:00
Steven Barth
fe7cbc15b8 Revert "* luci/core: dispatcher.lua: fix build_url()"
This reverts commit 7512f2e5f533cb8ef51a9e4ee01081da0df23853.
2008-05-29 13:51:32 +00:00
Jo-Philipp Wich
908332e3e9 * luci/statistics: generate submenus for plugins with multiple instances, i18n menu entries 2008-05-29 00:59:58 +00:00
Jo-Philipp Wich
b06638df6e * luci/statistics: implement initial i18n support, added first translations, removed hardcoded strings from models 2008-05-28 22:34:26 +00:00
Jo-Philipp Wich
38844ccb31 * luci/statistics: added diagram model for interface plugin 2008-05-28 19:37:20 +00:00
Jo-Philipp Wich
bb5ecfde72 * luci/statistics: implement a more advanced diagram generator in rrdtool.lua, simplified diagram models, fix bug in datatree.lua 2008-05-28 17:51:15 +00:00
Jo-Philipp Wich
c59a7afe45 * luci/statistics: adept controller to new dispatcher requirements 2008-05-27 21:23:11 +00:00
Jo-Philipp Wich
3f09d369d6 * luci/statistics: implement flip, overlay and total options for diagram models, improved/fixed netlink and wireless models 2008-05-27 20:32:04 +00:00
Steven Barth
d35a620e9f commit 4f6198094cf4134179d1f9c9fa8f79759a27c87e
Author: Felix Fietkau <nbd@openwrt.org>
Date:   Tue May 27 13:56:12 2008 +0200

    rename src/ to luasrc/
2008-05-27 12:23:39 +00:00
Jo-Philipp Wich
1da3c32a73 * luci/statistics: fix path to types.db in default config, adept stat-genconfig to new project name and updated config 2008-05-25 22:30:30 +00:00
Jo-Philipp Wich
bf907eafda * luci/statistics: ffluci -> luci conversation 2008-05-25 17:53:04 +00:00
Jo-Philipp Wich
4a80f37832 * ffluci/statistics: diagram model updates, added ping to genconfig, fixed random() in colors.lua and added support for multiple diagrams per diagram controller 2008-05-25 17:47:38 +00:00
Jo-Philipp Wich
e53d31062e * ffluci/statistics: update default config 2008-05-25 02:56:05 +00:00
Jo-Philipp Wich
1e70a05156 * ffluci/statistcs: implement rrdtool stuff, extend controller to public pages - wip 2008-05-25 02:37:39 +00:00
Jo-Philipp Wich
45be03914c * ffluci/statistics: move contrib files from files/ to root/ 2008-05-23 20:23:51 +00:00
Jo-Philipp Wich
eaa763cbdb * ffluci/statistics: port statistics to new controller api, add mysel to NOTICE 2008-05-23 19:23:06 +00:00
Jo-Philipp Wich
505c3208c9 * ffluci/statistics: updated default config 2008-05-22 16:41:12 +00:00
Jo-Philipp Wich
f738eb786e * ffluci/statistics: fixes for interface, netlink, dns and email plugin cbi models 2008-05-22 13:17:33 +00:00
Jo-Philipp Wich
41f224a2fa * ffluci/statistics: processes.lua: fix parameter spelling in comment 2008-05-22 13:12:43 +00:00
Jo-Philipp Wich
0e33719761 * ffluci/statistics: add cbi model for rrdtool, fix stat-genconfig to allow correctly spelled list value parameters, updated default config 2008-05-22 13:09:45 +00:00
Jo-Philipp Wich
68fd8eacdd * ffluci/statistics: add unixsock.lua missing in last commit 2008-05-21 04:36:47 +00:00
Jo-Philipp Wich
97ff6fa3e9 * ffluci/statistics: add cbi model for unixsock plugin 2008-05-21 04:34:13 +00:00
Jo-Philipp Wich
f90684f321 * ffluci/statistics: include general configuration in stat-genconfig 2008-05-21 04:17:25 +00:00
Jo-Philipp Wich
d51e33b8cb * ffluci/statistics: fix file description in tcpconns cbi model 2008-05-21 03:58:14 +00:00