Age | Commit message (Collapse) | Author |
|
- 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>
|
|
- 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>
|
|
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>
|
|
luci-app-firewall: update Ukrainian translation
|
|
Updated with the latest synchronization of the translation.
|
|
Correcting native name Ukrainian language & update Ukrainian translation
|
|
luci-app-firewall: update Japanese translation
|
|
Updated japanese translations.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
Synchronized translations with sources.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
|
|
|
|
|
|
|
|
luci-nginx: add nginx support file
|
|
This adds nginx-mod-luci as a dependency of this package.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
|
|
i18n: fix syntax errors in Ukrainian po
|
|
"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>
|
|
luci-nginx: add nginx metapackages
|
|
luci-app-firewall: zh_CN: change better translation for offloading
|
|
Signed-off-by: Zheng Qian <sotux82@gmail.com>
|
|
Create a metapackage with nginx as default webserver instead of uhttpd
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
|
|
luci-app-ddns: use standard pkg info function
|
|
wireguard: update wireguard url
|
|
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>
|
|
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
|
|
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>
|
|
luci-base & luci-app-firewall: update Ukrainian translation
|
|
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>
|
|
Updated Ukrainian translations.
Signed-off-by: Yurii yuripet@gmail.com
|
|
Updated Polish translations.
Signed-off-by: Yurii <yuripet@gmail.com>
|
|
luci-base: update Polish translation
|
|
Updated Polish translations.
Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
|
|
Update Simplified Chinese translation
|
|
Signed-off-by: Zheng Qian <sotux82@gmail.com>
|
|
Signed-off-by: Zheng Qian <sotux82@gmail.com>
|
|
Along with 74be6f397
("treewide: switch firewall zone, network and iface lists to dropdown code"),
this change allows luci-app-firewall to recognize OUTPUT rules.
Fixes #1457.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Merge two italian translations suggested in #1870 and add back two missing
dots accidentially removed from the translations in a previous commit.
Fixes: 588c8618b ("luci-mod-admin-full: fix translation interpolation in JS confirm() calls")
Suggested-by: Ansuel Smith <ansuelsmth@gmail.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Use luci.http.write_json() in conjunction with translate() to write out
unescaped translation strings in a manner suitable for interpolation inside
JavaScript.
Fixes #1870
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Also switch one usage of raw '<%_ ... %>' interpolation to '<%: ... %>' in
order to avoid issues with translations using apostrophes.
Globally resnyc translations after the fix.
Fixes #1866.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Zheng Qian <sotux82@gmail.com>
|
|
luci-app-adblock: partly revert last commit
|
|
* use now CSS for non breaking spaces in div table header
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
Also switch the weekday and monthday lists in the firewall rule details to
cbi dropdowns, vastly uncluttering the form.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
This commit introduces the required code for a new, markup based dropdown
widget which can be used as a styleable alternative to select boxes or
radio/checkbox button groups.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
AbstractValue descendants may now specify a new optional property `alias`
which refers to a uci option to read/write/remove that differs from the
option name itself.
This is mainly useful for widgets that are toggled based on dependencies,
e.g. for alternating between SingleValue and MultiValue, but which are
intented to write into the same uci option.
Such a setup was previously possible already by overriding the .cfgvalue(),
.write() and .remove() callbacks with custom implementations, but that
required a lot of boiler plate code and was rather fragile.
With the `alias` property, CBI now takes care of the details and tracks
aliased fields within a section accordingly.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
luci-app-adblock: sync with adblock 3.5.3
|
|
luci-app-ddns: fix div conversion
|
|
This fix some error from conversion of #1854
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
|
|
luci-app-ddns: Convert HTML tables to div
|
|
* small fixes & cosmetics
Signed-off-by: Dirk Brenken <dev@brenken.org>
|