summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-opkg/htdocs/luci-static
AgeCommit message (Collapse)Author
2023-01-10luci-app-opkg: fix bottom pagerJo-Philipp Wich
Fixes: #6007, #6156 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-09-30luci-app-opkg: relax dependency parsingJo-Philipp Wich
Align depdendency parse logic with opkg to properly process certain malformed dependency specifications. In particular do not require a depdendency specification to end after the closing paren of a version constraint and perform non-greedy matching in order to extract the first version constraint only. Fixes: #5997 Ref: https://forum.openwrt.org/t/x/138328 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-08-01luci-app-opkg: fix parsing dependency version constraintsJo-Philipp Wich
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>
2022-08-01luci-app-opkg: various improvementsJo-Philipp Wich
- 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>
2022-06-03luci-app-opkg: fix parsing package dependencies with version constraintsJo-Philipp Wich
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>
2022-02-12luci-app-opkg: listen to filter `input` eventKid Dong
Signed-off-by: Kid Dong <44045911+kidonng@users.noreply.github.com>
2021-11-08luci-app-opkg: fix filter reset link actionJo-Philipp Wich
Fixes: #5497 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-03-20luci-app-opkg: fix parsing empty package repository indexesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-11-27treewide: transition div tables to actual table markupJo-Philipp Wich
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>
2020-04-16luci-app-opkg: disable action buttons on insufficient ACLsJo-Philipp Wich
Also flush menu cache after opkg actions. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-03treewide: import utility classes explicitlyJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23luci-app-opkg: rework markup and CSS classes for easier stylingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-03luci-app-opkg: rework backend operationsJo-Philipp Wich
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>
2020-02-24luci-app-opkg: full convert to client side actionsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-23luci-app-opkg: gracefully handle empty config filesJo-Philipp Wich
Fixes: #3668 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-01luci-app-opkg: add ipk upload featureRichard Yu
Signed-off-by: Richard Yu <yurichard3839@gmail.com> [fix duplicate upload errors, remove temporary file, tweak style] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-06-25luci-app-opkg: change remove button caption (first level)Dirk Brenken
* add three dots to the first level 'Remove' button caption (revert/fix da8668a) Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-06-19luci-app-opkg: make overwriting package files optionalJo-Philipp Wich
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>
2019-06-19luci-app-opkg: change remove button captionJo-Philipp Wich
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>
2019-06-19luci-app-opkg: honor installed flag to skip half-installed packagesJo-Philipp Wich
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>
2019-01-04luci-app-opkg: only show packages with higher version in upgrade tabJo-Philipp Wich
Fixes #2422. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22luci-app-opkg: allow presetting filter via query attributeJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22luci-app-opkg: move JS code into external fileJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>