aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/App
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #38524 from nextcloud/chore/app/clear-unused-cache-keyArthur Schiwon2023-06-051-2/+0
|\ | | | | chore(app): Do not clear unused cache key
| * chore(app): Do not clear unused cache keyChristoph Wurst2023-05-301-2/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Refactors "strpos" calls in lib/private to improve code readability.Faraz Samapoor2023-05-153-3/+3
|/ | | | Signed-off-by: Faraz Samapoor <fsamapoor@gmail.com>
* Use typed version of IConfig::getSystemValue as much as possibleCôme Chilliet2023-04-052-8/+8
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add label for logo linkChristopher Ng2023-03-291-0/+24
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Small cleanups for AppManagerCôme Chilliet2023-03-201-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Move loadApps to the AppManagerCôme Chilliet2023-03-201-0/+49
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Move isType to AppManagerCôme Chilliet2023-03-201-1/+38
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Avoid calling Server::get more times than necessary in loadAppCôme Chilliet2023-03-201-29/+45
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Strong type private properties and methods in AppManagerCôme Chilliet2023-03-201-43/+17
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Switch away from Server::get for AppManager and logger in loadAppCôme Chilliet2023-03-201-8/+8
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Move loadApp function to the AppManagerCôme Chilliet2023-03-201-0/+139
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Introduced app enable/disable/update typed eventsThomas Citharel2023-03-131-9/+20
| | | | | | OCP\App\ManagerEvent is depreciated since 22 without a replacement Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* fix(appinfo): navigation type is optionalJoas Schilling2023-02-031-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow settings navigation items with no route entryChristopher Ng2023-02-021-0/+4
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* composer run cs:fixCôme Chilliet2023-01-209-18/+9
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Suppress false-positives from psalm, waiting for fix upstreamCôme Chilliet2022-11-071-0/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Avoid a crash when a PHP extension has no versionCôme Chilliet2022-11-031-1/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* remove getDefaultInstallationBundleArthur Schiwon2022-09-221-23/+4
| | | | | | - because all apps are shipped now it was returning an empty result Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* remove Core BundleArthur Schiwon2022-09-222-43/+0
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* set defaultEnabled in shipped.jsonMaxence Lange2022-09-151-2/+20
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Move findBinaryFinder and isFunctionEnabled away from OC_HelperCarl Schwan2022-08-231-3/+3
| | | | | | | | | | | | findBinaryFinder is now a service that is still private but with some minor optimization (remove the hasKey check). isFunctionEnabled is now in OCP\Util Both function are still keep but all internal usage in nextcloud/server were migrated to the new usage, so that we can remove it in 26 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix typos in lib/private subdirectoryluz paz2022-07-271-1/+1
| | | | | | Found via `codespell -q 3 -S l10n -L jus ./lib/private` Signed-off-by: luz paz <luzpaz@github.com>
* Merge pull request #30030 from nextcloud/fexistsVincent Petry2022-07-261-2/+2
|\ | | | | Fix disabled `php_uname`
| * Fix #30003acsfer2022-06-211-2/+2
| | | | | | Fix #30003
* | composer run cs:fixCôme Chilliet2022-06-211-1/+0
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Fix PHP 8.2 warnings about undeclared propertiesCôme Chilliet2022-06-212-41/+17
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Also allow pre-releases and nightlies when installing from gitJoas Schilling2022-03-101-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Similar to the fetch() method respect the channel in the get()Joas Schilling2022-03-101-1/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove iconv from dependencies and testsMichaIng2021-11-301-4/+0
| | | | | | which is not used anymore since: https://github.com/nextcloud/server/pull/29470 Signed-off-by: MichaIng <micha@dietpi.com>
* Fix updating with appsJoas Schilling2021-11-111-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix appstoreenabled check in Fetcher so it's coherent with AppSettingsControllerJulien Veyssier2021-10-181-2/+2
| | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* Send the subscription key to the appstore requestsJohn Molakvoæ2021-10-143-5/+22
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Merge pull request #29135 from nextcloud/feat/appstore-filteringJoas Schilling2021-10-141-2/+24
|\ | | | | Allow to filter apps from the appstore
| * Fix variableJohn Molakvoæ2021-10-131-5/+5
| | | | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
| * Allow to whitelist apps from the apsptoreJohn Molakvoæ2021-10-131-2/+24
| | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | Keep group restrictions when reenabling apps after an updateJoas Schilling2021-10-131-1/+5
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add admin privilege delegation for admin settingsCarl Schwan2021-09-291-1/+1
| | | | | | | This makes it possible for selected groups to access some settings pages. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix typing error in AppFetcher.phpLouis Chemineau2021-06-211-1/+3
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Merge pull request #27098 from nextcloud/fix/noid/missing-key-in-addInfoJohn Molakvoæ2021-06-161-1/+1
|\ | | | | force 'name' key in array
| * force 'name' key in arrayMaxence Lange2021-05-251-1/+1
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0419-39/+20
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix PHP CSJoas Schilling2021-04-271-1/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Less ILoggerJoas Schilling2021-04-274-44/+20
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix warning in AppFetcher.php when appstore is disabledJakub Onderka2021-03-101-0/+4
| | | | Signed-off-by: Jakub Onderka <ahoj@jakubonderka.cz>
* Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-181-1/+1
| | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make the app code checker a NOOPChristoph Wurst2021-02-1112-1559/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix app fetcher php comparison to allow wider rangesChristoph Wurst2021-01-261-10/+15
| | | | | | | | | | | When app app specifies php 7.4 as upper limit we have to allow the installation on php>7.4.0. The previous version check didn't do that. This adjusts the regexes to discard any irrelevant suffix after the three version numbers so that we can use more fine granular checks than php's version_compare can do out of the box, like for php 7.4 we only compare the major and minor version numbers and ignore the patch level. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Revert "Fix comparison of PHP versions"Christoph Wurst2021-01-261-2/+2
| | | | This reverts commit bedd9acf7874b836bef224989c2ce7f5e3b0a2fa.
* Fix comparison of PHP versionsDamien Goutte-Gattat2021-01-141-2/+2
| | | | | | | | | | | Use the builtin function `version_compare` to check an app's compatibility with the available PHP version, instead of reusing the `OC\App\CompareVersion::isCompatible` method which is intended to compare Nextcloud versions. PHP version strings do not always necessarily follow the simple Major.Minor.Patch format used by Nextcloud and therefore cannot be properly compared by that method. Signed-off-by: Damien Goutte-Gattat <dgouttegattat@incenp.org>