aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/OC_App.php
Commit message (Collapse)AuthorAgeFilesLines
* docs: correct return type for findAppInDirectoriesDaniel Kesselberg2024-07-111-2/+4
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* perf: Avoid reusing previous migration stepsJulius Härtl2024-06-181-3/+5
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* chore: Add SPDX headerAndy Scherzinger2024-05-241-48/+3
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix: Migrate away from OC_App toward the IAppManagerCôme Chilliet2024-04-221-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Deprecate OC_App::loadApps and add missing return type in ServerCôme Chilliet2024-02-081-0/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: use DI for \OC\RepairCôme Chilliet2024-01-301-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Cleanup Installer class as wellCôme Chilliet2024-01-291-3/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* lazy AppConfigMaxence Lange2024-01-151-2/+4
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-7/+7
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* refactor: Repalce array_search with in_array in lib/Christoph Wurst2023-11-221-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Convert isset ternary to null coalescing operatorHamid Dehnavi2023-09-281-1/+1
| | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* Remove deprecated methods Util::writeLog and DIContainer::logCôme Chilliet2023-09-251-7/+6
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix!: Move getEventDispatcher usage to IEventDispatcherJoas Schilling2023-07-281-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore: Replace \OC::$server->query with \OCP\Server::get in /libChristoph Wurst2023-07-061-6/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #38261 from fsamapoor/replace_strpos_calls_in_lib_privateRobin Appelman2023-06-011-1/+1
|\ | | | | Refactors "strpos" calls in lib/private to improve code readability.
| * Refactors "strpos" calls in lib/private to improve code readability.Faraz Samapoor2023-05-151-1/+1
| | | | | | | | Signed-off-by: Faraz Samapoor <fsamapoor@gmail.com>
* | chore: Drop \OC_App::getSettingsNavigationChristoph Wurst2023-06-011-13/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | chore: Drop \OC_App::getNavigationChristoph Wurst2023-06-011-15/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | chore: Drop \OC_App::getAppInfoChristoph Wurst2023-06-011-17/+2
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | chore: Drop \OC_App::getAppVersionChristoph Wurst2023-06-011-15/+3
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | chore!: Drop \OC_App::isEnabledChristoph Wurst2023-05-311-13/+0
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add missing taint analysis docblock comments, and improve escaping in some ↵Carl Schwan2023-04-241-1/+3
| | | | | | | methods Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix version number in phpdoc for app loading refactorCôme Chilliet2023-03-271-3/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Small cleanups for AppManagerCôme Chilliet2023-03-201-1/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Move loadApps to the AppManagerCôme Chilliet2023-03-201-32/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Move isType to AppManagerCôme Chilliet2023-03-201-27/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Move loadApp function to the AppManagerCôme Chilliet2023-03-201-129/+5
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* perf(autoloader): Drop legacy class autoloaderChristoph Wurst2023-03-161-2/+0
| | | | | | | | The documentation says apps should use PSR-4 to get their classes loaded. The legacy PSR-0 is still in place and has a negative impact on performance. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Introduced app enable/disable/update typed eventsThomas Citharel2023-03-131-1/+5
| | | | | | OCP\App\ManagerEvent is depreciated since 22 without a replacement Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* instrumentation for app bootingRobin Appelman2023-02-091-2/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Make sure application are only loaded onceCôme Chilliet2023-02-071-1/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* refresh cached app folder on install/upgradeMaxence Lange2023-02-011-5/+9
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* composer run cs:fixCôme Chilliet2023-01-201-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix alternative logins custom css classzorn-v2022-10-201-1/+1
| | | | | | In NC 25 login page was changed, and alternative login css class get from `class` prop but not `style`. It is correct change in my opinion, so just add backend fix. Signed-off-by: zorn-v <zorn7@yandex.ru>
* Migrate Repair events to OCP\EventDispatcher\EventCôme Chilliet2022-08-251-8/+9
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Moving to string key for arguments of GenericEvent in RepairCôme Chilliet2022-08-251-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Remove OCP\App and OCP\BackgroundJobCarl Schwan2022-08-011-19/+0
| | | | | | | | | | Both deprecated since NC 23 IAppManager is the replacement for OCP\App unfortunately it can't be dependency injected in classes used by the installed otherwise the database connection is initialised too early Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* fix loading legacy app.php with multi app dirArthur Schiwon2022-07-181-1/+1
| | | | | | | | | | - requireAppFile() only appends /appinfo/app.php - without the absolute path, require_once looks into include_path - the first match in inlcude_path however migth be different from appPath - fixed by providing the tested(!), full path to the app Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Log exceptionJoas Schilling2022-04-071-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix \OC_App::getCurrentApp() when being called from CLI or phpunitJoas Schilling2022-04-071-1/+10
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add event logging to app loadingJulius Härtl2022-02-281-2/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Revert "Fix "never catch" catches in OC_App"Joas Schilling2021-10-251-1/+0
|
* Fix "never catch" catches in OC_Appzorn-v2021-10-221-0/+1
| | | Need to check another legacy. Need to explicitly add to use or do not forget add slash `\`
* Merge pull request #29004 from nextcloud/bugfix/noid/fix-translated-app-detailsJoas Schilling2021-10-131-2/+3
|\ | | | | Fix translated app details
| * Fix translated app detailsJoas Schilling2021-09-301-2/+3
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | add 'supported'-label to all supported apps, also if they are not downloaded yetBjoern Schiessle2021-10-061-3/+13
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Add admin privilege delegation for admin settingsCarl Schwan2021-09-291-4/+5
|/ | | | | | | This makes it possible for selected groups to access some settings pages. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Allow removing apps with app store disabledGary Kim2021-05-241-4/+0
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Don't break OCC if an app is breaking in it's Application classJoas Schilling2021-05-051-1/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Bye bye database.xmlJoas Schilling2021-03-241-6/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>