Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update main branch with 2.12.1 release #2568

Closed
wants to merge 64 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
e7b0176
add check for registered profiles for ZE tree
JillieBeanSim Nov 1, 2023
ecc334d
fix unit tests
JillieBeanSim Nov 2, 2023
5e1ac97
Merge remote-tracking branch 'origin/main' into fix/quickpick-profile…
JillieBeanSim Nov 2, 2023
3abfe6d
add CHANGELOG item
JillieBeanSim Nov 2, 2023
18b37fb
update all to "2.12.1-SNAPSHOT"
JillieBeanSim Nov 2, 2023
891650a
Merge branch 'merging/main-2.12.0' into fix/quickpick-profile-list
JillieBeanSim Nov 2, 2023
b0be0a7
Merge remote-tracking branch 'origin/main' into merging/main-2.12.0
JillieBeanSim Nov 3, 2023
7991a6f
add codecov
JillieBeanSim Nov 3, 2023
a16ceb4
return empty array even if error caught and logged
JillieBeanSim Nov 3, 2023
0662c8c
update when clause of when to show option
JillieBeanSim Nov 6, 2023
8d1b349
add CHANGELOG item for fix
JillieBeanSim Nov 6, 2023
3441551
change shortcut to available shortcut keybind
rudyflores Nov 6, 2023
78a2a76
Merge pull request #2540 from zowe/merging/main-2.12.0
JillieBeanSim Nov 6, 2023
b8b0447
Merge branch 'maintenance' into remove-history-shortcut
JillieBeanSim Nov 6, 2023
ea7cc41
Merge branch 'maintenance' into fix/submit-jcl-menu-item
JillieBeanSim Nov 6, 2023
0edbc0d
Merge branch 'maintenance' into fix/quickpick-profile-list
JillieBeanSim Nov 6, 2023
960c12a
add changelog
rudyflores Nov 6, 2023
5f34760
Merge branch 'remove-history-shortcut' of github.com:zowe/vscode-exte…
rudyflores Nov 6, 2023
910f86d
Merge pull request #2545 from zowe/remove-history-shortcut
JillieBeanSim Nov 6, 2023
af27b78
Merge branch 'maintenance' into fix/submit-jcl-menu-item
JillieBeanSim Nov 6, 2023
467b2b5
Merge branch 'maintenance' into fix/quickpick-profile-list
JillieBeanSim Nov 6, 2023
e4cda90
Merge pull request #2542 from zowe/fix/submit-jcl-menu-item
rudyflores Nov 6, 2023
afe2e9c
Move menu items to proper location
rudyflores Nov 6, 2023
9b24294
add changelog
rudyflores Nov 6, 2023
f199a36
Merge branch 'maintenance' into fix/quickpick-profile-list
JillieBeanSim Nov 7, 2023
e476246
address comments
JillieBeanSim Nov 7, 2023
53849b0
Merge pull request #2548 from zowe/remove-token-logout-button
JillieBeanSim Nov 7, 2023
7a601ab
Merge branch 'maintenance' into fix/quickpick-profile-list
JillieBeanSim Nov 7, 2023
cfbdb23
Etag mismatch not triggering compare
SanthoshiBoyina1 Nov 7, 2023
a3ae254
prepare the release notes and versioning
JillieBeanSim Nov 7, 2023
acb1cb3
updated changelog file
SanthoshiBoyina1 Nov 7, 2023
23114c4
Merge pull request #2539 from zowe/fix/quickpick-profile-list
rudyflores Nov 7, 2023
1cc1c44
Merge branch 'maintenance' into release/2.12.1
JillieBeanSim Nov 7, 2023
b4b8c81
Fix undefined etag for dataset nodes
t1m0thyj Nov 7, 2023
8b897d9
Fix dataset being uploaded with extension
t1m0thyj Nov 7, 2023
feb2133
Add unit test for error handling on overwrite
t1m0thyj Nov 8, 2023
4a68e9b
sort/ds: coerce date value to null if not provided
traeok Nov 8, 2023
ffecc78
Add more tests and fix error handling for overwrite
t1m0thyj Nov 8, 2023
e73cc74
Merge pull request #2551 from zowe/fix/ds-etag-undefined
JillieBeanSim Nov 8, 2023
df0c851
Merge branch 'maintenance' into etag-mismatch-not-triggering-compare
JillieBeanSim Nov 8, 2023
e182ff0
sort/ds: Handle case where one date in sort is invalid
traeok Nov 8, 2023
9c78cd4
add timothy's suggestion and always return etag but also check for it
JillieBeanSim Nov 8, 2023
25b2379
remove the passing of returnEtag if always true in force upload
JillieBeanSim Nov 8, 2023
0c665d4
make sure etag exists before setEtag called
JillieBeanSim Nov 8, 2023
f2d5e10
Merge pull request #2553 from zowe/fix/sort/valid-date
JillieBeanSim Nov 8, 2023
876e0c7
Merge branch 'maintenance' into release/2.12.1
JillieBeanSim Nov 8, 2023
3cc6549
Merge branch 'maintenance' into etag-mismatch-not-triggering-compare
JillieBeanSim Nov 8, 2023
2c7e81e
more checks for existing etag
JillieBeanSim Nov 8, 2023
85f9f2f
sorry wrong line changed
JillieBeanSim Nov 8, 2023
9e5b0d4
Merge pull request #2549 from zowe/etag-mismatch-not-triggering-compare
JillieBeanSim Nov 8, 2023
f56c91b
Merge branch 'maintenance' into release/2.12.1
JillieBeanSim Nov 8, 2023
d6d2800
move changelog item to correct release
JillieBeanSim Nov 8, 2023
00add2e
fix location of FTP ext bug fix changelog items
JillieBeanSim Nov 8, 2023
a23862d
Change custom credential setting scope
rudyflores Nov 8, 2023
4a12b42
add changelog
rudyflores Nov 8, 2023
66ecbfe
Merge pull request #2554 from zowe/change-setting-scope
JillieBeanSim Nov 8, 2023
58395ac
Merge branch 'maintenance' into release/2.12.1
JillieBeanSim Nov 8, 2023
595cf9d
USS: split path with path.sep to fix saves on Windows
traeok Nov 9, 2023
09004d9
Merge pull request #2557 from zowe/fix/uss/split-path-on-save
JillieBeanSim Nov 9, 2023
d285ef3
Merge branch 'maintenance' into release/2.12.1
JillieBeanSim Nov 9, 2023
be7204e
Merge pull request #2550 from zowe/release/2.12.1
zFernand0 Nov 9, 2023
68a19f9
Bump version to 2.12.1 [ci skip]
zowe-robot Nov 9, 2023
da4c535
Bump version to 2.12.2-SNAPSHOT [ci skip]
zowe-robot Nov 9, 2023
e7bc291
lerna & package.jsons to "2.13.0-SNAPSHOT"
JillieBeanSim Nov 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/eslint-plugin-zowe-explorer/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ All notable changes to the "eslint-plugin-zowe-explorer" package will be documen

### Bug fixes

## `2.12.1`

## `2.12.0`

## `2.11.2`
Expand Down
2 changes: 2 additions & 0 deletions packages/zowe-explorer-api/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ All notable changes to the "zowe-explorer-api" extension will be documented in t

### Bug fixes

## `2.12.1`

## `2.12.0`

### New features and enhancements
Expand Down
9 changes: 7 additions & 2 deletions packages/zowe-explorer-ftp-extension/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,19 @@ All notable changes to the "zowe-explorer-ftp-extension" extension will be docum

### Bug fixes

## `2.12.0`
## `2.12.1`

### Bug fixes

- Fixed ECONNRESET error when trying to upload or create an empty data set member. [#2350](https://github.com/zowe/vscode-extension-for-zowe/issues/2350)
- Fixed issue where temporary files for e-tag comparison were not deleted after use.
- Fixed issue where another connection attempt was made inside `putContents` (in `getContentsTag`) even though a connection was already active.

## `2.12.0`

### Bug fixes

- Fixed ECONNRESET error when trying to upload or create an empty data set member. [#2350](https://github.com/zowe/vscode-extension-for-zowe/issues/2350)

## `2.11.2`

### Bug fixes
Expand Down
12 changes: 12 additions & 0 deletions packages/zowe-explorer/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,18 @@ All notable changes to the "vscode-extension-for-zowe" extension will be documen

### Bug fixes

## `2.12.1`

### Bug fixes

- Fix issue with certain actions displaying profiles that are not registered with the tree that is providing the action. [#2534](https://github.com/zowe/vscode-extension-for-zowe/issues/2534)
- Update when the option to submit local file as JCL will be displayed in context menus. [#2541](https://github.com/zowe/vscode-extension-for-zowe/issues/2541)
- Solved issue with a conflicting keybinding for `Edit History`, changed keybinding to `Ctrl`+`Alt`+`y` for Windows and `⌘ Cmd`+`⌥ Opt`+`y` for macOS. [#2543](https://github.com/zowe/vscode-extension-for-zowe/issues/2543)
- Removed duplicate context menu items displayed in USS view that now exist within the `Manage Profile` option.[#2547](https://github.com/zowe/vscode-extension-for-zowe/issues/2547)
- Fixed issue where sort PDS feature applied the date description to members without a valid date [#2552](https://github.com/zowe/vscode-extension-for-zowe/issues/2552)
- Fixed VSC Compare function, not working with Favorites from Zowe Explorer. [#2549](https://github.com/zowe/vscode-extension-for-zowe/pull/2549)
- Fixed issue where setting `zowe.security.checkForCustomCredentialManagers` appeared in all scopes instead of just the user scope [#2555](https://github.com/zowe/vscode-extension-for-zowe/issues/2555)

## `2.12.0`

### New features and enhancements
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import { ZoweDatasetNode } from "../../../src/dataset/ZoweDatasetNode";
import { ZoweExplorerApiRegister } from "../../../src/ZoweExplorerApiRegister";
import * as globals from "../../../src/globals";
import { ZoweLogger } from "../../../src/utils/LoggerUtils";
import { ProfileManagement } from "../../../src/utils/ProfileManagement";

describe("mvsCommandActions unit testing", () => {
const showErrorMessage = jest.fn();
Expand Down Expand Up @@ -59,6 +60,10 @@ describe("mvsCommandActions unit testing", () => {
});
Object.defineProperty(ZoweLogger, "trace", { value: jest.fn(), configurable: true });
Object.defineProperty(ZoweLogger, "error", { value: jest.fn(), configurable: true });
Object.defineProperty(ProfileManagement, "getRegisteredProfileNameList", {
value: jest.fn().mockReturnValue(["firstName", "secondName"]),
configurable: true,
});

createQuickPick.mockReturnValue({
placeholder: 'Choose "Create new..." to define a new profile or select an existing profile to add to the Data Set Explorer',
Expand Down Expand Up @@ -404,25 +409,6 @@ describe("mvsCommandActions unit testing", () => {
expect(showInputBox.mock.calls.length).toBe(0);
});

it("tests the issueMvsCommand function no profiles error", async () => {
Object.defineProperty(profileLoader.Profiles, "getInstance", {
value: jest.fn(() => {
return {
allProfiles: [],
defaultProfile: undefined,
checkCurrentProfile: jest.fn(() => {
return profilesForValidation;
}),
validateProfiles: jest.fn(),
getBaseProfile: jest.fn(),
validProfile: ValidProfileEnum.VALID,
};
}),
});
await mvsActions.issueMvsCommand();
expect(showInformationMessage.mock.calls[0][0]).toEqual("No profiles available");
});

it("tests the issueMvsCommand prompt credentials", async () => {
Object.defineProperty(profileLoader.Profiles, "getInstance", {
value: jest.fn(() => {
Expand Down Expand Up @@ -626,4 +612,27 @@ describe("mvsCommandActions unit testing", () => {
expect(showErrorMessage.mock.calls.length).toBe(1);
expect(showErrorMessage.mock.calls[0][0]).toContain(testError.message);
});

it("tests the issueMvsCommand function no profiles error", async () => {
Object.defineProperty(profileLoader.Profiles, "getInstance", {
value: jest.fn(() => {
return {
allProfiles: [],
defaultProfile: undefined,
checkCurrentProfile: jest.fn(() => {
return profilesForValidation;
}),
validateProfiles: jest.fn(),
getBaseProfile: jest.fn(),
validProfile: ValidProfileEnum.VALID,
};
}),
});
Object.defineProperty(ProfileManagement, "getRegisteredProfileNameList", {
value: jest.fn().mockReturnValue([]),
configurable: true,
});
await mvsActions.issueMvsCommand();
expect(showInformationMessage.mock.calls[0][0]).toEqual("No profiles available");
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import * as utils from "../../../src/utils/ProfilesUtils";
import { imperative } from "@zowe/cli";
import { ZoweExplorerApiRegister } from "../../../src/ZoweExplorerApiRegister";
import { ZoweLogger } from "../../../src/utils/LoggerUtils";
import { ProfileManagement } from "../../../src/utils/ProfileManagement";

describe("mvsCommandActions unit testing", () => {
const showErrorMessage = jest.fn();
Expand Down Expand Up @@ -54,6 +55,10 @@ describe("mvsCommandActions unit testing", () => {
});
Object.defineProperty(ZoweLogger, "error", { value: jest.fn(), configurable: true });
Object.defineProperty(ZoweLogger, "trace", { value: jest.fn(), configurable: true });
Object.defineProperty(ProfileManagement, "getRegisteredProfileNameList", {
value: jest.fn().mockReturnValue(["firstName", "secondName"]),
configurable: true,
});

const ProgressLocation = jest.fn().mockImplementation(() => {
return {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import { ZoweDatasetNode } from "../../../src/dataset/ZoweDatasetNode";
import { ZoweExplorerApiRegister } from "../../../src/ZoweExplorerApiRegister";
import * as globals from "../../../src/globals";
import { ZoweLogger } from "../../../src/utils/LoggerUtils";
import { ProfileManagement } from "../../../src/utils/ProfileManagement";

describe("TsoCommandHandler unit testing", () => {
const showErrorMessage = jest.fn();
Expand Down Expand Up @@ -118,6 +119,10 @@ describe("TsoCommandHandler unit testing", () => {
Object.defineProperty(vscode.window, "createOutputChannel", { value: createOutputChannel });
Object.defineProperty(vscode, "ProgressLocation", { value: ProgressLocation });
Object.defineProperty(vscode.window, "withProgress", { value: withProgress });
Object.defineProperty(ProfileManagement, "getRegisteredProfileNameList", {
value: jest.fn().mockReturnValue(["firstName", "secondName"]),
configurable: true,
});

mockLoadNamedProfile.mockReturnValue({ profile: { name: "aProfile", type: "zosmf" } });
getConfiguration.mockReturnValue({
Expand Down Expand Up @@ -406,25 +411,6 @@ describe("TsoCommandHandler unit testing", () => {
expect(showInputBox.mock.calls.length).toBe(0);
});

it("tests the issueTsoCommand function no profiles error", async () => {
Object.defineProperty(profileLoader.Profiles, "getInstance", {
value: jest.fn(() => {
return {
allProfiles: [],
defaultProfile: undefined,
checkCurrentProfile: jest.fn(() => {
return profilesForValidation;
}),
validateProfiles: jest.fn(),
getBaseProfile: jest.fn(),
validProfile: ValidProfileEnum.VALID,
};
}),
});
await tsoActions.issueTsoCommand();
expect(showInformationMessage.mock.calls[0][0]).toEqual("No profiles available");
});

it("tests the issueTsoCommand prompt credentials", async () => {
Object.defineProperty(profileLoader.Profiles, "getInstance", {
value: jest.fn(() => {
Expand Down Expand Up @@ -645,4 +631,27 @@ describe("TsoCommandHandler unit testing", () => {
name: "test1",
});
});

it("tests the issueTsoCommand function no profiles error", async () => {
Object.defineProperty(profileLoader.Profiles, "getInstance", {
value: jest.fn(() => {
return {
allProfiles: [],
defaultProfile: undefined,
checkCurrentProfile: jest.fn(() => {
return profilesForValidation;
}),
validateProfiles: jest.fn(),
getBaseProfile: jest.fn(),
validProfile: ValidProfileEnum.VALID,
};
}),
});
Object.defineProperty(ProfileManagement, "getRegisteredProfileNameList", {
value: jest.fn().mockReturnValue([]),
configurable: true,
});
await tsoActions.issueTsoCommand();
expect(showInformationMessage.mock.calls[0][0]).toEqual("No profiles available");
});
});
Loading
Loading