Commit Graph

3158 Commits

Author SHA1 Message Date
Zack Spear
2350d8ec08 feat: add exception handling and reload active key after installation
- Wrap installKey method in try-catch for better error handling
- Execute checkRegistration=Apply after successful key download
- Add error response for installation failures
- Apply changes to both PHP class and shell script
2025-07-09 15:54:33 -07:00
Zack Spear
cd0c2623b2 refactor: remove padding from header in default-base.css 2025-07-09 15:46:11 -07:00
Zack Spear
e858c43d4a refactor: improve header alignment and transition effects in default-base.css
- Changed header alignment from height to align-self: stretch for better responsiveness.
- Updated transition effects for title images to use transform for smoother animations.

This change aims to enhance the visual responsiveness and animation quality of the header elements. No further changes are pending for this task.
2025-07-09 15:46:11 -07:00
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
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
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
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
SimonFair
cc162b3133 Fix: PCI Changes 2025-06-30 17:17:54 +01:00
Tom Mortensen
2749051c73 banish dynamix.my.servers from webGUI repo 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
Zack Spear
65360afc9d refactor: update PageMap.page for dynamic height adjustment
- Replaced the existing resize function with fillAvailableHeight for better dynamic resizing of elements.
- Wrapped the map display in a new div with class 'js-fill-available-height' for improved structure.
- Ensured the 'Done' button is now within a separate 'js-actions' div for clearer layout.
2025-06-26 14:35:27 -07:00
Zack Spear
adb30a1214 docs: update fillAvailableHeight example for jQuery usage
- Modified the documentation comment for the fillAvailableHeight function in BodyInlineJS.php to specify that it must be used within a jQuery ready function.
- Ensured clarity in the example usage to improve developer understanding and implementation.
2025-06-26 14:27:33 -07:00
Zack Spear
006344c646 refactor: enhance fillAvailableHeight function for dynamic resizing
- Updated the fillAvailableHeight function in BodyInlineJS.php to accept parameters for better flexibility in resizing elements.
- Modified Syslog.page to utilize the new parameters for dynamic height adjustment of specific elements.
- Improved code readability and maintainability by restructuring the function and its parameters.
2025-06-26 14:20:36 -07:00
Zack Spear
1e2ba501c0 feat: added fillAvailableHeight js to dynamically resize vertical elements
- Updated PHP opening tags from `<?PHP` to `<?php` for consistency.
- Reformatted code for improved readability in Syslog.page.
- Added a new function `fillAvailableHeight` in BodyInlineJS.php to dynamically resize elements for better layout.
- Updated CSS to remove unnecessary gap and margin for a cleaner design in Syslog.css.
- Enhanced the syslog controls and output structure for improved usability.
2025-06-26 14:09:36 -07:00
Squidly271
6a087e4278 Update .login.php 2025-06-26 14:02:45 -04:00
Zack Spear
5e80a64b04 style: refine CPU mode dropdown in VM form
- Removed unnecessary 'narrow' class from the CPU mode dropdown for improved styling consistency in the VM form layout.
2025-06-25 16:42:37 -07:00