Commit Graph

11130 Commits

Author SHA1 Message Date
Zack Spear d86bb8f19f refactor: enhance header responsiveness
- Added gap and padding to the textarea for improved layout.
- Changed height to min-height to maintain legacy compatibility while allowing for responsive design.

This change aims to improve the visual appearance and usability of text areas in the web interface. No further changes are pending for this task.
2025-07-09 15:46:11 -07:00
Zack Spear aa8148cece refactor: simplify LogViewer.page structure
- Removed unnecessary <unraid-i18n-host> wrapper from LogViewer.page for cleaner code.
- Adjusted the structure to directly include <unraid-log-viewer>.

This change aims to enhance code readability and maintainability by streamlining the Log Viewer component. No further changes are pending for this task.
2025-07-09 15:46:11 -07:00
Zack Spear 559115bfe9 refactor: simplify header structure in DefaultPageLayout
- Removed unnecessary wrapper div and adjusted the header layout in Header.php for cleaner code.
- Updated CSS to reflect changes in the header structure, ensuring proper styling for the unraid-header-os-version component.

This change aims to enhance code readability and maintainability by streamlining the header layout. No further changes are pending for this task.
2025-07-09 15:46:11 -07:00
tom mortensen 05c3b74b91 Merge pull request #2289 from unraid/chore/unraid-modals-component-dom-element
feat: add unraid-modals component to DefaultPageLayout.php
2025-07-09 11:58:08 -07:00
tom mortensen 8eb65d139b Merge pull request #2288 from SimonFair/Fix-PCI-changes
Remove OpenElec and LibreElec
2025-07-09 11:57:28 -07:00
tom mortensen f229bd2ea1 Merge pull request #2285 from unraid/feat/page-option-responsive-no-support
feat: enhance page content generation with responsive layout support
2025-07-09 11:56:42 -07:00
tom mortensen 5d98f66e19 Merge pull request #2284 from unraid/fix/responsive-input-field-uniformity
fix: responsive input field uniformity
2025-07-09 11:55:22 -07:00
tom mortensen 8df5cb92a6 Merge pull request #2272 from SimonFair/VM-PHP-Fixes
refactor: sanitize shell arguments
2025-07-09 11:54:39 -07:00
Zack Spear 04b287d698 chore: update VSCode settings for window color customization
- Added custom color settings for the activity bar, status bar, and title bar in the .vscode/settings.json file.
- Introduced peacock color configuration to improve visual consistency.

This change aims to enhance the development environment's appearance and usability. No further changes are pending for this task.
2025-07-07 12:51:15 -07:00
Zack Spear 34e50e51fe feat: add unraid-modals component to DefaultPageLayout.php
- Introduced the <unraid-modals> component to the DefaultPageLayout.php file to enhance modal functionality across the web interface.

This change aims to improve user interaction by integrating modal support. No further changes are pending for this task.
2025-07-07 12:47:32 -07:00
Zack Spear ba10e0a985 refactor: standardize PHP tags and improve code formatting in DefaultPageLayout.php
- Changed short PHP opening tags to standard long tags for consistency.
- Enhanced code readability by adding braces to control structures.
- Improved formatting for better maintainability.

This update aims to ensure uniformity in PHP code and enhance overall readability. No further changes are pending for this task.
2025-07-07 12:43:20 -07:00
SimonFair f278b0c8d7 Update emhttp/plugins/dynamix.vm.manager/include/libvirt.php
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-07-04 19:06:21 +01:00
SimonFair 739509ef13 Update emhttp/plugins/dynamix.vm.manager/include/libvirt.php
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-07-04 19:05:57 +01:00
SimonFair 2664ad68fc Feature: add MAXPHYSADDR option in advanced. 2025-07-04 16:27:27 +01:00
Zack Spear b22e503992 docs: remove outdated responsive webGUI plugin migration guide and associated images
- Deleted the responsive webGUI plugin migration guide as it is no longer relevant.
- Removed associated images that were part of the guide.

This change cleans up the documentation by eliminating obsolete content. No further changes are pending for this task.
2025-07-03 15:22:35 -07:00
SimonFair c3fbd382aa Remove OpenElec and LibreElec 2025-07-03 18:25:18 +01:00
Zack Spear 39814d439f feat: enhance non-responsive content styles in default-base.css
- Reintroduced the .content--non-responsive class to maintain a minimum width for complex page templates.
- Updated styles for definition lists to ensure proper layout and responsiveness.
- Added specific input field max-widths to improve usability in non-responsive contexts.

This change aims to ensure that non-responsive layouts are styled correctly while maintaining usability across various input types. No further changes are pending for this task.
2025-07-02 13:51:41 -07:00
Zack Spear ab0475cdc1 docs: enhance migration guide with new sections and clarifications
- Added a Table of Contents for easier navigation.
- Updated the introduction to clarify the shift to responsive CSS.
- Improved explanations for common bugs and fixes, including detailed examples and formatting adjustments.
- Emphasized the importance of whitespace and structure in Markdown parsing.
- Included a warning about opting out of responsive layout, with clear options for developers.

This update aims to provide comprehensive guidance for developers transitioning to the responsive design system. No further changes are pending for this task.
2025-07-02 13:50:23 -07:00
Zack Spear 933aef2505 docs: update migration guide with new section on making wide tables responsive
- Added a new section detailing how to use the TableContainer class for wide tables to ensure they remain usable on all screen sizes.
- Included examples demonstrating the implementation before and after using the TableContainer class.
- This update enhances the guide by providing clear instructions for developers dealing with wide tables.

No further changes are pending for this task.
2025-07-01 17:08:42 -07:00
Zack Spear 2e3d593991 fix: update image paths in migration guide for consistency
- Corrected image paths in the responsive webGUI plugin migration guide to ensure they point to the correct location.
- This change improves the clarity and accessibility of the guide's visual examples.

No further changes are pending for this task.
2025-07-01 16:38:52 -07:00
Zack Spear d445736589 docs: add responsive webGUI plugin migration guide with common bugs and fixes
- Introduced a new migration guide detailing common issues with non-responsive .page files.
- Included examples of large buttons and misaligned settings labels, along with their fixes.
- Added images to illustrate the bugs and their resolutions.

This guide aims to assist developers in transitioning to the new responsive design system.
2025-07-01 16:36:04 -07:00
Zack Spear fbad4a0be4 fix: remove 'narrow' class from color input fields in DisplaySettings.page for consistency 2025-07-01 16:16:46 -07:00
Zack Spear 469f15883b feat: enhance page content generation with responsive layout support
- Updated `generateContent` function to handle a new `ResponsiveLayout` flag in the page data array.
- Added a wrapper for non-responsive content based on the `ResponsiveLayout` flag.
- Adjusted CSS class naming for consistency in the `default-base.css` file.
- Set `ResponsiveLayout` to false in `AddVM.page` and `UpdateVM.page` for default behavior.
- Cleaned up HTML structure in `VMedit.php` to remove unnecessary class.

This change improves the flexibility of page layouts and ensures proper styling for non-responsive content.
2025-07-01 16:04:27 -07:00
Zack Spear 182a7f376a refactor: standardize PHP opening tags and improve code formatting in SyslogSettings.page 2025-07-01 13:44:18 -07:00
Zack Spear 5e6b71ae6a fix: narrow input width class 2025-07-01 12:22:29 -07:00
Zack Spear 94b068f76f fix: Add 'narrow' class to hour and minute select elements for improved styling 2025-06-30 13:02:53 -07:00
tom mortensen 9569790be1 Merge pull request #2283 from SimonFair/Fix-PCI-changes
Fix: PCI Changes
2025-06-30 10:25:22 -07:00
SimonFair cc162b3133 Fix: PCI Changes 2025-06-30 17:17:54 +01:00
Tom Mortensen b3f6af6b35 fix: remove unraid-api from webGUI tracking 2025-06-28 10:47:03 -07:00
Tom Mortensen 2749051c73 banish dynamix.my.servers from webGUI repo 2025-06-28 10:47:03 -07:00
Tom Mortensen bce42c6657 rc.S: early mount of /dev on a devtmpfs 2025-06-28 10:47:03 -07:00
Tom Mortensen 732129de72 localhost endpoint now requires authentication 2025-06-28 10:47:03 -07:00
tom mortensen ec2742fa27 Merge pull request #2281 from unraid/fix-parse-plugin-cfg
fix: parse_plugin_cfg(): better handling of corrupt ini files
2025-06-28 10:45:52 -07:00
tom mortensen dad4ccf6e8 Merge pull request #2280 from unraid/fix-remove-ipv6-myunraid-urls
feat: Remove support for ipv6.hash.myunraid.net URLs
2025-06-28 10:45:09 -07:00
tom mortensen 480f9d5c23 Merge pull request #2279 from unraid/feat/fill-available-height-js
fix: display settings listing height responsive regression
2025-06-28 10:44:42 -07:00
tom mortensen de34ff933d Merge pull request #2278 from unraid/feat/vm-responsive-layout-fallback
feat: vm responsive layout fallback
2025-06-28 10:44:20 -07:00
tom mortensen f2fd0b0618 Merge pull request #2277 from unraid/fix/display-settings-custom-banner
fix: update custom banner path in DefaultPageLayout.php
2025-06-28 10:43:48 -07:00
tom mortensen f0922de876 Merge pull request #2276 from unraid/feat/responsive-boot-page
fix: boot page update viewport meta tag for responsiveness
2025-06-28 10:43:22 -07:00
tom mortensen 2f95ecf29a Merge pull request #2275 from unraid/feat/legacy-content-non-responsive-allow-horizontal-overflow-scroll
style: enable horizontal scrolling for legacy content
2025-06-28 10:43:00 -07:00
tom mortensen 981f515ae5 Merge pull request #2274 from unraid/fix/DeviceInfo-page
fix: DeviceInfo balance status
2025-06-28 10:42:34 -07:00
tom mortensen a42bed4708 Merge pull request #2264 from Squidly271/login-timer
Feat: Add timer to login screen when cooldown period is active
2025-06-28 10:42:02 -07:00
ljm42 f1c5cbe703 feat: show banner if dynamix.cfg is corrupt 2025-06-27 17:01:37 -07:00
ljm42 7ea337e8cd fix: parse_plugin_cfg(): better handling of corrupt ini files 2025-06-27 15:37:59 -07:00
ljm42 3c4b6382d4 feat: Remove support for ipv6.hash.myunraid.net URLs 2025-06-27 14:28:23 -07:00
Zack Spear fefc4c5bba fix: add manualSpacingOffset to fillAvailableHeight VMs & Dockers for improved layout
- Introduced manualSpacingOffset parameter in DockerContainers.page and VMMachines.page to prevent unwanted scrollable space in the main content.
- Updated fillAvailableHeight calls to include this parameter, enhancing the overall layout consistency across pages.
2025-06-27 12:43:41 -07:00
Zack Spear 445deceb09 refactor: improve fillAvailableHeight function for better element height calculations
- Enhanced the fillAvailableHeight function in BodyInlineJS.php to refine height calculations by ensuring proper handling of element selectors and margins.
- Adjusted logic to prevent unnecessary spacing for specific elements, improving layout accuracy.
- Cleaned up code for better readability and maintainability.
2025-06-27 12:36:54 -07:00
Zack Spear 77efe32856 refactor: standardize fillAvailableHeight usage across pages
- Replaced existing resize functions with fillAvailableHeight calls in multiple pages for consistent dynamic height adjustments.
- Updated PageMap.page, Processes.page, Syslog.page, Vars.page, DockerContainers.page, VMMachines.page to utilize fillAvailableHeight with appropriate parameters.
- Wrapped relevant elements in 'js-fill-available-height' and 'js-actions' divs for improved structure and layout clarity.
2025-06-27 12:21:03 -07:00
Zack Spear dde0cd1f08 feat: implement resize listener for fillAvailableHeight function
- Added a resize event listener to the fillAvailableHeight function in BodyInlineJS.php to ensure dynamic height adjustments on window resize.
- Implemented a debounced handler to optimize performance and prevent excessive function calls during rapid resize events.
- This enhancement improves the responsiveness of the layout by maintaining appropriate element heights as the window size changes.
2025-06-27 12:20:52 -07:00
Zack Spear bb87d4d370 feat: add debounce function for improved performance in HeadInlineJS
- Introduced a new debounce function in HeadInlineJS.php to optimize function calls by limiting the rate at which a function can fire.
- This enhancement aims to improve performance in scenarios where rapid function calls may occur, such as during user input events.
2025-06-27 12:08:30 -07:00
Zack Spear 3e734b0914 refactor: enhance fillAvailableHeight function for additional element selectors
- Updated the fillAvailableHeight function in BodyInlineJS.php to include additional element selectors for height and spacing calculations.
- Improved the handling of dynamic height adjustments by allowing more flexible parameter inputs.
- Clarified comments for better understanding of the height and spacing logic.
2025-06-27 11:58:47 -07:00