summaryrefslogtreecommitdiffstats
path: root/lib/private/App
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* Update license headers for 19Christoph Wurst2020-04-297-1/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all constantsChristoph Wurst2020-04-103-13/+13
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all methods and position of static keywordChristoph Wurst2020-04-102-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-1014-38/+24
| | | | | | | | | | | | | | | 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>
* Use elseif instead of else ifChristoph Wurst2020-04-103-10/+10
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-317-1/+9
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-274-5/+0
|\ | | | | Remove unused imports
| * Remove unused importsChristoph Wurst2020-03-254-5/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the short array syntax, everywhereChristoph Wurst2020-03-263-7/+7
|/ | | | 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>