Skip to content

Commit

Permalink
Re-Style
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrii Snihyr committed Apr 2, 2016
1 parent 4caaca8 commit 0471780
Show file tree
Hide file tree
Showing 16 changed files with 1,210 additions and 17 deletions.
22 changes: 22 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
1,030 changes: 1,030 additions & 0 deletions .vs/config/applicationhost.config

Large diffs are not rendered by default.

42 changes: 42 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Changelog

These are the changes to each version that has been released
on the official Visual Studio extension gallery.

## 1.5

- Better support for Unicorn 3.1
- Configuration status messages
- Search in logs
- Copy log entry to clipboard

**BREAKING CHANGES**

In Unicorn 3.1 "/unicornRemote.aspx" was removed, now you can use "/unicorn.aspx".
Please make sure to update your settings.

## 1.4

- Support for upcoming changes in Unicorn 3.1
- Progress status is now displayed in VS status bar

## 1.3

- fixed issue with "Configurations dropdown doesn't update after fixing a broken connection"
- fixed issue "Cannot connect using Deployment Token"
- added settings window to change remote URL.
- support for arbitrary multiple config selections (need to be enabled in settings)

## 1.2.1

- Update for menu icon

## 1.2

- fixed warning prompting to update Unicorn.Remote.dll if using Unicorn 3.0 or above
- new official icon

## 1.1

- using streaming instead of polling
- JSON.NET is removed from a dependencies list.
20 changes: 20 additions & 0 deletions ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
### Installed product versions
- Visual Studio: [example 2015 Professional]
- This extension: [example 1.5]
- Unicorn: [example 3.1]
- Sitecore: [example 8.1]

### Description
Replace this text with a short description

### Steps to recreate
1. Replace this
2. text with
3. the steps
4. to recreate

### Current behavior
Explain what it's doing and why it's wrong

### Expected behavior
Explain what it should be doing after it's fixed.
13 changes: 13 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Copyright 2016 Andrii Snihyr

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
58 changes: 55 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,56 @@
# Unicorn.VisualStudio
Visual Studio plugin for https://github.com/kamsar/Unicorn
# Unicorn Control Panel

Read more on Wiki(https://github.com/BerserkerDotNet/Unicorn.VisualStudio/wiki)


---------------------------------------

Allows you to use [Unicorn](https://github.com/kamsar/Unicorn) from Visual Studio.
With this extension you can synchronize your Sitecore items without leaving Visual Studio.

![Control Panel](art/control_panel.png)

See the [changelog](CHANGELOG.md) for changes and roadmap.

## Connecting to Unicorn

For control panel to work, you have to provide connection information about Sitecore instance you want to use control panel with.
Unicorn Control Panel requires that Unicorn version 2.0.4 or 3 (rc2 or later) to be installed on the instance. (https://www.nuget.org/packages/Unicorn)

To create new connection follow the steps:

1. Click on the "Create New Connection" button to add connection
![New Connection](art/new_connection.png)
1. Specify connection info: Name, Server Url and [Security token/SharedSecret](https://github.com/kamsar/Unicorn#automated-deployment) if needed.
1. Click "Save"

![New Connection Dialog](art/new_connection_dialog.png)

### Unicorn 2.x

Click on install and specify a path to Sitecore webroot folder. Unicorn.Remote.dll and Unicorn.Remote.config will be copied to your Sitecore instance.
If you don't have an access to Webroot folder you can download a package and install it.

### Unicorn 3.x

In Unicorn 3+ remote API is disabled by default, to enable it, remove "disabled" extension from `App_Config/Include/Unicorn/Unicorn.Remote.config.disabled` file.

### Unicron 3.1

In this version remote API endpoint (/unicornRemote.aspx) was removed, VS control panel can now access Unicorn directly by it standard endpoint (/unicorn.aspx).
Please make sure to change it in your settings. (Settings -> EndPoint URL).

## Settings
![Settings](art/settings.png)

Settings has following options:

1. EndPoint - used to specify the custom endpoint of Unicorn server.
Default value is "/unicornRemote.aspx". (/unicorn.aspx for Unicorn 3.1)
NOTE: This value should correspond to the value set in Unicorn.Remote.config
1. "Enable multiple configurations selection" - if selected allows you to select multiple configurations for sync.
1. "Check for configuration health" option allows you to turn on/off a check for configuration state.
You want to turn it off if your version of Unicorn does not support it. (supported from 3.1+).
This option is enabled by default.

## License
[Apache 2.0](LICENSE)
8 changes: 8 additions & 0 deletions Unicorn.Remote.sln
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MicroCHAP", "..\MicroCHAP\s
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Unicorn.Emulator", "src\Unicorn.Emulator\Unicorn.Emulator.csproj", "{1212653F-C437-419A-A449-6544C2D6EB5C}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8CF0DFC3-589D-4FE2-8F08-E33B93CE3E9B}"
ProjectSection(SolutionItems) = preProject
appveyor.yml = appveyor.yml
CHANGELOG.md = CHANGELOG.md
ISSUE_TEMPLATE.md = ISSUE_TEMPLATE.md
README.md = README.md
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down
15 changes: 15 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
image: Visual Studio 2015

install:
- ps: (new-object Net.WebClient).DownloadString("https://raw.github.com/madskristensen/ExtensionScripts/master/AppVeyor/vsix.ps1") | iex

before_build:
- ps: Vsix-IncrementVsixVersion | Vsix-UpdateBuildVersion
#- ps: Vsix-TokenReplacement src\Unicorn.VS\source.extension.cs 'Version = "([0-9\\.]+)"' 'Version = "{version}"'

build_script:
- nuget restore -Verbosity quiet
- msbuild /p:configuration=Release /p:DeployExtension=false /p:ZipPackageCompressionLevel=normal /v:m

after_test:
- ps: Vsix-PushArtifacts | Vsix-PublishToGallery
Binary file added art/control_panel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added art/new_connection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added art/new_connection_dialog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added art/settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 0 additions & 7 deletions license.txt

This file was deleted.

2 changes: 1 addition & 1 deletion src/Unicorn.VS/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyTitle("Unicorn.VS")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Andrii Snigyr")]
[assembly: AssemblyCompany("Andrii Snihyr")]
[assembly: AssemblyProduct("Unicorn.VS")]
[assembly: AssemblyCopyright("")]
[assembly: AssemblyTrademark("")]
Expand Down
8 changes: 3 additions & 5 deletions src/Unicorn.VS/Unicorn.VS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Unicorn.VS</RootNamespace>
<AssemblyName>Unicorn.VS</AssemblyName>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>Key.snk</AssemblyOriginatorKeyFile>
<SignAssembly>false</SignAssembly>
<AssemblyOriginatorKeyFile>
</AssemblyOriginatorKeyFile>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down Expand Up @@ -221,9 +222,6 @@
<SubType>Designer</SubType>
</None>
</ItemGroup>
<ItemGroup>
<None Include="Key.snk" />
</ItemGroup>
<ItemGroup>
<VSCTCompile Include="Unicorn.VS.vsct">
<ResourceName>Menus.ctmenu</ResourceName>
Expand Down
2 changes: 1 addition & 1 deletion src/Unicorn.VS/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<DisplayName>Unicorn Control Panel</DisplayName>
<Description>Unicorn control panel for Visual Studio</Description>
<MoreInfo>https://github.com/BerserkerDotNet/Unicorn.VisualStudio</MoreInfo>
<License>license.txt</License>
<License>license</License>
<GettingStartedGuide>https://github.com/BerserkerDotNet/Unicorn.VisualStudio/wiki</GettingStartedGuide>
<ReleaseNotes>releasenotes.txt</ReleaseNotes>
<Icon>Resources\Package.ico</Icon>
Expand Down

0 comments on commit 0471780

Please sign in to comment.