Skip to content

Conversation

@nickvergessen
Copy link
Member

Usefull for nextcloud/android#240

@AndyScherzinger @rullzer @MorrisJobke @schiessle

While this is an enhancement I would favor a backport, so the android app can use the name in 9 and 10 as well instead of having a useless "Nextcloud" in the title bar, to identfy the accounts. @karlitschek

@mention-bot
Copy link

@nickvergessen, thanks for your PR! By analyzing the annotation information on this pull request, we identified @LukasReschke, @schiessle and @juliushaertl to be potential reviewers

);

$app = new \OCP\AppFramework\App('theming');
$app->getContainer()->registerCapability(\OCA\Theming\Capabilities::class);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While backporting this needs to be made php 5.4 compatible

@juliusknorr
Copy link
Member

This is partly what #885 describes, right? Haven't looked into what capabilities exactly provide.

Shouldn't we also add the background image and logo if they are set?

@AndyScherzinger
Copy link
Member

@juliushaertl for theming information completeness yes, even though the server name and the graphics and colors are different issues client-feature-wise.

@nickvergessen
Copy link
Member Author

Okay, well when we add the images (URLs? or full file?) then I guess a new route is better

@LukasReschke
Copy link
Member

Okay, well when we add the images (URLs? or full file?) then I guess a new route is better

URL seems more flexible.

@juliusknorr
Copy link
Member

@nickvergessen

ThemingDefaults::getLogo and ThemingDefaults::getBackground can be used there, they also return the URL for the default images if there are no custom ones set.

@karlitschek
Copy link
Member

Easy enough that a backport makes sense 👍

@nickvergessen
Copy link
Member Author

Added the image URLs and tests

@MorrisJobke
Copy link
Member

Tested and works 👍

@rullzer
Copy link
Member

rullzer commented Sep 6, 2016

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants