diff --git a/CHANGELOG.md b/CHANGELOG.md index b8ceb994..107d3508 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,34 @@ All notable changes to the Zowe Explorer plug-in for IntelliJ IDEA will be docum ## [Unreleased] +### Features + +* Feature: GitHub issue #224: USS files and folders: owner, permissions and other specifics for the entities ([0dfb055c](https://github.com/zowe/zowe-explorer-intellij/commit/0dfb055c)) +* Feature: GitHub issue #223: Add hint to the working set option in plus dropdown ([c8bfba3c](https://github.com/zowe/zowe-explorer-intellij/commit/c8bfba3c)) +* Feature: GitHub issue #222: Settings -> Clear files cache ([8b71d7f0](https://github.com/zowe/zowe-explorer-intellij/commit/8b71d7f0)) +* Feature: GitHub issue #221: JES Explorer: add settings for return codes ([f98817b8](https://github.com/zowe/zowe-explorer-intellij/commit/f98817b8)) +* Feature: GitHub issue #220: Dataset allocation dialog: enchancements ([451b7900](https://github.com/zowe/zowe-explorer-intellij/commit/451b7900)) +* Feature: GitHub issue #219: Add colouring for JES job results ([6fc1974e](https://github.com/zowe/zowe-explorer-intellij/commit/6fc1974e)) +* Feature: GitHub issue #218: Dataset templates: PDS/E template ([451b7900](https://github.com/zowe/zowe-explorer-intellij/commit/451b7900)) +* Feature: GitHub issue #217: Tooltips for columns in settings ([96aafcb4](https://github.com/zowe/zowe-explorer-intellij/commit/96aafcb4)) +* Feature: GitHub issue #216: Decide what to do with requesters ([6a3e55ad](https://github.com/zowe/zowe-explorer-intellij/commit/6a3e55ad)) +* Feature: GitHub issue #215: Remove usage of com.ibm.mq:com.ibm.mq.allclient library ([14f6c482](https://github.com/zowe/zowe-explorer-intellij/commit/14f6c482)) +* Feature: GitHub issue #210: Ability to run REXX members directly from the File Explorer view (via a TSO EXEC) ([6661f255](https://github.com/zowe/zowe-explorer-intellij/commit/6661f255)) +* Feature: Working sets and masks deletion for several elements ([399f9f97](https://github.com/zowe/zowe-explorer-intellij/commit/399f9f97)) +* Feature: Make sync operations blocking ([fbf42408](https://github.com/zowe/zowe-explorer-intellij/commit/fbf42408)) +* Feature: USS Properties: change feature for owner and group ([3696042f](https://github.com/zowe/zowe-explorer-intellij/commit/3696042f)) +* Feature: Disable "Reopen session" button for TSO Console when CredentialsNotFound exception appears ([8bdc90c4](https://github.com/zowe/zowe-explorer-intellij/commit/8bdc90c4)) + ### Bugfixes * Bugfix: Fixed zowe.config.json: connection is not deleted correctly ([38012f3b](https://github.com/zowe/zowe-explorer-intellij/commit/38012f3b)) +* Bugfix: Fixed USS path display ([97be3b24](https://github.com/zowe/zowe-explorer-intellij/commit/97be3b24)) +* Bugfix: Fixed SonarCloud analysis issue for passwords ([cfda6e67](https://github.com/zowe/zowe-explorer-intellij/commit/cfda6e67)) +* Bugfix: Fixed a file downloading without read permission ([2bd8b3d6](https://github.com/zowe/zowe-explorer-intellij/commit/2bd8b3d6)) +* Bugfix: Fixed the new name functionality in case of name conflict does not apply when copying to the same member ([7fb4d746](https://github.com/zowe/zowe-explorer-intellij/commit/7fb4d746)) +* Bugfix: Fixed renaming member in one dataset was causing a "load more" to appear in the same dataset in one of the masks ([2e956c78](https://github.com/zowe/zowe-explorer-intellij/commit/2e956c78)) +* Bugfix: Fixed error during a file move ([16665ed6](https://github.com/zowe/zowe-explorer-intellij/commit/16665ed6)) +* Bugfix: Fixed creating a file or folder does not trigger refresh action for the intersecting mask ([6a7a2eb3](https://github.com/zowe/zowe-explorer-intellij/commit/6a7a2eb3)) * Bugfix: Fixed invalid refresh cache date for nodes in case fetching was canceled by user ([d7682be0](https://github.com/zowe/zowe-explorer-intellij/commit/d7682be0)) * Bugfix: Fixed issue with "Delete" button was disabled when multiple entities are selected ([33f23417](https://github.com/zowe/zowe-explorer-intellij/commit/33f23417)) * Bugfix: Fixed remote conflict issue ([82b6fb7b](https://github.com/zowe/zowe-explorer-intellij/commit/82b6fb7b)) diff --git a/README.md b/README.md index 9fe94fb1..466fd392 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ To start using the plugin: ## Developer guide -- IntelliJ IDEA platform IDE version 2022.3 and later (Community will be enough) +- IntelliJ IDEA platform IDE version 2023.1 and later (Community will be enough) - Java SDK 17 (IntelliJ IDEA platform IDE's built-in) ### Setup steps diff --git a/src/main/kotlin/org/zowe/explorer/explorer/actions/CreateUssEntityAction.kt b/src/main/kotlin/org/zowe/explorer/explorer/actions/CreateUssEntityAction.kt index a8f6ddb9..d91d07ba 100644 --- a/src/main/kotlin/org/zowe/explorer/explorer/actions/CreateUssEntityAction.kt +++ b/src/main/kotlin/org/zowe/explorer/explorer/actions/CreateUssEntityAction.kt @@ -24,10 +24,8 @@ import org.zowe.explorer.common.ui.showUntilDone import org.zowe.explorer.config.connect.ConnectionConfig import org.zowe.explorer.config.connect.CredentialService import org.zowe.explorer.dataops.DataOpsManager -import org.zowe.explorer.dataops.RemoteQuery import org.zowe.explorer.dataops.attributes.RemoteUssAttributes import org.zowe.explorer.dataops.exceptions.CredentialsNotFoundForConnectionException -import org.zowe.explorer.dataops.fetch.UssQuery import org.zowe.explorer.dataops.getAttributesService import org.zowe.explorer.dataops.operations.UssAllocationOperation import org.zowe.explorer.dataops.operations.UssAllocationParams @@ -122,15 +120,12 @@ abstract class CreateUssEntityAction : AnAction() { progressIndicator = indicator ) - val fileFetchProvider = dataOpsManager - .getFileFetchProvider, MFVirtualFile>( - UssQuery::class.java, RemoteQuery::class.java, MFVirtualFile::class.java - ) - ussDirNode?.query?.let { query -> fileFetchProvider.reload(query) } - changeFileModeIfNeeded(file, allocationParams, connectionConfig, indicator) }.onSuccess { - ussDirNode?.cleanCache(false) + ussDirNode?.let { + view.myFsTreeStructure.findByPredicate { node -> node is FetchNode && node.query == it.query } + .forEach { node -> node.cleanCacheIfPossible(false) } + } res = true }.onFailure { t -> NotificationsService.errorNotification(t, project) diff --git a/src/main/kotlin/org/zowe/explorer/explorer/ui/ExplorerTreeView.kt b/src/main/kotlin/org/zowe/explorer/explorer/ui/ExplorerTreeView.kt index e32134b3..c170d8c0 100644 --- a/src/main/kotlin/org/zowe/explorer/explorer/ui/ExplorerTreeView.kt +++ b/src/main/kotlin/org/zowe/explorer/explorer/ui/ExplorerTreeView.kt @@ -287,7 +287,8 @@ abstract class ExplorerTreeView) { events .mapNotNull { - val nodes = myFsTreeStructure.findByVirtualFile(it.file ?: return@mapNotNull null) + val eventFile = it.file ?: return@mapNotNull null + val nodes = myFsTreeStructure.findByVirtualFile(eventFile) when { this@ExplorerTreeView .ignoreVFSChangeEvents