Skip to content

Dev#678

Open
zhaojing1987 wants to merge 15 commits intomainfrom
dev
Open

Dev#678
zhaojing1987 wants to merge 15 commits intomainfrom
dev

Conversation

@zhaojing1987
Copy link
Contributor

Description

Upgrade deployment and fix CVE-2026-33186 and CVE-2026-1229

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Code refactoring (no functional changes)
  • Performance improvement
  • Test coverage improvement
  • CI/CD improvement

Related Issue

Fixes #(issue number)

Changes Made

Testing

  • Unit tests pass locally (pytest)
  • Code coverage maintained or improved
  • Linting checks pass (black, isort, flake8)
  • Manual testing completed
  • Integration tests pass (if applicable)

Test Evidence

# Example: pytest output

Checklist

  • My code follows the project's code style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Screenshots (if applicable)

Additional Notes

Deployment Notes

  • Requires database migrations
  • Requires environment variable changes
  • Requires Docker image rebuild
  • Requires configuration updates
  • No special deployment steps needed

For Reviewers:

  • Code quality and style
  • Test coverage adequate
  • Documentation updated
  • Security considerations addressed
  • Performance impact acceptable

root and others added 15 commits February 4, 2026 09:38
… admin account

- Add ADMIN_USER and ADMIN_PASSWORD to .env (default: websoft9)
- Remove ADMIN_PASSWORD from Dockerfile ENV (security: avoid baking into image)
- Update entrypoint.sh to create/update admin user dynamically
- Fix log directory permissions for dynamic admin user
- Update supervisord.conf to run apphub as %(ENV_ADMIN_USER)s
- Add story4.2 implementation artifact
- Change primary categories from tabs to dropdown menu
- Add two-level category navigation (primary dropdown + secondary chips)
- Add search bar for real-time filtering
- Add pagination with configurable page sizes (12/24/48/96)
- Compact card layout (120px image, single-line overview)
- Fix w9media API data structure handling:
  * catalog_zh.json: primary categories with linkedFrom.catalogCollection
  * product_zh.json: products with multiple secondary categories array
- Simplify i18n (inline zh/en check, remove translation dict)
- Update story5.3 documentation with API structure details

Bundle: 119.52 KB gzipped
- Upgrade from Material-UI to PatternFly React v6.4.1
- Add cockpit-dark-theme integration for light/dark mode switching
- Refactor all 7 components to PatternFly v6 APIs:
  * EmptyState: titleText/icon props + EmptyStateBody
  * Modal: ModalHeader/ModalBody/ModalFooter subcomponents
  * Select: MenuToggle + SelectList + SelectOption
  * Content: Replace Text/TextContent with Content/ContentVariants
- UI improvements:
  * Display summary field on cards (not overview)
  * Add pointer cursor to clickable cards
  * Reorder modal buttons (Install primary, Favorite secondary, Close link)
  * Align header icon links vertically
- Bundle: 160.6 kB JS, 168.9 kB CSS (gzipped)
- Update Story 5.1 documentation with v6 details

Resolves: Story 5.1 - 100% cockpit-files pattern compliance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant