Commit Graph

3329 Commits

Author SHA1 Message Date
tom mortensen
71abe534d6 Merge pull request #2373 from Squidly271/navbuttons
Fix: PHP Warnings & Share/Device prev/next buttons on narrow screens
2025-09-16 21:35:35 -07:00
tom mortensen
7debbde5da Merge pull request #2372 from Squidly271/patch-2
Fix PHP errors if file doesn't exist my_parse_ini_file
2025-09-16 21:34:26 -07:00
tom mortensen
d158b8aa92 Merge pull request #2369 from Squidly271/ChartAnimation
Fix: Don't allow charts to update before previous animation is complete and don't render if not visible
2025-09-16 21:31:53 -07:00
Squidly271
04882c3e54 Fix: Silence PHP error on docker networks. 2025-09-16 21:40:23 -04:00
Squidly271
12ab3df1a8 Fix: PHP error when changing container network if wireguard isn't enabled 2025-09-16 21:34:37 -04:00
Squidly271
eb43127f53 Fix: Share/Device prev/next buttons on narrow screens 2025-09-16 21:07:09 -04:00
Squidly271
94425ec961 Fix PHP error 2025-09-16 20:25:28 -04:00
Squidly271
51925bff78 Fix PHP errors if file doesn't exist my_parse_ini_file 2025-09-16 20:17:42 -04:00
Squidly271
ab9c4a34a0 Update PluginHelpers.php 2025-09-16 13:25:43 -07:00
Squidly271
d09b3622d2 Update DashStats.page 2025-09-16 14:55:36 -04:00
Squidly271
1e8f63bdbe Merge branch 'ChartAnimation' of https://github.com/Squidly271/webgui into ChartAnimation 2025-09-16 14:52:19 -04:00
Squidly271
f30d8dbdac clean up and remove logging 2025-09-16 14:47:08 -04:00
Squidly271
30bdb18298 Fix: Don't allow charts to update before previous animation is complete 2025-09-16 13:27:21 -04:00
Squidly271
bf0207ff0a Fix: Don't allow charts to update before previous animation is complete 2025-09-16 00:32:27 -04:00
tom mortensen
9a6ee0ad07 Merge pull request #2367 from unraid/fix/diagnostics-download-offscreen
fix: diagnostics downloads showing offscreen
2025-09-15 11:48:18 -07:00
Eli Bosley
f7d1ff3a72 fix: diagnostics downloads showing offscreen 2025-09-15 11:04:09 -04:00
Eli Bosley
8e5bdaae8d refactor: Improve XFS v4 notice display in filesystem warnings
- Changed the XFS v4 notice from a span to a div for better styling and layout.
- Removed the .notice class to prevent duplicate icons, enhancing the visual clarity of the warning message.
2025-09-12 15:58:15 -04:00
Eli Bosley
9603eaa00a fix: Clarify XFS v4 deprecation timeline in warning message
- Updated the deprecation message for XFS v4 to specify the migration deadline as 2030, improving user awareness and understanding of the timeline for necessary filesystem upgrades.
2025-09-12 15:28:30 -04:00
Eli Bosley
f5a36c6ac1 fix: Update XFS v4 deprecation message for clarity
- Revised the warning message for XFS v4 to emphasize its deprecation and the timeline for migration to XFS v5, enhancing user understanding.
2025-09-12 15:12:30 -04:00
Eli Bosley
f0cfe5199f refactor: Simplify filesystem warning checks by removing test mode logic
- Removed test mode checks for deprecated filesystem warnings in the check_disk_for_deprecated_fs function.
- Streamlined the logic for detecting ReiserFS and XFS v4 filesystems, enhancing code clarity and maintainability.
2025-09-12 14:45:24 -04:00
Eli Bosley
5551dd5f98 refactor: Enhance filesystem warning handling and display
- Replaced deprecated filesystem warning logic with a shared helper function for better maintainability.
- Updated DeviceInfo.page to utilize the new helper for displaying filesystem warnings.
- Improved the display of critical and notice warnings for deprecated filesystems, including session-based dismissal for notices.
2025-09-12 14:44:45 -04:00
Eli Bosley
f2cad7693c feat: Implement deprecated filesystem detection and warnings for array and cache devices
- Added a shared function to check for deprecated filesystems (ReiserFS and XFS v4) across array and cache devices.
- Updated ArrayDevices.page and CacheDevices.page to display warnings for deprecated filesystems.
- Introduced helper functions for generating filesystem warning icons and messages.
2025-09-12 13:55:04 -04:00
tom mortensen
55d5731236 Merge pull request #2362 from unraid/fix/logout-page-text-color
fix: update text color in .login.php for better visibility
2025-09-11 11:47:35 -07:00
Eli Bosley
8a30a4803c fix: routing table fixed classes removed 2025-09-10 10:13:59 -07:00
Eli Bosley
786bc00e33 fix: update text color in .login.php for better visibility 2025-09-10 10:13:41 -07:00
Squidly271
eeae9a7f1b Fix: PHP Errors when editing share 2025-09-08 18:35:45 -04:00
Zack Spear
ac5ca07301 fix: correct typo in ShareEdit.page warning message
- Changed "Case-insensitve" to "Case-insensitive" in the warning message for clarity.
2025-09-05 12:30:40 -07:00
Zack Spear
0387b08d3b refactor: adjust form structure in ShareEdit.page
- Wrapped the existing form element in a div for improved layout consistency.
- Ensured proper markdown usage for the form and surrounding elements.
2025-09-05 12:24:55 -07:00
Zack Spear
401f775fc0 refactor: simplify clone-settings markup in SecurityNFS.page and SecuritySMB.page
- Removed unnecessary 'clone-settings-less-padding' class from the clone-settings div in both SecurityNFS.page and SecuritySMB.page to streamline the layout.
2025-09-05 12:10:24 -07:00
Zack Spear
6e3d66ed36 refactor: update ShareEdit.page and related styles
- Added a new form element in ShareEdit.page to enhance share editing functionality.
- Removed unnecessary CSS rules from ShareEdit.css to streamline styling.
- Adjusted padding in default-base.css for better layout consistency.
2025-09-05 12:10:01 -07:00
Tom Mortensen
2cc687c64f Fix: Reading Share Settings from Share containing ' crashes the share
Root cause is that arguments passed to mk_option() should be sanitized via htmlspecialchars().
2025-09-05 10:30:14 -07:00
Eli Bosley
b079fbb85d fix: enhance CPU metrics display and subscription error handling in DashStats.page
- Updated CPU load display logic to use dynamic critical and warning thresholds.
- Improved error handling for GraphQL subscription with retry logic and capped backoff.
- Ensured consistent color coding for CPU load indicators.
2025-09-05 11:29:39 -04:00
Eli Bosley
3af31b0594 fix: update Nchan variable in DashStats.page for consistent naming convention 2025-09-05 09:20:42 -04:00
Eli Bosley
79d3de4ed0 refactor: update DashStats.page to improve CPU metrics handling and subscription logic
- Changed Nchan variable to use a consistent naming convention.
- Removed outdated CPU load handling code and replaced it with a GraphQL subscription for real-time CPU metrics.
- Added retry logic for GraphQL subscription initialization.
- Implemented cleanup for the subscription on page unload.
2025-09-04 21:13:35 -04:00
tom mortensen
8b3b1ee175 Merge pull request #2351 from unraid/fix/remove-fixed-class
fix: update locale select element to remove fixed class
2025-09-04 11:40:17 -07:00
tom mortensen
5e612913fc Merge pull request #2350 from unraid/fix/null-arry-in-searchlink
fix: searchlink can error in the plugin check
2025-09-04 11:39:26 -07:00
tom mortensen
11e08fe691 Merge pull request #2348 from Squidly271/DockerViewMode
Fix: Under certain circumstances Advanced/Basic view mode setting wouldn't save
2025-09-04 11:38:41 -07:00
Eli Bosley
963d023362 fix: update locale select element to remove fixed class 2025-09-02 13:00:54 -04:00
Eli Bosley
c364912d08 fix: searchlink can error in the plugin check
The error occurred because of how searchLink() is called on line 49:

  if ($support = searchLink($info, $url) ?: searchLink($info, newurl($url))) {

  Here's the sequence of events that caused the issue:

  1. First call: searchLink($info, $url) - This works fine if $info contains the JSON data from
  /tmp/community.applications/tempFiles/templates.json
  2. If first call returns falsy: The ?: operator (shorthand ternary) triggers the second call:
  searchLink($info, newurl($url))
  3. The problem: When the first searchLink() returns null or false, PHP's ?: operator evaluates
  the second expression. However, if $info itself is null (which can happen if the JSON file
  doesn't exist or is empty - see line 19 where readJson() returns [] for missing files), then
  searchLink(null, newurl($url)) is called.
  4. The crash: Inside searchLink(), when $db is null, calling count($db) throws the TypeError
  because count() requires an array or Countable object, not null.

  Root causes:
  - The JSON file at /tmp/community.applications/tempFiles/templates.json might not exist or could
  be corrupted
  - The readJson() function returns an empty array [] for missing files, but if the JSON decode
  fails, it could return null
  - The code wasn't defensive against null values being passed to searchLink()

  The fix adds is_array($db) check to ensure we only attempt to count when we have a valid array.
2025-09-02 10:46:46 -04:00
Tom Mortensen
84ae3d6482 * fix: correct handling of case-insensitve share names 2025-08-29 17:13:05 -07:00
Squidly271
7a595edb24 Utilize a general class 2025-08-29 02:25:53 -04:00
Squidly271
38b8c0410b Fix: Under certain circumstances Advanced/Basic view mode settingnwouldn't save 2025-08-27 22:10:33 -04:00
tom mortensen
62e155e0e8 Merge pull request #2346 from unraid/fix/dashboard-icon-spacing
fix: dashboard icon spacing
2025-08-27 08:46:10 -07:00
tom mortensen
a32ab40983 Merge pull request #2345 from unraid/feat/management-access-force-tabbed-view
feat: force tabs in Management Access page
2025-08-27 08:45:33 -07:00
tom mortensen
a74b5c95f9 Merge pull request #2344 from unraid/fix/notification-settings-removed-unused-settings-with-new-notifications
fix: removed unused notifications settings fields
2025-08-27 08:44:58 -07:00
tom mortensen
c81b54e4b2 Merge pull request #2343 from bergware/master
Dashboard: fix network speed calculation
2025-08-27 08:44:03 -07:00
tom mortensen
fb6ce68c42 Merge pull request #2342 from unraid/fix-firefox-cancel-resend
Fix: Prevent Firefox from showing resend/cancel popup when starting array
2025-08-27 08:43:22 -07:00
tom mortensen
d8afcb661e Merge pull request #2341 from unraid/fix/favicon-browser-consistency
fix: favicon link structure for browser consistency
2025-08-27 08:42:23 -07:00
Zack Spear
8dae38a3dc fix: restore margin-right for icon classes in DashStats.css 2025-08-26 12:27:26 -07:00
Zack Spear
4358066844 feat: force tabs in Management Access page 2025-08-26 10:42:11 -07:00