Commit Graph

882 Commits

Author SHA1 Message Date
Andrew Z 913bac09f6 Revamp: Revised language support 2025-07-16 12:39:18 -04:00
Zack Spear 67bbd68664 refactor: streamline key installation feedback
- Simplified success messages in both PHP class and shell script after key installation.
- Removed unnecessary conditional checks for array state, providing a more straightforward success response.

This change aims to enhance clarity in user feedback during key installation. No further changes are pending for this task.
2025-07-10 09:58:42 -07:00
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 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
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
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
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 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 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 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
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 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 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 2a58ed92db fix: update custom banner path in DefaultPageLayout.php
- Reverted the banner path from `$config/webGui/banner.png` to `$config/plugins/dynamix/banner.png` to reflect the correct storage location on the boot drive.
2025-06-25 16:08:30 -07:00
Zack Spear 57468b6685 refactor: Boot.php w/ more maintainable html structure 2025-06-25 14:14:27 -07:00
Zack Spear 63ec21d4c9 fix: update viewport meta tag for responsiveness
- Changed the viewport meta tag from a fixed width to a responsive setting (width=device-width, initial-scale=1.0) to enhance mobile compatibility and improve layout on various devices.
2025-06-25 13:44:55 -07:00
Squidly271 aec7276b1e Update .login.php 2025-06-24 15:18:37 -04:00
Squidly271 58d62f6565 Prevent duplicated line in syslog 2025-06-18 12:49:58 -04:00
Squidly271 c3e328e324 Update .login.php 2025-06-18 12:37:01 -04:00
Eli Bosley e4d135466f fix: SSO options missing on 7.2 2025-06-18 08:51:28 -04:00
Zack Spear 10e9ffaa99 refactor: make manifest json static 2025-06-11 13:09:01 -07:00
Zack Spear 8dc5410e14 feat: add favicon and web app manifest support
- Introduced new favicon files: apple-touch-icon.png, favicon-96x96.png, favicon.ico, favicon.svg.
- Updated auth-request.php to include new favicon paths in the whitelist.
- Added web app manifest files: web-app-manifest-192x192.png, web-app-manifest-512x512.png, and created a manifest.json structure in ThemeHelper.
- Refactored DefaultPageLayout to include favicon links and manifest reference.

This update enhances the application's branding and improves the user experience on mobile devices.
2025-06-10 18:09:39 -07:00
tom mortensen 3cfa60e726 Merge pull request #2245 from Squidly271/patch-85
Fix: Add progress to VM actions popup
2025-06-10 09:09:19 -07:00
Squidly271 eb050458dc Fix: Add progress to VM actions popup
A line of code was also missed on the original PR
2025-06-09 22:18:10 -04:00
Zack Spear ed8c6a7535 fix: Update upgrade_notice styles
- Adjusted CSS for .upgrade_notice to improve layout and responsiveness.
- Removed outdated JavaScript code related to banner positioning.
2025-06-09 16:25:43 -07:00
Squidly271 536ca665b6 Feat: Add Progress to Docker / Plugin popup window 2025-06-09 11:07:46 -04:00
tom mortensen 32ff144399 Merge pull request #2235 from bergware/master
Miscellaneous fixes and updates
2025-06-08 11:11:28 -07:00
tom mortensen 0bb9dca1f6 Merge pull request #2230 from unraid/feat/ui-dialog-responsive
feat: ui dialog responsiveness
2025-06-08 11:09:04 -07:00
bergware 846dca9434 Encryption: fix regression error - keyfile not deleted 2025-06-04 16:20:24 +02:00
Zack Spear 80a555ae74 feat: ui dialog responsiveness 2025-06-03 14:16:28 -07:00
tom mortensen 69ad0635fb Merge pull request #2224 from bergware/master
Miscellaneous updates
2025-05-31 08:45:36 -07:00
tom mortensen d2ab20cc8f Merge pull request #2218 from unraid/fix-process-namespace
fix: limit pgrep/pkill to host namespace
2025-05-31 08:43:27 -07:00
bergware 9379edb896 Wrappers: minor code refactoring 2025-05-31 12:06:15 +02:00
ljm42 ccecce4cb6 fix: limit pgrep/pkill to host namespace 2025-05-30 16:20:11 -07:00
ljm42 6487377e15 fix: add ServerState dependency to login page
Prevents PHP fatal error
2025-05-30 13:13:28 -07:00
tom mortensen 11db64a523 Merge branch 'master' into master 2025-05-30 11:17:19 -07:00
bergware e77df12223 Miscellaneous updates 2025-05-30 13:50:28 +02:00
bergware 2bba618532 Miscellaneous fixes 2025-05-30 10:11:43 +02:00