Commit Graph

2626 Commits

Author SHA1 Message Date
Gabor Apati-Nagy
aecb18ab15 CA-186244: Cross-pool copy of a stopped VM allows selection of the current pool
Now CrossPoolMigrateCanMigrateFilter can accept a parameter to decide whether to allow same target pool or not -- if allowSameTargetPool is false, it won't.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-11-24 18:36:03 +00:00
Mihaela Stoica
2a5049829f CA-180576: Update spacing of the controls on Destination page
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-24 11:01:47 +00:00
Mihaela Stoica
01f5081511 CA-180576: Provide a option to give case number when uploading a report
- rearranged the controls (removed group box, indented upload-related controls)
- also changed the progress bar style for the upload action to Marquee, as the Blocks style did not show any progress and it looked like the upload hasn't started

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-24 10:44:55 +00:00
Gabor Apati-Nagy
d79351a8f4 CA-187909: Special characters should be UrlEncoded on HTTP calls
A bit of refactoring

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-11-23 14:47:28 +00:00
Gabor Apati-Nagy
2e8e7afb7e CA-188554: XenCenter Error Uncaught exception System.NullReferenceException
Fixed the exception that was caused by a missing null reference check and also the fact that the license status had to be watched only for pools and hosts, so added a check before starting watching the license status of the IXenObject (on GeneralTabPage)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-11-23 14:35:20 +00:00
Gabor Apati-Nagy
104d5554fb CA-187909: Special characters should be URLencoded on HTTP calls
UrlEncoded all the strings that are used to create URLs. (Such as untrusted user input: string fileName)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-11-16 17:50:43 +00:00
Stephen Turner
bf1bbd8475 Merge pull request #742 from GaborApatiNagy/master_CP-185888
CA-185888: "Forget" in XenCenter is unclear
2015-11-16 16:20:05 +00:00
Gabor Apati-Nagy
57cea2564c CA-185888: "Forget" in XenCenter is unclear
Capitalized.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-11-16 16:11:40 +00:00
Gabor Apati-Nagy
db4737b5ec CA-185888: "Forget" in XenCenter is unclear
Renamed "Forget" to "Forget password" and updated unit tests accordingly.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-11-13 20:00:25 +00:00
Gabor Apati-Nagy
f2dcaec4ed Merge pull request #736 from MihaelaStoica/CA-149229
CA-149229: Add VDI and VIF mappings when calling "assert_can_migrate"
2015-11-11 13:04:45 +00:00
Gabor Apati-Nagy
54aa8ae239 Merge pull request #739 from MihaelaStoica/CA-188017
CA-188017: When checking credentials on the Health Check dialog, disp…
2015-11-11 13:04:32 +00:00
Gabor Apati-Nagy
5970721ca1 Merge pull request #740 from MihaelaStoica/CP-14780
CP-14780: Revert Windows Update changes
2015-11-11 13:03:47 +00:00
Gabor Apati-Nagy
31c6ab0a7c Merge pull request #732 from MihaelaStoica/CA-187698
CA-187698: When restoring dismissed updates, only do it on the connec…
2015-11-11 12:26:32 +00:00
Stephen Turner
b8dd9f7374 Merge pull request #738 from MihaelaStoica/CA-188150
CA-188150: Fixed the issue where some of  the VIF parameters were not…
2015-11-11 11:50:26 +00:00
Mihaela Stoica
3c956f28ac CP-14780: Revert Windows Update changes (part2)
Revert "Merge pull request #708 from GaborApatiNagy/master_windows_update"

This reverts commit fe03f1382f, reversing
changes made to 423065a2c8.

Conflicts:
	XenAdminTests/TabsAndMenus/MainMenuGeorge.cs
2015-11-10 13:13:23 +00:00
Mihaela Stoica
da718b4af6 CP-14780: Revert Windows Update changes
Revert "Merge pull request #710 from GaborApatiNagy/master_windows_update"

This reverts commit f36c30362f, reversing
changes made to fe03f1382f.
2015-11-10 13:06:52 +00:00
Mihaela Stoica
9ca480a5cd CA-188017: When checking credentials on the Health Check dialog, display a better error message when the user is not authorised to connect to the server
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-09 22:34:32 +00:00
Mihaela Stoica
5e96cbf9c2 CA-188150: Removed unneeded call
- removed the call that assigns vif.VM property, as this property is already assigned in ToProxy()

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-09 22:19:27 +00:00
Mihaela Stoica
bc12d8c92c CA-188150: Fixed the issue where some of the VIF parameters were not preserved when editing VIF properties
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-09 16:00:47 +00:00
Stephen Turner
091372470f Merge pull request #737 from stephen-turner/CP-14647b
CP-14647: Remove two deleted files from the wxs file
2015-11-09 15:50:22 +00:00
Stephen Turner
d0e955ff0d CP-14647: Remove two deleted files from the wxs file 2015-11-09 15:49:29 +00:00
Mihaela Stoica
6c981d586b Merge pull request #735 from stephen-turner/CP-14647b
CP-14647: Remove 5.x code
2015-11-09 15:11:47 +00:00
Stephen Turner
3e7fda871a CP-14647: Remove four unused variables 2015-11-09 14:54:11 +00:00
Mihaela Stoica
f352c0cc73 CA-149229: Add VDI and VIF mappings when calling "assert_can_migrate"
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-09 14:20:37 +00:00
Stephen Turner
f2f590e3e7 CP-14647: More changes after read-through, including getting rid of OEM edition 2015-11-08 16:31:48 +00:00
Stephen Turner
8f6531c1cb CP-14647: Remove deleted files from .csproj 2015-11-08 11:40:24 +00:00
Stephen Turner
524d6eea8e CP-14647: Intermediate check-in #8
All tests now pass, via a combination of
a) Use more up to date databases
b) Delete obsolete tests
c) Edit the version number in the databases (these should be fixed later)
2015-11-08 11:28:06 +00:00
Stephen Turner
9dc3efbd9b CP-14647: Intermediate check-in #7
Delete old TabsAndMenus tests, and fix up newer ones.
2015-11-08 11:28:05 +00:00
Stephen Turner
448ee7fa4e CP-14647: Intermediate check-in #6
Fix two warnings-as-errors, and update sample dbs to newer API
2015-11-08 11:28:03 +00:00
Stephen Turner
8ea7e73b55 CP-14647: Intermediate check-in #5
This should cover everything except updating the tests to use more recent
servers.
2015-11-08 11:28:02 +00:00
Stephen Turner
ce609e31ff CP-14647: Intermediate check-in #4 2015-11-08 11:28:01 +00:00
Stephen Turner
c667e51fd2 CP-14647: Intermediate check-in #3 2015-11-08 11:27:59 +00:00
Stephen Turner
cf6534275e CP-14647: Intermediate check-in #2 2015-11-08 11:27:57 +00:00
Stephen Turner
b587ab832e CP-14647: Intermediate check-in #1 2015-11-08 11:27:56 +00:00
Stephen Turner
d9cd979a44 Merge pull request #734 from MihaelaStoica/CA-186234
CA-186234: Group the issues found in a pool when retrieving CIS analy…
2015-11-06 15:13:29 +00:00
Mihaela Stoica
0963f8ccd2 CA-186234: Group the issues found in a pool when retrieving CIS analysis results for a pool
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-06 15:01:31 +00:00
Stephen Turner
b134f57919 Merge pull request #733 from GaborApatiNagy/master_smb
CP-14778: Update CIFS -> SMB in XenCenter
2015-11-06 14:35:20 +00:00
Gabor Apati-Nagy
c459211f80 CP-14778: Update CIFS -> SMB in XenCenter
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-11-06 14:31:52 +00:00
Mihaela Stoica
817d42fb18 CA-187698: When restoring dismissed updates, only do it on the connections with sufficient privileges
- This fixes the uncaught exception raised when an unauthorized user tries to restore dismissed updates.
- Also added the roles check when dismissing updates.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-05 15:49:38 +00:00
Stephen Turner
15f46c0537 Merge pull request #731 from MihaelaStoica/CP-14649
CP-14649: Change the message for SR_ATTACHED_ON_SLAVE
2015-11-05 10:55:11 +00:00
Mihaela Stoica
b5651ff0e0 CP-14649: Change the message for SR_ATTACHED_ON_SLAVE
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-05 10:43:35 +00:00
Gabor Apati-Nagy
ffaced4b86 Merge pull request #724 from MihaelaStoica/CA-186232
CA-186232: Fix the "Test credentials" button in the Health Check dialog
2015-11-04 20:00:21 +00:00
Stephen Turner
9380134c9e Merge pull request #722 from MihaelaStoica/CP-14641
CP-14641: Add warnings on pool join if the pool and the joining host have different CPU features
2015-11-04 17:02:12 +00:00
Mihaela Stoica
40a634d324 CP-14641: Changes following code review
- vendor check is not needed in the functions where we check whether to warn the users about different feature levels, as the pool join is not allowed if the vendors are different
- renamed some of the functions
- feature comparison is now done eight characters at a time, converted into a 32-bit integer

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-04 16:33:23 +00:00
Stephen Turner
f0e673bd02 Merge pull request #730 from MihaelaStoica/CP-14642
CP-14642: Add friendly names for the new XenServer alerts
2015-11-04 13:39:26 +00:00
Mihaela Stoica
6a06645b92 CP-14642: Add friendly names for the new XenServer alerts
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-04 12:18:20 +00:00
Mihaela Stoica
02b4a8fbb7 CA-186232: Trim the username before using it
- Add Trim() to the instances where we check if the username is null or empty and also where we use it for authentication
- This applies to both XenServer username and Citrix username

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-04 12:06:52 +00:00
Gabor Apati-Nagy
b43efd4116 Merge pull request #726 from MihaelaStoica/CA-180576
CA-180576: Provide a option to give case number when uploading a repo…
2015-11-04 12:03:03 +00:00
Gabor Apati-Nagy
48876f0d1f Merge pull request #723 from MihaelaStoica/CP-14649
CP-14649 Add friendly names for new API errors
2015-11-04 12:02:51 +00:00
Mihaela Stoica
8042081abc Merge pull request #729 from GaborApatiNagy/master_CP-14470
CP-14470: UI: Show Management Agent not installed when guest agent does not support upgrading
2015-11-04 11:02:18 +00:00