aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/App
Commit message (Collapse)AuthorAgeFilesLines
* fix: Drop workarounds for unsupported obsolete PHP versionsCôme Chilliet2024-04-221-8/+1
| | | | | | Also improved error handling in Installer.php to be type safe. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Lazy load IURLGenerator from AppManager to avoid installation crashCôme Chilliet2024-04-221-2/+17
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Make sure that AppManager can be built before Nextcloud is installedCôme Chilliet2024-04-221-8/+20
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-022-4/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(AppStore\Fetcher): Ensure `get` returns an arrayFerdinand Thiessen2024-03-221-1/+1
| | | | | | | When fetch fails and the `data` prop contains null (e.g. `json_decode` failed), then we should return an empty array instead of null. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(AppDiscoverFetcher): Do not remove entries as expired that have no ↵Ferdinand Thiessen2024-03-191-18/+18
| | | | | | expiry date Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(settings): Cache app discover images to ensure privacy of usersFerdinand Thiessen2024-03-141-0/+16
| | | | | | | Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Allow to fetch app discover json and provide frontend API routeFerdinand Thiessen2024-03-142-1/+101
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Adding PublicSectorBundlesorbaugh2024-03-122-0/+52
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(AppManager): Allow to query dark **or** bright iconFerdinand Thiessen2024-03-081-2/+2
| | | | | | The navigation needs the bright icon, while the notifications and activity need a dark icon. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* 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>