nextcloud/apps/theming/lib
Kyle Fazzari 401a2692e8
theming: handle not being in the serverroot
Currently, the theming app assumes it's in the serverroot. However, with
Nextcloud's flexibility regarding configurable app paths, this is not a
safe assumption to make. If it happens to be an incorrect assumption,
the theming app fails to work.

Instead of relying on the serverroot, just use the path from the
AppManager and utilize relative paths for assets from there.

Fix #8462

Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
2018-02-26 10:14:57 -08:00
..
Controller theming: handle not being in the serverroot 2018-02-26 10:14:57 -08:00
Migration Add tests for theming migration step 2017-02-16 15:13:38 +01:00
Settings rename confusing getMailHeaderColor to getColorPrimary, ref #3491 2017-03-29 18:23:23 +02:00
Capabilities.php Fix email buttons for white theme 2017-12-18 17:03:01 +01:00
IconBuilder.php Merge pull request #4888 from nextcloud/theming-fallback-icons 2017-05-18 23:30:02 +02:00
ImageManager.php Move theming images to AppData 2017-02-16 15:13:38 +01:00
ThemingDefaults.php Fix email buttons for white theme 2017-12-18 17:03:01 +01:00
Util.php Use same lightness calculation as the SCSS compiler for theming 2017-08-04 15:39:56 +02:00