summaryrefslogtreecommitdiffstats
path: root/lib/private/App/AppStore
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4825 from nextcloud/add-timeout-appstoreLukas Reschke2017-05-121-1/+3
|\ | | | | Add timeout for requests to appstore
| * Add timeout for requests to appstoreMorris Jobke2017-05-111-1/+3
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Log connectiong problems while fetching data from appstoreMorris Jobke2017-05-113-6/+24
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Automatic injection into the FetchersJoas Schilling2017-05-103-11/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make sure the AppFetcher fetches the new applist from the appstoreRoeland Jago Douma2017-05-022-11/+43
| | | | | | | | When in the upgrade process the version in the config is still the old version. (Since we only upgrade it after the upgrade is complete). However the app list fetched from the appstore must be the new list. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Do not do ETag caching when the version is updatedRoeland Jago Douma2017-05-021-12/+12
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add SocialSharingBundleLukas Reschke2017-04-262-0/+47
| | | | 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>
* Remove unrequired getDescription() methodLukas Reschke2017-04-264-29/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add app bundlesLukas Reschke2017-04-265-0/+298
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix unit tests and improve appstore logicMorris Jobke2017-02-241-5/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add back appstoreenabled config switchSteffen Lindner2017-02-241-4/+20
| | | | Signed-off-by: Steffen Lindner <mail@steffen-lindner.de>
* Add ETag validation to appstore requestsRoeland Jago Douma2017-01-052-6/+40
| | | | | | | | | | * If the ETag if present store it * If a stored ETag is present then pass it along (with the original response) to get * Add tests * Added files to classmap Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Clear appstore cache on version upgradeRoeland Jago Douma2016-12-153-16/+24
| | | | | | | | | * Add version to cached json * Compare version * Updated calls * Updated tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use the mocked config versionJoas Schilling2016-12-141-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Exclude pre-release versions as per SemVerLukas Reschke2016-11-251-5/+7
| | | | | | | | As SemVer can be used apps could define a release like "10.0.0-alpha". This is something that we don't support at the moment in the server and we should filter all prereleases. Ref https://github.com/nextcloud/server/pull/2307#issuecomment-262911588 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Loop for newest version in appstore responseLukas Reschke2016-11-242-8/+85
| | | | | | | | | | The current implementation when fetching apps from the appstore is to assume that the first element is the newest version, this is now always applicable and leads to the fact that for some apps (e.g. nextant) the newest version is not delivered. This can be easily tested by comparing the version of the downloaded Nextant version. This change will loop over all releases delivered by the appstore and chooses the newest compatible one. While not the cleanest solution, it does its job. Most of the code are actually unit tests. Whereas I have copied the whole original response from the appstore and also have performed the transformation. So that's why the diff looks so huge. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* %d instead %sLukas Reschke2016-10-311-1/+1
| | | | | | These are only numbers. THX @nickvergessen Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Use substr and explode instead of a regexLukas Reschke2016-10-311-14/+33
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Read array elements instead of substrLukas Reschke2016-10-311-2/+6
| | | | | | Otherwise this would break with 11.0.0 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Use new appstore APILukas Reschke2016-10-315-0/+305
This change introduces the new appstore API in Nextcloud. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>