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

59 Коммитов

Автор SHA1 Сообщение Дата
Eric Jizba 04a1dabcd6
Add log streaming (#207) 2018-02-06 19:47:12 +00:00
Eric Jizba 22bf5eb038
Improve C# F5 experience (#196)
1. Switch away from ps-node on windows because it is very slow
1. Stop and restart the functions host if it is running when the user starts debugging
1. Only build once when the user F5's instead of twice
2018-01-31 22:35:07 +00:00
Eric Jizba 68d6f15e62 Prep for 0.5.0 2018-01-24 15:39:35 -08:00
Eric Jizba afbf0e7a67 subPath -> subpath 2018-01-24 13:29:52 -08:00
Eric Jizba d236d8c519 Improve C# template installation
1. Allow windows users to install either the .NET Core _or_ .NET Framework templates
1. Provide commands to install/uninstall the templates
1. Limit function templates to just the main 4
1. Detect if the project created was .NET Core or .NET Framework and set runtime accordingly
2018-01-24 13:29:52 -08:00
Eric Jizba 283d77109b Add preview support for several script languages 2018-01-24 12:03:01 -08:00
Eric Jizba a76a321edb Add deploy support for C# class libraries 2018-01-22 16:15:35 -08:00
Eric Jizba 00941569ca C# functions - prompt for namespace 2018-01-22 10:37:04 -08:00
Eric Jizba 7fe28b5a79
Add support for C# Class library projects (#161)
This supports project/function creation and local debugging. It does not include deploy logic.

A brief summary:
1. We default C# projects to beta runtime and class library (instead of C# script)
1. We use dotnet templates for project/function creation. We will automatically install the templates for the user if they are not on their machine (I don't prompt at all - let me know if you think we should prompt).
1. We use the parameter information from the functions portal (Aka C# Script templates) since it's easier to parse than the dotnet cli and it gives us more information (like validation). This requires us to assume that parameters for C# Scripts are the same as the parameters for the C# Class libraries. Since that might not always be the case, I mitigated this with unit tests and hard-coding the version of the dotnet templates.
1. Unlike JavaScript debugging, we have to attach to a specific process instead of attaching with a port. I implemented a 'pickProcess' command to search for the functions host process.
1. This only works on Windows. There's a few issues on a Mac I still need to iron out.
2018-01-11 17:37:52 -08:00
Eric Jizba a6f0af8e04 Move test to gulp instead of npm 2018-01-11 11:28:00 -08:00
Eric Jizba 09f45e014f Install azure account extension for tests 2018-01-11 11:28:00 -08:00
Eric Jizba 32b2fb8317 Refresh app's state when the node is refreshed 2018-01-05 16:29:14 -08:00
Eric Jizba bf2b67589c
Leverage shared AzureActionHandler (#150) 2018-01-04 15:06:57 -08:00
Eric Jizba e91435f344 Prep for 0.4.0 release 2017-12-14 17:10:05 -08:00
Eric Jizba c5a36078b9 Show http trigger urls in deploy log 2017-12-14 16:42:57 -08:00
Eric Jizba c0c0503e65 Remove C# script file support
Turns out we want to add support for class libraries (.cs), but this code added support for C# script files (.csx). I want to leave this code in the git history in case we add support for .csx _in addition_ to .cs
2017-12-14 11:25:34 -08:00
Eric Jizba 8c894060b8 Add support for other languages/runtimes
* Add CSharp to the list of options when creating a new project
* Add setting for projectLanguage
  * The user has many options for language, but only C#/Java/JavaScript can be debugged in VS Code today. The rest only support create & deploy
  * If it's not set (for example in old projects before this release), the user will be prompted one time and their workspace setting will be updated
* Add setting for projectRuntime
  * We want to use ~1 for JavaScript and beta as the default for Java/C#
2017-12-14 11:25:34 -08:00
REDMOND\jiewan d52911031d Update app service package version 2017-12-13 13:52:19 -08:00
REDMOND\jiewan 81119b7a87 Settings for Zip glob patterns. 2017-12-12 15:53:57 -08:00
Eric Jizba 34e0357473 Add 'Copy function url' command
And make the parsing of 'function.json' more robust
2017-12-11 17:34:14 -08:00
Eric Jizba 676753cb62 Leverage auto-detect of deployment source for deploy
* This adds support for local git
* I also added the 'Change Deployment Source' command since it's kind of necessary to make this useful
2017-12-11 14:25:58 -08:00
Eric Jizba 30c351906b Fix templates not being displayed
Use template.id (which shouldn't change) to detect for equality rather than template.metadata.name (which can and has changed)
2017-12-07 11:57:09 -08:00
Eric Jizba b79bd11a8b Prep for 0.3.0 release 2017-11-30 23:42:25 +00:00
Eric Jizba 2cfe50150e
Add function and app setting tree items (#87)
Also pass along showCreatingNode for new function app
2017-11-29 20:55:48 +00:00
Sheng Chen a72cce4233 Automatically detect functionAppName on java deploy (#75) 2017-11-28 16:24:25 +00:00
Eric Jizba 3d5893b9af Update ui package to 0.2.0
And lock down minor version (Since the package is in preview - minor version updates might mean breaking contract changes)
2017-11-27 19:48:45 +00:00
Eric Jizba 89bc6dd5f1 Leverage AzureTreeDataProvider from shared package
It reduces the amount of copied code and adds support for 'load more'
2017-11-21 21:41:23 +00:00
Eric Jizba 8239b0be93 Add 'Delete Function App' command 2017-11-09 22:49:23 +00:00
Eric Jizba 7620055d2b
Add 'Create Function App' to node picker (#60)
Also:
1. Remove deploy from function app node
1. Use latest instead of ~2 for templates version
2017-11-09 20:21:36 +00:00
Eric Jizba 5e4cbcb8d6 Prep for 0.2.0 release 2017-11-09 20:10:04 +00:00
Chris Dias 698c223b2f Fix request-promise compile error (#59) 2017-11-09 16:18:38 +00:00
Eric Jizba dae8457838 Refactor deploy entry points and add 'Create Function App'
1. Moved deploy to the explorer menu bar instead of right click menu on function app
1. Removed 'zip' wording
1. Only added 'Create Function App' to subscription and command palette for now
2017-11-08 19:06:41 +00:00
Eric Jizba a1f82b5c08 Refactor function template resource prompt
1. Prompt with existing App Settings before listing resources
1. Add support for storage resource type
1. Validate AzureWebJobsStorage app setting before creating non-HTTP triggers
2017-11-06 19:46:32 +00:00
Chris Dias 232523f701 add 'Azure' to display name in explorer 2017-11-04 12:13:32 -07:00
Eric Jizba 1d90f221c7 Leverage fs-extra instead of defining our own fsUtils
Also:
1. Use secure random string
1. Slightly modify newline rules that are being annoying
1. Remove '--type-check' from lint command since it's deprecated and no longer necessary
2017-11-02 23:21:44 +00:00
Eric Jizba faa4feaf24 Merge changes from 0.1.1 patch release 2017-11-02 22:52:29 +00:00
Eric Jizba 2690ad8f49 Add template filter configuration setting
Some of the templates don't work on the latest func cli when debugging locally. Adding a 'Verified' setting for just the ones that work and an 'All' setting for those adventurous users
2017-11-02 22:51:50 +00:00
Eric Jizba 55673b2c7c Add keywords to package.json 2017-11-02 22:50:02 +00:00
Eric Jizba 38d21f6148
Retrieve templates from functions portal instead of cli (#32)
The main benefits:
1. We get the full list of templates supported in the portal
1. We can prompt the user for input parameters
1. We reduce reliance on the func cli

I also refactored uiUtil into an interface so that I could more easily create unit tests
2017-10-30 17:02:20 -07:00
Eric Jizba 481c9b3c63 Modify entry points for zip deploy
1. Add 'right click on folder' entry point
1. Add context-specific wording for each entry point
1. Make folder selection consistent across all commands
2017-10-18 14:17:07 -07:00
Eric Jizba 0df201973c Clean up repo for first release
1. Update gifs and feature list to include zip deploy
1. Rename 'Create Function App' to 'Create New Project' to differentiate it from creating the Azure Resource
1. Update telemetry note in README to include privacy notice and be more generic
2017-10-18 13:35:10 -07:00
Eric Jizba 9f8f13d673 Remove archiver from dependencies
It's never used and I don't want to add it to thirdpartynotices
2017-10-17 16:22:05 -07:00
Eric Jizba cb01d5afa1 Add zip deploy
This leverages the shared package
2017-10-17 09:37:38 -07:00
Eric Jizba 111f9e6e1b Refactor error handling and add unit tests for the first time 2017-10-12 13:58:48 -07:00
Eric Jizba 9d3ad5d9f0 Allow user to hide explorer 2017-10-05 11:38:09 -07:00
Eric Jizba 563943df36 Make strings localizable 2017-10-02 09:32:53 -07:00
Eric Jizba 9ee1fa38bf Refactor common node functionality
- Move repeated code (like getIconPath) into NodeBase
- Implement showNodePicker so that commands work from the command pallete
- Move start/stop/restart logic into command files and show function app state in explorer instead of output window
2017-10-02 09:08:37 -07:00
Eric Jizba dc475a605f Add tslint type checking 2017-10-02 09:08:03 -07:00
Eric Jizba 3ed5ac714a Add tslint
And remove TODO's that are already covered by issues in the repo
2017-10-02 09:07:24 -07:00
Eric Jizba 647685a5f2 Incorporate update to showOpenDialog API 2017-09-29 18:28:36 -07:00