-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
luci-app-upnp: Finalise changes for OpenWrt 24.10 release #7407
luci-app-upnp: Finalise changes for OpenWrt 24.10 release #7407
Conversation
applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js
Outdated
Show resolved
Hide resolved
applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js
Outdated
Show resolved
Hide resolved
5cfe5df
to
08cffed
Compare
rebase, squash please |
Simplify the UI by removing the unimportant option |
keep it around |
Signed-off-by: Self-Hosting-Group <[email protected]>
5db970d
to
8cf41a1
Compare
Last but not least.
Any comments on this would be very welcome. |
Signed-off-by: Self-Hosting-Group <[email protected]>
8cf41a1
to
cf9dee3
Compare
Signed-off-by: Self-Hosting-Group <[email protected]>
cf9dee3
to
737751b
Compare
Signed-off-by: Self-Hosting-Group <[email protected]>
737751b
to
6c24d23
Compare
In so doing we orphan a bunch of already good i18n, with no obvious improvement. Just seems synonymous.
They're more or less synonyms. Either.
?? |
Signed-off-by: Self-Hosting-Group <[email protected]>
6c24d23
to
3d5ee2d
Compare
Signed-off-by: Self-Hosting-Group <[email protected]>
3d5ee2d
to
27e77ad
Compare
Signed-off-by: Self-Hosting-Group <[email protected]>
27e77ad
to
fbe7a35
Compare
So, you've tested these changes in situ, correct? What happens when you edit an ACL, delete one of the port fields, and press save? |
applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js
Outdated
Show resolved
Hide resolved
Signed-off-by: Self-Hosting-Group <[email protected]>
fbe7a35
to
8a7edac
Compare
8a7edac
to
a87f3ca
Compare
o.validate = function (section_id, value) { | ||
return value !== ""; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
drop
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better not. See detailed comment under point 1
applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js
Show resolved
Hide resolved
Signed-off-by: Self-Hosting-Group <[email protected]>
Signed-off-by: Self-Hosting-Group <[email protected]>
Signed-off-by: Self-Hosting-Group <[email protected]>
Since you are reviewing this PR and know what you would like to see in OpenWrt, I have added your input as a separate commit, so you can decide whether to commit it or not. Each change made by this PR is based on a clear consideration (but perhaps not clearly communicated), but as the quality of the plugin UI/wording was IMHO rather low, major changes were necessary. A comment on points 4 and 5 of the earlier comment would be very, very nice after this PR is merged. Thanks for all the reviews and sometimes it just takes longer, but the result is relevant. And I'm very happy with it. |
OK. Done I think. Rebase, squash your commits, please. |
No merge commits. Rebase on master. |
Squash: remove the |
Signed-off-by: Self-Hosting-Group <[email protected]>
426c0b9
to
b6cc5e0
Compare
Some translations were lost, I'll try to repair them. |
The strings where several important things were changed, I deliberately deleted them to start a new translation. For example, |
why did you decided that they aren't working? I checked and the option is propagated to the config https://github.com/openwrt/packages/blob/f1c69d0e6cea3dc33e3cc86e22812afb8ecb1032/net/miniupnpd/files/miniupnpd.init#L160 The config value is also still used in the miniupnpd https://github.com/miniupnp/miniupnp/blob/master/miniupnpd/miniupnpd.conf#L149 |
ok, then maybe if you have a time you may restore translations for the changed keys? I restored the |
@systemcrash
Stokito's later PR that you also merged, did not help, as the weblate was already in conflict. |
I'll get that fixed (if you didn't already) |
I have been away from my PC, so I haven't fixed it |
Fixed. Thanks for the heads-up @hnyman |
See #7435 |
Add missing protocol term in status/overview UI and shorten menu option to
UPnP IGD & PCP
, otherwise two lines, rearrange table columns, improve wording and add help texts and note upstream change miniupnp/miniupnp@9339f0eclean_ruleset_interval/threshold
UI options as not workingRequire client address and improve defaults in ACL entry UI(was not adopted)This PR completes committed changes #6863 (merged in #6975) and continues #7217 for the UPnP IGD & PCP/NAT-PMP autonomous port mapping service.
Commited in 4024dfa
Service setup UI:
Screenshot 23.05 release
Advanced settings UI:
Screenshot 23.05 release
ACL entry UI:
Status/overview UI:
The Port Control Protocol (PCP) is the successor to NAT-PMP, has similar protocol concepts and packet formats, but adds support for IPv6 port maps and options/extensions. For more information, see:
Port Mapping Protocols Overview and Comparison 2024 - About UPnP IGD & PCP/NAT-PMP
https://github.com/Self-Hosting-Group/wiki/wiki/Port-Mapping-Protocols-Overview
Maintainer: @jow-