github hslr-s/sun-panel v1.7.0

5 months ago

[简体中文] | [English]

Caution

This version is a repair version of v1.5.2 and does not contain the new features of v1.6.0-beta-xx

  1. Before upgrading from the Docker version v1.3.0 or earlier to this version, please read the Update Instructions first.
  2. If you want to view the Docker status in the container, add the following when mounting: -v /var/run/docker.sock:/var/run/docker.sock (Some devices may not support this.)
  3. If any exception occurs after updating, please try to force refresh the page (ctrl+shift+R). If it cannot be solved, you can try clearing the browser cache (ctrl+shift+del).
  • System Status Component

    • [Added] Clicking the card content to view detailed information (e.g., CPU, disk, memory usage). The original "Edit" function has been moved to the right-click menu.
    • [Improved] CPU status values now use the average of all CPUs.
    • [Fixed] The edit window exceeding the visible area on small screens.
    • [Fixed] Progress bars in detail mode not fully displaying (100% length) on certain screen sizes and text overflow causing deformation.
  • Personalization Settings

    • [Added] Switches for enabling/disabling the navigation page logo and clock display under "Personalization Settings".
  • Icon Project Cards

    • [Added] When multiple icons are retrieved from a website, users can now choose between them.
    • [Added] Intelligent selection of internal network or default addresses for opening (BETA).
    • [Improved] Simplified logic: Clicking "Add" defaults to a standard card, with less frequently used features hidden. Hidden options can be accessed via "More Options".
    • [Improved] Support for quickly creating built-in app or Docker container cards from the app launcher and Docker manager.
    • [Improved] Overall styling of card editing interfaces.
    • [Fixed] Built-in app cards retaining previous positions after swapping due to caching.
  • Docker Management, Docker Container Cards, and Permissions

    • [Added] Docker management and container creation is no longer available to accounts with the "Regular" role. Regular users cannot view Docker lists or manage containers.
    • [Added] Regular users cannot add new Docker-type cards. Existing Docker cards still display status but cannot start/stop containers.
    • [Improved] Docker cards with no address configured will no longer redirect when clicked.
  • Native HTTPS Support
    The default HTTPS port is 3003. To modify, configure the [cert] section in the project configuration file (conf/conf.ini). For upgrades from older versions, refer to Enabling HTTPS.

  • Global Site Settings

    • [Improved] Site title and icon changes now take effect immediately after saving, eliminating flickering of "Sun-Panel" text.
  • OpenAPI Interfaces

    • [Added] Group-related APIs: Create Group, Get Group List, Get Group Details.
    • [Added] Project card creation parameters: Save images locally, bind to group ID or unique name (Sun-Panel BE browser extension supports this).
    • [Added] API to retrieve the self-hosted Sun-Panel version (for connectivity testing).
    • [Improved] Unchanged parameters in card updates can be omitted.
  • Miscellaneous

    • [Added] Uploaded icons/images are automatically categorized (e.g., project icons, wallpapers) for future image selector development.
    • [Added] Support for placing additional files/folders in the web root (e.g., robots.txt), requiring a restart to take effect (suggestion from #151).
    • [Improved] Chinese input method in login captcha now triggers submission on Enter key.
    • [Improved] Redirects to the homepage if accessing the login page while already logged in.
    • [Improved] Various tooltip and message optimizations.
    • [Improved] Separation of beta and official version logs.
    • [Fixed] Page overflow in certain scenarios (Thanks to Q群: Mr. Huang for proposing and assisting with debugging).

Don't miss a new sun-panel release

NewReleases is sending notifications on new releases.