summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2015-12-12modules/luci-base: Move LuCI FileUpload directory to /etc/luci-uploads and ↵Daniel Dickinson
save across sysupgrade /lib/uci/upload is a rather odd place for configuration files Also the files were not saved across sysupgrade, which is somewhat counter-productive for configuration files. Signed-off By: Daniel Dickinson <openwrt@daniel.thecshore.com>
2015-12-09luci-app-olsr: use public interface of luci.model.network.wifinet (#569)Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-12-09luci-base: rewrite luci.sys.net.conntrack()Jo-Philipp Wich
The new function is twice as fast as the old implementation and properly summarizes outgoing and incoming byte and packet counters. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-12-09Merge pull request #567 from inTagger/ip-addr-view-updateHannu Nyman
luci-mod-admin-full: update IPv4/IPv6 list views
2015-12-08luci-mod-admin-full: update IPv4/IPv6 list viewsAlexander Logger
For better view of 'Interface Overview' IPv4/IPv6 addresses for interfaces should be displayed as lists, but not as comma separated strings. Signed-off-by: Alexander Logger <intagger@gmail.com>
2015-12-06i18n: sync translationsHannu Nyman
Sync translations. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-12-04Merge pull request #461 from marcel-sch/patch-1Jo-Philipp Wich
package/community-profiles: add freifunk cottbus profile
2015-12-03Merge pull request #559 from Arnie97/add-openvpn-protoJo-Philipp Wich
luci-app-openvpn: Add udp6 and tcp6 to proto
2015-12-03luci-app-openvpn: Add udp6 and tcp6 to protoArnie97
Signed-off-by: Yifeng Zhang <arnie97@gmail.com>
2015-12-02Merge pull request #565 from yousong/l2tp-serverJo-Philipp Wich
Allow host:port value for l2tp `server` option
2015-12-02luci-proto-ppp: l2tp: allow specifying port in "server" optionYousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2015-12-02luci-base: fix escaping lua string to js reprYousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2015-12-02luci-base: add hostport and ipaddrport validation typesJo-Philipp Wich
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-02Merge pull request #561 from cshore/pull-request-fstab-improvementsJo-Philipp Wich
Pull request fstab improvements
2015-12-02luci-base: Add function for shell single-quote parameter escapingDaniel Dickinson
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-02luci-mod-admin-full: fstab: Add ability to redo the detection of block devicesDaniel Dickinson
Adds a button that does block detect and write the new configuration to /etc/config/fstab.
2015-12-02luci-mod-admin-full: fstab: Add ability to set global options like anonymous ↵Daniel Dickinson
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-02luci-mod-admin-full: Don't show jail bind mountsDaniel Dickinson
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-02luci-mod-admin-full: fstab: Add ability to unmount non-system mountsDaniel Dickinson
Add an unmount button for non-system mounts which will unmount the corresponding file system.
2015-11-30luci-app-openvpn: add route_nopull (#560)Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-26Merge pull request #534 from yousong/add-luci-proto-ppposshJo-Philipp Wich
Add luci proto pppossh
2015-11-26luci-mod-admin-full: limit SSID to 32 characters (#558)Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-21luci-mod-admin-full: fix script regression after ↵Jo-Philipp Wich
152ba9ab228ad4ea4c1748f29fe4ffa5f8f74ac6 Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-21luci-base: use board.json to infer switch netdevJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-21luci-base: switch to luci-lib-jsoncJo-Philipp Wich
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-20luci-mod-admin-full: make mirror port settings depend on mirror enableJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-20Merge pull request #554 from bittorf/better_neigh.shHannu Nyman
freifunk-common: neigh.sh - show hostnames
2015-11-20freifunk-common: neigh.sh - show hostnamesBastian Bittorf
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-19luci-mod-admin-full: revert accidential button type change in ↵Jo-Philipp Wich
20fdac1ac4a126ceebde13fb627a9f88bba0e2b3 Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-18update profilemarcel-sch
2015-11-18contrib/package/freifunk-policyrouting: remove rc.d symlinkManuel Munz
2015-11-17luci-mod-admin-full: allow empty mac in interface statusJo-Philipp Wich
Also adjust for changed IP address format emitted by iface_status call. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-17luci-mod-admin-full: use :ipaddrs() and :ip6addrs() helper for iface_statusJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-17luci-base: eliminate use of uci state vars in luci.model.networkJo-Philipp Wich
Also implement :ipaddrs() and :ip6addrs() helper for network instances. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-16luci-mod-admin-full: prevent submit with interface delete button (#549)Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-16luci-base: fix uci documentation issue (#538)Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-15Merge pull request #548 from chris5560/masterChristian Schoenebeck
luci-app-ddns: rollup to 2.3.0 to reflect changes on ddns-scripts
2015-11-15luci-app-ddns: rollup to 2.3.0 to reflect changes on ddns-scriptsChristian Schoenebeck
- 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-11Merge pull request #396 from fanthos/masterJo-Philipp Wich
luci-app-qos: Add custom QOS classes to luci dropdown list
2015-11-11Merge pull request #535 from saik0/redirect-root-if-empty-signedJo-Philipp Wich
Redirect to root on empty path (signed off)
2015-11-09Merge pull request #545 from chris5560/masterChristian Schoenebeck
luci-app-radicale: remove map.title hack
2015-11-09luci-app-radicale: remove map.title hackChristian Schoenebeck
remove map.title hack; no longer needed Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-11-09Merge pull request #544 from chris5560/masterChristian Schoenebeck
luci-app-privoxy: remove map.title hack
2015-11-09luci-app-privoxy: remove map.title hackChristian Schoenebeck
remove map.title hack; no longer needed Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-11-06Merge pull request #542 from eamars/masterHannu Nyman
Fix a typo mistake in UI string (mount/fstab extroot advice)
2015-11-06fix a typo error in command script shown to usersRan Bao
Signed-off-by: Ran Bao <worksev@gmail.com>
2015-11-05luci-mod-admin-full: limit interface name length to 15 charsHannu Nyman
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-03Redirect to root on empty pathJoel Pedraza
* 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-03luci-proto-ppp: add support for ppposshYousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2015-11-03luci-base: add support for DynamicList with FileBrowserYousong Zhou
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>