aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Installer.php
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Fix app version to be always string and neither array nor nullMorris Jobke2018-02-171-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unused import statementsMorris Jobke2018-02-141-5/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove OC_App::removeAppJulius Härtl2018-01-311-0/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Do not cache the settings/sections in the database anymoreJoas Schilling2018-01-291-9/+0
| | | | | | | This caused more troubles then it had benefits, especially when an app got disabled or was removed without being disabled. Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove unneeded semicolon and parenthesesMorris Jobke2018-01-261-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use index based string access for substr with length of 1Morris Jobke2018-01-261-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Properly log the full exception instead of only the messageMorris Jobke2018-01-231-1/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove IAppConfig::getValueRoeland Jago Douma2018-01-171-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #7505 from nextcloud/do-not-update-if-app-comes-from-gitMorris Jobke2017-12-181-0/+20
|\ | | | | Do not update apps if it comes from git
| * Up checkJohn Molakvoæ (skjnldsv)2017-12-141-4/+4
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Do not update apps if it comes from gitJohn Molakvoæ (skjnldsv)2017-12-141-0/+20
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Use cached app listMorris Jobke2017-12-141-2/+2
|/ | | | | | Followup to #7264 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #7264 from nextcloud/cache-fetched-appsLukas Reschke2017-11-271-11/+14
|\ | | | | Cache fetched apps in update check