Skip to content

feat: improve java encoding check - #6060

Merged
vitormattos merged 2 commits into
mainfrom
feat/improve-java-encoding-check
Dec 9, 2025
Merged

vitormattos merged 2 commits into
mainfrom
feat/improve-java-encoding-check

Conversation

@vitormattos

@vitormattos vitormattos commented Dec 9, 2025 •

Copy link
Copy Markdown
Member

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>
@vitormattos vitormattos added this to the Next Major (33) milestone Dec 9, 2025
@vitormattos vitormattos self-assigned this Dec 9, 2025
@github-project-automation github-project-automation Bot moved this to 0. Needs triage in LibreSign Roadmap Dec 9, 2025
@vitormattos

Copy link
Copy Markdown
Member Author

/backport to stable32

@vitormattos

Copy link
Copy Markdown
Member Author

/backport to stable31

@backportbot-libresign backportbot-libresign Bot added the backport-request Request to backport a change to supported stable branches label Dec 9, 2025
@vitormattos
vitormattos merged commit f330824 into main Dec 9, 2025
65 checks passed
@vitormattos
vitormattos deleted the feat/improve-java-encoding-check branch December 9, 2025 16:47
@github-project-automation github-project-automation Bot moved this from 0. Needs triage to 4. to release in LibreSign Roadmap Dec 9, 2025
@backportbot-libresign backportbot-libresign Bot removed the backport-request Request to backport a change to supported stable branches label Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant