summaryrefslogtreecommitdiffstats
path: root/tests/lib/App/AppStore
Commit message (Collapse)AuthorAgeFilesLines
* fix: Fetch custom app store url without internet connectionJulius Härtl2024-03-042-3/+11
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fix(appstore): Only send subscription keys to valid appstoresJoas Schilling2024-01-161-2/+93
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-1/+1
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Adapt tests to config value typingCôme Chilliet2023-04-053-84/+67
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* remove getDefaultInstallationBundleArthur Schiwon2022-09-221-5/+0
| | | | | | - 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-41/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Remove at matcher uses in tests/libCôme Chilliet2022-06-162-115/+104
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Overwrite the channelJoas Schilling2022-03-101-9/+15
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix unit testsJoas Schilling2021-10-212-41/+67
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Send the subscription key to the appstore requestsJohn Molakvoæ2021-10-143-5/+11
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Allow to whitelist apps from the apsptoreJohn Molakvoæ2021-10-131-1/+78
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix unit testsJoas Schilling2021-04-272-6/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Only retry fetching app store data once every 5 minutes in case it failsJulius Härtl2020-10-161-75/+36
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-051-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-124-16/+15
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Increase timeout of the appstore requestsJoas Schilling2020-06-121-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Revert "Compress the appstore requests by default"Morris Jobke2020-05-201-42/+5
| | | | | | This reverts commit 6ffde128ad17a1ebe38f8d18b21a37d01b47c46b. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Compress the appstore requests by defaultMorris Jobke2020-05-201-5/+42
| | | | | | 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-7/+7
| | | | 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>
* Add visibility to all properties and move static keywordChristoph Wurst2020-04-101-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-103-15/+14
| | | | | | | | | | | | | | | 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-102-10/+10
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-093-11/+11
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-091-1215/+1215
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-466/+466
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-253-10/+10
| | | | 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-261-1/+3
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* AppFetcher: Distinguish between fileName and endpointNameGeorg Ehrke2020-01-091-1305/+1387
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Restore old behavior allowing to set custom appstoreGeorg Ehrke2019-12-222-1/+18
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Mode to modern phpunitRoeland Jago Douma2019-11-2711-23/+23
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-2711-11/+11
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* allow enforcing apps to ignore the max versionRoeland Jago Douma2019-03-201-10/+6
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove "socialsharing_googleplus" from Social Sharing BundleMarius Blüm2019-03-071-1/+0
| | | Signed-off-by: Marius Blüm <marius@lineone.io>
* add deck and mail to the groupware bundle, remove talkBjoern Schiessle2018-08-171-1/+2
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Add the ToS app to the enterprise bundleJoas Schilling2018-08-091-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix testsRoeland Jago Douma2018-05-142-2/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix version comparison with minor and patch level requirementsChristoph Wurst2018-04-111-6/+12
| | | | | | | | | | | If an app requires a specific minor or path level server version, the version_compare prevented the installation as only the major version had been compared and that checks obviously returns `false`. Now the full version is used for comparison, making it possible to release apps for a specific minor or patch level version of Nextcloud. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix testsRoeland Jago Douma2017-11-173-9/+67
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add new bundleLukas Reschke2017-07-262-0/+46
| | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #4825 from nextcloud/add-timeout-appstoreLukas Reschke2017-05-121-1/+5
|\ | | | | Add timeout for requests to appstore
| * Fix failed assertionsJoas Schilling2017-05-121-1/+5
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix unit testsJoas Schilling2017-05-123-2/+12
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Automatic injection into the FetchersJoas Schilling2017-05-103-3/+18
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix testRoeland Jago Douma2017-05-021-20/+10
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix and update testsRoeland Jago Douma2017-05-021-65/+116
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add SocialSharingBundleLukas Reschke2017-04-262-0/+42
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add spreed to Groupware bundleLukas Reschke2017-04-261-0/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add tests for bundle codeLukas Reschke2017-04-265-0/+250
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>