Commit Graph

5044 Commits

Author SHA1 Message Date
Mihaela Stoica
31c26aef22 Merge branch 'master' into CA-242134 2017-05-09 16:31:04 +01:00
Mihaela Stoica
5aaaf48139 Merge pull request #1584 from letsboogey/CA-253011
CA-253011 - Update license text
2017-05-09 09:24:05 +01:00
Mihaela Stoica
52ba688920 CA-242134: Change the API version to 2.0 in our test databases
This is required following the change to refuse connection to pre-Clearwater hosts

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-08 17:55:36 +01:00
Mihaela Stoica
dba1d05fcc CA-242134: Refuse connection to pre-Clearwater hosts
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-08 17:54:26 +01:00
Mihaela Stoica
549cdf6522 CA-242134: Fix some tests after the removal of ClearwaterOrGreater usages
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-08 17:53:17 +01:00
Anoob Soman
c0af00b54a CP-21130: Enable qemu_ext_key_encoding if qemu supports it. 2017-05-08 17:37:35 +01:00
Letsibogo Ramadi
c1197fce61 CA-253011 - Update licence text
Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>
2017-05-08 17:07:43 +01:00
Letsibogo Ramadi
7cf7601499 CA-253011 - Update license text 2017-05-08 16:57:17 +01:00
Mihaela Stoica
a31c31eb07 CA-242134: Remove licensing code targeting pre-Clearwater hosts
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-08 13:40:48 +01:00
Mihaela Stoica
68aa91bcaa CA-242134: Remove code targeting pre-Clearwater hosts and unnecessary ClearwaterOrGreater checks
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-05 15:35:25 +01:00
Mihaela Stoica
78ad827cc4 CA-242134: Remove TampaOrGreater, its usages and unreachable code
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-05 14:31:43 +01:00
Mihaela Stoica
496a400ae4 Merge pull request #1582 from xenserver/release/falcon/staging
Merge release/falcon/staging to master
2017-05-05 12:45:31 +01:00
Mihaela Stoica
827843a7e7 Merge pull request #1581 from vetrivelc/release/falcon/staging
L10N:Revised Falcon Help Files
2017-05-05 12:16:13 +01:00
vetrivelc
16d7d6fa89 L10N:Revised Falcon Help Files 2017-05-05 16:41:56 +05:30
Mihaela Stoica
d9f6016933 CP-242134: Remove pre-Clearwater hotfixes
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-05 10:45:10 +01:00
Mihaela Stoica
1351155283 CP-21997: Remove CFUValidator from the build script
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-04 16:50:40 +01:00
Mihaela Stoica
d107410d33 Merge pull request #1574 from GaborApatiNagy/CP-21997
CP-21997: Delete unused CFUValidator code
2017-05-04 15:27:05 +01:00
Mihaela Stoica
cd2cff7d91 Merge pull request #1579 from xenserver/release/falcon/staging
Merge release/falcon/staging to master
2017-05-04 15:22:53 +01:00
Mihaela Stoica
7883713e7e Merge pull request #1577 from vetrivelc/release/falcon/staging
L10N:Falcon Localized Help Files Checkin
2017-05-04 15:18:12 +01:00
Mihaela Stoica
dd861cfeed CA-253047: Wrong prechecks are performed in Automated Updates mode if an update has been previously uploaded
Reset the PrecheckPage.PoolUpdate property on leaving the SelectPatch page, because it needs to be null for the Automated Updates mode and for the single update mode it will be updated on leaving the Upload page.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-04 15:14:06 +01:00
vetrivelc
bf58ff1ec0 L10N:Falcon Localized Help Files Checkin 2017-05-04 19:40:06 +05:30
Mihaela Stoica
6e4c5d3548 CA-251630: XenCenter update wizard incorrectly states that some hosts need rebooting and requires suspending VMs
Perform all the prechecks on applicable hosts only (i.e. the hosts that don't have the update applied already), with the following exceptions:
- The HA check, which is performed on the pool master
- The server-side precheck (PatchPrecheckCheck) which will still be performed on all servers in the pool and will show the warning if the update has already been applied on some servers

This commit also adds an override to the HAOffCheck.SuccessfulCheckDescription to show the pool name instead of the master's if the check is successful.
Also, in the PatchPrecheckCheck, I had moved the code that checks if the patch is already applied to the very beginning (before the host liveness check), so it will return the warning that the server will be skipped even if the server is not reachable

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-04 14:32:36 +01:00
Stephen Turner
85d13bdbb6 Remove case that is no longer hit, and that causes confusion because updates.xensource.com shouldn't be in the source 2017-05-03 16:02:31 +01:00
Gabor Apati-Nagy
95c7e47bf7 CP-21997: Delete unused CFUValidator code
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-05-03 14:50:39 +01:00
Mihaela Stoica
f71b39ff5f Merge pull request #1573 from anoobs/ps_ver
download_packages: Check version of powershell before executing
2017-05-03 14:03:25 +01:00
Anoob Soman
dd3dcff853 download_packages: Check version of powershell before executing
Windows 7 (without sp1) comes with powershell v2.x and
download_packages.ps1 doesn't work with powershell v2.x.

Check for powershell version and bail out if Major version is less than
3.

Signed-off-by: Anoob Soman <anoob.soman@citrix.com>
2017-05-03 13:45:41 +01:00
Mihaela Stoica
cd9ef6f509 Merge pull request #1565 from letsboogey/bug_thursday
CA-250235 - XC is allowing user to configure Health check even with W…
2017-05-03 12:48:41 +01:00
Mihaela Stoica
42b4afa752 Merge pull request #1566 from xenserver/release/falcon/staging
Merge release/falcon/staging to master
2017-05-03 12:41:49 +01:00
Letsibogo Ramadi
042915f5be CA-250235 - XC is allowing user to configure Health check even with Wrong XenServer Credentials 2017-05-03 12:23:06 +01:00
Mihaela Stoica
7da27c9f62 Merge pull request #1572 from makunterry/private/kunm/apply_inverness
CP-21658: Expose UI only for Inverness or greater version
2017-05-03 10:50:52 +01:00
Kun Ma
b8dbb67309 CP-21658: Expose UI only for Inverness or greater version
Signed-off-by: Kun Ma <kun.ma@citrix.com>
2017-05-03 17:40:49 +08:00
Mihaela Stoica
54c7ff3c29 Merge pull request #1570 from xenserver/master
Merge master into REQ-378
2017-05-03 09:43:42 +01:00
Anoob Soman
5b407bde45 CP-21130: Support EXT_KEY_EVENT encoding for qemu VNC
qemu expects scan code to be passed using the following format,
+--------------+--------------+-------------------+
| No. of bytes | Type [Value] | Description       |
+--------------+--------------+-------------------+
| 1            | U8 [255]     | message-type      |
| 1            | U8 [0]       | qemu key extension|
| 1            | U8           | padding           |
| 1            | U8           | down-flag         |
| 4            | U32          | key symbol        |
| 4            | U32          | key scan code     |
+--------------+--------------+-------------------+
if EXT_KEY_EVENT encoding is supported.

XenCenter queries for EXT_KEY_EVENT encoding and uses EXT_KEY_EVENT for
sending key events to QEMU.

Signed-off-by: Anoob Soman <anoob.soman@citrix.com>
2017-05-02 17:17:30 +01:00
Anoob Soman
a0c34c28bf CP-21130: Extend KeyEvent to supply translated key symbol
QEMU EXT_KEY_EVENT expects key symbol and key scan code to
be sent. This commit extends KeyEvent to supply translated key symbol,
as well as scan code.

Signed-off-by: Anoob Soman <anoob.soman@citrix.com>
2017-05-02 17:16:23 +01:00
Anoob Soman
c0732e261a XenCenterVNC: Do not add 128 to scanCode of NUMS_LOCK
Although NUMS_LOCK is an extended key, scan code for NUMS_LOCK is not
prefixed with 0xe0.

Signed-off-by: Anoob Soman <anoob.soman@citrix.com>
2017-05-02 17:15:46 +01:00
Anoob Soman
c3e588be33 XenCenterVNC: Change the semantics of extended.
"bool extended" reflects FLAG_EXTENDED flag in kbStruct.flags. extended
will be true, if any of the extended key is pressed.

Signed-off-by: Anoob Soman <anoob.soman@citrix.com>
2017-05-02 17:14:16 +01:00
Letsibogo Ramadi
6fdc18e64f Merge pull request #1561 from MihaelaStoica/master
CA-249860: Local root user can not restart the toolstack from XenCent…
2017-05-02 15:06:51 +01:00
Kun Ma
3df0174886 CP-21658: Refine zh/ja UI for PerfmonAlertOptionsPage
Signed-off-by: Kun Ma <kun.ma@citrix.com>
2017-05-02 13:37:16 +01:00
vetrivelc
713dc5dc8a L10N:CP-21817 Translation Checkins 2017-05-02 13:37:16 +01:00
Letsibogo Ramadi
568b4c0de5 Merge pull request #1568 from MihaelaStoica/InvernessOrGreater
Add InvernessOrGreater
2017-05-02 11:55:17 +01:00
Mihaela Stoica
50dadf4ec6 Add InvernessOrGreater
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-02 11:29:39 +01:00
Konstantina Chremmou
119da72ba6 Merge pull request #1564 from MihaelaStoica/CA-251616
CA-251616: Remove the use of the additional branding repository
2017-04-28 14:19:23 +01:00
Mihaela Stoica
7e4a83cc2a CA-251616: Remove the use of the additional branding repository
Rename variable

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-04-28 14:09:38 +01:00
Konstantina Chremmou
efd430cfc6 Merge pull request #1563 from MihaelaStoica/CA-251616
CA-251616: Remove the use of the additional branding repository
2017-04-28 13:47:29 +01:00
Mihaela Stoica
b9507931d3 CA-251616: Remove the use of the additional branding repository
Add SERVER_BRANDING_TIP to the manifest regardless of branding

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-04-28 13:26:06 +01:00
Mihaela Stoica
2944c06762 CA-251616: Remove the use of the additional branding repository
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-04-28 12:50:16 +01:00
Mihaela Stoica
76b3c05b9a CA-250145: XenCenter cannot shutdown VM as VmPowerAdmin user if HA is enabled
The error was happening because of the Pool.sync_database call (when HA is enabled and the VM has a saved restart priority other than DoNotRestart) which requires pool admin or pool operator roles.
This call is not needed, so removing it.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-04-28 09:08:44 +01:00
Mihaela Stoica
ebbed16f54 CA-249860: Local root user can not restart the toolstack from XenCenter with AD enabled
Use the NewSession function which returns a session using the elevated credentials if they exist, otherwise using the connection's credentials

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-04-27 12:58:16 +01:00
Mihaela Stoica
3c861b0b7a Merge pull request #1558 from xenserver/release/falcon/staging
Merge release/falcon/staging to master
2017-04-26 14:06:15 +01:00
Gabor Apati-Nagy
141b670964 CA-249056: Add a unique ID to XenCenter Check For Update (#1537)
* CA-249056: Add a unique ID to XenCenter Check For Update

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

* CA-249056: Add a unique ID to XenCenter Check For Update

Fixed the format of the User-Agent to comply with [1].

[1] https://tools.ietf.org/html/rfc7231#section-5.5.3

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

* CA-249056: Add a unique ID to XenCenter Check For Update

Changes following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

* CA-249056: Add a unique ID to XenCenter Check For Update

Changes following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

* CA-249056: Add a unique ID to XenCenter Check For Update

Changes following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-04-26 12:45:49 +01:00