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

152 Коммитов

Автор SHA1 Сообщение Дата
Stephen Weatherford (MSFT) 3ee4a3d2a6
Used shared webpack dev code (#770)
* Used shared webpack dev code

* fix

* remove ts-loader dep

* PR fixes

* dev 0.1.7

* fixes

* fixes

* package lock
2019-02-13 17:28:47 -08:00
Rodrigo Mendoza a45a9a6601
Fixes hovering colors over the digest, and minor typos. (#710)
* Fixes the following issues :
	Unhandled error if you cancel saving Azure log #639
	Save Azure log dialog shows "log..log" as the filename extension #640
	docker.acr.pullimage issue #648

* fixes #666

* PR #705 Fixes

* Adds telemitry to the ACR logs table listeners

* Fixes #662

* Minor ACR casing fixes
2019-02-01 14:18:50 -08:00
Stephen Weatherford (MSFT) e8f190cc03
Filter issues (#746)
* Filter issues

* Remove unneeded as
2019-01-16 14:50:16 -08:00
Stephen Weatherford (MSFT) d33761bd02
Fix no subscriptions msg (#706) 2018-12-13 22:01:46 +00:00
Rodrigo Mendoza e1d6d42970 ACR Fixes (Logs & Docker Pull) (#705)
* Fixes the following issues :
	Unhandled error if you cancel saving Azure log #639
	Save Azure log dialog shows "log..log" as the filename extension #640
	docker.acr.pullimage issue #648

* fixes #666

* PR #705 Fixes

* Adds telemitry to the ACR logs table listeners
2018-12-13 08:10:46 +00:00
rosanch b4fc1799b4 sync with master 2018-12-06 16:52:56 -08:00
rosanch c607b7013d split pull from azure to pull image and pull repo from Azure 2018-12-06 15:17:59 -08:00
Stephen Weatherford (MSFT) 61ecba7a75
lint: align (#680)
* lint: align

* PR fixes, clean-up

* settimeout
2018-12-06 18:11:31 +00:00
Stephen Weatherford (MSFT) 68e288e89a
Remove old telemetry calls (#683)
* Remove old telemetry calls

* Missed one
2018-12-06 18:02:20 +00:00
rosanch a3ca56e9d6 minor fixes PR #656 2018-12-05 17:01:20 -08:00
rosanch 6a8ec119e0 Merge branch 'master' of https://github.com/Microsoft/vscode-docker into roy/dev 2018-12-05 16:11:31 -08:00
Stephen Weatherford (MSFT) 3d4134e547
Fix casing of All * (#665) 2018-11-29 22:52:00 +00:00
rosanch 4213b95bf9 Merge branch 'master' of https://github.com/Microsoft/vscode-docker into roy/dev 2018-11-28 18:05:08 -08:00
Stephen Weatherford (MSFT) 8e89a332f2
Fix null ref show connection error during prune (#653) 2018-11-28 17:56:47 +00:00
Stephen Weatherford (MSFT) 996cee0704
Move entry.js and Azure log styles (#655) 2018-11-28 17:38:37 +00:00
rosanch 5ddbff103c master update 11/27/2018 2018-11-27 18:52:24 -08:00
rosanch 86874136b9 Solves the following issues:
#635 no .yaml file in the workspace
	Pull image unauthorized issue
	#650 ACR Build docker file.
2018-11-27 18:43:33 -08:00
Stephen Weatherford (MSFT) 4d7b773fab
webpack (#645)
* Enable run/pack for webpack

* work

* work

* Timing

* work

* Accurate load time

* lint

* DEBUG_WEBPACK

* Use images in base folder

* PR fixes and comment improvements

* Set max-old-space-size

* Fix Windows spawn
2018-11-27 21:27:23 +00:00
Stephen Weatherford (MSFT) c759c94ff1
Don't use string constant for msg item comparison (#634) 2018-11-20 20:22:33 +00:00
Rodrigo Mendoza 94a7ed2e0e merge cleanup (#617)
* Added Azure Credentials Manager Singleton (#18)

* Added Azure Credentials Manager Singleton
* Added getResourceManagementClient

* Sorted Existing Create Registry ready for code review

* Added acquiring telemetry data for create registry

* broke up createnewresourcegroup method and fixed client use

Added try catch loop and awaited for resource group list again to check for duplicates with ResourceManagementClient

* Jackson esteban/unified client nit Fix (#24)

* Added Azure Credentials Manager Singleton

* Small Style Fixes

* Further Style fixes, added getResourceManagementClient

* Lazy Initialization Patches

* Enabled location selection

* Location request fixes

-Changed order of questions asked to user for better UX (location of new res group & location of new registry)
-Placeholder of location is display name view

* Refactor while loop for new res group

* Added SKU selection

* Quick fix- initializing array syntax

* Added specific error messages and comments

* Julia/delete image (#29)

* first fully functional version of delete through input bar AND right click

* refactored code to make it prettier!

* comments

* comments, added subscription function

* fixed to style guide

* style fixes, refactoring

* delete image after reviews

put my functions from azureCredentialsManager into two new files: utils/azure/acrTools.ts, and commands/utils/quick-pick-azure.ts

Edited code based on Esteban's and Bin's reviews

* One last little change to delete image

* moved repository, azureimage, and getsubscriptions to the correct places within deleteImage

* changes from PR reviews on delete image

* fixed authentication issue, got rid of azureAccount property for repository and image

**on constructor for repository, azurecredentialsmanager was being recreated and thus couldn't find the azureAccount. For this reason, I got rid of the azureAccount property of the classes Repository and AzureImage. This bug may lead to future problems (Esteban and I couldn't see why it was happening)

* minor fixes deleteImage

* delete a parentheses

* copied previous push to acr into new pull-from-azure.ts file

* Estebanreyl/dev merge fixes  (#43)

* Merge fixes to acquire latest telemetry items

* Updated to master AzureUtilityManager

* added acrbuild stuff

* added acrbuild stuff

* Update to match utility manager class

* Rutusamai/list build tasks for each registry (#37)

* tslint updates, transfered from old branch

* updated icon

* Addressed PR comments- mostly styling/code efficiency

* Changed url to aka.ms link

* changed Error window to Info message for no build tasks in your registry

* Changed default sku and unified parsing resource group into a new method, getResourceGroup in acrTools.ts

* Changed build task icon

* Added quick pick for selecting resource group and registry

* clean

* Added subscription support

* utility bug fix

* Julia/delete repository final (#49)

* deleteRepo moved over to branch off dev

* Got rid of unnecessary code, fully functioning!

* deleteRepo moved over to branch off dev

* Got rid of unnecessary code, fully functioning!

* spacing

* final commit

* Cleaned code

* Added Telemetry

* Julia/delete registry final (#47)


Delete azure registry functionality added

Delete azure registry moved to branch off dev

Reorganized stye

* Made loginCredentials method in acrTools more efficient, added Pull Image from Azure option, temporary fix for no registries

* added folder select

* Split the loginCredentials function, added docker login and docker pull and telemetry actions

* Finished pull from azure right click feature

* deleted push to azure

* removed username and password from Azure Registry Node

* Clean up

* copied previous push to acr into new pull-from-azure.ts file

* Made loginCredentials method in acrTools more efficient, added Pull Image from Azure option, temporary fix for no registries

* Split the loginCredentials function, added docker login and docker pull and telemetry actions

* Finished pull from azure right click feature

* deleted push to azure

* Clean up

* Working again after rebasing and resolving merge conflicts

* Updates and fixes

* Fixes from PR comments

-renamed loginCredentials functions
-added await to docker commands in image pull
-cleanup

* uncapitalize AzureRegistryNode

* Refactoring, prod.

* Flexible OSType

* Estebanreyl/ready for production (#55)

* began updating

* Reorganized create registry and delete azure image

* continued improvements

* Began updating login

* being credentials update

* further updates

* Finished updating, need to test functionality now

* Updated requests, things all work now

* Applied some nit fixes

* Updates to naming

* maintain UtilityManager standards

* Updated Prompts

* Updated imports and naming / standarized telemetry

* Added explorer refresh capabilities on delete/add

* Jackson/quick build dev (#46)

* added acrbuild stuff

* added acrbuild stuff

* Update to match utility manager class

* Added quick pick for selecting resource group and registry

* clean

* Added subscription support

* utility bug fix

* added folder select

* Updates and fixes

* Refactoring, prod.

* Flexible OSType

* added ID

* Move build to azure commands

* cleanup

* Relative dockerfile support

* Removed await, updating list in enumeration

* fixed chdir

* flexible ostype

* Rutusamai/Show Build Task properties (#70)

* Show build task works through input bar

* added run build task

* Right click not working on BuildTaskNode. Works through command palette

* quick fixes

* quick fix to enable context menu on buildTaskNode

* comamnd not sending via right click

* working from right click now. trying to do show in json

* Acquire properties in JSON format internally, works

* Now shows organized task jsons on right click

* import

* to do

* issues with getImagesByRepository

* try catch build step

* acrTools

* small refactor

* Show build task works through input bar

* added run build task

* Right click not working on BuildTaskNode. Works through command palette

* quick fixes

* quick fix to enable context menu on buildTaskNode

* comamnd not sending via right click

* working from right click now. trying to do show in json

* Acquire properties in JSON format internally, works

* Now shows organized task jsons on right click

* import

* to do

* issues with getImagesByRepository

* try catch build step

* acrTools

* small refactor

* Show is working- final

* removed run build task stuff

* cleanup

* addressed esteban's comments

* buildTask = context.task.name rather than label

* fixes from Bin's comments

* Merge branch 'dev' of https://github.com/AzureCR/vscode-docker into master4

* merge

* missed small changes

* Rutusamai/Run a Build Task (#71)

* Show build task works through input bar

* added run build task

* Right click not working on BuildTaskNode. Works through command palette

* quick fixes

* quick fix to enable context menu on buildTaskNode

* comamnd not sending via right click

* working from right click now. trying to do show in json

* Acquire properties in JSON format internally, works

* Now shows organized task jsons on right click

* import

* to do

* issues with getImagesByRepository

* try catch build step

* acrTools

* small refactor

* Show build task works through input bar

* added run build task

* Right click not working on BuildTaskNode. Works through command palette

* quick fixes

* quick fix to enable context menu on buildTaskNode

* comamnd not sending via right click

* working from right click now. trying to do show in json

* Acquire properties in JSON format internally, works

* Now shows organized task jsons on right click

* import

* to do

* issues with getImagesByRepository

* try catch build step

* acrTools

* small refactor

* Show is working- final

* run is working for right click

* run build task works through command pallette. added success notification

* removed show build task

* cleanup- matched quickpick buils task and tasknode withshow build task branch

* removed showTaskManager

* spacing

* outputChannel and null icon

* merge to update with dev

* Estebanreyl/build logs final (#72)

*  "Merge branch 'estebanreyl/buildlogsWithAccesibility' of https://github.com/AzureCR/vscode-docker into estebanreyl/buildlogsWithAccesibility"

This reverts commit e645cbf5058c9bc838ee41a67cd6c5aee9945702, reversing
changes made to fc4a477220c7819c9249557ba0d7570f5d0c1e0c.

* Refactored and organized log view into readable components.

* moved storage

* Began incorporating icons

* Added icons

* Further standarization

* added logs

* Added download log capabilities

* Updated Copy

* Updated inner div size alignment

* Added resizing script

* header sort by is only clickable on text now

* fixed header table

* Fix minor display issues

* Identified filtering strategy

* Begin adding sorting

* Merge with dev

* Added proper filtering

* Nit loading improvements

* Added accesibility, key only behaviour

* accesibility retouches and enable right click from tasknode

* merges

* fix module name

* Adds streaming and command standarization (ext.ui) (#73)

* Adds streaming and command standarization (ext.ui)

* removed unecessary append lines

* small fixes

* Fix merge issues

* changes for ACR 3.0.0 (#80)

* This commit contains changes necessary for the
azure-arm-containerregistry 3.0.0

* Fixed PR feedback

* Run task fixed. Issue ID: 79

* missing changes added

* Fixing ACR run logs for Images

* Sajaya/top1 (#83)

* Query only 1 record for runs

* View Azure logs

* Refactoring build to run and buildTask to task

* Removed filter for top (#88)

* adding run yaml file

* Refactoring to run task file.

* fixing logs filter for images

* Last Update time Fixed

* Cleanup + refactoring delete image to untag image

* Adding delete ACR Image (delete digest)

* Changing text promt on right click to run ACR task file

* Update settings.json

* minor PR review fixes 1

* PR fixes 1

* Missed: change any to string

* merge clean up

* Schedule run code reduction + minor improvements

* ACR request Improvements

* Minor grammar fixes
2018-11-17 23:09:45 +00:00
Stephen Weatherford (MSFT) 342a76c192
Provide Linux message for 'Is daemon running?' (#590)
* Provide Linux message for 'Is daemon running?'

* Improve README and link

* lint

* Improvement Docker connection errors for user

* Readme

* Tests

* Unused imports

* PR fix

* lint
2018-11-15 13:44:32 -08:00
Prashanth 8a263b7efa
Change default bash command for attaching the shell in Linux container. Fixes #518 (#622) 2018-11-13 16:30:41 -08:00
Rodrigo Mendoza 6204e4c685 ACR-3.0.0 API upgrade (#506)
* Added Azure Credentials Manager Singleton (#18)

* Added Azure Credentials Manager Singleton
* Added getResourceManagementClient

* Sorted Existing Create Registry ready for code review

* Added acquiring telemetry data for create registry

* broke up createnewresourcegroup method and fixed client use

Added try catch loop and awaited for resource group list again to check for duplicates with ResourceManagementClient

* Jackson esteban/unified client nit Fix (#24)

* Added Azure Credentials Manager Singleton

* Small Style Fixes

* Further Style fixes, added getResourceManagementClient

* Lazy Initialization Patches

* Enabled location selection

* Location request fixes

-Changed order of questions asked to user for better UX (location of new res group & location of new registry)
-Placeholder of location is display name view

* Refactor while loop for new res group

* Added SKU selection

* Quick fix- initializing array syntax

* Added specific error messages and comments

* Julia/delete image (#29)

* first fully functional version of delete through input bar AND right click

* refactored code to make it prettier!

* comments

* comments, added subscription function

* fixed to style guide

* style fixes, refactoring

* delete image after reviews

put my functions from azureCredentialsManager into two new files: utils/azure/acrTools.ts, and commands/utils/quick-pick-azure.ts

Edited code based on Esteban's and Bin's reviews

* One last little change to delete image

* moved repository, azureimage, and getsubscriptions to the correct places within deleteImage

* changes from PR reviews on delete image

* fixed authentication issue, got rid of azureAccount property for repository and image

**on constructor for repository, azurecredentialsmanager was being recreated and thus couldn't find the azureAccount. For this reason, I got rid of the azureAccount property of the classes Repository and AzureImage. This bug may lead to future problems (Esteban and I couldn't see why it was happening)

* minor fixes deleteImage

* delete a parentheses

* copied previous push to acr into new pull-from-azure.ts file

* Estebanreyl/dev merge fixes  (#43)

* Merge fixes to acquire latest telemetry items

* Updated to master AzureUtilityManager

* added acrbuild stuff

* added acrbuild stuff

* Update to match utility manager class

* Rutusamai/list build tasks for each registry (#37)

* tslint updates, transfered from old branch

* updated icon

* Addressed PR comments- mostly styling/code efficiency

* Changed url to aka.ms link

* changed Error window to Info message for no build tasks in your registry

* Changed default sku and unified parsing resource group into a new method, getResourceGroup in acrTools.ts

* Changed build task icon

* Added quick pick for selecting resource group and registry

* clean

* Added subscription support

* utility bug fix

* Julia/delete repository final (#49)

* deleteRepo moved over to branch off dev

* Got rid of unnecessary code, fully functioning!

* deleteRepo moved over to branch off dev

* Got rid of unnecessary code, fully functioning!

* spacing

* final commit

* Cleaned code

* Added Telemetry

* Julia/delete registry final (#47)


Delete azure registry functionality added

Delete azure registry moved to branch off dev

Reorganized stye

* Made loginCredentials method in acrTools more efficient, added Pull Image from Azure option, temporary fix for no registries

* added folder select

* Split the loginCredentials function, added docker login and docker pull and telemetry actions

* Finished pull from azure right click feature

* deleted push to azure

* removed username and password from Azure Registry Node

* Clean up

* copied previous push to acr into new pull-from-azure.ts file

* Made loginCredentials method in acrTools more efficient, added Pull Image from Azure option, temporary fix for no registries

* Split the loginCredentials function, added docker login and docker pull and telemetry actions

* Finished pull from azure right click feature

* deleted push to azure

* Clean up

* Working again after rebasing and resolving merge conflicts

* Updates and fixes

* Fixes from PR comments

-renamed loginCredentials functions
-added await to docker commands in image pull
-cleanup

* uncapitalize AzureRegistryNode

* Refactoring, prod.

* Flexible OSType

* Estebanreyl/ready for production (#55)

* began updating

* Reorganized create registry and delete azure image

* continued improvements

* Began updating login

* being credentials update

* further updates

* Finished updating, need to test functionality now

* Updated requests, things all work now

* Applied some nit fixes

* Updates to naming

* maintain UtilityManager standards

* Updated Prompts

* Updated imports and naming / standarized telemetry

* Added explorer refresh capabilities on delete/add

* Jackson/quick build dev (#46)

* added acrbuild stuff

* added acrbuild stuff

* Update to match utility manager class

* Added quick pick for selecting resource group and registry

* clean

* Added subscription support

* utility bug fix

* added folder select

* Updates and fixes

* Refactoring, prod.

* Flexible OSType

* added ID

* Move build to azure commands

* cleanup

* Relative dockerfile support

* Removed await, updating list in enumeration

* fixed chdir

* flexible ostype

* Rutusamai/Show Build Task properties (#70)

* Show build task works through input bar

* added run build task

* Right click not working on BuildTaskNode. Works through command palette

* quick fixes

* quick fix to enable context menu on buildTaskNode

* comamnd not sending via right click

* working from right click now. trying to do show in json

* Acquire properties in JSON format internally, works

* Now shows organized task jsons on right click

* import

* to do

* issues with getImagesByRepository

* try catch build step

* acrTools

* small refactor

* Show build task works through input bar

* added run build task

* Right click not working on BuildTaskNode. Works through command palette

* quick fixes

* quick fix to enable context menu on buildTaskNode

* comamnd not sending via right click

* working from right click now. trying to do show in json

* Acquire properties in JSON format internally, works

* Now shows organized task jsons on right click

* import

* to do

* issues with getImagesByRepository

* try catch build step

* acrTools

* small refactor

* Show is working- final

* removed run build task stuff

* cleanup

* addressed esteban's comments

* buildTask = context.task.name rather than label

* fixes from Bin's comments

* Merge branch 'dev' of https://github.com/AzureCR/vscode-docker into master4

* merge

* missed small changes

* Rutusamai/Run a Build Task (#71)

* Show build task works through input bar

* added run build task

* Right click not working on BuildTaskNode. Works through command palette

* quick fixes

* quick fix to enable context menu on buildTaskNode

* comamnd not sending via right click

* working from right click now. trying to do show in json

* Acquire properties in JSON format internally, works

* Now shows organized task jsons on right click

* import

* to do

* issues with getImagesByRepository

* try catch build step

* acrTools

* small refactor

* Show build task works through input bar

* added run build task

* Right click not working on BuildTaskNode. Works through command palette

* quick fixes

* quick fix to enable context menu on buildTaskNode

* comamnd not sending via right click

* working from right click now. trying to do show in json

* Acquire properties in JSON format internally, works

* Now shows organized task jsons on right click

* import

* to do

* issues with getImagesByRepository

* try catch build step

* acrTools

* small refactor

* Show is working- final

* run is working for right click

* run build task works through command pallette. added success notification

* removed show build task

* cleanup- matched quickpick buils task and tasknode withshow build task branch

* removed showTaskManager

* spacing

* outputChannel and null icon

* merge to update with dev

* Estebanreyl/build logs final (#72)

*  "Merge branch 'estebanreyl/buildlogsWithAccesibility' of https://github.com/AzureCR/vscode-docker into estebanreyl/buildlogsWithAccesibility"

This reverts commit e645cbf5058c9bc838ee41a67cd6c5aee9945702, reversing
changes made to fc4a477220c7819c9249557ba0d7570f5d0c1e0c.

* Refactored and organized log view into readable components.

* moved storage

* Began incorporating icons

* Added icons

* Further standarization

* added logs

* Added download log capabilities

* Updated Copy

* Updated inner div size alignment

* Added resizing script

* header sort by is only clickable on text now

* fixed header table

* Fix minor display issues

* Identified filtering strategy

* Begin adding sorting

* Merge with dev

* Added proper filtering

* Nit loading improvements

* Added accesibility, key only behaviour

* accesibility retouches and enable right click from tasknode

* merges

* fix module name

* Adds streaming and command standarization (ext.ui) (#73)

* Adds streaming and command standarization (ext.ui)

* removed unecessary append lines

* small fixes

* Fix merge issues

* changes for ACR 3.0.0 (#80)

* This commit contains changes necessary for the
azure-arm-containerregistry 3.0.0

* Fixed PR feedback

* Run task fixed. Issue ID: 79

* missing changes added

* Fixing ACR run logs for Images

* Sajaya/top1 (#83)

* Query only 1 record for runs

* View Azure logs

* Refactoring build to run and buildTask to task

* Update Credentail Management

Sorted Existing Create Registry ready for code review

Jackson esteban/unified client nit Fix (#24)

* Added Azure Credentials Manager Singleton

* Small Style Fixes

* Further Style fixes, added getResourceManagementClient

* Lazy Initialization Patches

Enabled location selection

Location request fixes

-Changed order of questions asked to user for better UX (location of new res group & location of new registry)
-Placeholder of location is display name view

Added SKU selection

Quick fix- initializing array syntax

Julia/delete image (#29)

* first fully functional version of delete through input bar AND right click

* refactored code to make it prettier!

* comments

* comments, added subscription function

* fixed to style guide

* style fixes, refactoring

* delete image after reviews

put my functions from azureCredentialsManager into two new files: utils/azure/acrTools.ts, and commands/utils/quick-pick-azure.ts

Edited code based on Esteban's and Bin's reviews

* One last little change to delete image

* moved repository, azureimage, and getsubscriptions to the correct places within deleteImage

* changes from PR reviews on delete image

* fixed authentication issue, got rid of azureAccount property for repository and image

**on constructor for repository, azurecredentialsmanager was being recreated and thus couldn't find the azureAccount. For this reason, I got rid of the azureAccount property of the classes Repository and AzureImage. This bug may lead to future problems (Esteban and I couldn't see why it was happening)

* minor fixes deleteImage

* delete a parentheses

copied previous push to acr into new pull-from-azure.ts file

Estebanreyl/dev merge fixes  (#43)

* Merge fixes to acquire latest telemetry items

* Updated to master AzureUtilityManager

added acrbuild stuff

Rutusamai/list build tasks for each registry (#37)

* tslint updates, transfered from old branch

* updated icon

* Addressed PR comments- mostly styling/code efficiency

* Changed url to aka.ms link

* changed Error window to Info message for no build tasks in your registry

* Changed default sku and unified parsing resource group into a new method, getResourceGroup in acrTools.ts

* Changed build task icon

utility bug fix

Julia/delete repository final (#49)

* deleteRepo moved over to branch off dev

* Got rid of unnecessary code, fully functioning!

* deleteRepo moved over to branch off dev

* Got rid of unnecessary code, fully functioning!

* spacing

* final commit

* Cleaned code

* Added Telemetry

Julia/delete registry final (#47)

Delete azure registry functionality added

Delete azure registry moved to branch off dev

Reorganized stye

Made loginCredentials method in acrTools more efficient, added Pull Image from Azure option, temporary fix for no registries

Split the loginCredentials function, added docker login and docker pull and telemetry actions

copied previous push to acr into new pull-from-azure.ts file

Made loginCredentials method in acrTools more efficient, added Pull Image from Azure option, temporary fix for no registries

Split the loginCredentials function, added docker login and docker pull and telemetry actions

Finished pull from azure right click feature

Working again after rebasing and resolving merge conflicts

Refactoring, prod.

Estebanreyl/ready for production (#55)

* began updating

* Reorganized create registry and delete azure image

* continued improvements

* Began updating login

* being credentials update

* further updates

* Finished updating, need to test functionality now

* Updated requests, things all work now

* Applied some nit fixes

* Updates to naming

* maintain UtilityManager standards

* Updated Prompts

* Updated imports and naming / standarized telemetry

* Added explorer refresh capabilities on delete/add

Jackson/quick build dev (#46)

* added acrbuild stuff

* added acrbuild stuff

* Update to match utility manager class

* Added quick pick for selecting resource group and registry

* clean

* Added subscription support

* utility bug fix

* added folder select

* Updates and fixes

* Refactoring, prod.

* Flexible OSType

added ID

Move build to azure commands

cleanup

Relative dockerfile support

Removed await, updating list in enumeration

fixed chdir

flexible ostype

Rutusamai/Show Build Task properties (#70)

* Show build task works through input bar

* added run build task

* Right click not working on BuildTaskNode. Works through command palette

* quick fixes

* quick fix to enable context menu on buildTaskNode

* comamnd not sending via right click

* working from right click now. trying to do show in json

* Acquire properties in JSON format internally, works

* Now shows organized task jsons on right click

* import

* to do

* issues with getImagesByRepository

* try catch build step

* acrTools

* small refactor

* Show build task works through input bar

* added run build task

* Right click not working on BuildTaskNode. Works through command palette

* quick fixes

* quick fix to enable context menu on buildTaskNode

* comamnd not sending via right click

* working from right click now. trying to do show in json

* Acquire properties in JSON format internally, works

* Now shows organized task jsons on right click

* import

* to do

* issues with getImagesByRepository

* try catch build step

* acrTools

* small refactor

* Show is working- final

* removed run build task stuff

* cleanup

* addressed esteban's comments

* buildTask = context.task.name rather than label

* fixes from Bin's comments

Merge branch 'dev' of https://github.com/AzureCR/vscode-docker into master4

merge

missed small changes

Rutusamai/Run a Build Task (#71)

* Show build task works through input bar

* added run build task

* Right click not working on BuildTaskNode. Works through command palette

* quick fixes

* quick fix to enable context menu on buildTaskNode

* comamnd not sending via right click

* working from right click now. trying to do show in json

* Acquire properties in JSON format internally, works

* Now shows organized task jsons on right click

* import

* to do

* issues with getImagesByRepository

* try catch build step

* acrTools

* small refactor

* Show build task works through input bar

* added run build task

* Right click not working on BuildTaskNode. Works through command palette

* quick fixes

* quick fix to enable context menu on buildTaskNode

* comamnd not sending via right click

* working from right click now. trying to do show in json

* Acquire properties in JSON format internally, works

* Now shows organized task jsons on right click

* import

* to do

* issues with getImagesByRepository

* try catch build step

* acrTools

* small refactor

* Show is working- final

* run is working for right click

* run build task works through command pallette. added success notification

* removed show build task

* cleanup- matched quickpick buils task and tasknode withshow build task branch

* removed showTaskManager

* spacing

* outputChannel and null icon

* merge to update with dev

Estebanreyl/build logs final (#72)

*  "Merge branch 'estebanreyl/buildlogsWithAccesibility' of https://github.com/AzureCR/vscode-docker into estebanreyl/buildlogsWithAccesibility"

This reverts commit e645cbf5058c9bc838ee41a67cd6c5aee9945702, reversing
changes made to fc4a477220c7819c9249557ba0d7570f5d0c1e0c.

* Refactored and organized log view into readable components.

* moved storage

* Began incorporating icons

* Added icons

* Further standarization

* added logs

* Added download log capabilities

* Updated Copy

* Updated inner div size alignment

* Added resizing script

* header sort by is only clickable on text now

* fixed header table

* Fix minor display issues

* Identified filtering strategy

* Begin adding sorting

* Merge with dev

* Added proper filtering

* Nit loading improvements

* Added accesibility, key only behaviour

* accesibility retouches and enable right click from tasknode

* merges

* fix module name

Adds streaming and command standarization (ext.ui) (#73)

* Adds streaming and command standarization (ext.ui)

* removed unecessary append lines

* small fixes

* Fix merge issues

changes for ACR 3.0.0 (#80)

* This commit contains changes necessary for the
azure-arm-containerregistry 3.0.0

* Fixed PR feedback

Run task fixed. Issue ID: 79

missing changes added

Fixing ACR run logs for Images

Sajaya/top1 (#83)

* Query only 1 record for runs

* View Azure logs

bug fix

* Removed filter for top (#88)

* fixing Image Log Filter

* fixing tslint error messages

* tslint fixes 2

* First PR #506 review Update include:
	Deletion of resizable.js
	Package.json commands alphabetically ordered.
	General typos, grammar and naming fixes.
	Change from fs - fs-extra.
	Other general improvments.

* Hide Azure Quick Build if Azure Account not available

* Second PR #506 review update.
	Quick Build Image name and dockerFile selection Improvements.
	Upgrade from fs to fs-extra.
	Log table bug fixes.
	Error Handeling Improvements.
	Other general improvements.

* Improving Logs generation Error handeling

* Third PR #506 review update.
	loadLogs parameters update.
	uploadSourceCode Improvements.

* UploadSourceCode no longer has to change process working directory.

* lint fix
2018-11-09 08:55:21 -08:00
Stephen Weatherford (MSFT) d00f39aa34
Delay loading of Azure Account extension (#552)
* Delay loading of Azure Account extension

* Remove registerAzureCommand
2018-10-16 18:28:17 -07:00
rsamai 8cdc0bd8a6 AzureCR/Pull Image from Azure (#417)
* added pull on Repositories, cleaned up pull for upstream

* header

* added non context pull image

* added pull on Repositories, cleaned up pull for upstream

* header

* added command palette option for pull

* deleted blob function-unused here

* cleanup acrTools

* Enabled pull from repository

* changed loginCredentials function to the one in master

* Addressed most pr comments, without docker logged in not working

* added getimagenamewithtag function

* cleanup

* change try catch tp callwithtelemetry

* Tested workaround for error saving credentials, added stdin child process for password, broke up functions

* Notify user before logging in to docker CLI

* Fix lint
2018-10-11 15:05:32 -07:00
Stephen Weatherford (MSFT) a1ba0a202a
Improve message that opening a folder is required for some commands (#533) 2018-10-09 14:01:16 -07:00
Stephen Weatherford (MSFT) de240cda5b
Support multiple versions of .net core (#485)
* Support multiple versions of .net core

* Run interactive not working if no exposed ports

* Fix path in ENTRYPOINT

* Update 2.2 project ASP.NET

* Add comment
2018-09-18 11:32:34 -07:00
Stephen Weatherford (MSFT) 4d69267135
Run interactive not working if no exposed ports (#486) 2018-09-18 08:55:34 -07:00
Stephen Weatherford (MSFT) 3a3be85f90
Read attach setting every time, plus update telemetry (#464)
* Read attach setting every time, plus update telemetry

* PR comments
2018-09-13 12:49:51 -07:00
Stephen Weatherford (MSFT) 174b089188
Turn on strict null checking, part 1 (#475)
* Turn on strict null checking part 1

* minor changes

* comment change
2018-09-12 13:17:38 -07:00
Stephen Weatherford (MSFT) e03722dbe7
Saw/no any (#458)
* Lint: no-unsafe-any

* Lint: no-any

* PR fixes
2018-09-07 14:46:30 -07:00
Stephen Weatherford (MSFT) 17a2e5fa98
Lint: no-unsafe-any (#457)
* Lint: no-unsafe-any

* PR fixes
2018-09-07 11:27:11 -07:00
Prashanth d1bc4a1d47
Move askToSaveRegistryPath to the extension context's global state (#446)
* Move askToSaveRegistryPath to extn context's globalState

* Comments
2018-09-05 00:00:24 -07:00
Prashanth 029a9d73b9
Add ui.Quickpick to handle UserCancelledError. (#451)
* Add ui.Quickpick to handle UserCancelledError.
Narrow scope of try catch.
2018-09-04 23:42:56 -07:00
Stephen Weatherford (MSFT) 87ebd84f10 Work-around for inputbox selection issue (#452) 2018-09-04 23:23:07 -07:00
Stephen Weatherford (MSFT) d7f3d647c4
Reword question to tag before push (#449)
* Reword question to tag before push

* Change wording
2018-09-04 18:14:01 -07:00
Stephen Weatherford (MSFT) 7dfcafe518 Fix dockerhub-namespace registry type (#450)
* Fix dockerhub-namespace registry type

* whitespace
2018-09-04 17:16:37 -07:00
Stephen Weatherford (MSFT) b4a004d990
Fix remove all images and add related telemetry (#448)
* Fix remove all images and add related telemetry

* Remove debug code

* Comment

* Comments
2018-09-04 16:06:04 -07:00
Stephen Weatherford (MSFT) 6f61e83dce
Fix some broken commands (#439) 2018-09-04 11:29:37 -07:00
Stephen Weatherford (MSFT) 14aed04c09
Add telemetry related to image tagging (#435)
* Add telemetry related to image tagging

* Record answer
2018-08-31 18:57:32 -07:00
Prashanth b0e8efbcda Docker-build: Prompt with last used image tag for each DockerFile. (#437)
* Docker-build: Prompt with last used image tag for each DockerFile.

* Feedback

* highlight registry only during first build

* rename dockerFileKey

* Fix previous code rearrangement

* Reversion of previous commit
2018-08-31 18:36:39 -07:00
Stephen Weatherford (MSFT) 4d13b25d47
Pass in dockerfile param to build (#436) 2018-08-31 18:27:55 -07:00
Prashanth e50ac51ba9 build image and push image: prompt for using or update defaultRegPath based on tag for container. (#432)
* init

* Use a field aside from label for registryname.
Change information message due to race condition

* move commands to new file

* Feedback

* Use ext.context for flag, address feedback.

* some refactoring

* Ask if user's current prefix is to override the defaultRegistryPath

* lint nit: order-imports

* if image has no prefix, ask user if they want to tag.
refactor tag to enable more reuse from push

* change some comments

* Feedback

* Comment out alwaysPush

* Minor changes/fixes
2018-08-31 16:19:53 -07:00
Prashanth 23c3424a76
Add menu item to set registry as default (#415)
* Use a field aside from label for registryname.
Change information message due to race condition
* move commands to new file
* Use ext.context for flag
2018-08-30 16:06:50 -07:00
Esteban Rey 7c29b5cb9a updated prompts (#427) 2018-08-29 15:58:31 -07:00
Prashanth f89304b6c3
Check to see if path already contains '/' before prepending (#418) 2018-08-28 13:37:46 -07:00
Esteban Rey bc29acd29f Azurecr/registry management (#383)
* Added Azure Credentials Manager Singleton (#18)

* Added Azure Credentials Manager Singleton
* Added getResourceManagementClient

* Sorted Existing Create Registry ready for code review

* Added acquiring telemetry data for create registry

* broke up createnewresourcegroup method and fixed client use

Added try catch loop and awaited for resource group list again to check for duplicates with ResourceManagementClient

* Jackson esteban/unified client nit Fix (#24)

* Added Azure Credentials Manager Singleton

* Small Style Fixes

* Further Style fixes, added getResourceManagementClient

* Lazy Initialization Patches

* Enabled location selection

* Location request fixes

-Changed order of questions asked to user for better UX (location of new res group & location of new registry)
-Placeholder of location is display name view

* Refactor while loop for new res group

* Added SKU selection

* Quick fix- initializing array syntax

* Added specific error messages and comments

* Julia/delete image (#29)

* first fully functional version of delete through input bar AND right click

* refactored code to make it prettier!

* comments

* comments, added subscription function

* fixed to style guide

* style fixes, refactoring

* delete image after reviews

put my functions from azureCredentialsManager into two new files: utils/azure/acrTools.ts, and commands/utils/quick-pick-azure.ts

Edited code based on Esteban's and Bin's reviews

* One last little change to delete image

* moved repository, azureimage, and getsubscriptions to the correct places within deleteImage

* changes from PR reviews on delete image

* fixed authentication issue, got rid of azureAccount property for repository and image

**on constructor for repository, azurecredentialsmanager was being recreated and thus couldn't find the azureAccount. For this reason, I got rid of the azureAccount property of the classes Repository and AzureImage. This bug may lead to future problems (Esteban and I couldn't see why it was happening)

* minor fixes deleteImage

* delete a parentheses

* Estebanreyl/dev merge fixes  (#43)

* Merge fixes to acquire latest telemetry items

* Updated to master AzureUtilityManager

* Rutusamai/list build tasks for each registry (#37)

* tslint updates, transfered from old branch

* updated icon

* Addressed PR comments- mostly styling/code efficiency

* Changed url to aka.ms link

* changed Error window to Info message for no build tasks in your registry

* Changed default sku and unified parsing resource group into a new method, getResourceGroup in acrTools.ts

* Changed build task icon

* Julia/delete repository final (#49)

* deleteRepo moved over to branch off dev

* Got rid of unnecessary code, fully functioning!

* deleteRepo moved over to branch off dev

* Got rid of unnecessary code, fully functioning!

* spacing

* final commit

* Cleaned code

* Added Telemetry

* Julia/delete registry final (#47)


Delete azure registry functionality added

Delete azure registry moved to branch off dev

Reorganized stye

* began updating

* Reorganized create registry and delete azure image

* continued improvements

* Began updating login

* being credentials update

* further updates

* Finished updating, need to test functionality now

* Updated requests, things all work now

* Applied some nit fixes

* Updates to naming

* maintain UtilityManager standards

* Updated Prompts

* Updated imports and naming / standarized telemetry

* Added explorer refresh capabilities on delete/add

* Remove build task features from this branch

This reverts commit 126c01ecf5.

* Merge bugfixes and name specification

* updated weird naming issue

* Deleted deprecated telemetry, added copyright comment and updated quick picks

* Updated casing

* Updated resource group and registry validity checking and other nit fixes

* Updated Azure Utility Manager to by default sort registries alphabetically

* Updated azureRegistryNodes and registryRootNode to use shared functions

* Corrected resourcegroup name test

* added delete button when deleting an image

* Small changes in variables for better prompts and success notifications
2018-08-27 11:35:47 -07:00
Prashanth 543242bd79
Add valueSelection -> highlights path in tag image inputbox (#407) 2018-08-24 17:04:25 -07:00
Prashanth 1227d8f788
Prompt user on first push (containing a prefix) to store the path; combine defaultRegistry&defaultRegistryPath (#398)
* Refactor RegisterCommand due to the max func length tslint rule.
Move all registerCommands to a separate function.
Move create createWebApp's code to a new function.
* push: Prompt on first push (containing a prefix) to store the path
Remove defaultRegistry from package.json and README.md
2018-08-24 16:25:38 -07:00
Stephen Weatherford (MSFT) 2d9e62b1b8
Support private registries (#381)
* Support private registries

* Password flag

* headers:

* Fix test

* increase timeout

* test fixes

* test fixes

* comment

* mock keytar

* test fixes

* test fixes

* test fixes

* PR fixes

* Fix

* Fix test

* Increase build tests timeout
2018-08-24 12:33:16 -07:00