aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Installer.php
Commit message (Collapse)AuthorAgeFilesLines
* fix(appmanager): Fix tainted file path when loading appinfosbugfix/noid/fix-tainted-file-appinfoJoas Schilling2024-10-141-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-191-10/+10
| | | | 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>
* chore: Add SPDX headerAndy Scherzinger2024-05-241-36/+3
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix: Correctly check result of functionJoas Schilling2024-05-151-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix: Drop workarounds for unsupported obsolete PHP versionsCôme Chilliet2024-04-221-10/+19
| | | | | | Also improved error handling in Installer.php to be type safe. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Migrate a few more classes away from OC_App::getAppPathCôme Chilliet2024-04-221-3/+4
| | | | | | Also fixed AppTest Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Cleanup Installer class as wellCôme Chilliet2024-01-291-66/+32
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Use DI for Setup class and move away from deprecated methodsCôme Chilliet2024-01-291-0/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(install): Make installing more verboseJoas Schilling2023-11-031-5/+18
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(apps): Fix loading info.xml fileJoas Schilling2023-07-201-2/+2
| | | | | | Ref: https://bugs.php.net/bug.php?id=62577 Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore: Drop \OC_App::getAppInfoChristoph Wurst2023-06-011-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* chore: Drop \OC_App::getAppVersionChristoph Wurst2023-06-011-4/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* set defaultEnabled in shipped.jsonMaxence Lange2022-09-151-2/+1
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Migrate more classes of lib/private to LoggerInterfaceCôme Chilliet2022-04-261-2/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix a few psalm issues and moved back to psalm/phar 4.18Carl Schwan2022-01-121-72/+61
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Run migrations fully when reenabling an appJoas Schilling2021-12-291-4/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix translated app detailsJoas Schilling2021-09-301-4/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Migrate HintException to OCPGary Kim2021-06-301-0/+1
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-3/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Less ILoggerJoas Schilling2021-04-271-12/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* PHP 8+ deprecates openssl_free_keyacsfer2021-04-251-1/+4
|
* Only use libxml_disable_entity_loader on PHP<8acsfer2021-04-251-3/+7
|
* Bye bye database.xmlJoas Schilling2021-03-241-25/+11
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* phpsec lib can't parse multiple certs in one goRoeland Jago Douma2021-01-201-2/+20
| | | | | | So we have to split it manually and do it ourselves Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Allow installing/updating of apps againRoeland Jago Douma2021-01-121-1/+1
| | | | | | The Guzzle API changed. We shall now use sink Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Bump doctrine/dbal from 2.12.0 to 3.0.0Christoph Wurst2021-01-081-2/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #24062 from ↵Morris Jobke2020-11-201-2/+2
|\ | | | | | | | | nextcloud/revert-24060-revert-24039-faster-installation Revert "Revert "Installation goes brrrr""
| * Revert "Revert "Installation goes brrrr""Joas Schilling2020-11-111-2/+2
| |
* | Allow lazy app registrationChristoph Wurst2020-11-181-0/+4
|/ | | | | | | | During app installation we run migration steps. Those steps may use services the app registers or classes from composer. Hence we have to make sure the app runs through the registration. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Revert "Installation goes brrrr"Christoph Wurst2020-11-111-2/+2
|
* Only update the schema when we install anywayJoas Schilling2020-11-111-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add more details if extract fails.Daniel Kesselberg2020-10-221-6/+8
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-051-6/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Allow to update to nightlyJohn Molakvoæ (skjnldsv)2020-08-071-7/+10
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-37/+36
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove trailing and in between spacesChristoph Wurst2020-04-091-7/+7
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* disable timeout on app install via cliArthur Schiwon2020-02-121-6/+13
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Increase the timeout for app downloadsJoas Schilling2020-01-201-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow to force enable apps via CLIJoas Schilling2019-12-131-2/+3
| | | | | | 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>
* Update license headersChristoph Wurst2019-12-051-2/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Run repair steps when enabling an app that has already been installedJulius Härtl2019-06-051-0/+8
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Check if elements are set in installerRoeland Jago Douma2019-03-221-0/+4
| | | | | | | Since we now have all the apps from the appstore we need to do a bit more checking. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* allow enforcing apps to ignore the max versionRoeland Jago Douma2019-03-201-2/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* There is no update available if the app didnt have a version (aka was not ↵Joas Schilling2018-08-021-1/+1
| | | | | | installed) Signed-off-by: Joas Schilling <coding@schilljs.com>
* move log constants to ILoggerArthur Schiwon2018-04-261-2/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Remove a check for an unused variableMorris Jobke2018-04-231-3/+1
| | | | | | | | Left over from a refactoring https://github.com/nextcloud/server/pull/1940 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use isInstalled of AppManger instead of reimplement itMorris Jobke2018-03-211-15/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Dont use $info as array when its not an arrayJoas Schilling2018-02-221-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>