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
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
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
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
Zack Spear
1b3e347d04
Merge branch 'refactor/default-page-layout-styles' into refactor/default-page-layout-js-abstraction
2025-05-05 13:15:30 -07:00
Zack Spear
727b0c625b
chore: nitpick comment for liveUpdate JS
2025-05-05 13:09:15 -07:00
Zack Spear
f5bbc6c067
refactor: move reload page during extended viewing in abstracted HeadInlineJS
2025-05-05 13:06:44 -07:00
Zack Spear
2edd2b4e51
Refactor: Only reload Main/Dash on visibility if Live Updates disabled
2025-05-05 12:57:39 -07:00
Zack Spear
3b982b8399
Fix: Don't reload page if modal is open
2025-05-05 12:53:01 -07:00
Zack Spear
6edb1c6ea1
Remove 1 second delay
2025-05-05 12:45:15 -07:00
Zack Spear
b6428a5f2f
refactor: Reload Dash/Main pages when visibility becomes visible
2025-05-05 12:44:30 -07:00
Zack Spear
b8b666990c
refactor: add error handling for missing theme directory in ThemeHelper.php
2025-05-05 12:26:58 -07:00
Zack Spear
cb91ebc272
refactor: unify theme HTML class handling across multiple files for consistency
2025-05-05 12:26:57 -07:00
Zack Spear
199f4ca111
refactor: update theme width class names in ThemeHelper.php and default-base.css for consistency
2025-05-05 12:26:57 -07:00
Zack Spear
7c408531bd
refactor: improve ThemeHelper constructor by enforcing theme parameter and removing redundant initialization method
2025-05-05 12:26:57 -07:00
Zack Spear
274332456c
refactor: --customer-header-background-image placement in DefaultPageLayout
2025-05-05 12:26:57 -07:00
Zack Spear
1054592adb
refactor: implement generate_sidebar_icon_css function and update DefaultPageLayout.php to utilize it for sidebar icon CSS generation
2025-05-05 12:26:57 -07:00
Zack Spear
d796a6db00
chore: move functionality to log plugin changes to /var/tmp/unRAIDServer.txt in DefaultPageLayout.php
2025-05-05 12:26:57 -07:00
Zack Spear
f2a6844761
refactor: header background image support in DefaultPageLayout.php and default-base.css with CSS var
2025-05-05 12:26:57 -07:00
Zack Spear
139f76ecd4
chore: move $nchan and $safemode var declarations
2025-05-05 12:26:57 -07:00
Zack Spear
ad56f616be
refactor: update font size handling in DefaultPageLayout.php and default-base.css to utilize CSS variables for improved customization
2025-05-05 12:26:57 -07:00
Zack Spear
b6a14217d8
refactor: update theme color variables in CSS and DefaultPageLayout.php for improved customization and consistency
2025-05-05 12:26:57 -07:00