Commit Graph

109 Commits

Author SHA1 Message Date
Squidly271
a1bbf6fb40 Fix Create Docker php warning
Fixes #316
2018-03-27 17:20:06 -04:00
bergware
87aee2e8e5 Docker: more support for selective deletion of icon files 2018-03-26 17:21:48 +02:00
bergware
8e59dca50b DockerClient: sort container names alphabetically and port numbers numerically 2018-03-26 13:33:39 +02:00
bergware
70a9ba12bc Dokcer combine used ports and ips in single list 2018-03-25 16:59:05 +02:00
bergware
d98a36df5d Docker code optimization 2018-03-25 10:30:26 +02:00
bergware
84674ba64e Docker code optimization 2018-03-23 12:31:46 +01:00
bergware
fbe5252618 Execute docker commands with timeout 2018-03-23 11:28:54 +01:00
bergware
45c22fa47f Do version checking on source file loading 2018-03-22 18:00:07 +01:00
bergware
4ed9f457de Apply button disabled by default 2018-03-22 14:04:46 +01:00
bergware
bd2a3fc0ec CreateDocker: minor code optimization 2018-03-21 23:28:55 +01:00
bergware
725c30357f Docker add/edit: corrected list of exposed ports and assigned IPs 2018-03-21 14:08:57 +01:00
bergware
ab389a5c8d Docker: unrestricted edit in authoring mode 2018-03-21 13:23:35 +01:00
Squidly271
742af14804 Switch from tabs to spaces 2018-03-17 17:18:19 -04:00
Squidly271
79f4fce086 Docker Security: Remove <script> and <iframe>
Recursively remove any <script> or <iframe> from all elements in a template
2018-03-17 17:08:00 -04:00
Squidly271
a62a0b1861 Plug security hole in docker template Post Args 2018-03-17 13:51:57 -04:00
Tom Mortensen
1cf53ae6cd Plug Security Hole In Docker Template PostArgs 2018-03-16 22:48:33 -07:00
bergware
dab47cb568 Revert "Inhibit arbitrary command execution in Docker post arguments"
This reverts commit 99b76766a0.
2018-03-16 20:15:19 +01:00
bergware
99b76766a0 Inhibit arbitrary command execution in Docker post arguments 2018-03-16 20:07:09 +01:00
bergware
9dfd418dd4 Fixes and improvements for Docker
- fixed deletion of orphan images
- inline list update when removing container or image
- fixed list updating after execution error
- added animation when removing container or image
- delete old xml file when container is renamed
- fixed IP assignment with multiple containers based on the same image
2018-03-16 17:15:21 +01:00
tom mortensen
81bdbd3137 Merge pull request #288 from Squidly271/6.4-wip
Don't show Template Dropdown in Add Container when referrer is Community Applications
2018-03-12 13:37:34 -07:00
Squidly271
113d70bb52 Don't show Template Dropdown in Edit Container when referrer is Community Applications 2018-03-11 21:30:33 -04:00
Squidly271
37a4c9a5c0 Prevent text overlapping input boxes
See here: https://lime-technology.com/forums/topic/56392-support-djoss-dupeguru/?page=2&tab=comments#comment-639931
2018-03-11 15:21:59 -04:00
bergware
cf0c87cbd9 Standardize VM folder structure (step 3)
Move javascript file in correct folder (sorry overlooked this one)
2018-03-07 20:19:58 +01:00
bergware
1ab5d925c1 Minor code cleanup 2018-03-06 09:58:44 +01:00
bergware
8eb2e1f756 Enhancements to Docker settings and overview 2018-03-05 12:26:41 +01:00
bergware
c0e019938d Improved docker used ports and IPs list 2018-03-04 15:10:02 +01:00
bergware
d1d2add790 Prefix docker custom networks with "Custom" 2018-02-27 16:32:45 +01:00
bergware
cccf09c6dd Fixed container update hanging when network doesn't exist
Plus some minor code cleanup
2018-02-08 20:53:06 +01:00
Eric Schultz
06152c092a docker: improve escaping arguments to docker create/run 2018-01-31 09:00:02 -06:00
Squidly271
82f3bc98be Revert "Revert "Support the most common CA xml entries in dockerMan""
This reverts commit 2cb9c1c947.
2018-01-27 11:48:11 -05:00
Squidly271
2cb9c1c947 Revert "Support the most common CA xml entries in dockerMan"
This reverts commit dda6319794.
2018-01-27 11:40:07 -05:00
Squidly271
dda6319794 Support the most common CA xml entries in dockerMan
Currently all template authors / maintainers have to manually edit the templates to add in these entries, which is a recipe for disaster, and in the future unRaid may support the entries outside of the Apps tab.

MinVer support is currently very rarely used (only a single template), but I foresee that it'll become more common as time goes on (eg: 32 bit binaries only supported on 6.4.0+)
2018-01-27 11:33:59 -05:00
Squidly271
7c82796731 Adjust spacing in code 2018-01-27 10:17:06 -05:00
Squidly271
6965583061 Add in Support & Project Links to Docker Context Menu
Every container added in via CA should already have the Support Link present (if added post 6.3)
Majority of apps in CA also have a project link present, but this will only thus far dockerMan hasn't saved that entry on user templates, so the Project link on the context menus will only appear for new containers added after the PR is aproved
2018-01-27 10:13:15 -05:00
tom mortensen
a07e7f1b61 Merge pull request #244 from Squidly271/6.4-wip
Switch to font-awesome for delete template on add Container
2018-01-20 14:31:40 -08:00
Squidly271
3ee7106446 Switch to font-awesome for delete template on add Container
Delete unused icons.  Leave remove.png as older versions of CA utilize
it.
Side note, with deletion of icons, CA integration won't increase
unRaid's size
2018-01-20 12:53:37 -05:00
Squidly271
547439fcef Revert "Remove unused Icons, switch to font-awesome for template deletion."
This reverts commit 92bd27e9f7.
2018-01-19 18:13:24 -05:00
Squidly271
92bd27e9f7 Remove unused Icons, switch to font-awesome for template deletion.
Leaving in remove.png for the time being, as previous versions of CA
utilize that icon.

Size of icons more or less is size of CA txz
2018-01-19 17:01:02 -05:00
bergware
435c0f5cfe New Docker option to remove or preserve user defined networks 2018-01-18 11:51:53 +01:00
Squidly271
23c2c064ec Enable Apply button when changing a container's host path 2017-12-23 09:49:33 -05:00
bergware
7c97284e91 Suppress warnings in $docroot and $disk['fsSize'] variables
These are easy to correct warnings.
2017-12-14 13:53:31 +01:00
Squidly271
1269c730c0 Update CreateDocker.php 2017-12-11 21:04:36 -05:00
Squidly271
0bf3e67855 Allow special characters in host paths
Most notably "&" as in /mnt/user/this&that
2017-12-11 20:08:32 -05:00
bergware
447ff1c53a Show "Device" as possible selection in Docker container 2017-11-30 12:01:15 +01:00
Eric Schultz
c081907483 Improve button styling on the Docker update dialog 2017-11-14 16:53:08 -06:00
Squidly271
3066bbdb30 Change Advanced Settings to be More Settings
A never ending source of confusion with basically having Advanced appear on the Add/Edit Container screen twice
2017-08-31 17:01:00 -04:00
bergware
1eecba72d5 Docker: display enhancements 2017-08-08 15:20:40 +02:00
bergware
835ed754cc Docker: display enhancements 2017-08-08 15:20:07 +02:00
bergware
593894c6ea Renamed Post Parameters to Post Arguments 2017-08-08 12:46:35 +02:00
bergware
b7313a4033 Docker: added POST arguments field. Fixed mode type. 2017-08-08 12:42:25 +02:00