aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/App/AppStore
Commit message (Collapse)AuthorAgeFilesLines
* Convert isset ternary to null coalescing operatorHamid Dehnavi2023-09-281-2/+2
| | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* Refactors "strpos" calls in lib/private to improve code readability.Faraz Samapoor2023-05-152-2/+2
| | | | Signed-off-by: Faraz Samapoor <fsamapoor@gmail.com>
* Use typed version of IConfig::getSystemValue as much as possibleCôme Chilliet2023-04-051-7/+7
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* composer run cs:fixCôme Chilliet2023-01-206-15/+8
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* remove getDefaultInstallationBundleArthur Schiwon2022-09-221-23/+4
| | | | | | - 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-43/+0
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix #30003acsfer2022-06-211-2/+2
| | | Fix #30003
* Also allow pre-releases and nightlies when installing from gitJoas Schilling2022-03-101-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Similar to the fetch() method respect the channel in the get()Joas Schilling2022-03-101-1/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix appstoreenabled check in Fetcher so it's coherent with AppSettingsControllerJulien Veyssier2021-10-181-2/+2
| | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* Send the subscription key to the appstore requestsJohn Molakvoæ2021-10-143-5/+22
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix variableJohn Molakvoæ2021-10-131-5/+5
| | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
* Allow to whitelist apps from the apsptoreJohn Molakvoæ2021-10-131-2/+24
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix typing error in AppFetcher.phpLouis Chemineau2021-06-211-1/+3
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0413-29/+19
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix PHP CSJoas Schilling2021-04-271-1/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Less ILoggerJoas Schilling2021-04-273-31/+15
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix warning in AppFetcher.php when appstore is disabledJakub Onderka2021-03-101-0/+4
| | | | Signed-off-by: Jakub Onderka <ahoj@jakubonderka.cz>
* Revert "Fix comparison of PHP versions"Christoph Wurst2021-01-261-2/+2
| | | | This reverts commit bedd9acf7874b836bef224989c2ce7f5e3b0a2fa.
* Fix comparison of PHP versionsDamien Goutte-Gattat2021-01-141-2/+2
| | | | | | | | | | | Use the builtin function `version_compare` to check an app's compatibility with the available PHP version, instead of reusing the `OC\App\CompareVersion::isCompatible` method which is intended to compare Nextcloud versions. PHP version strings do not always necessarily follow the simple Major.Minor.Patch format used by Nextcloud and therefore cannot be properly compared by that method. Signed-off-by: Damien Goutte-Gattat <dgouttegattat@incenp.org>
* Remove unneeded casts that were found by PsalmMorris Jobke2021-01-113-3/+3
| | | | | | In preparation of the update of Psalm from 4.2.1 to 4.3.1+ (see https://github.com/nextcloud/server/pull/24521) Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Check php compatibility of app store app releasesChristoph Wurst2020-12-041-7/+25
| | | | | | | | | | | | | | | Apps might increase the minimum php version requirement, in which case an update could break the app or even the whole instance. We must not install those releases, or better, don't even show them for update/installation. This extends the app fetcher code to filter out the releases that are not installable. The filter respects minimum and maximum requirements. E.g. apps that are still only released for php7.3 won't show up for php7.4 instances. This behavior is new but if an app lists an explicit version requirement, then we ought to repect that. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Only retry fetching app store data once every 5 minutes in case it failsJulius Härtl2020-10-161-1/+16
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Install richdocumentscode depending on the architectureJulius Härtl2020-09-171-3/+9
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-243-1/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Allow to update to nightlyJohn Molakvoæ (skjnldsv)2020-08-072-6/+15
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Increase timeout of the appstore requestsJoas Schilling2020-06-121-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update hub bundle and add proxy rule to htaccessJulius Härtl2020-05-251-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Revert "Compress the appstore requests by default"Morris Jobke2020-05-201-2/+3
| | | | | | This reverts commit 6ffde128ad17a1ebe38f8d18b21a37d01b47c46b. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Compress the appstore requests by defaultMorris Jobke2020-05-201-3/+2
| | | | | | In test it reduced the transfered data from 5 MB to 2 MB. This should reduce the load on the appstore significantly. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Cache appstore requests for 60 instead of 5 minutesMorris Jobke2020-05-201-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update education bundleRoeland Jago Douma2020-05-011-2/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headers for 19Christoph Wurst2020-04-294-0/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all constantsChristoph Wurst2020-04-101-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all methods and position of static keywordChristoph Wurst2020-04-101-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-109-17/+11
| | | | | | | | | | | | | | | 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>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-314-1/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove unused importsChristoph Wurst2020-03-252-2/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove admin_notifications since it is obsolete since Nextcloud 14Julius Härtl2020-03-241-1/+0
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* add hub bundle for easy post-installationArthur Schiwon2020-01-262-0/+44
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #18860 from nextcloud/fix/license-headersRoeland Jago Douma2020-01-131-0/+1
|\ | | | | Fix license headers
| * Fix license headersChristoph Wurst2020-01-131-0/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | AppFetcher: Distinguish between fileName and endpointNameGeorg Ehrke2020-01-093-1/+5
|/ | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Fix broken upgrade caused by undefined method callJulius Härtl2019-12-231-1/+0
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Restore old behavior allowing to set custom appstoreGeorg Ehrke2019-12-223-9/+5
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Update license headers for 18Christoph Wurst2019-12-201-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Don't log the stack trace for ConnectExceptionDaniel Kesselberg2019-12-081-2/+2
| | | | | | The stack trace for ConnectException could contain the old apps.json content and is probably huge. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Update license headersChristoph Wurst2019-12-0512-12/+18
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+1
| | | | | | | | | | | * 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>