Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
luci-app-adblock: sync with adblock 3.5.3
|
|
This fix some error from conversion of #1854
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
|
|
* small fixes & cosmetics
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
luci-app-ddns: make param opt, optional
|
|
Currently these params should be optional but in the current script then are required for any configuration to save. We add an "optional" boolean value to the validate function so that we can make this pram optional as it should be. Also adds me as maintainer
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
|
|
luci-app-lxc: made container creation more reliable
|
|
* wait/lock "create" button until the real end of container creation,
this includes download time plus tar/gz processing time
* cosmetics
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
luci-app-ddns: improve performance
|
|
Every request directed to the ddns app call ddns tools module.
Ddns tools module have lots of global variable that call slow os.execute function. This adds 10 second to every ddns request even if the function that is requested doesn't need that global variable. This commit introduce env_info function that execute os.execute command by executing what is actually requested and not process all the variables. Also remove 2 unecessary module that are not used. More researh find that major slowdown was caused by the calling of ddns script for the version check. Now we check if opkg is present and use it to check ddns-scripts version.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
|
|
luci-app-lxc: bugfix
|
|
* fix remaining javascript errors in Chrome
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
luci-app-lxc: fix "plain-vanilla" integration, part 3
|
|
* migrate JS generated HTML tables to divs
* remove (most of) the inline styles
* various markup cleanups
That's the final part ... hopefully it's now in a more usable &
maintainable state.
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
|
|
Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
|
|
Mostly convert HTML tables to div based markup to allow for easier styling
in the future. Also change JS accessor code accordingly.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Zheng Qian <sotux82@gmail.com>
|
|
The issue existed since the first revision of the rewrite and was
exposed by commit 4024d4f (luci-base: switch to ubus uci operations)
A quick scan of the current repo indicates that these are the only sites
of wrong call pattern
Fixes openwrt/packages#6113
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
|
|
luci-app-lxc: fix "plain-vanilla" integration, part 2
|
|
I've tried to get the lxc app in a more usable state. Tested with mips
and amd64 targets.
* check /etc/config/lxc in controller, not in cbi
* more controller cleanups
* remove unused 'fork_exec' function
* check path before container creation
* check space requirements before container creation
* support new uci options 'min_space' and 'min_temp',
default for both is 100000 KB
* both options are configurable via LuCI CBI template
* write messages to log in case of an error
* validate the container name during creation,
automatically remove invalid chars
* inform the user that only a stopped container can be destroyed
* add experimental ssl support (untested, disabled by default)
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
Added Japanese translations for offloading options.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
Synchronized translations with sources.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
luci-app-firewall: expose flow offloading options
|
|
Updated Japanese translations.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
Expose options related to routing/NAT flow offloading
feature in firewall3. Offloading is available in kernel 4.14+
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
luci-app-openvpn: several fixes
|
|
luci-app-lxc: remove wrong leftover from last commit
|
|
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
luci-app-travelmate: fix url ampersand encoding
|
|
* fix ampersand encoding in wireless stations overview
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
luci-app-lxc: fix "plain-vanilla" integration
|
|
I've tried to get the lxc app in a more usable state. Tested with mips
and amd64 targets.
* fix missing tar/xz dependency,
only if LXC_BUSYBOX_OPTIONS is not selected
* mute needless gpg validation warning
* tidy up controller a little bit
* fix multiple possible dispatcher errors
* fix compatibility with XHTML standard theme (looks still horrible ;-)
* inform the user about custom kernel prerequisites
* inform the user about the template download
* inform the user if no template was found
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
Updated Japanese translations.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
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-app-adblock: respect SimpleForm size limit
|
|
* respect SimpleForm size limit of 100KB for advanced online editing
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
UCI apply/rollback workflow
|
|
luci-app-ddns: fix HTML page rendering in globals section
|
|
Signed-off-by: Helge Mader <ma@dev.tdt.de>
|