Commit graph

1190 commits

Author SHA1 Message Date
Jo-Philipp Wich
58a42eaf9b Merge pull request #358 from freifunk-leipzig/master
luci-mod-admin-full: change adress to an ipv6-enabled host
2015-04-27 15:09:17 +02:00
Jo-Philipp Wich
70ffeb36db Merge pull request #370 from 981213/pull_request
Fix some Simplified Chinese translations in luci.
2015-04-27 15:08:21 +02:00
Andrija Vucinic
64b052bbd8 luci-mod-admin-full: mount points SWAP fix
SWAP section was showing an error. Fixed it to display the devices/size properly.
2015-04-25 23:35:33 +02:00
郭传鈜
c39edc189f luci-base:Add some Simplified Chinese translation for luci-base 2015-04-24 13:34:28 +08:00
Christian Schoenebeck
2fdd19524d fix wrong xhtml tags in po files
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-04-21 21:26:00 +02:00
Jo-Philipp Wich
6a13d73c29 Synchronize translations
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-20 10:35:08 +02:00
Hannu Nyman
4d18e09e05 Timezone data: Update to 2015c
Timezone information is updated to 2015c, released on 14 Apr 2015.

I used build/zoneinfo2lua.pl to pull data from my Ubuntu 14.10.

Changes in 2015b and 2015c are rather small:
http://mm.icann.org/pipermail/tz-announce/2015-March/000029.html
http://mm.icann.org/pipermail/tz-announce/2015-April/000030.html

     Mongolia will start observing DST again this year, from the last
     Saturday in March at 02:00 to the last Saturday in September at 00:00.

     Palestine will start DST on March 28, not March 27.  Also,
     correct the fall 2014 transition from September 26 to October 24.
     Adjust future predictions accordingly.

     Egypt's spring-forward transition is at 24:00 on April's last Thursday,
     not 00:00 on April's last Friday.  2015's transition will therefore be on
     Thursday, April 30 at 24:00, not Friday, April 24 at 00:00.  Similar fixes
     apply to 2026, 2037, 2043, etc.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-04-19 10:48:03 +03:00
Jo-Philipp Wich
ec09e995a8 luci-mod-admin-full: handle missing size for block devices
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-17 12:39:11 +02:00
FreifunkUFO
c34eb6349f luci-mod-admin-full: switch to a ipv6 enabled host
change hostname to dev.openwrt.org.. that is available via ipv4 AND ipv6
2015-04-15 03:27:35 +02:00
Jo-Philipp Wich
622cfc673a luci-mod-admin-full: simply fstab configuration
Simplify fstab setup by offering hints for uuid/label and device node options.
Fix rootfs handling logic by removing obsolete references to the "is_rootfs"
option and offering "/" and "/overlay" choices for the mountpoint instead.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-12 20:20:01 +02:00
Jo-Philipp Wich
6160a53ab9 luci-base: fix backslash escaping in luci.util.serialize_json()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-03-18 12:43:29 +01:00
Jo-Philipp Wich
4ab6dcea9b Merge pull request #336 from legendtang/fix
luci-base: fix wrong pattern of urlencode() (encode '+' properly) #182
2015-03-10 18:56:41 +01:00
江海客
7b04bc7473 /etc/config/dhcp
config dhcp null
2015-03-02 15:14:24 +08:00
Legend Tang
d79f5da13f luci-base: fix wrong pattern of urlencode() (encode '+' properly) #182 2015-03-01 03:03:08 +08:00
Christian Schoenebeck
51a047426d wifi.lua: add "Back to Overview" button
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-02-14 11:27:57 +01:00
Jo-Philipp Wich
ec1a86977b Avoid setting duplicate cookies
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-02-09 16:30:11 +01:00
Jo-Philipp Wich
ec90cd69ed luci-base: pass session timeout as integer
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-02-09 13:03:44 +01:00
Jo-Philipp Wich
240458ea8a luci-mod-freifunk: fix public status page
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-02-09 12:15:06 +01:00
Jo-Philipp Wich
993cf12229 luci-base: establish ubus connection before dropping privileges (#310)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-02-09 12:14:20 +01:00
Christian Schoenebeck
9132d83461 admin_network: interface details, implement back to overview
Implements "Back to Overview" on interface details page

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-02-08 19:17:44 +01:00
Hannu Nyman
fd1042f5ee Timezone data: Update to 2015a
Timezone information is updated to 2015a, released on 30 Jan 15.

I used build/zoneinfo2lua.pl to pull data from my Ubuntu 14.10.

Changes are rather small:
http://mm.icann.org/pipermail/tz-announce/2015-January/000028.html

The Mexican state of Quintana Roo, represented by America/Cancun,
will shift from Central Time with DST to Eastern Time without DST.

Chile will not change clocks in April or thereafter; its new
standard time will be its old daylight saving time.
This affects America/Santiago, Pacific/Easter, and Antarctica/Palmer.

Ps. I manually edited headers to have the shorter new copyright,
instead of the long one generated buy the script.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-02-04 18:50:36 +02:00
Jo-Philipp Wich
84346cd178 Move inline documentation into separate files.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-29 16:26:46 +01:00
Jo-Philipp Wich
83d520ab07 luci-base: improve login/logout handling
Redirect to the canonical url after login and redirect to an url without
security token if the session expired. Also make sure that the login page
is served with status code 403, not 200 to give ajax calls a chance to
detect expired sessions.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-26 17:31:21 +01:00
Jo-Philipp Wich
9feb1b8a78 luci-mod-admin-full: use sysupgrade -T to test images
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-24 14:26:51 +01:00
Jo-Philipp Wich
40066a6799 luci-base: optimize luci.tools.webadmin.iface_get_network()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-23 15:26:33 +01:00
Jo-Philipp Wich
6c16f97c4c luci-base: remove unused functions from luci.sys.net
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 23:55:11 +01:00
Jo-Philipp Wich
b24dfd52ac luci-mod-admin-mini: convert luci.sys.net.arptable() to luci.ip.neighbors()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 18:50:00 +01:00
Jo-Philipp Wich
213595ce85 luci-mod-admin-full: convert luci.sys.net.arptable() to luci.ip.neighbors()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 18:45:28 +01:00
Jo-Philipp Wich
577b772824 luci-base: rewrite luci.tools.webadmin and remove unused functions
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 18:25:49 +01:00
Jo-Philipp Wich
7dc9f86749 luci-mod-freifunk: switch to luci.ip route functions
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 16:44:01 +01:00
Jo-Philipp Wich
5b94c1cca2 luci-mod-admin-full: switch to luci.ip route functions
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 15:53:16 +01:00
Jo-Philipp Wich
0e90bf98df luci-base: depend on luci-lib-ip and remove ip.lua
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 15:08:09 +01:00
Jo-Philipp Wich
390c4bd5a7 luci-base: use serialize_json() in luci.http
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 15:01:50 +01:00
Jo-Philipp Wich
61a9a58efc luci-base: add luci.util.serialize_json()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 15:01:50 +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
9980114624 luci-base: remove luci.init
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16 21:40:49 +01:00
Jo-Philipp Wich
9e1383dd40 luci-mod-admin-full: directly require luci.version and fetch uname with library call
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16 21:40:49 +01:00
Jo-Philipp Wich
2ebc394347 luci-base: use local sys module table in luci.dispatcher
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16 21:40:49 +01:00
Luiz Angelo Daros de Luca
b34c9ae639 luci-proto-3g: add dialnumber option
UCI network already permit dialnumber option for 3g interfaces.
This adds dialnumber to luci protocol 3g. Also it introduces a
new translation string "Dial number", added to template and updated
on each language (all empty but pt-br).

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2015-01-16 15:37:13 -02:00
Jo-Philipp Wich
458469bb4f luci-mod-admin-full: display routers localtime again
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 17:41:26 +01:00
Jo-Philipp Wich
a35fffe3c3 luci-mod-admin-full: fix missing nixio.fs require
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 16:34:48 +01:00
Jo-Philipp Wich
7aa838988f luci-base: remove old fastindex support code, use cached module tables
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 16:32:03 +01:00
Jo-Philipp Wich
e2ec170445 luci-base: remove unconditional "bit" preloading
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 16:02:54 +01:00
Jo-Philipp Wich
6ff7bae36a luci-mod-admin-full: remove useless "bit" requires
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 16:02:25 +01:00
Jo-Philipp Wich
e91b603acc luci-base: drop luci.fs
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 15:40:33 +01:00
Jo-Philipp Wich
6cc1ae506c luci-mod-failsafe: switch to nixio.fs
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 15:40:05 +01:00
Jo-Philipp Wich
b7f80a98d8 luci-mod-admin-full: switch to nixio.fs
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 15:37:46 +01:00
Jo-Philipp Wich
9780ee382e luci-mod-freifunk: switch to nixio.fs
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 15:11:57 +01:00
Jo-Philipp Wich
76eb057b2c luci-mod-base: drop luci.sys.sysinfo() and luci.sys.loadavg()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 14:26:36 +01:00