summaryrefslogtreecommitdiffstats
path: root/lib/private/App
Commit message (Collapse)AuthorAgeFilesLines
* feat(AppManager): Provide `getAppIcon` functionFerdinand Thiessen2024-03-071-0/+16
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Fetch custom app store url without internet connectionJulius Härtl2024-03-041-2/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix psalm errorsHamid Dehnavi2024-02-231-1/+1
| | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* Make adjustments based on the psalm reviewHamid Dehnavi2024-02-231-6/+2
| | | | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com> Co-authored-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* Fix code styleHamid Dehnavi2024-02-236-8/+1
| | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* Refactor lib/private/AppHamid Dehnavi2024-02-2310-77/+43
| | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* fix(apps): Fix type information of app managerJoas Schilling2024-01-231-6/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(appstore): Only send subscription keys to valid appstoresJoas Schilling2024-01-151-4/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-235-24/+24
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix(AppManager): Ensure that app manager can handle empty app keys on the ↵Ferdinand Thiessen2023-11-141-4/+6
| | | | | | navigation entries Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Allow to set custom app order on navigation entries added by closures ↵Ferdinand Thiessen2023-11-141-2/+3
| | | | | | to NavigationManager Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(NavigationManager): Always sort the default app firstFerdinand Thiessen2023-10-191-4/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(IAppManager): Allow to set the (user) default apps and get all global ↵Ferdinand Thiessen2023-10-191-0/+16
| | | | | | default apps Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Convert isset ternary to null coalescing operatorHamid Dehnavi2023-09-281-2/+2
| | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* Fix behavior when defaultapp is emptyCôme Chilliet2023-09-281-0/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Default to first application if no default app is setCôme Chilliet2023-09-261-1/+14
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Move AppManager events to IEventDispatcherJoas Schilling2023-07-271-7/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(apps): Fix loading info.xml fileJoas Schilling2023-07-201-3/+3
| | | | | | Ref: https://bugs.php.net/bug.php?id=62577 Signed-off-by: Joas Schilling <coding@schilljs.com>
* 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>