summaryrefslogtreecommitdiffhomepage
path: root/modules
AgeCommit message (Collapse)Author
2016-10-08luci-mod-admin-full: routes: add support for route typesAndrew Shadura
Allow specifying route types. Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk>
2016-10-06luci-base: remove default diag host from /etc/config/luciJo-Philipp Wich
Now that luci-mod-admin-full figures out the proper diagnostics host during postinstall we can remove the UCI section from the default configuration file. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-10-06luci-mod-admin-full: figure out diagnostics host in postinstallJo-Philipp Wich
Attempt to infer the default diagnostics host for nslookup / ping / traceroute from the various URLs in /etc/os-release. Fall back to "openwrt.org" if no host is found to preserve backwards compatibility. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-10-05Revert "luci-base: use default install paths for host utils"Jo-Philipp Wich
This reverts commit 87a7570690f7aeffb1aff01f320973c9acb668d3. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-10-05Revert "luci-base: fix luci-base host tool install on OpenWrt"Jo-Philipp Wich
This reverts commit f7639bcd6a2caf7cc0f03e85744906c577eefeab. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-10-04luci-base: fix luci-base host tool install on OpenWrtMatthias Schiffer
OpenWrt doesn't provide an argument to Host/Install like LEDE does; use HOST_BUILD_PREFIX instead, which is available on both. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2016-10-03luci-base: use default install paths for host utilsMatthias Schiffer
Also, don't make any assumptions about the staging dir lua and LuaSrcDiet were installed to. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2016-08-25Merge pull request #782 from Ansuel/masterHannu Nyman
Fix some capital and add some translation
2016-08-24Fix some capital and add some translationBuildTools
Hope this time I have done a good work
2016-08-24i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-08-24luci-mod-admin-full: tweak checksum item presentationHannu Nyman
Simplify the sysupgrade image checksum strings in order to avoid translating "Checksum xxx" items both for MD5 and SHA256. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-08-24Revert "Fix and update italian translation"Jo-Philipp Wich
This reverts commit 66d5023891ee948480042e7e0af81b5fc3e3b53e since the original change was apparently untested. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-23Fix and update italian translationAnsuel
I have fixed some capital letter and add some translation
2016-08-19luci-mod-admin-full: show also sha256 checksum for sysupgrade imagesHannu Nyman
Show also the sha256 checksum in addition to MD5 checksum to enable image verification also for builds with only sha256 checksums. If the 'sha256sum' command is not present in the system, the value remains empty. Note: The easiest way to get the 'sha256sum' command is to compile it into busybox. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-08-18luci-mod-admin-full: properly skip over unused switch portsJo-Philipp Wich
Fix incomplete port status display on vlan setup page when ports in the middle are not used, e.g. some Lantiq boards use ports 0, 1, 2 and 4 for LAN ports so JS code should not attempt to reference an undefined status element for port 3. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-18luci-mod-admin-full: fallback to generic switch topologyJo-Philipp Wich
Use a generic default topology if we cannot infer switch information from board.json and display an error message in this case. Should fix #779 and similar issues. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-18luci-base: properly style login alert messageJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-16i18n: sync translations, fix sv for adblockHannu Nyman
Sync translations. Fix the newly added sv translation for adblock. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-08-15luci-mod-admin-full: use switch toplogy information for vlan setupJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-15luci-base: support reading switch topology from /etc/board.jsonJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-04luci-base: cbi.js: handle undefined arguments in formattingJo-Philipp Wich
Fix the JavaScript String.format() to not trigger an exception if the argument for an escaped format like %h or %q is undefined. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-04luci-mod-admin-full: status page formatting fixJo-Philipp Wich
Display a question mark for undefined SSID and BSSID strings. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-04luci-base: fix handling of monitor ifacesJo-Philipp Wich
Wireless monitor interfaces usually have no SSID set in their config and various network model utility functions did not handle this case properly, mainly while trying to incorperate the SSID string into various description labels. Fall back to the internal network id (radioX.networkY) in cases where neither the SSID nor the BSSID are available. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-04luci-base: improve string format error reportingJo-Philipp Wich
In mod metamethod, execute string format under pcall() and rethrow error in caller context to report caller of function in errors and not the meta method itself. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-07-31luci-mod-admin-full: fix net diagnostics with missing configJo-Philipp Wich
Gracefully handle a missing diag section in /etc/config/luci when rendering the network diagnostics tool page. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-07-29luci-mod-admin-full: make diagnostics url customizableFlorian Eckert
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
2016-07-08Merge pull request #743 from HenryGiraldo/masterJo-Philipp Wich
Closes #741: Can't delete disabled wireless networks
2016-06-30luci-mod-admin-full: add log_file and log_proto supportJohn Crispin
Signed-off-by: John Crispin <john@phrozen.org> [Jo-Philipp Wich: remove file datatype constraint] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-06-16Closes #741: Can't delete disabled wireless networksEnrique Giraldo
When a wireless network is disabled it can't be removed. From wifi_overview.htm the delete call is generated as wlan0, wlan1 or whatever. This wlan is not working because it is disabled, then LuCI deletes the virtual radio which really is named as wlan0.
2016-06-10luci-mod-freifunk: Fix "Undefined reference to net.iwdata" Guido L
This PR fixes an Internal Server Error when requesting the Wireless Informations in luci-mod-freifunk. It checks an unindexed value "net.iwdata". ``` /usr/lib/lua/luci/dispatcher.lua:460: Failed to execute template dispatcher target for entry '/freifunk/status'. The called action terminated with an exception: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'freifunk/public_status'. A runtime error occured: [string "/usr/lib/lua/luci/view/freifunk/public_stat..."]:116: attempt to index field 'iwdata' (a nil value) stack traceback: [C]: in function 'assert' /usr/lib/lua/luci/dispatcher.lua:460: in function 'dispatch' /usr/lib/lua/luci/dispatcher.lua:141: in function... ``` signed-off.by: Guido Lipke <lipkegu@gmail.com>
2016-06-09luci-base: cleanup translationsHannu Nyman
Cleanup the .po files by removing the archived old translation strings. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-06-09i18n: sync translationsHannu Nyman
sync translations Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-06-09luci-mod-admin-full/mini: replace Wifi with Wireless in menusHannu Nyman
Replace the menu item "Wifi" by "Wireless", which is already used for page and section headings This closes #695 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-06-03luci-base: fix lua interpreter locationKevin Darbyshire-Bryant
An lua interpreter is required on the building host to run the luasrcdiet lua script. Due to a build change, the interpreter was not being installed to the correct location. Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
2016-06-03luci-base: fix whitespaceHannu Nyman
change spaces to tabs Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-05-30i18n: sync translationsHannu Nyman
sync translations. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-05-25luci-base: remove deprecated 6relayd from ucitrackHannu Nyman
Cleanup /etc/config/ucitrack by removing '6relayd' item, as the whole 6relayd package was removed in 2014. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-05-23luci-mod-admin-full: Look also if the file /etc/config/fstab exists.Guido Lipke
This pull request adds a condition, which checks whether the file "/etc/config/fstab" exists before it allows access to "mount points". Signed-off-by: Guido Lipke <lipkegu@gmail.com>
2016-05-14luci-base:Turn off pattern matching when generating distversionChuanhong Guo
Otherwize the distrevision may be displayed twice if it contains some special matching patterns.(For example I am using "git-$hash" in my own OpenWrt branch.) Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2016-05-10Merge pull request #707 from ↵Hannu Nyman
SvenRoederer/fix/freifunk-communitysetting-selection/master luci-mod-freifunk: fix lookup of community-name
2016-05-02Merge pull request #703 from t0t3m1n/fix_snrHannu Nyman
luci-mod-admin-full: fix wrong dsl stats visualization
2016-05-01luci-mod-admin-full: dnsmasq options quietdhcp and sequential_ipHannu Nyman
Add support for dnsmasq uci options 'quietdhcp' and 'sequential_ip' (disable logging, allocate ip addresses sequentially) Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-05-01i18n: sync translationsHannu Nyman
Sync translations Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-04-28luci-mod-freifunk: fix lookup of community-nameSven Roederer
restore the lookup of the freifunk community-name stored in uci "freifunk.community.name". In https://github.com/openwrt/luci/commit/9780ee382e72f8a5fb69e337a3fcc51fc0914883 the value changed to the complete path of the community-profile, e.g. "/etc/config/profile_berlin". This causes lookup problems on other pages, like "mod-freifunk -> overview -> index" (view/freifunk/index.htm line37, line 54). And as the option suggests it's the community-name not the community-profile path. Signed-off-by: Sven Roederer devel-sven@geroedel.de
2016-04-26luci-base: fix syntax error in luci.model.networkJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-04-26luci-base: add more ignore patterns to luci.model.networkJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-04-26luci-base: fix luci.model.network.ignore_interface()Jo-Philipp Wich
Fix the underlying _iface_ignore() function to not ignore virtual interfaces, in order to let ignore_interface() return true for PPP and similar devices. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-04-25Merge pull request #706 from KevinOConnor/anonidentity-20160407Manuel Munz
luci-mod-admin-full: Add option to set anonymous_identity field
2016-04-18luci-mod-admin-full: fix wrong dsl stats visualizationLuca Debernardi
This patch fixes the wrong visualization of Noise Margin (SNR) and Signal Attenuation (SATN) stats Signed-off-by: Luca Debernardi <luca.debernardi@gmail.com>
2016-04-17luci-base: read odhcpd leasefile location via uciHannu Nyman
Check the location of the odhcpd leasefile from /etc/config/dhcp via uci. Fallback to the default location. This fixes #702 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>