-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4210 from gerhardol/feature/n4204-bitbucket-rename
Rename "Atlassian Stash" to Bitbucket
- Loading branch information
Showing
26 changed files
with
131 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
using System.Windows.Forms; | ||
using GitUIPluginInterfaces; | ||
using ResourceManager; | ||
|
||
namespace Bitbucket | ||
{ | ||
public class BitbucketPlugin : GitPluginBase | ||
{ | ||
public readonly StringSetting BitbucketUsername = new StringSetting("Bitbucket Username", string.Empty); | ||
public readonly PasswordSetting BitbucketPassword = new PasswordSetting("Bitbucket Password", string.Empty); | ||
public readonly StringSetting BitbucketBaseUrl = new StringSetting("Specify the base URL to Bitbucket", "https://example.bitbucket.com"); | ||
public readonly BoolSetting BitbucketDisableSsl = new BoolSetting("Disable SSL verification", false); | ||
|
||
public BitbucketPlugin() | ||
{ | ||
SetNameAndDescription("Create Bitbucket Pull Request"); | ||
Translate(); | ||
} | ||
|
||
public override bool Execute(GitUIBaseEventArgs gitUiCommands) | ||
{ | ||
using (var frm = new BitbucketPullRequestForm(this, base.Settings, gitUiCommands)) | ||
frm.ShowDialog(gitUiCommands.OwnerForm); | ||
return true; | ||
} | ||
|
||
public override System.Collections.Generic.IEnumerable<ISetting> GetSettings() | ||
{ | ||
yield return BitbucketUsername; | ||
yield return BitbucketPassword; | ||
yield return BitbucketBaseUrl; | ||
yield return BitbucketDisableSsl; | ||
} | ||
} | ||
} |
8 changes: 4 additions & 4 deletions
8
...ns/Stash/StashPullRequestForm.Designer.cs → ...cket/BitbucketPullRequestForm.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.