Revert an acidentally changed regex pattern breaking parsing of certain
version dependency expressions.
Fixes: ac47bc9dd7 ("luci-app-opkg: various improvements")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
- Add additional filter option to hide translation packages
- Add pager to top and bottom of package list (fixes#5671)
- Add option to automatically install related translations along with
LuCI packages
- Add option to automatically install translations for all installed
LuCI packages when installing a new language base package
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Due to improper ordering of regexp alternatives, version constraint operators
might get undermatched.
Fixes: https://github.com/openwrt/openwrt/issues/9982
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Modern browsers allow decomposing table markup equally well as nested div
constructs, therefor migrate our <div> table markup to actual <table> tags
but keep the old table/tr/th/td CSS classes for now to allow for a smooth
theme transition.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Introduce a new /usr/libexec/opkg-call helper and invoke it via cgi-io
instead of ubus. This is required to be able to reload rpcd without
timing out currently running opkg ubus calls.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Add three dots to the first level 'Remove' button caption, because it
leads to a modal dialogue.
Ref: #2775
Signed-off-by: Dirk Brenken <dev@brenken.org>
[split into multiple commits, sync translations]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Do not consider half-installed packages (which happens after an
installation failure) to be installed.
Ref: https://github.com/openwrt/luci/pull/2775
Signed-off-by: Dirk Brenken <dev@brenken.org>
[split into multiple commits, refactored code, use local variables]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>