Commit Graph

48 Commits

Author SHA1 Message Date
Squidly271
12ab3df1a8 Fix: PHP error when changing container network if wireguard isn't enabled 2025-09-16 21:34:37 -04:00
Squidly271
f13fdd3f13 Update CreateDocker.php 2025-08-06 11:32:01 -04:00
Squidly271
4384fc3e8c Fix: Another possible and a missing translations 2025-08-05 22:02:58 -04:00
Squidly271
471a41525d Fix Display Issues re: TS 2025-08-05 21:57:03 -04:00
bergware
d51090a2ac Docker: IPv6 GUA and ULA support 2025-07-22 09:01:00 +02:00
Zack Spear
83c508d190 style: add CreateDocker.css for improved styling and layout consistency, remove unused AddContainer.css and UpdateContainer.css 2025-06-03 15:50:02 -07:00
Zack Spear
80a555ae74 feat: ui dialog responsiveness 2025-06-03 14:16:28 -07:00
Zack Spear
3f89883de9 fix: enhance layout consistency in Docker settings
- Introduced a new flex utility class `.buttons-no-margin` in default-base.css to manage button spacing effectively.
- Updated CreateDocker.php to wrap checkbox inputs in flex containers for improved alignment and spacing.
- Adjusted AddContainer.css to refine the max-width of span elements and commented out unused styles for better maintainability.
- This change continues the effort to enhance visual consistency across the plugin.
2025-05-23 14:23:25 -07:00
Zack Spear
a965a2390f fix: enhance layout consistency in ArrayOperation.page, Disk.page, Share.page, and CreateDocker.php
- Updated button and status message structure in ArrayOperation.page, Disk.page, and Share.page for improved layout consistency.
- Adjusted the placement of elements in CreateDocker.php to enhance visual structure.
- This change continues the effort to enhance visual consistency across the plugin.
2025-05-21 17:22:31 -07:00
Zack Spear
b428634a42 fix: settings submit button wrap in span 2025-05-20 16:28:11 -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
Zack Spear
62c12b5ada style: add jquery.ui.css & dynamix-jquery-ui.css into DefaultPageLayout and out of .page files 2025-04-02 10:58:55 -07:00
Zack Spear
9c468b636b style: replace DockerManager.css with dynamix-jquery-ui.css across multiple pages for improved theme consistency and maintainability 2025-04-01 15:37:49 -07:00
Zack Spear
16a647d1c8 Merge branch 'master' into feat/css3-variables 2025-03-31 11:44:47 -07:00
Squidly271
8f1bf83905 Refactor: Disallow TS on Host/Container Networks 2025-02-24 06:30:58 -05:00
Christoph
5f31dc5bc3 Update CreateDocker.php
- Allow changing target in WebUI
2025-02-21 08:58:36 +01:00
Squidly271
bae5b51103 Disallow TS integration on network types host/container 2025-02-16 11:31:25 -05:00
bergware
94d1ee62f7 Wireless support - fine tuning 2025-02-07 15:17:43 +01:00
tom mortensen
bce18a32de Merge pull request #1991 from Squidly271/patch-19
Docker: Fix PHP8 warning when TS enabled and editing container
2025-01-26 12:49:00 -08:00
Christoph
b67e384707 Fix broken pattern for Advertise Routes 2025-01-23 18:03:22 +01:00
Squidly271
51a4391c28 Docker: Fix PHP8 warning when TS enabled and editing container 2025-01-15 13:06:04 -05:00
Squidly271
2ad8fcaa9d Add direct search for Tailscale in CA 2025-01-01 15:41:51 -05:00
Christoph
7383c3a555 Fix visual bug with tailscale 2024-12-17 22:58:51 +01:00
Christoph
d57f3e689c TS Mullvad VPN changes
- Prioritize searching for Exit Nodes through the container before using the Tailscale plugin if installed.
This is necessary to display Exit Nodes from Mullvad for specific containers.
2024-12-07 22:13:38 +01:00
Christoph
ba34c94a27 Update CreateDocker.php
Make sure to replace `[IP]` and `[PORT:]` in query string from URL
2024-11-20 12:19:39 +01:00
Christoph
faf1c48324 Updates and Fixes
- Make sure to retrigger check for Tailscale each time user changes network
2024-11-08 21:44:59 +01:00
Christoph Hummer
107ea81c48 Update CreateDocker.php 2024-10-27 15:07:35 +01:00
Christoph Hummer
525a750b75 Make check for Tailscale https more reliable 2024-10-25 21:58:25 +02:00
Christoph Hummer
6c299eda87 Update CreateDocker.php 2024-10-22 08:31:49 +02:00
root
e63b7af06d CreateDocker.php php error fix 2024-10-22 07:59:20 +02:00
Christoph Hummer
ba4555cdfd Fix for php error 2024-10-22 05:57:12 +02:00
Christoph Hummer
034f970b0c Update CreateDocker.php 2024-10-22 05:03:56 +02:00
Christoph Hummer
68910922f9 Fix variable 2024-10-21 23:13:23 +02:00
root
e289d2ad7c Initial Tailscale Docker integration
- Remove exclusion from share directory from .gitignore
- Add Unraid specific container hook script
- Add Tailscale icon
- Add helptexts for Tailscale

This integration allows users to easily make use of Tailscale in their Docker containers by just clicking a switch on the Docker page.
The Tailscale plugin itself is not needed for this integration but for the best user experience it is strongly recommended to install the Tailscale plugin from Community Applications.

How this works:
1. Configure Tailscale in the Docker template in Unraid and click Apply
2. Unraid will extract the default Entrypoint and CMD from the container
3. The hook script will be mounted in the container to /opt/unraid/tailscale-hook and the Entrypoint from the container will be modified to /opt/unraid/tailscale-hook
4. The original Entrypoint and CMD from the container, alongside with the other necessary variables for Tailscale will be passed over to the container
5. When the container starts the hook script will be executed, install dependencies (currently Alpine, Arch and Debian based containers are supported), download the newest version from Tailscale and run it
6. After the first start with Tailscale the container will halt and wait for the user to click on the link which is presented in the log from the container to add the container to your Tailnet
(alternatively one could also open up a Console from the container and issue `tailscale status` which will also present the link to authenticate the container to your Tailnet)
7. The hook script will pass over the default Entrypoint and CMD which was extracted in step 2 and the container will start as usual

These steps will be repeated after Container update, force update from the Docker page and if changes in the template are made.
If the container is only Started/Restarted the hook script will detect that Tailscale is installed and only start it, if one wants to update Tailscale inside the container simply hit `force update` on the Docker page in Unraid (with Advanced View Enabled)

The integration will show a Tailscale icon on the Docker page for each Tailscale enabled Container and show some basic information from the container (Installed Tailscale Version, Online Status, Hostname, Main Relay, IPs, Exit Node, Auth Expiry,...)
When Serve or Funnel is enabled it will also generate `Tailscale WebUI` in the drop down for the container which you can open up if Tailscale is installed from the device you are accessing Unraid.
2024-10-21 23:07:11 +02:00
tom mortensen
c3dd62f1d5 Merge pull request #1874 from dlandon/container_device_not_showing
Container device not showing in Dockerman.
2024-09-27 09:19:24 -07:00
dlandon
828cd7b747 Container device not showing in Dockerman. 2024-09-26 09:13:42 -05:00
Christoph Hummer
e9faee0d27 Update CreateDocker.php 2024-09-09 17:07:43 +02:00
Zack Spear
2a005f0c76 refactor: DockerManager default css with vars 2024-07-08 11:53:15 -07:00
Squidly271
b85cd55423 Update CreateDocker.php 2024-02-19 21:00:27 -05:00
bergware
b09e015234 Docker: improved configuration styling
- added icon to variable type
2023-11-24 14:53:53 +01:00
bergware
dc700749a2 Copyright update 2023-10-26 17:11:36 +02:00
bergware
ceeb125ba9 Use "null coalescing assignment" operator for $docroot 2023-10-26 14:00:15 +02:00
bergware
6d20bdc430 Make dialog window appearance more consistent 2023-10-25 18:50:51 +02:00
bergware
3e1801faa0 Docker: minor style update 2023-10-15 15:18:09 +02:00
bergware
202cb8c222 Move inline styling in page files to dedicated css files
Instead of styling defined inside a page file, these settings are now kept in a dedicated css file. This has several advantages:

- It comes much easier to maintain styling, all css files are easy to find and update
- Browser can cache css files, which may improve page loading time
- Separate theme css files exist, no more need to make selection by coding

- This PR is a 1-to-1 move of existing inline styling to css files
- In future more optimization can be made by consolidating css files
2023-10-14 19:02:35 +02:00
bergware
2f82d097b6 Make dialog boxes consistent 2023-10-14 14:41:17 +02:00
bergware
a2818218c6 Make dialog boxes consistent 2023-10-14 14:21:18 +02:00
Tom Mortensen
f9ec00b488 repo reorg 2023-06-02 12:49:33 -07:00