summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-opkg/htdocs
AgeCommit message (Collapse)Author
2024-03-16luci-app-opkg: add warning about modifying packagesDaniel Nilsson
It is a well-known fact that opkg doesn't check ABI-compatibility between dependencies and upgrading packages in a stable release is therefore not recommended. In addition, installing and removing packages blindly may result in rendering the device inaccessible as well, so caution should be taken when doing this. This commit adds a warning which should help notify especially new users about these behaviors with a link to the wiki which advises to not upgrade packages. Signed-off-by: Daniel Nilsson <daniel.nilsson94@outlook.com>
2024-02-10luci-app-opkg: show disk space consistent with overviewStan Grishin
* Show Disk space graph consistent with the Status->Overview page * Brought up in https://forum.openwrt.org/t/software-space-is-going-to-full/187112 * Leading whitespaces reformatted by vscode * Localizable disk space progress bar title * Kudos to https://forum.openwrt.org/u/psherman for coming up with final design Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-11-07luci-app-opkg: fix sorting by size columnJo-Philipp Wich
Fixes: #6120 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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>