summaryrefslogtreecommitdiffstats
path: root/apps/theming/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "First first run wizzard"John Molakvoæ2022-08-161-8/+9
| | | | This reverts commit ba3f5337f356ac51a1b1d012c09f3e4ed6c096e3.
* Fix unit tests for the theming appCarl Schwan2022-08-111-1/+0
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Merge pull request #33452 from nextcloud/fix/firstrunwizzardVincent Petry2022-08-101-9/+8
|\ | | | | Fix first run wizzard
| * First first run wizzardCarl Schwan2022-08-031-9/+8
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Allow to invert when on brightJoas Schilling2022-08-082-0/+2
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Properly set --color-primary-light-hover on dark themesJulius Härtl2022-07-161-2/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Port encryption admin settings to vueCarl Schwan2022-07-131-0/+3
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Properly calculate primary element based on background luminanceJohn Molakvoæ2022-05-201-2/+4
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix profile and add gradient-primary-backgroundJohn Molakvoæ2022-05-131-0/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Cleanup and compileJohn Molakvoæ2022-05-131-2/+3
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix dark theme descriptionJohn Molakvoæ2022-05-011-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix theming setEnabledThemes unique arrayJohn Molakvoæ2022-04-301-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Allow to override the default themeJohn Molakvoæ2022-04-303-14/+46
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix header apps iconsJohn Molakvoæ2022-04-281-4/+7
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix logo colour on bright primary colourJohn Molakvoæ2022-04-281-0/+6
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Add system/light themesJohn Molakvoæ2022-04-283-3/+67
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix mix factorJohn Molakvoæ2022-04-262-10/+10
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix dark theme primary mixJohn Molakvoæ2022-04-261-0/+5
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix dyslexia font loadingJohn Molakvoæ2022-04-221-6/+13
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Add default theming disabled fallbackJohn Molakvoæ2022-04-222-2/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Lint and psalm fixJohn Molakvoæ2022-04-214-7/+10
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* PhpunitJohn Molakvoæ2022-04-212-18/+32
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Remove accessibilityJohn Molakvoæ2022-04-212-2/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Migrate old accessibility configJohn Molakvoæ2022-04-211-0/+123
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Font fixes and design update for theme pickerJohn Molakvoæ2022-04-217-23/+120
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Migrating themes to Theming appJohn Molakvoæ2022-04-2112-43/+557
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Write body theme selector straight in the templateJohn Molakvoæ2022-04-213-11/+61
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix twofactor loading and public imageJohn Molakvoæ2022-04-211-0/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Update and fix theming imagesJohn Molakvoæ (skjnldsv)2022-04-212-25/+30
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Start theming providersJoas Schilling2022-04-2110-143/+618
| | | | Signed-off-by: Joas Schilling <coding@schilljs.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>
* Avoid file system access on checking if an image existsJulius Härtl2022-02-021-3/+6
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add better error handlingCarl Schwan2022-01-272-3/+9
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix registerEventListener issuesCarl Schwan2022-01-272-3/+3
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix psalm issues in theming appCarl Schwan2022-01-265-24/+25
| | | | | | | | After this change, we are down to only one psalm warning for this app and related to the Application.php. This also make composer psam:update-baseline not silently ignore new errors. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix dynamic loadingJohn Molakvoæ (skjnldsv)2022-01-081-1/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Follow upstream security recommandationCarl Schwan2021-12-021-4/+3
| | | | | | See https://scssphp.github.io/scssphp/docs/#security-considerations Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Add rgb to hsl converterCarl Schwan2021-12-021-4/+41
| | | | | | This ports away from using now internal functions from scssphp. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix ArrayAccess and JsonSerializable return typesCôme Chilliet2021-11-231-1/+1
| | | | | | First round of modifications for PHP 8.1 Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* App summary is optionalJoas Schilling2021-11-191-1/+1
| | | | | | | Fixing: Error: Undefined index: summary at /var/www/html/apps/theming/lib/Controller/ThemingController.php#392 Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #29240 from nextcloud/work/admin-delegation-implementationCarl Schwan2021-10-152-2/+15
|\ | | | | Add support for Delegation Settings for more apps
| * Add support for Delegation Settings for more appsCarl Schwan2021-10-152-2/+15
| | | | | | | | | | | | | | | | | | * This adds support for the sharing, groupware, theming and user_ldap app * This adds some code who disapeared during a rebase in the initial delegation PR (provisioning_api) Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Don't setup the filesystem to check for a favicon we don't use anywayJoas Schilling2021-10-131-8/+11
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix translated app detailsJoas Schilling2021-09-301-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* improve webmanifestszaimen2021-08-242-3/+23
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Merge pull request #26481 from ghost/fdroidJulius Härtl2021-07-131-0/+9
|\
| * Add F-DroidHouraisanNEET2021-07-041-0/+9
| | | | | | | | Signed-off-by: HouraisanNEET <HouraisanNEET@users.noreply.github.com>
* | Fix Psalm code scanning alertsMichaIng2021-07-121-6/+9
| | | | | | | | | | | | | | | | | | | | | | InvalidScalarArgument (apps/theming/lib/IconBuilder.php#L213): https://github.com/nextcloud/server/security/code-scanning/6691 InvalidScalarArgument (apps/theming/lib/IconBuilder.php#L213): https://github.com/nextcloud/server/security/code-scanning/6692 MissingReturnType (apps/theming/lib/IconBuilder.php#L226): https://github.com/nextcloud/server/security/code-scanning/6693 MissingParamType (apps/theming/lib/IconBuilder.php#L226): https://github.com/nextcloud/server/security/code-scanning/6694 MissingParamType (apps/theming/lib/IconBuilder.php#L226): https://github.com/nextcloud/server/security/code-scanning/6695 PossiblyFalseArgument (apps/theming/lib/IconBuilder.php#L232): https://github.com/nextcloud/server/security/code-scanning/6696 Signed-off-by: MichaIng <micha@dietpi.com>
* | Validate the theming color also on CLIJoas Schilling2021-06-252-1/+10
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix default product name for old themesMorris Jobke2021-06-161-1/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>