Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dedicated product name to OCP\Defaults #25950

Merged
merged 3 commits into from
Jun 16, 2021
Merged

Conversation

juliusknorr
Copy link
Member

There were some discrepancies between the public interface (where the name was considered to be the instance name) in contrast to the legacy OC_Defaults backend where it was used as the software name. In regular cases we should always be able to have a dedicated instance name (e.g. MyPersonalCloud) while keeping Nextcloud as a product name so this PR adds a separate method to obtain the product name as a separate label.

For branding scenarios the product name can be changed by using either a custom theme or a theming app config value, though not to publicly exposed as for most setups just saying Nextcloud there would be fine.

In addition to the new method I tried to adapt the usages that I've found referring to the software name.

@@ -106,14 +106,24 @@ public function getDocBaseUrl() {
}

/**
* name of your ownCloud instance
Copy link
Member

Choose a reason for hiding this comment

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

🙈

Copy link
Member

@nickvergessen nickvergessen left a comment

Choose a reason for hiding this comment

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

🐘

@rullzer
Copy link
Member

rullzer commented Mar 5, 2021

CI says no

This was referenced May 20, 2021
@blizzz blizzz mentioned this pull request Jun 2, 2021
57 tasks
@blizzz blizzz added the 4. to release Ready to be released and/or waiting for tests to finish label Jun 2, 2021
@blizzz
Copy link
Member

blizzz commented Jun 2, 2021

CI is unhappy and assets have to be rebuild

@MorrisJobke MorrisJobke mentioned this pull request Jun 10, 2021
59 tasks
Signed-off-by: Julius Härtl <jus@bitgrid.net>
…stance name

Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliusknorr juliusknorr merged commit 7917f4c into master Jun 16, 2021
@juliusknorr juliusknorr deleted the enh/product-name branch June 16, 2021 11:05
@blizzz blizzz mentioned this pull request Jun 16, 2021
45 tasks
@MorrisJobke
Copy link
Member

Fix for a regression of this PR is in #27529

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish enhancement feature: theming
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants