Commit Graph

821 Commits

Author SHA1 Message Date
Zack Spear
27754ace66 refactor: move clone_list function to Helpers.php
- Removed the clone_list function from Disk.page, Flash.page, and Share.page.
- Added the clone_list function to Helpers.php for better organization and reusability.
2025-05-27 15:36:54 -07:00
tom mortensen
2421b9b36f Merge pull request #2204 from unraid/feat/remove-legacy-notifications
feat: remove NotificationsArchive page and related files
2025-05-24 20:58:23 -07:00
Zack Spear
85894baaf1 fix: eth0, ethx, wireless pages responsive clean up 2025-05-23 15:09:25 -07:00
Zack Spear
b8cb46cb28 feat: remove NotificationsArchive page and related files
- Deleted the NotificationsArchive.page, NotificationsArchive.php, and associated CSS file as they are no longer needed.
- This change helps streamline the codebase and remove obsolete components.
- Notifications replaced via unraid-api inclusion
2025-05-22 16:59:33 -07:00
Zack Spear
39316cd5c2 fix: improve showStatus function in HeadInlineJS.php
- Refactored the showStatus function for better readability and structure.
- Changed the way parameters are passed to the jQuery post method.
- This change continues the effort to enhance code clarity and maintainability across the plugin.
2025-05-22 12:31:52 -07:00
tom mortensen
e2551e7e9b Merge pull request #2202 from unraid/fix/blobs-not-external
fix: blob links shouldn't be external
2025-05-22 11:20:36 -07:00
tom mortensen
689d181e45 Merge pull request #2188 from unraid/feat/responsive-default-page-layout
feat: responsive DefaultPageLayout first pass
2025-05-22 11:19:36 -07:00
Eli Bosley
1afb7d86d1 fix: blob links shouldn't be external 2025-05-22 13:14:04 -04:00
Zack Spear
18337e9e14 fix: enhance layout consistency in PageBuilder.php and MainContentTabless.php
- Wrapped elements in spans within PageBuilder.php to improve layout structure.
- Added a span for layout consistency in MainContentTabless.php.
- This change continues the effort to enhance visual consistency across the plugin.
2025-05-21 16:39:13 -07:00
Eli Bosley
29b68a6b70 Update GUIModeSessionFix.php
Fix: this will fix a rare edge case that a function may be "defined twice", breaking the entire webGUI.
2025-05-21 16:22:34 -04:00
Zack Spear
e426e52c4d Merge branch 'master' into feat/responsive-default-page-layout 2025-05-20 18:01:18 -07:00
tom mortensen
ff8c715971 Merge pull request #2190 from unraid/feat/sso-with-api
feat: enable SSO on 7.2 with the Unraid API
2025-05-19 23:59:22 -07:00
tom mortensen
98df2855c3 Merge pull request #2189 from unraid/feat/unraid-api-tweaks
feat: add tweaks for the Unraid API
2025-05-19 23:57:18 -07:00
Zack Spear
12b31bc28d fix: correct color assignments in ThemeHelper for updateDockerLogColor
- Updated color mappings in the FGCOLORS array to ensure proper theme color representation.
- Changed THEME_AZURE to map to COLOR_BLACK and THEME_BLACK to map to COLOR_WHITE, enhancing visual clarity across themes.
2025-05-19 17:03:31 -07:00
Zack Spear
ddeea55f37 style: wrap capabilities table in SmartInfo.php with TableContainer for improved layout
- Encapsulated the existing capabilities table within a <div> with class "TableContainer" to enhance responsiveness and layout consistency.
- This change aligns with previous updates for better structure across similar components.
2025-05-09 14:31:43 -07:00
Zack Spear
9d0db98241 feat: implement safe title processing in MainContent, MainContentTabbed, and MainContentTabless
- Introduced a new function `processTitle` to safely handle page titles by replacing PHP variables with their values without using eval.
- Updated title handling in MainContent, MainContentTabbed, and MainContentTabless to utilize the new `processTitle` function, enhancing security and maintainability.
2025-05-09 13:23:03 -07:00
Zack Spear
c9da14d675 style: update class for tab content in MainContentTabbed.php
- Changed the class attribute from "content" to "tab-content content" for better semantic clarity and improved styling consistency in the tabbed layout.
2025-05-09 11:58:49 -07:00
Zack Spear
a3917eabe5 fix: update title handling in MainContent, MainContentTabbed, and MainContentTabless for improved variable usage
- Replaced direct htmlspecialchars usage with eval to ensure variables in .page titles are correctly processed.
- This change enhances the flexibility of title rendering across multiple layout files.
2025-05-09 11:37:00 -07:00
Eli Bosley
21c271055f fix: remove jgrowl from dynamix 2025-05-09 11:24:47 -04:00
Eli Bosley
92aeb14036 chore: use locking and cache a json file 2025-05-09 11:19:16 -04:00
Eli Bosley
5fb8090c59 chore: try-catch on js loader 2025-05-09 11:16:06 -04:00
Eli Bosley
24e024853b feat: enable SSO support with the API 2025-05-09 11:06:23 -04:00
Eli Bosley
85ea98cfae chore: move js cache to file 2025-05-09 08:35:58 -04:00
Eli Bosley
30a7f6eb90 feat: add tweaks for the Unraid API
- enables API support for 7.2
- do not merge before the API is integrated, will break notifications
- includes authentication fix for now
2025-05-09 08:25:38 -04:00
bergware
1ba2f4bd89 Merge remote-tracking branch 'upstream/master' 2025-05-09 11:31:43 +02:00
Zack Spear
4adc5252fc style: update viewport meta tag for improved responsiveness
- Changed viewport meta tag from fixed width to device-width for better adaptability across devices.
2025-05-08 16:17:23 -07:00
Zack Spear
d5fbdebde4 fix: panels spacing + user list for responsiveness 2025-05-08 15:54:50 -07:00
Zack Spear
3e40361b6e refactor: remove duplicate page stylesheets inclusion in MainContentTabless.php 2025-05-08 15:54:27 -07:00
bergware
63a5c244cb Merge branch 'master' into master 2025-05-08 17:59:09 +02:00
bergware
b52defdbda Network: updated routing table 2025-05-08 15:58:16 +02:00
Zack Spear
ad342e68b6 refactor: improve scroll position handling in BodyInlineJS.php
- Changed the 'top' variable to use parseInt for better type handling.
- Updated the scrollTop logic for clarity and consistency.
2025-05-07 16:15:45 -07:00
Zack Spear
98c5ef3a19 fix: add aria-live attribute to status bar for improved accessibility 2025-05-07 16:14:32 -07:00
Zack Spear
5c13404492 refactor: update content handling for non-tabbed layout
- Introduced a new file, MainContentTabless.php, which provides a non-tabbed content template for the Unraid web interface, rendering all pages in sequence without tabs.
2025-05-07 16:11:14 -07:00
Zack Spear
9eab318383 fix: add rel attribute to footer link for security enhancement 2025-05-07 16:09:59 -07:00
Zack Spear
3457f5918a fix: remove duplicate jQuery UI CSS reference from DefaultPageLayout.php 2025-05-07 16:09:13 -07:00
Zack Spear
648d9252cc fix: update cookie handling in tab management
- Removed unused cookie helper functions from MainContentTabbed.php to streamline the code.
- Updated the tab management logic to ensure cookies are cleared when no cookie exists, aligning with the behavior of the initab function.
- Corrected the filename reference in MainContent.php from 'MainContentNotab.php' to 'MainContentNoTab.php' for consistency.
2025-05-07 15:20:16 -07:00
Zack Spear
ad9f54618c refactor: implement panel generation functions for menu pages
- Added `generatePanel` and `generatePanels` functions to encapsulate panel creation logic for menu items.
- Updated `MainContentNotab.php` and `MainContentTabbed.php` to utilize the new functions, improving code reusability and readability.
- Introduced `generateContent` function to handle content generation based on Markdown flag.
2025-05-07 15:06:38 -07:00
Zack Spear
46731110ea fix: adjust cookie handling for scroll position in BodyInlineJS.php
- Modified the calculation of the 'top' variable to remove the offset adjustment, simplifying the logic.
- Ensured that the scroll position is set correctly based on the cookie value.

This change improves the handling of scroll position based on user preferences.
2025-05-07 10:48:43 -07:00
Zack Spear
843efed231 refactor: abstract tab vs no tab content into separate components 2025-05-07 10:48:13 -07:00
Zack Spear
8379c02192 fix: jquery.ui.css reference 2025-05-06 17:11:43 -07:00
Zack Spear
f2e4d6fb18 refactor: update footer layout and styles for improved responsiveness
- Restructured footer HTML to use flexbox for better alignment and spacing.
- Adjusted CSS styles for #footer, including padding and box-sizing.
- Removed unnecessary float properties and improved layout consistency.
2025-05-06 15:54:52 -07:00
SimonFair
343f66fc23 Merge remote-tracking branch 'upstream/master' into Intel-processor-core-types 2025-05-06 19:28:15 +01:00
tom mortensen
ca72d4fbb6 Merge pull request #2068 from SimonFair/general-protection-fix
7.x Save PCI Data.
2025-05-06 10:35:00 -07:00
Zack Spear
8c9f340fb8 Merge branch 'refactor/default-page-layout-global-html-elements' into refactor/default-page-layout-content-output-abstraction 2025-05-05 16:55:38 -07:00
Zack Spear
6d67c1774c refactor: move includePageStylesheets and annotate functions from DefaultPageLayout.php to PageBuilder.php for improved code organization and maintainability 2025-05-05 16:44:52 -07:00
Zack Spear
1ba0b66916 refactor: centralize reload script logic in HeadInlineJS.php and update DefaultPageLayout.php for improved maintainability 2025-05-05 16:40:39 -07:00
Zack Spear
5198d163b6 Merge branch 'refactor/default-page-layout-navigation' into refactor/default-page-layout-global-html-elements 2025-05-05 15:15:32 -07:00
Zack Spear
19de8fdfd1 Merge branch 'refactor/default-page-layout-nchan-abstraction' into refactor/default-page-layout-navigation 2025-05-05 15:00:32 -07:00
Zack Spear
3d755ea0fe refactor: clean up whitespace and formatting in DefaultPageLayout.php 2025-05-05 14:47:57 -07:00
Zack Spear
1d3ef16651 Merge branch 'refactor/default-page-layout-js-abstraction' into refactor/default-page-layout-nchan-abstraction 2025-05-05 13:35:08 -07:00