summaryrefslogtreecommitdiffstats
path: root/tests/lib/App
Commit message (Collapse)AuthorAgeFilesLines
* Make phpunit8 compatibleRoeland Jago Douma2019-11-2716-18/+18
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-221-3/+3
| | | | | | | | | | | * 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>
* Move settings to an appChristoph Wurst2019-09-281-0/+5
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Properly inject the loggerMorris Jobke2019-07-161-6/+11
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove deleted groups from app restrictions fixes #15823Greta Doci2019-06-271-0/+36
| | | | Signed-off-by: Greta Doci <gretadoci@gmail.com>
* 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 dispatcher events to User and Group objectsJoas Schilling2019-03-011-15/+30
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* two item => two itemsDaniel Kesselberg2019-02-251-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Parse multiple navigation itemsDaniel Kesselberg2019-02-221-7/+9
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Check app path for enableAppForGroupsDaniel Kesselberg2019-01-261-3/+31
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* 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>
* always enable cloud federation apiBjoern Schiessle2018-07-021-0/+4
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* 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-112-6/+103
| | | | | | | | | | | 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>
* App manager is not needed anymoreJoas Schilling2018-02-161-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Validate the info.xml against the appstore schema fileJoas Schilling2018-02-161-8/+11
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove IAppConfig::getValueRoeland Jago Douma2018-01-171-3/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix testsRoeland Jago Douma2017-12-181-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix testsRoeland Jago Douma2017-11-173-9/+67
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use ::class in test mocksMorris Jobke2017-10-241-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add new bundleLukas Reschke2017-07-262-0/+46
| | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix tests of CodeChecker and MigrationServiceJoas Schilling2017-07-054-7/+14
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Version and dependency are now requiredJoas Schilling2017-05-221-4/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix testsLukas Reschke2017-05-201-4/+8
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* 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>
* createMockJoas Schilling2017-03-201-24/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix the testJoas Schilling2017-03-201-34/+46
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Don't use a generic exceptionJoas Schilling2017-03-201-3/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Improve the test caseMorris Jobke2017-03-201-4/+7
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* checking if app exists in the FileStream nownoveens2017-03-201-4/+18
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix unit tests and improve appstore logicMorris Jobke2017-02-243-4/+176
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add ETag validation to appstore requestsRoeland Jago Douma2017-01-052-5/+164
| | | | | | | | | | * 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-7/+131
| | | | | | | | | * 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-5/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Exclude pre-release versions as per SemVerLukas Reschke2016-11-251-18/+38
| | | | | | | | 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-4/+1861
| | | | | | | | | | 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>
* push public user data to the lookup serverBjoern Schiessle2016-11-211-0/+4
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Expose getAppPath to public APIJulius Haertl2016-11-171-0/+10
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Endpoint is now 11.0.0Lukas Reschke2016-11-151-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Adjust previous fallbacksLukas Reschke2016-11-151-2/+14
| | | | | | 11.0 is 11 and not 9.2 anymore Signed-off-by: Lukas Reschke <lukas@statuscode.ch>