Jo-Philipp Wich [Thu, 20 Dec 2012 15:01:04 +0000 (15:01 +0000)]
don't use symlink to /lib/functions.sh
Signed-off-by: Luka Perkov <luka@openwrt.org>
Jo-Philipp Wich [Wed, 19 Dec 2012 10:11:03 +0000 (10:11 +0000)]
modules/admin-full: fix "unsupported protocol" vs. "no interface assigned" errors for protocols without ifname property, e.g. 6in4
Jo-Philipp Wich [Wed, 19 Dec 2012 00:35:30 +0000 (00:35 +0000)]
ccache not loading or storing cache files
I've noticed that there is nothing in my /tmp/luci-modulecache
directory. Digging into it it looks like because both the expected uid
and mode of the files doesn't match, so for security reasons they're
long being loaded or saved by ccache.lua (from the luci-lib-core
package). I'm not sure how far back this has been broken but I it
appears to have been quite some time, possibly years?
I've included a patch which updates the checks to use the right newer
function name / structure name. It decreases page load times by about
10-15% on my bcm2708 (raspberrypi). I can create a ticket if you'd
prefer. The patch is against the luci-0.11 branch but should apply to
trunk as well.
Signed-off-by: Bryan Mayland <bmayland@leoninedev.com>
Jo-Philipp Wich [Tue, 18 Dec 2012 14:20:10 +0000 (14:20 +0000)]
build: remove two obsolete scripts
Translation System [Tue, 18 Dec 2012 13:49:52 +0000 (13:49 +0000)]
Commit from LuCI Translation Portal by user jow.: 137 of 175 messages translated (0 fuzzy).
Translation System [Tue, 18 Dec 2012 13:49:49 +0000 (13:49 +0000)]
Commit from LuCI Translation Portal by user jow.: 139 of 175 messages translated (0 fuzzy).
Translation System [Tue, 18 Dec 2012 13:49:45 +0000 (13:49 +0000)]
Commit from LuCI Translation Portal by user jow.: 147 of 175 messages translated (0 fuzzy).
Translation System [Tue, 18 Dec 2012 13:49:42 +0000 (13:49 +0000)]
Commit from LuCI Translation Portal by user jow.: 175 of 175 messages translated (0 fuzzy).
Translation System [Tue, 18 Dec 2012 13:49:40 +0000 (13:49 +0000)]
Commit from LuCI Translation Portal by user jow.: 851 of 851 messages translated (0 fuzzy).
Translation System [Tue, 18 Dec 2012 13:49:35 +0000 (13:49 +0000)]
Commit from LuCI Translation Portal by user jow.: 166 of 175 messages translated (4 fuzzy).
Translation System [Tue, 18 Dec 2012 13:49:31 +0000 (13:49 +0000)]
Commit from LuCI Translation Portal by user jow.: 170 of 175 messages translated (0 fuzzy).
Translation System [Tue, 18 Dec 2012 13:49:27 +0000 (13:49 +0000)]
Commit from LuCI Translation Portal by user jow.: 142 of 175 messages translated (1 fuzzy).
Translation System [Tue, 18 Dec 2012 13:49:23 +0000 (13:49 +0000)]
Commit from LuCI Translation Portal by user jow.: 851 of 851 messages translated (0 fuzzy).
Translation System [Tue, 18 Dec 2012 13:49:17 +0000 (13:49 +0000)]
Commit from LuCI Translation Portal by user jow.: 140 of 175 messages translated (0 fuzzy).
Translation System [Tue, 18 Dec 2012 13:49:13 +0000 (13:49 +0000)]
Commit from LuCI Translation Portal by user jow.: 10 of 73 messages translated (0 fuzzy).
Translation System [Tue, 18 Dec 2012 13:49:12 +0000 (13:49 +0000)]
Commit from LuCI Translation Portal by user jow.: 1 of 96 messages translated (0 fuzzy).
Translation System [Tue, 18 Dec 2012 13:49:10 +0000 (13:49 +0000)]
Commit from LuCI Translation Portal by user jow.: 20 of 44 messages translated (0 fuzzy).
Translation System [Tue, 18 Dec 2012 13:49:08 +0000 (13:49 +0000)]
Commit from LuCI Translation Portal by user jow.: 421 of 851 messages translated (0 fuzzy).
Translation System [Tue, 18 Dec 2012 13:49:02 +0000 (13:49 +0000)]
Commit from LuCI Translation Portal by user jow.: 170 of 175 messages translated (0 fuzzy).
Jo-Philipp Wich [Tue, 18 Dec 2012 13:16:26 +0000 (13:16 +0000)]
contrib/package: fix typo in luci-app-firewall package description
Jo-Philipp Wich [Sat, 15 Dec 2012 00:35:47 +0000 (00:35 +0000)]
fix is_installed() check for l2tp
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Jo-Philipp Wich [Fri, 14 Dec 2012 21:53:03 +0000 (21:53 +0000)]
luci_statistics: Add y_min, y_max, units_exponent options and clean up some graphs
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Jo-Philipp Wich [Fri, 14 Dec 2012 13:27:43 +0000 (13:27 +0000)]
luci-statistics: add transform_rpn option to graphs, use it for nut battery life
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Jo-Philipp Wich [Fri, 14 Dec 2012 13:27:39 +0000 (13:27 +0000)]
luci-statistics: don't plot data points where there are no data.
Converting NaN to zero for the sake of the cumulative stack in non-overlay
mode is all very well. But we shouldn't then use that for displaying the
graph. Make another variable %s_plot which *preserves* NaN from the input
data, and then we don't get bogus data points drawn. Especially at the end
of the graph this was problematic.
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Jo-Philipp Wich [Tue, 11 Dec 2012 14:05:57 +0000 (14:05 +0000)]
applications/luci-statistics: convert nut plugin to minutes
Jo-Philipp Wich [Tue, 11 Dec 2012 13:49:07 +0000 (13:49 +0000)]
applications/luci-statistics: add missing nut plugin entry to config menu
Jo-Philipp Wich [Tue, 11 Dec 2012 13:31:25 +0000 (13:31 +0000)]
po: resync statistics translations
Jo-Philipp Wich [Tue, 11 Dec 2012 13:27:37 +0000 (13:27 +0000)]
Add NUT UPS support to luci-statistics
Manuel Munz [Mon, 10 Dec 2012 16:05:43 +0000 (16:05 +0000)]
contrib/community-profiles: Remove incompatible Hamburg profile as requested by Jamalaka
Translation System [Fri, 7 Dec 2012 13:17:17 +0000 (13:17 +0000)]
Commit from LuCI Translation Portal by user jow.: 118 of 118 messages translated (0 fuzzy).
Jo-Philipp Wich [Fri, 7 Dec 2012 13:13:43 +0000 (13:13 +0000)]
contrib/package/freifunk-p2pblock: actually read whitelist from config
Jo-Philipp Wich [Sun, 2 Dec 2012 14:20:42 +0000 (14:20 +0000)]
modules/admin-full: several white-space fixes for Bootstrap
Jo-Philipp Wich [Sun, 2 Dec 2012 14:20:36 +0000 (14:20 +0000)]
libs/web: make JS String.format() and String.serialize() available as prototype options, introduce String.nobr()
Translation System [Sun, 2 Dec 2012 14:01:33 +0000 (14:01 +0000)]
Commit from LuCI Translation Portal by user jow.: 13 of 13 messages translated (0 fuzzy).
Translation System [Sun, 2 Dec 2012 14:01:32 +0000 (14:01 +0000)]
Commit from LuCI Translation Portal by user jow.: 22 of 23 messages translated (0 fuzzy).
Translation System [Sun, 2 Dec 2012 14:01:30 +0000 (14:01 +0000)]
Commit from LuCI Translation Portal by user jow.: 4 of 4 messages translated (0 fuzzy).
Translation System [Sun, 2 Dec 2012 14:01:12 +0000 (14:01 +0000)]
Commit from LuCI Translation Portal by user jow.: 21 of 26 messages translated (0 fuzzy).
Translation System [Sun, 2 Dec 2012 14:01:10 +0000 (14:01 +0000)]
Commit from LuCI Translation Portal by user jow.: 374 of 851 messages translated (0 fuzzy).
Translation System [Sun, 2 Dec 2012 14:01:05 +0000 (14:01 +0000)]
Commit from LuCI Translation Portal by user jow.: 64 of 64 messages translated (0 fuzzy).
Jo-Philipp Wich [Sun, 2 Dec 2012 13:33:02 +0000 (13:33 +0000)]
po: sync statistics translations
Jo-Philipp Wich [Sun, 2 Dec 2012 13:32:54 +0000 (13:32 +0000)]
applications/luci-statistics: fix typo in collectd cbi
Jo-Philipp Wich [Sun, 2 Dec 2012 13:30:46 +0000 (13:30 +0000)]
libs/web: let luci.i18n.setlanguage() return the lang that was actually loaded
Manuel Munz [Sat, 1 Dec 2012 00:10:08 +0000 (00:10 +0000)]
modules/freifunk: sync translations
Manuel Munz [Sat, 1 Dec 2012 00:07:33 +0000 (00:07 +0000)]
applications/luci-olsr: sync colors with map, add legend
Manuel Munz [Sat, 1 Dec 2012 00:03:40 +0000 (00:03 +0000)]
modules/freifunk: remove empty dir
Manuel Munz [Fri, 30 Nov 2012 23:55:35 +0000 (23:55 +0000)]
modules/freifunk: simplify colors in map, add a legend
Translation System [Thu, 29 Nov 2012 15:25:57 +0000 (15:25 +0000)]
Commit from LuCI Translation Portal by user jow.: 43 of 43 messages translated (0 fuzzy).
Translation System [Thu, 29 Nov 2012 15:25:55 +0000 (15:25 +0000)]
Commit from LuCI Translation Portal by user jow.: 73 of 73 messages translated (0 fuzzy).
Translation System [Thu, 29 Nov 2012 15:25:53 +0000 (15:25 +0000)]
Commit from LuCI Translation Portal by user jow.: 170 of 177 messages translated (0 fuzzy).
Translation System [Thu, 29 Nov 2012 15:25:51 +0000 (15:25 +0000)]
Commit from LuCI Translation Portal by user jow.: 9 of 9 messages translated (0 fuzzy).
Jo-Philipp Wich [Tue, 27 Nov 2012 14:16:42 +0000 (14:16 +0000)]
modules/admin-full: filter localhost<->localhost connections live connection graph
Jo-Philipp Wich [Mon, 26 Nov 2012 14:26:46 +0000 (14:26 +0000)]
libs/core: remove unused luci.util.escape(), map luci.util.striptags() to luci.template.parser.striptags()
Jo-Philipp Wich [Mon, 26 Nov 2012 14:26:43 +0000 (14:26 +0000)]
libs/web: various changes in template library
- rename sanitize_pcdata() and sanitize_utf8() to pcdata() and utf8()
- implement striptags()
Manuel Munz [Mon, 26 Nov 2012 13:11:41 +0000 (13:11 +0000)]
libs/web: Allow to disable buttons in cbi models from the controller
Jo-Philipp Wich [Mon, 26 Nov 2012 12:53:43 +0000 (12:53 +0000)]
remove .i18n annotations from controller files
Jo-Philipp Wich [Mon, 26 Nov 2012 12:32:23 +0000 (12:32 +0000)]
po: resync base translations
Translation System [Mon, 26 Nov 2012 12:26:24 +0000 (12:26 +0000)]
Commit from LuCI Translation Portal by user jow.: 13 of 13 messages translated (0 fuzzy).
Translation System [Mon, 26 Nov 2012 12:26:21 +0000 (12:26 +0000)]
Commit from LuCI Translation Portal by user jow.: 32 of 32 messages translated (0 fuzzy).
Translation System [Mon, 26 Nov 2012 12:26:20 +0000 (12:26 +0000)]
Commit from LuCI Translation Portal by user jow.: 109 of 109 messages translated (0 fuzzy).
Translation System [Mon, 26 Nov 2012 12:26:18 +0000 (12:26 +0000)]
Commit from LuCI Translation Portal by user jow.: 26 of 26 messages translated (0 fuzzy).
Translation System [Mon, 26 Nov 2012 12:26:15 +0000 (12:26 +0000)]
Commit from LuCI Translation Portal by user jow.: 852 of 852 messages translated (0 fuzzy).
Translation System [Mon, 26 Nov 2012 12:26:12 +0000 (12:26 +0000)]
Commit from LuCI Translation Portal by user jow.: 852 of 852 messages translated (0 fuzzy).
Translation System [Mon, 26 Nov 2012 12:26:07 +0000 (12:26 +0000)]
Commit from LuCI Translation Portal by user jow.: 852 of 852 messages translated (0 fuzzy).
Daniel Golle [Mon, 26 Nov 2012 11:07:11 +0000 (11:07 +0000)]
"Waiting for router..." is misleading on non-router devices. Use "Waiting for changes to be applied..." instead.
Jo-Philipp Wich [Sun, 25 Nov 2012 19:22:38 +0000 (19:22 +0000)]
libs/web: remove unneeded include
Jo-Philipp Wich [Sun, 25 Nov 2012 19:18:15 +0000 (19:18 +0000)]
libs/web: remove leftover debugging code in template_parser.c
Jo-Philipp Wich [Sun, 25 Nov 2012 19:18:10 +0000 (19:18 +0000)]
libs/core: use luci.template.parser.hash() instead of lmo.hash()
Jo-Philipp Wich [Sun, 25 Nov 2012 19:18:04 +0000 (19:18 +0000)]
contrib/package: remove luci-lib-lmo package
Jo-Philipp Wich [Sun, 25 Nov 2012 19:18:00 +0000 (19:18 +0000)]
luci: host-build libs/web instead of libs/lmo to create po2lmo executable
Jo-Philipp Wich [Sun, 25 Nov 2012 19:17:55 +0000 (19:17 +0000)]
libs/web: rewrite template engine, merge lmo library
- template parser: merge lmo library
- template parser: rewrite to operate on memory mapped files
- template parser: implement proper line number reporting on syntax errors
- template parser: process translate tags directly and bypass Lua
- template lmo: introduce load_catalog(), change_catalog() and close_catalog()
- template lmo: rewrite index processing to operate directly on the memory mapped file
- template lmo: implement binary search keys, reducing the lookup complexity to O(log n)
- po2lmo: write sorted indixes when generating *.lmo archives
- i18n: use the template parser for translations
- i18n: stub load(), loadc() and clear()
- i18n: map setlanguage() to load_catalog()
Jo-Philipp Wich [Fri, 23 Nov 2012 10:15:02 +0000 (10:15 +0000)]
libs/lmo: fix whitespace handling in string hashing, optimize code
Translation System [Fri, 23 Nov 2012 09:18:42 +0000 (09:18 +0000)]
Commit from LuCI Translation Portal by user jow.: 11 of 11 messages translated (0 fuzzy).
Translation System [Fri, 23 Nov 2012 09:18:39 +0000 (09:18 +0000)]
Commit from LuCI Translation Portal by user jow.: 8 of 8 messages translated (0 fuzzy).
Jo-Philipp Wich [Wed, 21 Nov 2012 23:26:30 +0000 (23:26 +0000)]
libs/lmo: canonize key strings before hashing them, fixes missing translations for original strings with line breaks or white spaces embedded
Jo-Philipp Wich [Wed, 21 Nov 2012 20:13:56 +0000 (20:13 +0000)]
applications/luci-p910nd: expose bind parameter
Jo-Philipp Wich [Wed, 21 Nov 2012 20:13:53 +0000 (20:13 +0000)]
libs/core: introduce get_status_by_address() in luci.model.network
Jo-Philipp Wich [Wed, 21 Nov 2012 19:34:13 +0000 (19:34 +0000)]
modules/admin-full: remove leftover setTimeout() call in load graph
Jo-Philipp Wich [Wed, 21 Nov 2012 19:29:47 +0000 (19:29 +0000)]
applications/luci-commands, applications/luci-upnp, modules/admin-core, modules/admin-full, modules/freifunk: clean up argument handling of leaf nodes
Translation System [Wed, 21 Nov 2012 18:54:59 +0000 (18:54 +0000)]
Commit from LuCI Translation Portal by user jow.: 159 of 159 messages translated (0 fuzzy).
Translation System [Wed, 21 Nov 2012 18:54:57 +0000 (18:54 +0000)]
Commit from LuCI Translation Portal by user jow.: 32 of 32 messages translated (0 fuzzy).
Translation System [Wed, 21 Nov 2012 18:54:55 +0000 (18:54 +0000)]
Commit from LuCI Translation Portal by user jow.: 109 of 109 messages translated (0 fuzzy).
Translation System [Wed, 21 Nov 2012 18:54:53 +0000 (18:54 +0000)]
Commit from LuCI Translation Portal by user jow.: 9 of 9 messages translated (0 fuzzy).
Translation System [Wed, 21 Nov 2012 18:54:51 +0000 (18:54 +0000)]
Commit from LuCI Translation Portal by user jow.: 23 of 23 messages translated (0 fuzzy).
Translation System [Wed, 21 Nov 2012 18:54:49 +0000 (18:54 +0000)]
Commit from LuCI Translation Portal by user jow.: 852 of 852 messages translated (0 fuzzy).
Jo-Philipp Wich [Wed, 21 Nov 2012 18:42:57 +0000 (18:42 +0000)]
po: resync translations
Jo-Philipp Wich [Wed, 21 Nov 2012 18:36:43 +0000 (18:36 +0000)]
applications/luci-commands: improve dashboard html, remove inline styles, fix layout for both openwrt and bootstrap themes, use command basename when naming output download
Jo-Philipp Wich [Wed, 21 Nov 2012 18:36:40 +0000 (18:36 +0000)]
themes: add facility to include custom css
Jo-Philipp Wich [Wed, 21 Nov 2012 17:36:40 +0000 (17:36 +0000)]
themes: remove obsolete javascript files that haven't been used in over two years
Jo-Philipp Wich [Wed, 21 Nov 2012 17:04:12 +0000 (17:04 +0000)]
modules/admin-full: fix word wrapping in wifi overview page when using bootstrap theme
Jo-Philipp Wich [Wed, 21 Nov 2012 16:47:59 +0000 (16:47 +0000)]
applications/luci-commands: remove bogus default value from arguments field
Translation System [Wed, 21 Nov 2012 16:46:37 +0000 (16:46 +0000)]
Commit from LuCI Translation Portal by user jow.: 797 of 850 messages translated (0 fuzzy).
Translation System [Wed, 21 Nov 2012 16:45:32 +0000 (16:45 +0000)]
Commit from LuCI Translation Portal by user jow.: 26 of 26 messages translated (0 fuzzy).
Jo-Philipp Wich [Wed, 21 Nov 2012 16:22:39 +0000 (16:22 +0000)]
contrib/package: add entries for luci-app-commands
Jo-Philipp Wich [Wed, 21 Nov 2012 16:22:36 +0000 (16:22 +0000)]
po: add translations for luci-app-commands
Jo-Philipp Wich [Wed, 21 Nov 2012 16:22:04 +0000 (16:22 +0000)]
applications: add new application luci-app-commands which allows configuring custom shell commands for invocation through the gui
Jo-Philipp Wich [Wed, 21 Nov 2012 16:17:52 +0000 (16:17 +0000)]
po: remove empty cz folder
Jo-Philipp Wich [Wed, 21 Nov 2012 16:04:13 +0000 (16:04 +0000)]
libs/web: fix luci.http.write_json() to properly encode control chars in strings
Jo-Philipp Wich [Wed, 21 Nov 2012 16:04:10 +0000 (16:04 +0000)]
themes: add cbi-button-download class, whitespace cleanup
Daniel Golle [Tue, 20 Nov 2012 11:42:35 +0000 (11:42 +0000)]
properly support git in build/i18n-init.sh
Translation System [Mon, 19 Nov 2012 16:54:00 +0000 (16:54 +0000)]
Commit from LuCI Translation Portal by user jow.: 797 of 850 messages translated (0 fuzzy).