aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/App/AppManagerTest.php
Commit message (Collapse)AuthorAgeFilesLines
* 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(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>
* 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>
* set theming app to alwaysEnabledszaimen2022-10-171-0/+5
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Fix unit testsJoas Schilling2021-04-271-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add test to ensure that symlinked apps_paths are not resolvedDaniel Kesselberg2020-04-241-0/+29
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use a blank line after the opening tagChristoph Wurst2020-04-091-1/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-7/+7
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-251-16/+16
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Allow to force enable apps via CLIJoas Schilling2019-12-131-24/+33
| | | | | | Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Viewer should be always enabledRoeland Jago Douma2019-12-101-0/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Mode to modern phpunitRoeland Jago Douma2019-11-271-2/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-271-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-221-3/+3
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move settings to an appChristoph Wurst2019-09-281-0/+5
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Properly inject the loggerMorris Jobke2019-07-161-6/+11
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove deleted groups from app restrictions fixes #15823Greta Doci2019-06-271-0/+36
| | | | Signed-off-by: Greta Doci <gretadoci@gmail.com>
* Add dispatcher events to User and Group objectsJoas Schilling2019-03-011-15/+30
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Check app path for enableAppForGroupsDaniel Kesselberg2019-01-261-3/+31
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* always enable cloud federation apiBjoern Schiessle2018-07-021-0/+4
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Remove IAppConfig::getValueRoeland Jago Douma2018-01-171-3/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix testsRoeland Jago Douma2017-12-181-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix testsLukas Reschke2017-05-201-4/+8
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* createMockJoas Schilling2017-03-201-24/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix the testJoas Schilling2017-03-201-0/+471
Signed-off-by: Joas Schilling <coding@schilljs.com>