Skip to content

[stable32] feat: improve java encoding check#6062

Merged
vitormattos merged 2 commits into
stable32from
backport/6060/stable32
Dec 9, 2025
Merged

[stable32] feat: improve java encoding check#6062
vitormattos merged 2 commits into
stable32from
backport/6060/stable32

Conversation

@backportbot-libresign
Copy link
Copy Markdown

Backport of PR #6060

Improve the non-UTF-8 encoding detection in ConfigureCheckService to provide
comprehensive diagnostic information when Java reports incorrect encoding.

The enhanced check now:
- Shows the specific encoding detected by Java
- Displays current PHP environment variables (LC_CTYPE, LC_ALL, LANG)
- Provides step-by-step resolution instructions
- Links to issue #4872 with detailed troubleshooting

This helps administrators quickly identify and resolve locale inheritance
issues between PHP and Java that cause character encoding problems in
PDF signatures.

Ref: #4872
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Use NcRichText component to properly render formatted tips in the
configuration check table, replacing plain text rendering.

This change:
- Imports and uses NcRichText component from @nextcloud/vue
- Enables Markdown rendering for tip content with autolink support
- Adds CSS styling for proper text wrapping and width constraints
- Ensures secure rendering through NcRichText's built-in sanitization

The tips now display with proper formatting including bold text, lists,
code blocks, and clickable links, improving readability and user experience.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@github-project-automation github-project-automation Bot moved this to 0. Needs triage in Roadmap Dec 9, 2025
@backportbot-libresign backportbot-libresign Bot added this to the Next Patch (32) milestone Dec 9, 2025
@vitormattos vitormattos merged commit 526dfbc into stable32 Dec 9, 2025
62 checks passed
@vitormattos vitormattos deleted the backport/6060/stable32 branch December 9, 2025 18:14
@github-project-automation github-project-automation Bot moved this from 0. Needs triage to 4. to release in Roadmap Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant