aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/App
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* set defaultEnabled in shipped.jsonMaxence Lange2022-09-151-2/+20
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Move findBinaryFinder and isFunctionEnabled away from OC_HelperCarl Schwan2022-08-231-3/+3
| | | | | | | | | | | | findBinaryFinder is now a service that is still private but with some minor optimization (remove the hasKey check). isFunctionEnabled is now in OCP\Util Both function are still keep but all internal usage in nextcloud/server were migrated to the new usage, so that we can remove it in 26 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix typos in lib/private subdirectoryluz paz2022-07-271-1/+1
| | | | | | Found via `codespell -q 3 -S l10n -L jus ./lib/private` Signed-off-by: luz paz <luzpaz@github.com>
* Merge pull request #30030 from nextcloud/fexistsVincent Petry2022-07-261-2/+2
|\ | | | | Fix disabled `php_uname`
| * Fix #30003acsfer2022-06-211-2/+2
| | | | | | Fix #30003
* | composer run cs:fixCôme Chilliet2022-06-211-1/+0
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Fix PHP 8.2 warnings about undeclared propertiesCôme Chilliet2022-06-212-41/+17
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* 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>
* Remove iconv from dependencies and testsMichaIng2021-11-301-4/+0
| | | | | | which is not used anymore since: https://github.com/nextcloud/server/pull/29470 Signed-off-by: MichaIng <micha@dietpi.com>
* Fix updating with appsJoas Schilling2021-11-111-1/+1
| | | | 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>
* Merge pull request #29135 from nextcloud/feat/appstore-filteringJoas Schilling2021-10-141-2/+24
|\ | | | | Allow to filter apps from the appstore
| * 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>
* | Keep group restrictions when reenabling apps after an updateJoas Schilling2021-10-131-1/+5
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add admin privilege delegation for admin settingsCarl Schwan2021-09-291-1/+1
| | | | | | | This makes it possible for selected groups to access some settings pages. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix typing error in AppFetcher.phpLouis Chemineau2021-06-211-1/+3
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Merge pull request #27098 from nextcloud/fix/noid/missing-key-in-addInfoJohn Molakvoæ2021-06-161-1/+1
|\ | | | | force 'name' key in array
| * force 'name' key in arrayMaxence Lange2021-05-251-1/+1
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0419-39/+20
|/ | | | 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-274-44/+20
| | | | 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>
* Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-181-1/+1
| | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make the app code checker a NOOPChristoph Wurst2021-02-1112-1559/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix app fetcher php comparison to allow wider rangesChristoph Wurst2021-01-261-10/+15
| | | | | | | | | | | When app app specifies php 7.4 as upper limit we have to allow the installation on php>7.4.0. The previous version check didn't do that. This adjusts the regexes to discard any irrelevant suffix after the three version numbers so that we can use more fine granular checks than php's version_compare can do out of the box, like for php 7.4 we only compare the major and minor version numbers and ignore the patch level. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>
* Merge pull request #25039 from ↵Roeland Jago Douma2021-01-111-3/+9
|\ | | | | | | | | nextcloud/fix/libxml-use-internal-errors-deprecated Only use libxml_disable_entity_loader on php older than 8
| * Only use libxml_disable_entity_loader on php older than 8Christoph Wurst2021-01-081-3/+9
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Remove unneeded casts that were found by PsalmMorris Jobke2021-01-114-12/+12
|/ | | | | | 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-165-1/+5
| | | | 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>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-053-11/+11
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Allow to specify supported architectures in appinfo.xmlJulius Härtl2020-09-172-0/+28
| | | | 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-244-1/+4
| | | | 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>
* l10n: Add "The" before "Following"Valdnet2020-05-151-2/+2
|
* Update education bundleRoeland Jago Douma2020-05-011-2/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>