summaryrefslogtreecommitdiffstats
path: root/tests/lib/App
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-232-2/+2
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix(AppManager): Ensure that app manager can handle empty app keys on the ↵Ferdinand Thiessen2023-11-141-2/+29
| | | | | | navigation entries Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Allow to set custom app order on navigation entries added by closures ↵Ferdinand Thiessen2023-11-141-3/+3
| | | | | | to NavigationManager Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(theming): Allow to configure default apps and app order in frontend ↵Ferdinand Thiessen2023-10-201-2/+56
| | | | | | | | | settings * Also add API for setting the value using ajax. * Add cypress tests for app order and defaul apps Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Fix and extend tests for AppManager::getDefaultAppForUserCôme Chilliet2023-09-261-4/+28
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix various deprecation warnings in tests on PHP 8.3Côme Chilliet2023-08-141-0/+5
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Move AppManager events to IEventDispatcherJoas Schilling2023-07-271-11/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore(app): Do not clear unused cache keyChristoph Wurst2023-05-301-10/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Adapt tests to config value typingCôme Chilliet2023-04-053-84/+67
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add label for logo linkChristopher Ng2023-03-291-0/+43
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Introduced app enable/disable/update typed eventsThomas Citharel2023-03-131-6/+22
| | | | | | OCP\App\ManagerEvent is depreciated since 22 without a replacement Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* composer run cs:fixCôme Chilliet2023-01-203-3/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* set theming app to alwaysEnabledszaimen2022-10-171-0/+5
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* 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>
* Fix many tests and warningsCarl Schwan2022-08-081-1/+1
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Move CappedMemoryCache to OCPCarl Schwan2022-07-141-3/+3
| | | | | | | | This is an helpful helper that should be used in more place than just server and this is already the case with groupfodlers, deck, user_oidc and more using it, so let's make it public Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* 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-273-9/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* 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>