Commit 9a80dc9
CP-40844: Adds download source action that gets the latest source code in the production stage (xenserver#3153)
* CP-40844 adds download source action that gets the latest source code in the production stage.
Signed-off-by: Chris Lancaster <[email protected]>
CP-40844 refactors download file actions
Signed-off-by: Chris Lancaster <[email protected]>
Adds source url to branding.sh
Signed-off-by: Chris Lancaster <[email protected]>
CP40844 refactors code and implements reviewers comments, aswell as better message handeling
Signed-off-by: Chris Lancaster <[email protected]>
CP-40844 Sorts messages
Signed-off-by: Chris Lancaster <[email protected]>
CP-40844 removes stray console logging
Signed-off-by: Chris Lancaster <[email protected]>
CP-40844 Changes to use FirstOrDefault to avoid null exceptions/errors
Signed-off-by: Chris Lancaster <[email protected]>
CP-40844 removes unessessary usings
Signed-off-by: Chris Lancaster <[email protected]>
CP-40844 code tidy up
Signed-off-by: Chris Lancaster <[email protected]>
CP-40844 Removes erroneous root tag from merge conflict resolution
Signed-off-by: Chris Lancaster <[email protected]>
CP-40844 sorts messages
Signed-off-by: Chris Lancaster <[email protected]>
* CP-40844 fixes misnamed method and adds sourceurl parameter to brandmanager
Signed-off-by: Chris Lancaster <[email protected]>
* CP-40844 Source url now uses XCUpdates url and just substitues the name of the file
Signed-off-by: Chris Lancaster <[email protected]>
* CP-40844 Adds source url to xenadmin-build.ps1
Signed-off-by: Chris Lancaster <[email protected]>
* CP-40844 defines log4net in each class not just inherited
Signed-off-by: Chris Lancaster <[email protected]>
* CP-40844 removes unused class variable
Signed-off-by: Chris Lancaster <[email protected]>
* CP-40844 removes unneeded class variable and uses parent property instead. Simplifies messages for source download and client update.
Signed-off-by: Chris Lancaster <[email protected]>
* CP-40844 reduces public exposure of member variables/properties
Signed-off-by: Chris Lancaster <[email protected]>
* CP-40844 merges download x file actions into single file.
Signed-off-by: Chris Lancaster <[email protected]>
* CP-40844 overide ReleaseDownloadedContent in DownloadAndUpdateClientAction to handle disposal of FileStream
Signed-off-by: Chris Lancaster <[email protected]>
* CP-40844 minor fixes/tidy up
Signed-off-by: Chris Lancaster <[email protected]>
* CP-40844 defaults the download latest source button to be invisible.
Signed-off-by: Chris Lancaster <[email protected]>
* CP-40844 if there is no client update detected then we shouldnt show a where to save dialog
Signed-off-by: Chris Lancaster <[email protected]>
* CP-40844 Directs user to xenserver website to download source if automatic update checks are turned off. Renames message OUT_OF_DATE_WEBSITE to WEBSITE_DOWNLOADS
Signed-off-by: Chris Lancaster <[email protected]>
* CP-40844 updates source param to sourceUrl in XCUpdates.xml
Signed-off-by: Chris Lancaster <[email protected]>
* CP-40844 moves strings to Messages and applys source name string to relevant places
Signed-off-by: Chris Lancaster <[email protected]>
* CP-40844 removes sourceurl from brand manager
Signed-off-by: Chris Lancaster <[email protected]>
* CP-40844 uses string literal rather than string join
Signed-off-by: Chris Lancaster <[email protected]>
* Some more corrections.
Signed-off-by: Konstantina Chremmou <[email protected]>
---------
Signed-off-by: Chris Lancaster <[email protected]>
Signed-off-by: Konstantina Chremmou <[email protected]>
Co-authored-by: Konstantina Chremmou <[email protected]>1 parent ad8ef2e commit 9a80dc9
File tree
16 files changed
+327
-117
lines changed- XenAdminTests/UnitTests/AlertTests
- XenAdmin
- Alerts/Types
- Core
- XenModel
- Actions/Updates
- scripts
16 files changed
+327
-117
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | | - | |
| 41 | + | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
123 | 125 | | |
124 | 126 | | |
125 | 127 | | |
126 | | - | |
| 128 | + | |
127 | 129 | | |
128 | | - | |
129 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
130 | 135 | | |
131 | 136 | | |
132 | 137 | | |
133 | 138 | | |
134 | 139 | | |
135 | 140 | | |
136 | 141 | | |
137 | | - | |
| 142 | + | |
138 | 143 | | |
139 | 144 | | |
140 | 145 | | |
141 | 146 | | |
142 | 147 | | |
143 | | - | |
| 148 | + | |
144 | 149 | | |
145 | 150 | | |
146 | 151 | | |
147 | 152 | | |
148 | 153 | | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
149 | 186 | | |
150 | 187 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
269 | 270 | | |
270 | 271 | | |
271 | 272 | | |
| 273 | + | |
272 | 274 | | |
273 | 275 | | |
274 | 276 | | |
| |||
966 | 968 | | |
967 | 969 | | |
968 | 970 | | |
969 | | - | |
| 971 | + | |
970 | 972 | | |
971 | 973 | | |
972 | 974 | | |
| |||
994 | 996 | | |
995 | 997 | | |
996 | 998 | | |
997 | | - | |
| 999 | + | |
998 | 1000 | | |
999 | 1001 | | |
1000 | 1002 | | |
| |||
2715 | 2717 | | |
2716 | 2718 | | |
2717 | 2719 | | |
| 2720 | + | |
2718 | 2721 | | |
| 2722 | + | |
| 2723 | + | |
| 2724 | + | |
| 2725 | + | |
| 2726 | + | |
| 2727 | + | |
2719 | 2728 | | |
2720 | 2729 | | |
2721 | 2730 | | |
| |||
3391 | 3400 | | |
3392 | 3401 | | |
3393 | 3402 | | |
| 3403 | + | |
| 3404 | + | |
| 3405 | + | |
| 3406 | + | |
| 3407 | + | |
| 3408 | + | |
| 3409 | + | |
| 3410 | + | |
| 3411 | + | |
| 3412 | + | |
3394 | 3413 | | |
3395 | 3414 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2772 | 2772 | | |
2773 | 2773 | | |
2774 | 2774 | | |
| 2775 | + | |
| 2776 | + | |
| 2777 | + | |
2775 | 2778 | | |
2776 | 2779 | | |
2777 | 2780 | | |
| |||
2797 | 2800 | | |
2798 | 2801 | | |
2799 | 2802 | | |
2800 | | - | |
| 2803 | + | |
2801 | 2804 | | |
2802 | 2805 | | |
2803 | 2806 | | |
2804 | 2807 | | |
2805 | 2808 | | |
2806 | | - | |
| 2809 | + | |
2807 | 2810 | | |
2808 | 2811 | | |
2809 | 2812 | | |
2810 | 2813 | | |
| 2814 | + | |
| 2815 | + | |
| 2816 | + | |
| 2817 | + | |
| 2818 | + | |
| 2819 | + | |
2811 | 2820 | | |
2812 | 2821 | | |
2813 | 2822 | | |
| |||
4143 | 4152 | | |
4144 | 4153 | | |
4145 | 4154 | | |
| 4155 | + | |
| 4156 | + | |
| 4157 | + | |
| 4158 | + | |
| 4159 | + | |
| 4160 | + | |
4146 | 4161 | | |
4147 | 4162 | | |
4148 | 4163 | | |
| |||
4167 | 4182 | | |
4168 | 4183 | | |
4169 | 4184 | | |
| 4185 | + | |
| 4186 | + | |
| 4187 | + | |
| 4188 | + | |
| 4189 | + | |
| 4190 | + | |
4170 | 4191 | | |
4171 | 4192 | | |
4172 | 4193 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
| 46 | + | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | | - | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| |||
0 commit comments