Jo-Philipp Wich
3bae3c7f5e
Merge pull request #461 from marcel-sch/patch-1
...
package/community-profiles: add freifunk cottbus profile
2015-12-04 20:04:55 +01:00
Jo-Philipp Wich
3a58ef46c2
Merge pull request #559 from Arnie97/add-openvpn-proto
...
luci-app-openvpn: Add udp6 and tcp6 to proto
2015-12-03 16:42:58 +01:00
Arnie97
7a43379196
luci-app-openvpn: Add udp6 and tcp6 to proto
...
Signed-off-by: Yifeng Zhang <arnie97@gmail.com>
2015-12-03 23:17:46 +08:00
Jo-Philipp Wich
e8465b3e4f
Merge pull request #565 from yousong/l2tp-server
...
Allow host:port value for l2tp `server` option
2015-12-02 13:57:05 +01:00
Yousong Zhou
09768ed745
luci-proto-ppp: l2tp: allow specifying port in "server" option
...
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2015-12-02 20:56:11 +08:00
Yousong Zhou
862b84feb2
luci-base: fix escaping lua string to js repr
...
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2015-12-02 20:56:08 +08:00
Jo-Philipp Wich
9b30357454
luci-base: add hostport and ipaddrport validation types
...
Add two new types 'hostport' and 'ipaddrport' to validate strings in the form
'sub.example.org:1234' and '0.0.0.0:80'. The 'hostport' accepts hostnames or
IP addresses followed by a colon and a port number while the 'ipaddrport' type
accepts numeric IP addresses only, followed by a colon and a port.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-12-02 11:13:39 +01:00
Jo-Philipp Wich
ea9f25b63e
Merge pull request #561 from cshore/pull-request-fstab-improvements
...
Pull request fstab improvements
2015-12-02 10:44:10 +01:00
Daniel Dickinson
829467b627
luci-base: Add function for shell single-quote parameter escaping
...
When using os.execute or luci.sys.call the shell is called with the
command line which means that standard shell interpretation of strings
occurs. To allow to use these commands more easily we add functions
for properly escaping single-quoted strings used on the command line
2015-12-02 02:19:02 -05:00
Daniel Dickinson
1d5cab4ced
luci-mod-admin-full: fstab: Add ability to redo the detection of block devices
...
Adds a button that does block detect and write the new configuration
to /etc/config/fstab.
2015-12-02 02:17:20 -05:00
Daniel Dickinson
89f74f77da
luci-mod-admin-full: fstab: Add ability to set global options like anonymous mounts
...
Previously the global configuration options were missing the the LuCI configuration,
however these options are useful, so make them available to the UI.
2015-12-02 02:16:35 -05:00
Daniel Dickinson
031cab418c
luci-mod-admin-full: Don't show jail bind mounts
...
The user is unlikely to care about the plethora of jail bind mounts
when using jails, so don't display them in this app.
2015-12-02 02:16:22 -05:00
Daniel Dickinson
b8c2d340f3
luci-mod-admin-full: fstab: Add ability to unmount non-system mounts
...
Add an unmount button for non-system mounts which will unmount
the corresponding file system.
2015-12-02 02:16:13 -05:00
Jo-Philipp Wich
9c9118566c
luci-app-openvpn: add route_nopull ( #560 )
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-30 07:58:34 +01:00
Jo-Philipp Wich
c123fa86b0
Merge pull request #534 from yousong/add-luci-proto-pppossh
...
Add luci proto pppossh
2015-11-26 23:23:15 +01:00
Jo-Philipp Wich
ce04adb383
luci-mod-admin-full: limit SSID to 32 characters ( #558 )
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-26 12:30:53 +01:00
Jo-Philipp Wich
c478101ca4
luci-mod-admin-full: fix script regression after 152ba9ab22
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-21 13:53:43 +01:00
Jo-Philipp Wich
55f458326d
luci-base: use board.json to infer switch netdev
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-21 00:31:06 +01:00
Jo-Philipp Wich
fbfa62627f
luci-base: switch to luci-lib-jsonc
...
Add dependency on luci-lib-jsonc and use it to
reimplement luci.util.serialize_json().
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-21 00:29:55 +01:00
Jo-Philipp Wich
9b5046259f
luci-mod-admin-full: make mirror port settings depend on mirror enable
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-20 23:44:55 +01:00
Hannu Nyman
6f49ab92e5
Merge pull request #554 from bittorf/better_neigh.sh
...
freifunk-common: neigh.sh - show hostnames
2015-11-20 22:01:27 +02:00
Bastian Bittorf
e0bcfe82fb
freifunk-common: neigh.sh - show hostnames
...
if nameservice-plugin is configured, we read
in all locally known hostnames and show them
in the output:
root@stuttgarter-core:~# neigh.sh
Local Remote vTime LQ NLQ Cost Host
10.230.105.241 10.230.105.246 138851 1.000000 1.000000 1024 stuttgarter-rhnk.olsr
10.230.105.241 10.230.105.247 135717 1.000000 1.000000 1024 stuttgarter-emma.olsr
10.230.105.241 10.230.105.244 138309 1.000000 1.000000 1024 stuttgarter-sued.olsr
10.230.105.241 10.230.105.245 136001 1.000000 1.000000 1024 stuttgarter-west.olsr
10.230.105.241 10.230.105.242 134818 1.000000 1.000000 1024 stuttgarter-nord.olsr
10.230.105.241 10.230.105.243 137187 1.000000 1.000000 1024 stuttgarter-ost.olsr
10.230.105.241 10.230.105.250 139984 1.000000 1.000000 1024 stuttgarter-hof2.olsr
10.230.105.241 10.230.105.251 138294 1.000000 1.000000 1024 stuttgarter-stra2.olsr
Local Remote vTime LQ NLQ Cost Host
2001:bf7:820:901::1 2001:bf7:820:950::1 139703 1.000000 1.000000 1024 stuttgarter-rhnk.olsr
2001:bf7:820:901::1 2001:bf7:820:960::1 139541 1.000000 1.000000 1024 stuttgarter-emma.olsr
2001:bf7:820:901::1 2001:bf7:820:990::1 140415 1.000000 1.000000 1024 stuttgarter-hof2.olsr
2001:bf7:820:901::1 fde6:24f1:a388::1 141338 1.000000 1.000000 1024
the filenames for the olsrd hosts-file is taken from uci
and falls back to sane defaults.
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
2015-11-20 20:46:55 +01:00
Jo-Philipp Wich
f16405df91
luci-mod-admin-full: revert accidential button type change in 20fdac1ac4
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-19 10:02:41 +01:00
marcel-sch
e75f6b1f9d
update profile
2015-11-18 16:38:05 +01:00
Manuel Munz
8b08756d93
contrib/package/freifunk-policyrouting: remove rc.d symlink
2015-11-18 12:34:06 +01:00
Jo-Philipp Wich
20fdac1ac4
luci-mod-admin-full: allow empty mac in interface status
...
Also adjust for changed IP address format emitted by iface_status call.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-17 17:42:22 +01:00
Jo-Philipp Wich
152ba9ab22
luci-mod-admin-full: use :ipaddrs() and :ip6addrs() helper for iface_status
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-17 17:36:00 +01:00
Jo-Philipp Wich
e626599c26
luci-base: eliminate use of uci state vars in luci.model.network
...
Also implement :ipaddrs() and :ip6addrs() helper for network instances.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-17 17:35:02 +01:00
Jo-Philipp Wich
9b176c8d7b
luci-mod-admin-full: prevent submit with interface delete button ( #549 )
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-16 14:30:13 +01:00
Jo-Philipp Wich
092d2143bd
luci-base: fix uci documentation issue ( #538 )
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-16 12:37:23 +01:00
Christian Schoenebeck
1106b9346a
Merge pull request #548 from chris5560/master
...
luci-app-ddns: rollup to 2.3.0 to reflect changes on ddns-scripts
2015-11-15 21:36:11 +01:00
Christian Schoenebeck
28d86aeec5
luci-app-ddns: rollup to 2.3.0 to reflect changes on ddns-scripts
...
- support for new options "lookup_host", "param_enc" and "param_opt"
- rewritten ddns provider handling to only show/check needed options "domain", "username", etc.
- modified version check/handling incl. using new ipkg.compare_versions function
- modified map.title and map.description generation
- changed XHR.poll interval to 15 seconds on system status page
- using new value_parse function for testing and later implementation into cbi.lua
- some optimizations
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-11-15 11:42:43 +01:00
Jo-Philipp Wich
1cb3adb619
Merge pull request #396 from fanthos/master
...
luci-app-qos: Add custom QOS classes to luci dropdown list
2015-11-11 10:15:33 +01:00
Jo-Philipp Wich
2258d3de25
Merge pull request #535 from saik0/redirect-root-if-empty-signed
...
Redirect to root on empty path (signed off)
2015-11-11 10:14:34 +01:00
Christian Schoenebeck
d05588e2d7
Merge pull request #545 from chris5560/master
...
luci-app-radicale: remove map.title hack
2015-11-09 21:48:07 +01:00
Christian Schoenebeck
8e3a24f7cd
luci-app-radicale: remove map.title hack
...
remove map.title hack; no longer needed
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-11-09 21:46:01 +01:00
Christian Schoenebeck
1de2606e9f
Merge pull request #544 from chris5560/master
...
luci-app-privoxy: remove map.title hack
2015-11-09 21:41:13 +01:00
Christian Schoenebeck
665a793b57
luci-app-privoxy: remove map.title hack
...
remove map.title hack; no longer needed
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-11-09 21:39:50 +01:00
Hannu Nyman
524c918c7d
Merge pull request #542 from eamars/master
...
Fix a typo mistake in UI string (mount/fstab extroot advice)
2015-11-06 09:53:36 +02:00
Ran Bao
38b7c6cef4
fix a typo error in command script shown to users
...
Signed-off-by: Ran Bao <worksev@gmail.com>
2015-11-06 12:50:05 +13:00
Hannu Nyman
b1217c88c3
luci-mod-admin-full: limit interface name length to 15 chars
...
Limit the name of a new interface to 15 characters.
Add a note about the maximum length and the automatic protocol/bridge
prefixes (br-, 6in4-, pppoe- etc.).
Reference to:
https://dev.openwrt.org/ticket/20380
https://github.com/openwrt/luci/issues/507
There is a 15 character limit to the "real" interface name,
enforced both in the firewall and dnsmasq. The real interface name
includes the possible prefix "br-", "6in4-" etc. Example of an error:
interface name `br-lan_protected' must be shorter than IFNAMSIZ (15)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-11-05 11:00:41 +02:00
Joel Pedraza
5541065793
Redirect to root on empty path
...
* Prevents an empty Location header
* Useful in environments where build_url() could return an empty string (such as http server rewrites requests to /cgi-bin/luci)
Signed-off-by: Joel Pedraza <github@saik0.net>
2015-11-03 09:53:39 -05:00
Yousong Zhou
cbf45fe563
luci-proto-ppp: add support for pppossh
...
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2015-11-03 17:07:45 +08:00
Yousong Zhou
a28da6a88a
luci-base: add support for DynamicList with FileBrowser
...
Two new arguments url, defpath were added to cbi_dynlist_init() for
initializing the brower button.
An example of usage
identity = section:taboption("general", DynamicList, "identity",
translate("List of SSH key files for auth"))
identity.datatype = "file"
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2015-11-03 17:07:45 +08:00
Yousong Zhou
20ccc90350
luci-base: urlencode: encode all except unreserved characters.
...
As per http://tools.ietf.org/html/rfc3986#section-2.3
Characters that are allowed in a URI but do not have a reserved
purpose are called unreserved. These include uppercase and lowercase
letters, decimal digits, hyphen, period, underscore, and tilde.
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2015-11-03 17:07:45 +08:00
Christian Schoenebeck
20851933bf
Merge pull request #532 from chris5560/master
...
documentation/CBI.md fixed markdown formating
2015-11-01 17:59:35 +01:00
Christian Schoenebeck
57a949e638
documentation/CBI.md fixed markdown formating
...
CBI.md: fixed markdown formating
ModulesHowTo.md: fixed to make link inside CBI.md work.
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-11-01 17:57:19 +01:00
Christian Schoenebeck
fbc27d1b48
Merge pull request #528 from nmav/no-vpn
...
ocserv: removed unnecessary option and add proxy arp option
2015-11-01 17:19:26 +01:00
Christian Schoenebeck
0953190cf4
Merge pull request #531 from chris5560/master
...
template cbi/value.htm implement documented property maxlength
2015-11-01 16:38:05 +01:00
Christian Schoenebeck
3dbc93bf91
template cbi/value.htm implement documented property maxlength
...
template cbi/value.htm implement already documented property maxlength
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-11-01 16:36:29 +01:00