Commit Graph

163 Commits

Author SHA1 Message Date
Squidly271
edf61fd90f Fix: write nchan.pid before starting scripts to avoid possible race conditions 2025-08-11 12:57:11 -04:00
Squidly271
f52e77d15b Refactor: Remove support for :stop nchan option 2025-08-11 12:22:10 -04:00
Squidly271
6030f7f2f9 Coderabbitai suggestions 2025-08-10 22:23:30 -04:00
Squidly271
ec795ac882 Fix: Prevent nchan scripts from spawning
Also, if a script is listed as it is supposed to be running and it isn't, then restart it
2025-08-09 23:15:46 -04: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
Tom Mortensen
732129de72 localhost endpoint now requires authentication 2025-06-28 10:47:03 -07: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
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
ljm42
ccecce4cb6 fix: limit pgrep/pkill to host namespace 2025-05-30 16:20:11 -07:00
Zack Spear
e426e52c4d Merge branch 'master' into feat/responsive-default-page-layout 2025-05-20 18:01:18 -07: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
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
3457f5918a fix: remove duplicate jQuery UI CSS reference from DefaultPageLayout.php 2025-05-07 16:09:13 -07:00
Zack Spear
8379c02192 fix: jquery.ui.css reference 2025-05-06 17:11:43 -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
f5bbc6c067 refactor: move reload page during extended viewing in abstracted HeadInlineJS 2025-05-05 13:06:44 -07:00
Zack Spear
3b982b8399 Fix: Don't reload page if modal is open 2025-05-05 12:53:01 -07:00
Zack Spear
6e1564b9d8 refactor: use webGui symlink in DefaultPageLayout.php where possible 2025-04-08 13:20:36 -07:00
Zack Spear
e8a84ca428 refactor: reorganize HTML structure in DefaultPageLayout.php and MainContent.php for improved readability and maintainability 2025-04-08 13:17:09 -07:00
Zack Spear
270f0735cf refactor: centralize stylesheet inclusion logic in DefaultPageLayout.php by creating includePageStylesheets function for improved code reuse and maintainability 2025-04-08 13:06:49 -07:00
Zack Spear
4d4266ff76 refactor: extract main content logic from DefaultPageLayout.php into MainContent.php for improved organization and maintainability 2025-04-08 12:33:17 -07:00
Zack Spear
293e1e1e12 refactor: extract global elements from DefaultPageLayout.php into MiscElements.php for improved organization and maintainability 2025-04-08 10:07:13 -07:00
Zack Spear
17b3424ad2 refactor: restructure DefaultPageLayout.php by extracting header and navigation into separate files for improved organization and maintainability 2025-04-07 18:49:36 -07:00
Zack Spear
350aceea7f refactor: enhance nchan script management in DefaultPageLayout.php by consolidating logic and improving clarity 2025-04-07 18:35:09 -07:00
Zack Spear
7d763f3f31 refactor: consolidate nchan script creation in DefaultPageLayout.php for found pages 2025-04-07 18:02:31 -07:00
Zack Spear
f8d13b8b09 refactor: move inline JavaScript from <body> of DefaultPageLayout.php to BodyInlineJS.php for improved maintainability 2025-04-07 17:01:23 -07:00
Zack Spear
060fb2eb19 refactor: move inline JavaScript from DefaultPageLayout.php to HeadInlineJS.php for improved maintainability 2025-04-07 16:54:15 -07:00
Zack Spear
0bf79f7563 refactor: add generateReloadScript function to DefaultPageLayout.php for dynamic page reloads 2025-04-07 16:46:19 -07:00
Zack Spear
a973866514 refactor: $buttonPages output of styles and scripts location 2025-04-07 16:34:54 -07:00
Zack Spear
ffdf4c0293 refactor: unify theme HTML class handling across multiple files for consistency 2025-04-07 15:11:59 -07:00
Zack Spear
772a81395a refactor: --customer-header-background-image placement in DefaultPageLayout 2025-04-07 13:55:27 -07:00
Zack Spear
ac13bb7017 refactor: implement generate_sidebar_icon_css function and update DefaultPageLayout.php to utilize it for sidebar icon CSS generation 2025-04-07 13:55:27 -07:00
Zack Spear
39ec732e7d chore: move functionality to log plugin changes to /var/tmp/unRAIDServer.txt in DefaultPageLayout.php 2025-04-07 13:55:27 -07:00
Zack Spear
9b87ad3d53 refactor: header background image support in DefaultPageLayout.php and default-base.css with CSS var 2025-04-07 13:55:27 -07:00
Zack Spear
8a51f9a414 chore: move $nchan and $safemode var declarations 2025-04-07 13:55:27 -07:00
Zack Spear
35fec239b2 refactor: update font size handling in DefaultPageLayout.php and default-base.css to utilize CSS variables for improved customization 2025-04-07 13:55:27 -07:00
Zack Spear
ae52bda45a refactor: update theme color variables in CSS and DefaultPageLayout.php for improved customization and consistency 2025-04-07 13:55:27 -07:00
Zack Spear
33e4814937 refactor: consolidate theme width styles into default-base.css and remove legacy media queries from DefaultPageLayout.php 2025-04-07 13:55:26 -07:00
Zack Spear
6d219e4778 refactor: enhance ThemeHelper class to support unlimited width and update DefaultPageLayout.php for new constructor parameters 2025-04-07 13:55:26 -07:00
Zack Spear
4feb26d955 refactor: update variable comments for $theme, $themes1, and $themes2 in DefaultPageLayout.php to enhance clarity while maintaining backwards compatibility 2025-04-07 11:44:58 -07:00
Zack Spear
a754aa6992 refactor: replace $theme2 variable usage with ThemeHelper methods for consistency across multiple pages 2025-04-07 11:44:58 -07:00
Zack Spear
cb0dbb4657 refactor: replace $theme1 variable usage with ThemeHelper methods for consistency across multiple pages 2025-04-07 11:44:58 -07:00
Zack Spear
f041c83a92 feat: implement ThemeHelper class to centralize theme management and improve color handling across various pages 2025-04-07 11:44:58 -07:00