aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/tests/Controller
Commit message (Collapse)AuthorAgeFilesLines
* test: Migrate theming and sharebymail to PHPUnit10tests/noid/more-phpunit10-appsJoas Schilling2025-05-203-70/+46
| | | | 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>
* refactor(apps): Use constructor property promotion when possibleprovokateurin2024-10-211-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.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-153-25/+25
| | | | 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-313-73/+6
| | | | 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>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-021-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(manifest): Check if app exists instead of accessing null as an arrayJoas Schilling2024-01-171-1/+6
| | | | 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>
* Limit key names when uploading theme imagesVincent Petry2023-01-111-0/+30
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix excessive increase of cachebuster valueChristopher Ng2022-10-111-0/+5
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix highcontrast theme iconsszaimen2022-09-271-2/+2
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Move background settings from dashboard app to Appearance and accessibility ↵greta2022-09-141-1/+8
| | | | | | | settings Signed-off-by: greta <gretadoci@gmail.com> Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Remove deprecated at matcher from theming testsCôme Chilliet2022-06-161-25/+25
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add system/light themesJohn Molakvoæ2022-04-281-0/+3
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix dyslexia font loadingJohn Molakvoæ2022-04-221-12/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* PhpunitJohn Molakvoæ2022-04-212-96/+161
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Improve caching policyCarl Schwan2022-02-161-1/+1
| | | | | | | | | | | | | | * Cache css with version in url. This makes most js and css requests to be cached by the browser * Force caching previews, the etag is in the url so that if the propfind gives a new etag, we will refresh it otherwise it's no use to try to fetch the new etag and do tons of DB queries Tested with firefox and 'debug' => false (important so that the js/css urls are generated with ?v= parameter) Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix tests on PHP 8.1 for encryption, files_sharing, files_version,Côme Chilliet2021-12-162-0/+5
| | | | | | 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-042-5/+3
| | | | 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-242-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-122-13/+13
| | | | | | \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-102-4/+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>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-091-1/+0
| | | | | | For PSR2 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-272-4/+0
|\ | | | | Remove unused imports
| * Remove unused importsChristoph Wurst2020-03-252-4/+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-052-3/+8
| | | | 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-272-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-272-3/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-222-6/+7
| | | | | | | | | | | * 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>