Граф коммитов

104 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 1d72fa6db2
Bump webpack from 5.76.3 to 5.94.0 in /ext/vscode (#4261)
Bumps [webpack](https://github.com/webpack/webpack) from 5.76.3 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.76.3...v5.94.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-29 09:15:06 -04:00
dependabot[bot] 6220b73ca8
Bump axios from 1.6.2 to 1.7.4 in /ext/vscode (#4239) 2024-08-27 09:13:04 -07:00
dependabot[bot] 9324bbd4ee
Bump ws from 7.5.9 to 7.5.10 in /ext/vscode (#4016)
Bumps [ws](https://github.com/websockets/ws) from 7.5.9 to 7.5.10.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.5.9...7.5.10)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-26 22:13:56 -07:00
Brandon Waterloo [MSFT] 4a875e2438
Add agent skill wrapping for down command (#3894) 2024-05-10 13:02:12 -07:00
Azure SDK Bot fdb82c196a
Increment VSCode Extension version after release (#3869) 2024-05-07 13:37:37 +00:00
Brandon Waterloo [MSFT] 9e51224bc5
Update version, changelog for 0.8.3 (#3859) 2024-05-06 15:13:52 -04:00
Brandon Waterloo [MSFT] a3e3b7a4ee
Split "from source" into separate question (#3845) 2024-05-06 10:31:43 -04:00
Brandon Waterloo [MSFT] ea75086b9f
Increment VSCode Extension version after release (#3785) 2024-04-24 09:51:40 -07:00
Brandon Waterloo [MSFT] bc26d066bb
Bump version for 0.8.2 release (#3780) 2024-04-23 16:40:04 +00:00
Brandon Waterloo [MSFT] ed6f8c4e53
Changes to support other extensions (#3754) 2024-04-23 15:51:47 +00:00
Brandon Waterloo [MSFT] 1a088b5352
Allow init `--from-code` (#3621) 2024-04-01 13:26:16 +00:00
Azure SDK Bot 285a4c0ea4
Increment VSCode Extension version after release (#3501) 2024-03-07 14:32:34 +00:00
Brandon Waterloo [MSFT] c5e407fe12
Bump version for 0.8.1 release (#3476) 2024-03-06 09:15:02 -05:00
Alex Weininger e6f00ea5a9
Add template url and env name arguments to init command (#3353) 2024-02-14 15:55:22 -08:00
Victor Vazquez 1e8c9733e6
azd-persistence feature (#2872)
* azd-persistence feature

* rel

* remove temp fix to deploy
2024-01-29 12:13:37 -08:00
Brandon Waterloo [MSFT] 15c82201ae
`npm update @vscode/test-electron` and `npm audit fix` (#3192) 2024-01-11 13:44:51 -08:00
Azure SDK Bot 76b21e81de
Increment VSCode Extension version after release (#2985) 2023-11-15 16:41:11 +00:00
Brandon Waterloo [MSFT] 8f8cb523c0
Do a pass of `npm audit fix` (#2983) 2023-11-15 13:58:52 +00:00
Brandon Waterloo [MSFT] 68bbe5861a
Update version, changelog, notices for VSCode extension version 0.8.0 (#2943) 2023-11-15 08:28:42 -05:00
Daniel Jurek 489f1baa08
CDN migration (#2871)
* CDN migration

* Add new CDN host to recordings

* cspell: add azdrelease

* Update Azure DevOps pipeline task

* new version for azdo task

---------

Co-authored-by: Victor Vazquez <vhvb1989@gmail.com>
2023-10-19 08:05:55 -07:00
dependabot[bot] 75d60b1da0
Bump @babel/traverse from 7.22.8 to 7.23.2 in /ext/azuredevops/setupAzd (#2876)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.8 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 12:32:34 -07:00
Victor Vazquez f0915db9a9
add devops task to repo (#2623) 2023-10-17 12:14:00 -07:00
Brandon Waterloo [MSFT] c7119201ad
React to changes to DevCenterMode (#2847) 2023-10-09 14:10:32 -04:00
Brandon Waterloo [MSFT] 4807aad57d
Missed change (#2800) 2023-09-28 10:46:54 -07:00
Brandon Waterloo [MSFT] 39008be71f
Add "local" / "remote" / "local, remote" description to environment picks (#2789) 2023-09-27 15:52:30 -04:00
Brandon Waterloo [MSFT] 830001c3f0
Add commands for toggling DevCenterMode and environment listing (#2771) 2023-09-26 14:14:16 +00:00
dependabot[bot] ba94deae9e
Bump word-wrap from 1.2.3 to 1.2.5 in /ext/vscode (#2579)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-31 22:24:52 +00:00
Matt Ellis 0f665f1bb6
WIP: Support fetching credentials from an external process (#2541)
* WIP: Support fetching credentials from an external process

This change sketches out a possible way for `azd` to delegate
authentication to an external process and teaches the VS Code
extension to use this strategy to provide authentication for `azd`
based on the credential associated with the Azure Account extension.

This works by introducing a new "Remote Credential" type in `azd`, is
used when `AZD_AUTH_ENDPOINT` and `AZD_AUTH_KEY` are defined in the
system environment.  When these values are set and `azd` needs to
request a token, it makes a request to
`${AZD_AUTH_ENDPOINT/token?api-version=2023-07-12-preview` using
`${AZD_AUTH_KEY}` as an bearer token to secure the request.

The body of the request body contains a serialized version of the
`TokenRequestOptions` struct:

```
{
   scopes: []string
   tenantId: string?
}
```

The server is expected to respond with 200 OK and a body that
represents the result of trying to fetch a token (either success or
failure).  One of the two following shapes is expected for the
response:

```
{
  status: "success"
  token: string
  expiresOn: string // (RFC3339 format)
}
```

or

```
{
  status: "error"
  code: "GetTokenError" | "NotLoggedInError"
  message: string // Suitable for display to a human.
}
```

This behavior is currently controlled by a setting
`azure-dev.auth.useIntegratedAuth` which defaults to false. You need
both the updated extension and a version of `azd` which supports this.

Contributes To: #1741

* Have `azd login` rendezvous with external auth server
2023-07-31 15:21:39 -07:00
Aaron Powell a68263dda8
Updating templates except func/java-postgre to use the devconatiner feature (#2489)
* Updating templates to use the devconatiner feature

* Using the latest tag for feature

* Removing apt-install of azd deps in Dockerfile

* update two more from stable to latest

* remove base dockerfile

* add image for devcontainer.json without dockerfile

* add specific azd version in readme

* fix folder for python/nodejs

* fix json not found bug

---------

Co-authored-by: hemarina <hemarina@microsoft.com>
2023-07-13 14:35:15 -07:00
Brandon Waterloo [MSFT] 16718e96e8
Do a pass of `npm audit fix` and `npm update` (#2535) 2023-07-13 10:39:03 -07:00
dependabot[bot] 80da0ab90a
Bump semver from 7.5.0 to 7.5.2 in /ext/vscode (#2523)
Bumps [semver](https://github.com/npm/node-semver) from 7.5.0 to 7.5.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.5.0...v7.5.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-13 08:27:30 -04:00
Azure SDK Bot 8cb29b8db3
Increment VSCode Extension version after release (#2525) 2023-07-12 19:58:20 +00:00
Brandon Waterloo [MSFT] 5667e094ae
I accidentally a word (#2524) 2023-07-12 14:40:14 -04:00
Brandon Waterloo [MSFT] 8329972a40
Update version, changelog, notices for VSCode extension version 0.7.0 (#2518) 2023-07-12 14:23:10 -04:00
Brandon Waterloo [MSFT] 8ea320b85d
Fix spawn mistake (#2504) 2023-07-11 18:06:58 +00:00
Brandon Waterloo [MSFT] 579c37eab3
Add document drop handler (#2448) 2023-07-11 09:24:54 -07:00
Aaron Powell fa3412e499
Add azd devcontainer feature (#1118)
* Adding devcontainer definition - #1095

* Update ext/devcontainer/devcontainer-feature.json

* adding workflow to publish devcontainer image

* Update ext/devcontainer/devcontainer-feature.json

* Update ext/devcontainer/README.md

* adding tests and supporting the expected folder structure

* ensuring curl is available and fixing tests

* Update ext/devcontainer/src/azd/install.sh

Co-authored-by: Daniel Jurek <djurek@microsoft.com>

* combining devcontainer workflows into a single workflow
- test jobs need to pass before deploy passes
- deploy job linked to environment for approval

* Updating based on some feedback

Turns out that the script being run was uninstall not install, whoops

* Apply suggestions from code review

Co-authored-by: hemarina <104857065+hemarina@users.noreply.github.com>

* Apply suggestions from code review

* Update ext/devcontainer/src/azd/README.md

Co-authored-by: Aaron Powell <me@aaron-powell.com>

* Update ext/devcontainer/src/azd/install.sh

Co-authored-by: Aaron Powell <me@aaron-powell.com>

* Update ext/devcontainer/src/azd/install.sh

Co-authored-by: hemarina <104857065+hemarina@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: hemarina <104857065+hemarina@users.noreply.github.com>

* Update ext/devcontainer/src/azd/devcontainer-feature.json

Co-authored-by: Matt Ellis <matt.ellis@microsoft.com>

* Update ext/devcontainer/src/azd/README.md

* add xdg-utils/version due to local test/feedback

* remove since vscode-node-azure-pack contains it

* add auto pr for documentation update

* separate release and test, add permission

* add workflow test yml

* add PAT for release tag

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
Co-authored-by: Victor Vazquez <vhvb1989@gmail.com>
Co-authored-by: hemarina <104857065+hemarina@users.noreply.github.com>
Co-authored-by: Matt Ellis <matt.ellis@microsoft.com>
Co-authored-by: hemarina <hemarina@microsoft.com>
2023-07-06 13:52:57 -07:00
Brandon Waterloo [MSFT] 0a285781ac
Add document rename handler (#2447) 2023-06-21 15:48:20 -04:00
Brandon Waterloo [MSFT] 4fcb7e22a2
Add diagnostics to report when a folder referenced as a project in `azure.yaml` does not exist (#2396) 2023-06-20 16:37:09 -04:00
Brandon Waterloo [MSFT] e409e23a30
Update to version 2 of `@microsoft/vscode-azext-utils` (#2383) 2023-06-09 12:27:41 -04:00
Azure SDK Bot b8f4d78764
Increment VSCode Extension version after release (#2261) 2023-05-18 17:51:15 +00:00
Brandon Waterloo [MSFT] 1a6109ca0c
Update version, changelog, notices for 0.6.0 (#2234) 2023-05-16 10:07:18 -07:00
Brandon Waterloo [MSFT] 8eff874074
Change command names and redo grouping and ordering (#2190) 2023-05-12 14:45:20 -04:00
Brandon Waterloo [MSFT] ad079ad6bf
Rename "Azure Dev CLI" -> "Azure Developer CLI" (#2192) 2023-05-12 13:17:53 -04:00
Brandon Waterloo [MSFT] eae93ce26c
Add YAML validation contribution point (#2122) 2023-05-08 14:09:35 -04:00
Brandon Waterloo [MSFT] 8aee20333d
Bump `@microsoft/vscode-azext-utils` dependency (#2121) 2023-05-08 10:47:34 -07:00
Wei Lim d2f4c44553
Make `services` not required; clean-up project config. (#2065)
Make `services` not required; clean-up project config.

It's perfectly fine to have an `azure.yaml` that only does provision. A minimal `azure.yaml` and running `azd deploy` and `azd restore` works correctly.

Project config was also littered with unset properties when running `azd init` with "empty template" selected. This change cleans up the `azure.yaml` generated.

Before:
```yaml
name: test3
infra:
    provider: ""
    path: ""
    module: ""
pipeline:
    provider: ""
```

After:
```yaml
name: test3
```

Fixes #1162
2023-05-02 13:18:46 -07:00
Karol Zadora-Przylecki f8ebe0208d
Run "env refresh" command as task (#2060)
This gives the user a chance to interact with the command and fixes https://github.com/Azure/azure-dev/issues/2045

Also refactors the code that runs VS Code unit tests, and upgrades `test-electron` library to fix tests failing with `Error: spawn UNKNOWN` message on Windows
2023-05-01 12:01:00 -07:00
hemarina 14efc5f61d
upgrade version number to solve high and critical component security warning (#1952)
* update uvicorn to 0.19 to match Starlette  0.25.0

* match org.springframework:spring-core to 5.3.26

* Upgrade to version org.apache.tomcat 9.0.73

* revert springframework back to 4.0.0

* reflect xml2js to 0.5.0

* reflect starlette 0.25.0

* upgrade xml2js

* upgrade System.Drawing.Common

* Update pom.xml

---------

Co-authored-by: Victor Vazquez <victor.vazquez@microsoft.com>
2023-04-19 00:20:59 +00:00
Brandon Waterloo [MSFT] a868ed9ea7
Use `--no-prompt` as appropriate and cap the maximum number of `azure.yaml` files to autodiscover (#1933) 2023-04-18 10:43:30 -04:00