summaryrefslogtreecommitdiffstats
path: root/tests/lib/App
Commit message (Collapse)AuthorAgeFilesLines
* Make the app code checker a NOOPChristoph Wurst2021-02-116-471/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add negative version comparison test for version suffixesChristoph Wurst2021-01-271-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix app fetcher php comparison to allow wider rangesChristoph Wurst2021-01-261-0/+8
| | | | | | | | | | | 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>
* Do not run on php8Roeland Jago Douma2020-12-072-0/+8
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Don't check on php8Roeland Jago Douma2020-12-072-0/+12
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* 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-125-17/+16
| | | | | | \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>
* l10n: Add "The" before "Following"Valdnet2020-05-151-4/+4
|
* Update education bundleRoeland Jago Douma2020-05-011-2/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add test to ensure that symlinked apps_paths are not resolvedDaniel Kesselberg2020-04-241-0/+29
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Add visibility to all methods and position of static keywordChristoph Wurst2020-04-101-9/+9
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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-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>