aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/tests/Controller/ThemingControllerTest.php
Commit message (Collapse)AuthorAgeFilesLines
* test: Migrate theming and sharebymail to PHPUnit10tests/noid/more-phpunit10-appsJoas Schilling2025-05-201-26/+22
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat(PWA): add `display_override` to set the display-mode to `minimal-ui` on ↵enh/49868/add-display-overrideSimon L.2025-02-281-1/+2
| | | | | | supported browsers Signed-off-by: Simon L. <szaimen@e.mail.de>
* chore: Apply new rector configuration to apps folderCôme Chilliet2025-02-131-4/+6
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat(theming): allow to disable standalone windowsenh/noid/allow-disable-pwasSimon L.2025-02-061-2/+15
| | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: Simon L. <szaimen@e.mail.de>
* fix(theming): Harden admin web link settingsFerdinand Thiessen2025-01-271-7/+18
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(apps): Apply new rector configuration to autouse classesCôme Chilliet2024-10-151-7/+11
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(ci): Remove more withConsecutive in appsbugfix/noid/remove-more-withConsecutiveJoas Schilling2024-09-201-7/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-191-3/+3
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor: Add void return type to PHPUnit test methodsChristoph Wurst2024-09-151-18/+18
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* chore: Use `IAppConfig` instead of `IConfig->getAppValue`Ferdinand Thiessen2024-09-101-20/+16
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Use NavigationManager to handle default entriesprovokateurin2024-09-091-0/+5
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-311-30/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(tests): Adjust theming test for new splitted background and primary colorsFerdinand Thiessen2024-05-211-14/+7
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-1/+1
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Limit key names when uploading theme imagesVincent Petry2023-01-111-0/+30
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Remove deprecated at matcher from theming testsCôme Chilliet2022-06-161-25/+25
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* PhpunitJohn Molakvoæ2022-04-211-96/+8
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix tests on PHP 8.1 for encryption, files_sharing, files_version,Côme Chilliet2021-12-161-0/+3
| | | | | | files_trashbin and theming apps Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix theming tests on PHP 8.1Côme Chilliet2021-12-161-0/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* improve webmanifestszaimen2021-08-241-1/+5
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-3/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix theming manifest testsJohn Molakvoæ (skjnldsv)2020-10-201-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-051-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix testsJulius Härtl2020-09-241-83/+26
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-2/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-121-7/+7
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Move theming js to initial stateRoeland Jago Douma2020-06-051-75/+0
| | | | | | | | A bit more elegant. Plus it will allow us to also write a proper @nextcloud/theming package. To make life easier down the line for all. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-3/+2
| | | | | | | | | | | | | | | 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>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-10/+10
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-271-3/+0
|\ | | | | Remove unused imports
| * Remove unused importsChristoph Wurst2020-03-251-3/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-251-20/+20
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix the theming testsRoeland Jago Douma2019-12-041-0/+6
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Mode to modern phpunitRoeland Jago Douma2019-11-271-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-271-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+2
| | | | | | | | | | | * 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>
* Validate urls in theming settings and properly handle error messagesJulius Härtl2019-07-311-4/+14
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Disables SVG favicon uploads when imagemagick is missing.Michael Weimann2018-09-051-0/+55
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Fixed theming testsJohn Molakvoæ (skjnldsv)2018-06-201-15/+15
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #9258 from nextcloud/theming-logo-pngMorris Jobke2018-06-151-2/+2
|\ | | | | Convert theming app logo to PNG to show it properly in emails
| * Minor fixes and cleanupJulius Härtl2018-06-061-2/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Mock the timefactory in the theming testsRoeland Jago Douma2018-06-071-5/+7
|/ | | | | | | Now that the cache logic is moved to the theming controller we must properly overwrite this service. Else it could do :boom: in tests. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix usageRoeland Jago Douma2018-06-041-26/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* also add a privacy linkArthur Schiwon2018-05-241-0/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #9437 from nextcloud/feature/noid/imprintRoeland Jago Douma2018-05-171-0/+2
|\ | | | | allow to specify a link to a legal notice
| * fix testsArthur Schiwon2018-05-111-0/+2
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Add Content-Disposition headerJulius Härtl2018-05-171-1/+3
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>