summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2018-06-25luci-mod-admin-full: fix average traffic calculation in realtime bandwidthJo-Philipp Wich
Fixes #1908. Suggested-by: "mgalyean" Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-25luci-mod-admin-full: fix initializing realtime graphsJo-Philipp Wich
Commit 69782ccbc ("luci-base: xhr.js: defer starting poll queue") changed the way XHR poll queues are started which broke the timing on the realtime graph pages. Fix the problem by manually starting the poller after registering the request handlers. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-25luci-base, luci-mod-admin-full: unify wifi assoclist codeJo-Philipp Wich
Merge the assoclist code of the status overview and wireless overview pages into a single shared partial template. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-25luci-mod-admin-full: replace status page legend tags with h3 (#1907)Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-25Merge pull request #1895 from jow-/masterJo-Philipp Wich
Responsive OpenWrt theme
2018-06-23luci-app-shadowsocks-libev: cleanup section add markupJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-23luci-mod-admin-full: packages: display available packages by defaultJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-23luci-app-travelmate: consolidate markupJo-Philipp Wich
Rework the various application view templates to properly render with the latest responsive design changes. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-23luci-app-upnp: rework lease status indicatorJo-Philipp Wich
Turn the dynamic lease status table into responsive table by using the cbi_update_table() helper in conjunction with title annotation attributes. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-23luci-app-firewall: cleanup template markupJo-Philipp Wich
Rework the cbi section add template markup to properly render with the latest responsive design changes. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-23luci-mod-admin-full: cleanup markupJo-Philipp Wich
Globally cleanup template markup to support responsive design changes in OpenWrt theme. Rework handling of dynamic status tables, consolidate hand-written markup, fix small render bugs in various places and annotate tables where needed. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-23luci-theme-material: align CSS with markup changesJo-Philipp Wich
Add the bare minimum of changes to make the theme render correctly with the latest markup, requires further refinement and tuning in the future. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-23luci-theme-bootstrap: align CSS with markup changesJo-Philipp Wich
Add changes to make the theme render correctly with the latest markup, requires further refinement and tuning in the future. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-23luci-theme-openwrt: rework and polish OpenWrt themeJo-Philipp Wich
- polish styling - move main menu to the left for large resolutions and collapse into dropdown header bar for small mobile resolutions - make tables responsive by utilizing extra attributes to turn rows into wrappable flexboxes for low resolutions - mostly get rid of button icon references and use a uniform color scheme for action-, positive, negative and neutral buttons Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-23luci-base: globally cleanup markupJo-Philipp Wich
- add responsive attributes to partial cbi templates - unify and fix button style classes - fix styling of sysauth dialog - rework firewall_zoneforwards widget Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-23Merge pull request #1905 from ldir-EDB0/bcp38Jo-Philipp Wich
luci-app=bcp38: improve interface selection dropdown
2018-06-23luci-app-bcp38: improve interface selection dropdownKevin Darbyshire-Bryant
Certain types of interface were excluded from bcp38's concept of upstream wan interface e.g. pppoa-wan Shamelessly copies the interface list generation from luci-app-sqm which solved exactly the same problem and gives additional clues by displaying the firewall zone (typically wan/lan etc) Run-tested-on: DGN3500 Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2018-06-22luci-base: cbi.js: add tooltip handling and responsive table helper codeJo-Philipp Wich
- make findParent() globally available - add code for initializing rich cbi tooltips - introduce cbi_update_table() helper to auto-assign responsive attributes to table markup Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-22luci-app-firewall: update cbi modelsJo-Philipp Wich
- allow multiple src/dest ips for rules (#1637) - restrict ICMP type list to ICMP protocol - add section title callbacks - remove size annotations - fix validation error with aliased zone fields (#1882) Fixes #1637, #1882. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-22luci-base: xhr.js: defer starting poll queueJo-Philipp Wich
Defer the start of the queue poll loop until the document has been loaded. This allows all XHR.poll() invocations on the page to register their handlers before the first batch of requests is made. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-18Merge pull request #1894 from YuriPet/patch-2Hannu Nyman
luci-app-firewall: update Ukrainian translation
2018-06-18luci-app-firewall: update Ukrainian translationYurii
Updated with the latest synchronization of the translation.
2018-06-18Merge pull request #1891 from YuriPet/masterHannu Nyman
Correcting native name Ukrainian language & update Ukrainian translation
2018-06-18Merge pull request #1892 from musashino205/l10n/fw-upd-jaHannu Nyman
luci-app-firewall: update Japanese translation
2018-06-18luci-app-firewall: update Japanese translationINAGAKI Hiroshi
Updated japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-06-18luci-app-firewall: sync translationsINAGAKI Hiroshi
Synchronized translations with sources. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-06-17luci-base: update Ukrainian translationYurii
2018-06-17luci-app-firewall: update Ukrainian translationYurii
2018-06-17luci-app-upnp: update Ukrainian translationYurii
2018-06-17luci.mk: Correcting native name Ukrainian language.Yurii
2018-06-17Merge pull request #1889 from Ansuel/lucnginxHannu Nyman
luci-nginx: add nginx support file
2018-06-17luci-nginx: add nginx support fileAnsuel Smith
This adds nginx-mod-luci as a dependency of this package. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-17Merge pull request #1886 from musashino205/l10n/fix-syntax-ukHannu Nyman
i18n: fix syntax errors in Ukrainian po
2018-06-16i18n: fix syntax errors in Ukrainian poINAGAKI Hiroshi
"Content-Type: text/plain; charset=UTF-8" was wrote twice in each of base.po and firewall.po, and one was an incorrect place which was the cause of the errors. And, The escape in abbr HTML tag was incorrect, so I fixed it. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-06-12Merge pull request #1862 from Ansuel/lucidepHannu Nyman
luci-nginx: add nginx metapackages
2018-06-12Merge pull request #1879 from sotux/master_zh_CNHannu Nyman
luci-app-firewall: zh_CN: change better translation for offloading
2018-06-12luci-app-firewall: zh_CN: change better translation for offloadingZheng Qian
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-06-11luci-nginx: add nginx metapackagesAnsuel Smith
Create a metapackage with nginx as default webserver instead of uhttpd Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-11Merge pull request #1877 from Ansuel/ddnsipkgHannu Nyman
luci-app-ddns: use standard pkg info function
2018-06-11Merge pull request #1876 from ldir-EDB0/wgurlHannu Nyman
wireguard: update wireguard url
2018-06-11luci-app-ddns: use standard pkg info functionAnsuel Smith
DDns script call another sh script to check ddns-scripts version. We can use the quicker IPKG.info function instead of execute another slow command. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-11wireguard: update wireguard urlKevin Darbyshire-Bryant
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2018-06-11luci-app-firewall: Fix typo in forwards redirectKristian Evensen
When creating a forwarding rule with protocol set to other, a user is forwarded to the configuration page. The URL for the configuration page contained a typo - the user was forwarded to admin/network/firewall/redirect/cfg... and not admin/network/firewall/forwards/cfg..., leading to a 404. Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
2018-06-10Merge pull request #1875 from YuriPet/masterHannu Nyman
luci-base & luci-app-firewall: update Ukrainian translation
2018-06-10luci-app-firewall: disable port fields when protocol is not TCP or UDPTom Hodder
It's currently possible to generate nonsensical firewall rules by inputting combinations which include: i) protocols other than UDP/TCP ii) source and destination ports. There is some discussion of the issue on the forum here and the issue is here; #1850. This patch makes fields like src_port and dest_port depend on protocol being tcp, udp or "tcp udp" in the input, forwarding and source NAT forms. Signed-off-by: Tom Hodder <tom@limepepper.co.uk> [reword commit message, squash commits] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-10luci-app-firewall: update Ukrainian translationYurii
Updated Ukrainian translations. Signed-off-by: Yurii yuripet@gmail.com
2018-06-10luci-base: update Ukrainian translationYurii
Updated Polish translations. Signed-off-by: Yurii <yuripet@gmail.com>
2018-06-10Merge pull request #1874 from Rixerx/masterHannu Nyman
luci-base: update Polish translation
2018-06-10luci-base: update Polish translationKrystian Kozak
Updated Polish translations. Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
2018-06-09Merge pull request #1868 from sotux/master-zh_CNHannu Nyman
Update Simplified Chinese translation