Skip to content

Commit

Permalink
Merge main into feature/q-mega
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-toolkit-automation authored Nov 19, 2024
2 parents b2ec3e3 + 97900e1 commit 2e9d613
Show file tree
Hide file tree
Showing 41 changed files with 18 additions and 725 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type" : "removal",
"description" : "Removed support for Gateway 2024.2"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type" : "removal",
"description" : "Removed support for 2023.3.x IDEs"
}
6 changes: 3 additions & 3 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
generate_artifact_toolkit_standalone:
strategy:
matrix:
supported_versions: [ '2023.3', '2024.1', '2024.2', '2024.3' ]
supported_versions: [ '2024.1', '2024.2', '2024.3' ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
generate_artifact_q:
strategy:
matrix:
supported_versions: [ '2023.3', '2024.1', '2024.2', '2024.3' ]
supported_versions: [ '2024.1', '2024.2', '2024.3' ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
generate_artifact_core:
strategy:
matrix:
supported_versions: [ '2023.3', '2024.1', '2024.2', '2024.3' ]
supported_versions: [ '2024.1', '2024.2', '2024.3' ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/q-mega-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
needs: [ time ]
strategy:
matrix:
supported_versions: [ '2023.3', '2024.1', '2024.2', '2024.3' ]
supported_versions: [ '2024.1', '2024.2', '2024.3' ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
needs: [ time ]
strategy:
matrix:
supported_versions: [ '2023.3', '2024.1', '2024.2', '2024.3' ]
supported_versions: [ '2024.1', '2024.2', '2024.3' ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
25 changes: 0 additions & 25 deletions .run/Run AWS Toolkit - Community [2023.3].run.xml

This file was deleted.

25 changes: 0 additions & 25 deletions .run/Run AWS Toolkit - Gateway [2024.2].run.xml

This file was deleted.

25 changes: 0 additions & 25 deletions .run/Run AWS Toolkit - Rider [2023.3].run.xml

This file was deleted.

25 changes: 0 additions & 25 deletions .run/Run AWS Toolkit - Ultimate [2023.3].run.xml

This file was deleted.

25 changes: 0 additions & 25 deletions .run/Run All - Community [2023.3].run.xml

This file was deleted.

25 changes: 0 additions & 25 deletions .run/Run All - Rider [2023.3].run.xml

This file was deleted.

25 changes: 0 additions & 25 deletions .run/Run All - Ultimate [2023.3].run.xml

This file was deleted.

25 changes: 0 additions & 25 deletions .run/Run Amazon Q - Community [2023.3].run.xml

This file was deleted.

25 changes: 0 additions & 25 deletions .run/Run Amazon Q - Rider [2023.3].run.xml

This file was deleted.

25 changes: 0 additions & 25 deletions .run/Run Amazon Q - Ultimate [2023.3].run.xml

This file was deleted.

2 changes: 1 addition & 1 deletion .run/generateConfigs.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def write_config(mv: str, ide: IdeVariant, plugin: PluginVariant):
f.write(TEMPLATE.format(plugin = plugin, variant = ide, major_version = mv))

if __name__ == '__main__':
mvs = ["2023.3", "2024.1", "2024.2", "2024.3"]
mvs = ["2024.1", "2024.2", "2024.3"]
ides = [
IdeVariant("Community", "IC"),
IdeVariant("Rider", "RD"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import software.aws.toolkits.telemetry.UiTelemetry

class QOpenPanelAction : AnAction(message("action.q.openchat.text"), null, AwsIcons.Logos.AWS_Q) {
override fun actionPerformed(e: AnActionEvent) {
if (isRunningOnRemoteBackend() || !isQSupportedInThisVersion()) return
if (isRunningOnRemoteBackend()) return
val project = e.getRequiredData(CommonDataKeys.PROJECT)
UiTelemetry.click(project, "q_openChat")
ToolWindowManager.getInstance(project).getToolWindow(AMAZON_Q_WINDOW_ID)?.activate(null, true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import software.aws.toolkits.jetbrains.core.credentials.AwsBearerTokenConnection
import software.aws.toolkits.jetbrains.core.credentials.ToolkitConnectionManager
import software.aws.toolkits.jetbrains.core.credentials.lazyIsUnauthedBearerConnection
import software.aws.toolkits.jetbrains.core.credentials.pinning.QConnection
import software.aws.toolkits.jetbrains.services.amazonq.isQSupportedInThisVersion
import software.aws.toolkits.jetbrains.utils.isRunningOnRemoteBackend
import java.time.Instant

Expand All @@ -28,6 +27,6 @@ fun isValidCodeTransformConnection(project: Project): Boolean {
}
fun isCodeTransformAvailable(project: Project): Boolean {
if (!isIntellij()) return false
if (isRunningOnRemoteBackend() || !isQSupportedInThisVersion()) return false
if (isRunningOnRemoteBackend()) return false
return isValidCodeTransformConnection(project)
}

This file was deleted.

Loading

0 comments on commit 2e9d613

Please sign in to comment.