Commit graph

10026 commits

Author SHA1 Message Date
Florian Eckert
48f58d9e35
Merge pull request #3138 from stangri/18.06-luci-app-vpnbypass
luci-app-vpnbypass: fix dispatcher bug when VPN node is present
2019-10-02 08:24:47 +02:00
Stan Grishin
4ac8e206e4 luci-app-vpnbypass: fix dispatcher bug when VPN node is present
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-10-01 18:22:47 -07:00
Hannu Nyman
f8775ee5fe timezone data: update to 2019c
Update timezone data to 2019c

http://mm.icann.org/pipermail/tz-announce/2019-September/000057.html

2019c:
* Fiji observes DST from 2019-11-10 to 2020-01-12.
* Norfolk Island starts observing Australian-style DST.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit cf887ba62f)
2019-09-28 21:56:44 +03:00
Hannu Nyman
a79659fdda
Merge pull request #3113 from stangri/18.06-luci-app-simple-adblock
[18.06] luci-app-simple-adblock: dnsmasq.ipset option support
2019-09-24 19:30:42 +03:00
Stan Grishin
f72558b55e luci-app-simple-adblock: dnsmasq.ipset option support
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-09-24 09:17:06 -07:00
Hannu Nyman
825daeb199
Merge pull request #3045 from stangri/18.06-luci-app-vpnbypass
[18.06] luci-app-vpnbypass: better start/stop controls, create entry in the VPN menu if it exists
2019-09-20 21:01:58 +03:00
Jo-Philipp Wich
c048f23bad luci-app-firewall: fix stored XSS in rule- and forward detail pages
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 2a143f4777)
2019-09-13 13:24:14 +02:00
Jo-Philipp Wich
14d2f9b216 luci-base: html escape values in uci changes display
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 7513a4ca35)
2019-09-10 17:20:27 +02:00
Jo-Philipp Wich
ff4c722a21 luci-base, luci-mod-network: fix bridge state change quirks
Fixes: #2997
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit fe0e4f8b4d)
2019-09-10 17:20:27 +02:00
Stan Grishin
c731cc24bb luci-app-vpnbypass: better start/stop controls, create entry in the VPN menu if it exists
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-09-07 10:36:45 -07:00
Dirk Brenken
38f5f4b970
Merge pull request #3027 from stangri/18.06-luci-app-simple-adblock
[18.06] luci-app-simple-adblock: dns resolver value bugfix (#3000)
2019-08-29 15:26:13 +02:00
Stan Grishin
a631579969 luci-app-simple-adblock: dns resolver value bugfix (#3000)
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-08-29 06:21:35 -07:00
Hannu Nyman
668c820fed
Merge pull request #3015 from stangri/18.06-luci-app-advanced-reboot
[18.06] luci-app-advanced-reboot: bugfix for when network.lan.ipaddr is a table
2019-08-27 16:55:55 +03:00
Hannu Nyman
924cbef577
Merge pull request #3018 from stangri/18.06-luci-app-simple-adblock
[18.06] luci-app-simple-adblock: delete extra file
2019-08-27 16:54:53 +03:00
Stan Grishin
557988815d luci-app-simple-adblock: delete extra file
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-08-26 23:18:59 -07:00
Stan Grishin
88e87f6d2c luci-app-advanced-reboot: bugfix for when network.lan.ipaddr is a table
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-08-26 23:07:49 -07:00
Jo-Philipp Wich
7995ef34b5 luci-mod-system: prevent clearing rc.local on unrelated submit actions
Fixes: #2760
Fixes: 1c09ee5e4 ("luci-mod-system: fix SimpleForm usage on file editing pages")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 1aa13ed51e)
2019-08-21 17:50:08 +02:00
Hannu Nyman
cb54693a77
Merge pull request #2991 from stangri/18.06-luci-app-simple-adblock
[18.06] luci-app-simple-adblock: support for varios DNS resolvers/options
2019-08-18 20:14:33 +03:00
Hannu Nyman
4608d789f2
Merge pull request #2988 from stangri/18.06-luci-app-advanced-reboot
[18.06] luci-app-advanced-reboot: support for Linksys EA8300
2019-08-18 20:13:25 +03:00
Stan Grishin
0545392d50 [18.06] luci-app-simple-adblock: support for varios DNS resolvers/options
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-08-17 06:15:19 -07:00
Stan Grishin
3c25ab8f7b [18.06] luci-app-advanced-reboot: luci-app-advanced-reboot: support for Linksys EA8300
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-08-17 04:29:16 -07:00
Jo-Philipp Wich
44683453b9 protocols: fix contains_interface() implementation in several backends
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 1fc8d021ed)
2019-08-06 15:21:17 +02:00
Jo-Philipp Wich
0cbc51f297 luci-lib-ip: support specifying source address in route()
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit d73553e530)
2019-08-06 15:21:17 +02:00
Jo-Philipp Wich
89e029c59f luci-base: index.html: add extend cache-control directive
Fixes: #2942
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 1fe45a9344)
2019-08-01 15:44:52 +02:00
xiongjie
44efaf5777 luci-base: redirect root path to /cgi-bin/luci/
Fix openwrt/luci#1062
Signed-off-by: MonwF <boluo2@gmail.com>
(cherry picked from commit fd3d2b468f)
2019-08-01 15:44:51 +02:00
Jo-Philipp Wich
28ab21dd8d luci-base: handle application/json replies with charset specification
On my router, the response header Content-Type is
`application/json; charset=UTF-8` instead of `application/json`, so
almost every feature is broken.

Fixes: #2851
Suggested-by: zhanhb <6323014+zhanhb@users.noreply.github.com>
[reword commit subject]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-26 12:46:39 +02:00
Jo-Philipp Wich
a388be0f28 luci-proto-ppp: align keepalive defaults with current OpenWrt
Disabling LCP echos by *not* setting "option keepalive" was broken in
OpenWrt since https://dev.archive.openwrt.org/ticket/2373.html so setting
"0" in LuCI had the effect of reverting back to "5, 1" while the help
suggested otherwise.

Support for "keepalive 0" was fixed with https://git.openwrt.org/555c59230
so align LuCI now to emit "option keepalive 0" instead of removing the
option when entering "0" in the gui.

Fixes #2112
Signed-off-by: Jo-Philipp Wich <jo@mein.io>

(cherry picked from commit 1b2065d0be)
2019-07-19 21:04:34 +02:00
Hannu Nyman
35357e4e41
Merge pull request #2841 from stangri/18.06-luci-app-advanced-reboot
[18.06] luci-app-advanced-reboot: fix README url in Makefile
2019-07-09 18:26:54 +03:00
Stan Grishin
0dab6af45a [18.06] luci-app-advanced-reboot: fix README url in Makefile
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-07-08 12:43:38 -07:00
Anton Kikin
9c5162d596 Fix a overview page style issue for various themes
Fixed a overview page style issue with interface boxes for
bootstrap, material and rosy themes.

The issue only appears in the Chrome browser and lies in the
fact that the block with the device name and MAC address gets
out of the  interface block.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
(backported from commit 5d26fec0bf)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-08 18:24:38 +02:00
Hannu Nyman
7d8df17dfa
Merge pull request #2831 from stangri/openwrt-18.06-luci-app-advanced-reboot
[18.06] luci-app-advanced-reboot: kernel version length bugfix + add routers
2019-07-07 08:53:14 +03:00
Stan Grishin
e277f936db [18.06] luci-app-advanced-reboot: kernel version length bugfix + add routers
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-07-06 14:51:42 -07:00
Yousong Zhou
dbaae4a815 luci-base: hide autocomplete-preventing password input with bigger offset
Fixes openwrt/luci#2624

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry picked from commit 3a24c2dbaa)
2019-07-06 15:10:25 +00:00
Yousong Zhou
4235fb0125 luci-base: nowrap for password input and reveal button
Fixes openwrt/luci#2624

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry-picked from commit 609f5290c8)
2019-07-06 15:10:25 +00:00
Jo-Philipp Wich
9e3f710cac luci-base: remove fake password field from tab order
Set a negative tabindex on the dummy password field to not break the form
tab order flow.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry picked from commit 8c77975d1b)
2019-07-06 15:10:03 +00:00
Hannu Nyman
b836c15a3d
Merge pull request #2827 from stangri/openwrt-18.06-luci-app-simple-adblock
luci-app-simple-adblock: sync with the latest version of simple-adblock
2019-07-06 09:26:55 +03:00
Stan Grishin
8d88f77dc6 luci-app-simple-adblock: sync with the latest version of simple-adblock
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-07-05 08:44:03 -07:00
Hannu Nyman
cbc000bc5c timezone data: update to 2019b
Update timezone data to 2019b

http://mm.icann.org/pipermail/tz-announce/2018-December/000055.html
http://mm.icann.org/pipermail/tz/2019-July/028249.html

2019a:
* Palestine "springs forward" on 2019-03-30 instead of 2019-03-23.
* Brazil no longer observes DST.

2019b:
* Palestine's 2019 spring-forward transition was on 03-29, not 03-30.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 2f769ee087)
2019-07-05 18:03:07 +03:00
Jo-Philipp Wich
0593f93526 lucihttp: update to latest Git HEAD
a34a17d src: allow overriding buffer size from cli in multipart tester
730a46f lib: fix potentially lost bytes in boundary parsing across buffer limits
8734af2 lib: add buffer tracing to multipart parser
913051b src: add file dump option to multipart test utility
c419539 src: allow specifying custom buffer sizes in multipart testcases
f6e0564 lib: fix handling of empty multipart fields

Fixes: #2816
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 66c8ebfeff)
2019-07-05 08:28:26 +02:00
Hannu Nyman
9bab4ba393 luci-base: show niced processes on Status/Processes page
Modify the process status filter to allow also the processes
with a nice value to be visible on the Status/Processes page.

Filter out the top process itself.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 1c80eb1962)
2019-06-30 19:57:31 +03:00
Jo-Philipp Wich
4d6d8bc5b0
Merge pull request #2776 from pmelange/18x-freifunk-profiles-dns-server-update
18.06.x freifunk community-profiles: update profiles to use the new digitalcourage nameservers
2019-06-19 10:54:54 +02:00
pmelange
e84dc64f9a community-profiles: update profiles to use the new digitalcourage nameservers
The old digitalcourage nameservers 85.214.20.141 and 2a01:238:42f6:ac00:2a29:4f7f:b6d:ef46
will be retired in 2020.  The new nameservers are 46.182.19.48 and 2a02:2970:1002::18.

The change is announced https://digitalcourage.de/support/zensurfreier-dns-server

This fixes https://github.com/freifunk/openwrt-packages/issues/11

This is cherry-picked from 2c4a93e646

Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2019-06-18 12:49:37 +02:00
Hannu Nyman
1d599a7d88 treewide: fix datetype/datatype typo
Fix the "datetype" typo also in 18.06

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-06-16 18:05:09 +03:00
Jo-Philipp Wich
115c4e3751 lucihttp: fix library packaging after 0dd887883
Adjust ABI_VERSION and install recipes accordingly.

Fixes: 0dd887883 ("lucihttp: update to latest Git HEAD")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit c8e9578586)
2019-06-05 19:44:54 +02:00
Jo-Philipp Wich
9fc05682f6 luci-mod-system: fix SimpleForm usage on file editing pages
When a value identical to the stored one is submitted, the CBI framework
will not emit an option write event and therfore not store the value in
the form data dictionary passed to SimpleForm.handle().

This usage pattern usally works be accident for file editor views such
as admin_system/crontab because \r\n windows style line endings are
substituted with unix \n ones before writing the data, defeating the
equality check in CBI.

When a single line without trailing newline is submitted however, the
CBI will not see a difference to the data stored in the file and clear
out the value on subsequent saves.

This commit alignes the logic used by various SimpleForm views to
behave identically and predictable:

 - File data is handled in the SimpleForm.handle() callback
 - The forcewrite property is used to disable equality checks
 - Submission of an empty string empties the backing file

Fixes: #2737
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 1c09ee5e42)
2019-06-05 16:16:48 +02:00
Jo-Philipp Wich
0dd8878837 lucihttp: update to latest Git HEAD
f6e0564 lib: fix handling of empty multipart fields
91c01c3 lib: fix multipart state transition in boundary parsing

Fixes: #2737
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit 15608fd2e5)
2019-06-05 16:16:41 +02:00
Jo-Philipp Wich
7e9de0d25f themes: don't reset theme on package upgrades
Fixes: #2743
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit 5fd071aadb)
2019-06-03 16:53:02 +02:00
Jo-Philipp Wich
84692e5bf6 luci-mod-admin-network: fix VLAN "add" button for empty switches
Fixes OpenWrt FS#2270.

Ref: https://bugs.openwrt.org/index.php?do=details&task_id=2270
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 6b7afabcdd)
2019-05-07 08:56:03 +02:00
pmelange
b99e77d5c3 remove artifacts from de3be23883
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2019-03-20 17:02:50 +01:00
pmelange
5248d3719e freifunk profile_berlin: add default section for 802.11s
mesh_id is set to "Mesh-Freifunk-Berlin"

Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2019-03-19 01:27:20 +01:00