Skip to content

Conversation

@Rello
Copy link
Collaborator

@Rello Rello commented Jan 21, 2026

Motivation

  • Inform users in the General Settings info box that the update channel cannot be changed when connected to enterprise systems so the status reflects the hidden channel selector.

Description

  • Append an enterprise subscription notice to the updater status text in GeneralSettings::slotUpdateInfo in src/gui/generalsettings.cpp for OCUpdater using an HTML line break when the status is HTML.
  • Do the same for SparkleUpdater, choosing a separator based on Qt::mightBeRichText so the message works for both rich-text and plain-text status strings.

### Motivation
- Inform users in the General Settings info box that the update channel cannot be changed when connected to enterprise systems so the status reflects the hidden channel selector.

### Description
- Append an enterprise subscription notice to the updater status text in `GeneralSettings::slotUpdateInfo` in `src/gui/generalsettings.cpp` for `OCUpdater` using an HTML line break when the status is HTML. 
- Do the same for `SparkleUpdater`, choosing a separator based on `Qt::mightBeRichText` so the message works for both rich-text and plain-text status strings.

Signed-off-by: Rello <Rello@users.noreply.github.com>
@Rello Rello added this to the 33.0.0 milestone Jan 21, 2026
@Rello
Copy link
Collaborator Author

Rello commented Jan 22, 2026

non-enterprise:

Bildschirmfoto 2026-01-22 um 10 22 13

enterprise:

Bildschirmfoto 2026-01-25 um 00 30 10
  • translation will be part of transifex!?

Rello added 3 commits January 22, 2026 10:33
Signed-off-by: Rello <Rello@users.noreply.github.com>
Signed-off-by: Rello <Rello@users.noreply.github.com>
Copy link
Member

@kra-mo kra-mo left a comment

Choose a reason for hiding this comment

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

I mean, the wording makes sense from my side, but is this localized correctly? Eg. doesn't the localized string include the newline and the substitution here?

Edit: Right wait, that is the point. But duplicating the string with <br/> and \n seems bad?

Not even sure it needs to be in parentheses and separated by a newline and whatnot. Just Connected to an enterprise system. Update channel (%1) cannot be changed. would make sense to me.

Signed-off-by: Rello <Rello@users.noreply.github.com>
@Rello
Copy link
Collaborator Author

Rello commented Jan 30, 2026

@kra-mo
your suggestion looks much better...
Bildschirmfoto 2026-01-30 um 11 31 10

@Rello Rello self-assigned this Jan 30, 2026
@Rello Rello marked this pull request as ready for review January 30, 2026 10:46
@Rello Rello moved this to ☑️ Done in 💻 Desktop Clients team Jan 30, 2026
@github-actions
Copy link

Artifact containing the AppImage: nextcloud-appimage-pr-9354.zip

Digest: sha256:bac64eb9ddad71a4f36e6a27a641115f4e0110644b10c07d65177bcc56507d39

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

@Rello
Copy link
Collaborator Author

Rello commented Jan 30, 2026

@rakekniven

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
21 New Code Smells (required ≤ 0)
D Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@Rello Rello merged commit a07a617 into master Jan 30, 2026
22 of 27 checks passed
@Rello Rello deleted the bugfix/updaterEnterpriseHint branch January 30, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ☑️ Done

Development

Successfully merging this pull request may close these issues.

5 participants