summaryrefslogtreecommitdiffstats
path: root/tests/lib/App
Commit message (Collapse)AuthorAgeFilesLines
* Format control structures, classes, methods and functionChristoph Wurst2020-04-106-18/+16
| | | | | | | | | | | | | | | 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>
* Remove trailing and in between spacesChristoph Wurst2020-04-091-7/+7
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-095-16/+16
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use a blank line after the opening tagChristoph Wurst2020-04-091-1/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-093-1224/+1224
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-271-1/+0
|\ | | | | Remove unused imports
| * Remove unused importsChristoph Wurst2020-03-251-1/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the short array syntax, everywhereChristoph Wurst2020-03-264-547/+547
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-255-37/+37
|/ | | | 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>
* Allow to force enable apps via CLIJoas Schilling2019-12-131-24/+33
| | | | | | Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Viewer should be always enabledRoeland Jago Douma2019-12-101-0/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Mode to modern phpunitRoeland Jago Douma2019-11-2713-26/+27
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* 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>