Commit graph

180 commits

Author SHA1 Message Date
Hannu Nyman
67fd6b6e5e
Merge pull request #2197 from yangfl/master
treewide: Fix typos in comments
2018-10-10 20:25:11 +03:00
Jo-Philipp Wich
94323a61e1 luci-base: move luci.sys.iptparser into separate package
Since commit f6bfac211 ("luci-mod-status: rework iptables status page"),
nothing in luci-base depends on the iptparser class anymore, so fold it
out into a separate package and let the few apps that require it depend
on the new library package.

Saves about 10K uncompressed in luci-base while the iptables status
rework enlarged the markup by roughly 5KB, saving roughly 5KB of size
overall.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-10-10 13:19:48 +02:00
yangfl
401382a459 treewide: Fix typos in comments
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-10-10 15:00:07 +08:00
yangfl
dc1c69ce4e i18n: update Chinese translation
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-10-01 11:39:57 +08:00
Jo-Philipp Wich
c0de036b31 treewide: always include cbi.js
Include cbi.js in the main header template like it is done for xhr.js and
remove the page specific includes.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-09 11:51:43 +02:00
Jo-Philipp Wich
067d7dc9f7 treewide: convert HTML tables to div
Mostly convert HTML tables to div based markup to allow for easier styling
in the future. Also change JS accessor code accordingly.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-28 15:18:45 +02:00
Jo-Philipp Wich
c0d9c4f3ce treewide: filter shell arguments through shellquote() where applicable
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-05 09:37:43 +02:00
Jo-Philipp Wich
28e3b32854 treewide: unify mac address handling
Use the new luci.ip MAC address facilities to parse and verify MAC addresses
in a common way, instead of relying on various ad-hoc solutions.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-03-12 16:12:18 +01:00
Vladimir
4567512bdd i18n-ru: fixed and updated russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-30 17:35:30 +03:00
Vladimir
bb87aac852 i18n-ru: Edits on the general pattern of Russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-20 14:02:48 +03:00
Vladimir
0f80bcfd8f fixed russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-13 13:32:58 +03:00
Vladimir
6a9ceee72b i18n: Added and updated russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
[squashed commits]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-01-09 08:17:07 +01:00
yangfl
7dd75df093 i18n: Update Chinese translation
Signed-off-by: David Yang <mmyangfl@gmail.com>
2017-10-28 18:57:21 +08:00
Jo-Philipp Wich
824b9357ed Fix syntax errors in swedish translation
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-10-20 10:55:22 +02:00
Kristoffer Grundström
dd03ee0929 luci-app-splash: Updated some Swedish
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
2017-10-18 01:31:46 +02:00
Hannu Nyman
dad185e2c9 Fix config files getting overwritten in opkg install
Commit 39ff053890 accidentally removed the conffiles definitions
from luci-base, statistics, splash and diag-devinfo apps.

That has caused existing config files to get overwritten if the
package has been reinstalled via opkg. Additionally, the splash
text files have not been saved in sysupgrade or backup as they
are located outside /etc/config

This commit adds back the conffiles definitions to the respective
packages.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-12-10 11:20:01 +02:00
Hannu Nyman
8ae57f6204 i18n: Sync translations
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-02-03 11:43:10 +02:00
Kristoffer Grundström
0007533e7f Updated Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2016-01-15 19:21:57 +01:00
Kristoffer Grundström
13043cfebc luci-app-splash: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18 05:18:50 +01:00
Jo-Philipp Wich
c1278f967e luci-app-splash: protect admin status call with csrf token
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-21 00:09:55 +02:00
Jo-Philipp Wich
5e9da8240f Globally convert headline anchors into name attributes.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-06 13:30:33 +02:00
Manuel Munz
0fe4e4696e applications/splash: remove set -x from splash.sh 2015-05-31 01:13:30 +02:00
Manuel Munz
9cac3f4ec1 applications/luci-splash: fix fac0228313 | ipt module was missing and the new functions didn't return anything 2015-02-20 14:20:55 +01:00
Jo-Philipp Wich
1d461b6e7e luci-app-splash: convert ip4mac() to luci.ip.neighbors()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 22:07:50 +01:00
Jo-Philipp Wich
fac0228313 luci-app-splash: convert luci.sys.net.arptable() to luci.ip.neighbors()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 21:57:00 +01:00
Jo-Philipp Wich
41d2b33087 Update my email addresses in the license headers
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16 23:49:44 +01:00
Jo-Philipp Wich
7a3493b1f7 Globally reduce copyright headers
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16 23:38:38 +01:00
Jo-Philipp Wich
924202156e luci-app-splash: switch to nixio.fs
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 15:05:06 +01:00
Jo-Philipp Wich
50b258a1d4 Remove obsolete ipkg directories
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08 16:31:40 +01:00
Jo-Philipp Wich
1bb4822dca Rework LuCI build system
* Rename subdirectories to their repective OpenWrt package names
 * Make each LuCI module its own standalone package
 * Deploy a shared luci.mk which is used by each module Makefile

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08 16:26:20 +01:00