aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/App
Commit message (Collapse)AuthorAgeFilesLines
* chore(tests): Adapt AppManager test to the use of searchValuesCôme Chilliet2025-06-051-0/+11
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* test: adjust library tests for PHPunit deprecationsFerdinand Thiessen2025-05-281-3/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test: Fix tests/lib/App*Joas Schilling2025-05-158-16/+16
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix: Replace getInstalledApps calls with getEnabledAppsfix/clarify-app-manager-methodsCôme Chilliet2025-02-131-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Replace isInstalled calls with isEnabledForAnyone or isEnabledForUserCôme Chilliet2025-02-131-3/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Correctly return app id and app version for `core` styles and imagesFerdinand Thiessen2025-01-241-0/+103
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(profile): make sure the app cannot be disabled as it was in coreskjnldsv2024-11-141-0/+5
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(appinfo): Make sure screenshot, author and category are always arraysbugfix/exception-appscreenshot-notstringJoas Schilling2024-10-281-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-193-3/+3
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor: Add void return type to PHPUnit test methodsChristoph Wurst2024-09-1513-67/+67
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* chore: Migrate cleanAppId and getAppPath calls to IAppManager from OC_AppCôme Chilliet2024-09-131-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Add whiteboard to education and public sector bundleJulius Knorr2024-09-121-0/+1
| | | | Signed-off-by: Julius Knorr <jus@bitgrid.net>
* refactor(AppManager): Deprecated default apps handlingprovokateurin2024-09-091-153/+0
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-1/+1
| | | | 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>
* feat: hide caldav server settings if no app uses the caldav backendRichard Steinmetz2024-07-161-0/+48
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* chore: Add SPDX headerAndy Scherzinger2024-05-1317-247/+38
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix: Lazy load IURLGenerator from AppManager to avoid installation crashCôme Chilliet2024-04-221-7/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Fix tests following OC_App migrations to IAppManagerCôme Chilliet2024-04-221-6/+9
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(AppDiscoverFetcher): Do not remove entries as expired that have no ↵Ferdinand Thiessen2024-03-191-0/+133
| | | | | | expiry date Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test: Update test for PublicSectorBundleChristopher Ng2024-03-121-0/+2
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(AppManager): Allow to query dark **or** bright iconFerdinand Thiessen2024-03-081-11/+38
| | | | | | 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-11/+118
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Fetch custom app store url without internet connectionJulius Härtl2024-03-042-3/+11
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fix(appstore): Only send subscription keys to valid appstoresJoas Schilling2024-01-151-2/+93
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-232-2/+2
| | | | | 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-2/+29
| | | | | | 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-3/+3
| | | | | | to NavigationManager Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(theming): Allow to configure default apps and app order in frontend ↵Ferdinand Thiessen2023-10-201-2/+56
| | | | | | | | | settings * Also add API for setting the value using ajax. * Add cypress tests for app order and defaul apps Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Fix and extend tests for AppManager::getDefaultAppForUserCôme Chilliet2023-09-261-4/+28
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix various deprecation warnings in tests on PHP 8.3Côme Chilliet2023-08-141-0/+5
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Move AppManager events to IEventDispatcherJoas Schilling2023-07-271-11/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore(app): Do not clear unused cache keyChristoph Wurst2023-05-301-10/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Adapt tests to config value typingCôme Chilliet2023-04-053-84/+67
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add label for logo linkChristopher Ng2023-03-291-0/+43
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Introduced app enable/disable/update typed eventsThomas Citharel2023-03-131-6/+22
| | | | | | OCP\App\ManagerEvent is depreciated since 22 without a replacement Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* composer run cs:fixCôme Chilliet2023-01-203-3/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* set theming app to alwaysEnabledszaimen2022-10-171-0/+5
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* remove getDefaultInstallationBundleArthur Schiwon2022-09-221-5/+0
| | | | | | - 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-41/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix many tests and warningsCarl Schwan2022-08-081-1/+1
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Move CappedMemoryCache to OCPCarl Schwan2022-07-141-3/+3
| | | | | | | | This is an helpful helper that should be used in more place than just server and this is already the case with groupfodlers, deck, user_oidc and more using it, so let's make it public Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Remove at matcher uses in tests/libCôme Chilliet2022-06-162-115/+104
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Overwrite the channelJoas Schilling2022-03-101-9/+15
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix unit testsJoas Schilling2021-10-212-41/+67
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Send the subscription key to the appstore requestsJohn Molakvoæ2021-10-143-5/+11
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Allow to whitelist apps from the apsptoreJohn Molakvoæ2021-10-131-1/+78
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix unit testsJoas Schilling2021-04-273-9/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make the app code checker a NOOPChristoph Wurst2021-02-116-471/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add negative version comparison test for version suffixesChristoph Wurst2021-01-271-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>