aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/App
Commit message (Collapse)AuthorAgeFilesLines
* fix(apps-store): Remove apps from force-enabled state when uninstalledfix/app-store-remove-force-enableFerdinand Thiessen2024-11-181-15/+19
| | | | | | | | | If an app is force-enabled and then uninstalled the force-enabled state was kept. This is now removed, so when the app should be re-installed the compatibility should be reevaluated. Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(appinfo): Make sure screenshot, author and category are always arraysbugfix/exception-appscreenshot-notstringJoas Schilling2024-10-281-0/+11
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(appmanager): Fix tainted file path when loading appinfosbugfix/noid/fix-tainted-file-appinfoJoas Schilling2024-10-141-16/+25
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore(legacy): Introduce public version ct plass and drop version methods ↵clean/version-ocpJulius Knorr2024-09-201-1/+3
| | | | | | from OC_Util Signed-off-by: Julius Knorr <jus@bitgrid.net>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-192-2/+3
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(appstoreFetcher): get app list from custom app storefix/AppStore--remove-unneeded-warningGrigorii K. Shartsev2024-09-172-8/+1
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* fix(appstoreFetcher): remove unneeded warningGrigorii K. Shartsev2024-09-171-1/+0
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* Merge pull request #47927 from nextcloud/fix/migrate-away-from-oc_appCôme Chilliet2024-09-131-3/+37
|\ | | | | Migrate away from OC_App to IAppManager
| * fix: Replace OC_App::getAllApps with a method in AppManagerCôme Chilliet2024-09-131-0/+31
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * chore: Migrate cleanAppId and getAppPath calls to IAppManager from OC_AppCôme Chilliet2024-09-131-3/+6
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #47854 from nextcloud/validAppsFromAppStoreGit'Fellow2024-09-131-1/+2
|\ \ | |/ |/| fix(appstore): Ensure returned apps from AppStore are valid
| * fix: check if key is setGit'Fellow2024-09-131-1/+1
| | | | | | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
| * fix(appstore): Ensure returned apps from AppStore are validGit'Fellow2024-09-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: lint chore: remove space Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: check if response array is null Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> chore: Add log
* | fix: Add whiteboard to education and public sector bundleJulius Knorr2024-09-122-0/+2
| | | | | | | | Signed-off-by: Julius Knorr <jus@bitgrid.net>
* | Merge pull request #47834 from nextcloud/retAppsManDisJohn Molakvoæ2024-09-101-2/+9
|\ \ | |/ |/|
| * fix(appstore): disabled appstore log level bump from debug to infoJohn Molakvoæ2024-09-101-1/+1
| | | | | | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * fix(appstore): return if appstore is manually disabledGit'Fellow2024-09-091-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: camel case Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: log a debug log Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: typing Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: typo fix: typing
* | refactor(AppManager): Deprecated default apps handlingprovokateurin2024-09-091-46/+36
|/ | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(appstore): Cache apps.json also on dev instancesMarcel Müller2024-09-041-8/+9
| | | | Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
* fix: Do not throw if appstore is unavailable during upgradeJulius Härtl2024-09-041-1/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-252-2/+2
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix: unify bundle namingJérôme Herbinet2024-08-061-1/+1
| | | | | Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* Merge pull request #46510 from nextcloud/feat/info-xml-backendsRichard Steinmetz2024-07-172-1/+21
|\ | | | | feat: hide caldav server settings if no app uses the caldav backend
| * feat: hide caldav server settings if no app uses the caldav backendRichard Steinmetz2024-07-162-1/+21
| | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | chore: add warning in case of failureGit'Fellow2024-07-161-0/+1
| | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | fix(appstore): Return an empty array in case of failGit'Fellow2024-07-161-0/+3
|/ | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* fix(profiler): Remove bogus profiler event startCôme Chilliet2024-06-271-4/+2
| | | | | | | This fixes profiler event graph by removing an event start which had no matching end() call. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(AppManager): Name correct method in error + show error stringJosh2024-06-091-2/+6
| | | Signed-off-by: Josh <josh.t.richards@gmail.com>
* chore: Add SPDX headerAndy Scherzinger2024-05-2420-444/+45
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* 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>