mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 09:47:22 +13:00
Removed response type control
This commit is contained in:
parent
c5810ca127
commit
0a57e89487
3 changed files with 10224 additions and 3017 deletions
|
@ -136,13 +136,11 @@ private void InitializeComponent()
|
||||||
this.pCustomUploaderData = new System.Windows.Forms.Panel();
|
this.pCustomUploaderData = new System.Windows.Forms.Panel();
|
||||||
this.rtbCustomUploaderData = new System.Windows.Forms.RichTextBox();
|
this.rtbCustomUploaderData = new System.Windows.Forms.RichTextBox();
|
||||||
this.tpCustomUploaderResponse = new System.Windows.Forms.TabPage();
|
this.tpCustomUploaderResponse = new System.Windows.Forms.TabPage();
|
||||||
this.cbCustomUploaderResponseType = new System.Windows.Forms.ComboBox();
|
|
||||||
this.pCustomUploaderDeletionURL = new System.Windows.Forms.Panel();
|
this.pCustomUploaderDeletionURL = new System.Windows.Forms.Panel();
|
||||||
this.rtbCustomUploaderDeletionURL = new System.Windows.Forms.RichTextBox();
|
this.rtbCustomUploaderDeletionURL = new System.Windows.Forms.RichTextBox();
|
||||||
this.lblCustomUploaderDeletionURL = new System.Windows.Forms.Label();
|
this.lblCustomUploaderDeletionURL = new System.Windows.Forms.Label();
|
||||||
this.pCustomUploaderThumbnailURL = new System.Windows.Forms.Panel();
|
this.pCustomUploaderThumbnailURL = new System.Windows.Forms.Panel();
|
||||||
this.rtbCustomUploaderThumbnailURL = new System.Windows.Forms.RichTextBox();
|
this.rtbCustomUploaderThumbnailURL = new System.Windows.Forms.RichTextBox();
|
||||||
this.lblCustomUploaderResponseType = new System.Windows.Forms.Label();
|
|
||||||
this.pCustomUploaderURL = new System.Windows.Forms.Panel();
|
this.pCustomUploaderURL = new System.Windows.Forms.Panel();
|
||||||
this.rtbCustomUploaderURL = new System.Windows.Forms.RichTextBox();
|
this.rtbCustomUploaderURL = new System.Windows.Forms.RichTextBox();
|
||||||
this.lblCustomUploaderThumbnailURL = new System.Windows.Forms.Label();
|
this.lblCustomUploaderThumbnailURL = new System.Windows.Forms.Label();
|
||||||
|
@ -746,6 +744,7 @@ private void InitializeComponent()
|
||||||
this.tsmiCustomUploaderExamples = new System.Windows.Forms.ToolStripMenuItem();
|
this.tsmiCustomUploaderExamples = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.tsmiCustomUploaderExportAll = new System.Windows.Forms.ToolStripMenuItem();
|
this.tsmiCustomUploaderExportAll = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.actRapidShareAccountType = new ShareX.UploadersLib.AccountTypeControl();
|
this.actRapidShareAccountType = new ShareX.UploadersLib.AccountTypeControl();
|
||||||
|
this.lblCustomUploaderParseResponse = new System.Windows.Forms.Label();
|
||||||
this.tscCustomUploaderResponseText.ContentPanel.SuspendLayout();
|
this.tscCustomUploaderResponseText.ContentPanel.SuspendLayout();
|
||||||
this.tscCustomUploaderResponseText.TopToolStripPanel.SuspendLayout();
|
this.tscCustomUploaderResponseText.TopToolStripPanel.SuspendLayout();
|
||||||
this.tscCustomUploaderResponseText.SuspendLayout();
|
this.tscCustomUploaderResponseText.SuspendLayout();
|
||||||
|
@ -1511,11 +1510,10 @@ private void InitializeComponent()
|
||||||
//
|
//
|
||||||
// tpCustomUploaderResponse
|
// tpCustomUploaderResponse
|
||||||
//
|
//
|
||||||
this.tpCustomUploaderResponse.Controls.Add(this.cbCustomUploaderResponseType);
|
this.tpCustomUploaderResponse.Controls.Add(this.lblCustomUploaderParseResponse);
|
||||||
this.tpCustomUploaderResponse.Controls.Add(this.pCustomUploaderDeletionURL);
|
this.tpCustomUploaderResponse.Controls.Add(this.pCustomUploaderDeletionURL);
|
||||||
this.tpCustomUploaderResponse.Controls.Add(this.lblCustomUploaderDeletionURL);
|
this.tpCustomUploaderResponse.Controls.Add(this.lblCustomUploaderDeletionURL);
|
||||||
this.tpCustomUploaderResponse.Controls.Add(this.pCustomUploaderThumbnailURL);
|
this.tpCustomUploaderResponse.Controls.Add(this.pCustomUploaderThumbnailURL);
|
||||||
this.tpCustomUploaderResponse.Controls.Add(this.lblCustomUploaderResponseType);
|
|
||||||
this.tpCustomUploaderResponse.Controls.Add(this.pCustomUploaderURL);
|
this.tpCustomUploaderResponse.Controls.Add(this.pCustomUploaderURL);
|
||||||
this.tpCustomUploaderResponse.Controls.Add(this.lblCustomUploaderThumbnailURL);
|
this.tpCustomUploaderResponse.Controls.Add(this.lblCustomUploaderThumbnailURL);
|
||||||
this.tpCustomUploaderResponse.Controls.Add(this.lblCustomUploaderURL);
|
this.tpCustomUploaderResponse.Controls.Add(this.lblCustomUploaderURL);
|
||||||
|
@ -1524,14 +1522,6 @@ private void InitializeComponent()
|
||||||
this.tpCustomUploaderResponse.Name = "tpCustomUploaderResponse";
|
this.tpCustomUploaderResponse.Name = "tpCustomUploaderResponse";
|
||||||
this.tpCustomUploaderResponse.UseVisualStyleBackColor = true;
|
this.tpCustomUploaderResponse.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// cbCustomUploaderResponseType
|
|
||||||
//
|
|
||||||
this.cbCustomUploaderResponseType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
||||||
this.cbCustomUploaderResponseType.FormattingEnabled = true;
|
|
||||||
resources.ApplyResources(this.cbCustomUploaderResponseType, "cbCustomUploaderResponseType");
|
|
||||||
this.cbCustomUploaderResponseType.Name = "cbCustomUploaderResponseType";
|
|
||||||
this.cbCustomUploaderResponseType.SelectedIndexChanged += new System.EventHandler(this.cbCustomUploaderResponseType_SelectedIndexChanged);
|
|
||||||
//
|
|
||||||
// pCustomUploaderDeletionURL
|
// pCustomUploaderDeletionURL
|
||||||
//
|
//
|
||||||
this.pCustomUploaderDeletionURL.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
this.pCustomUploaderDeletionURL.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
@ -1569,11 +1559,6 @@ private void InitializeComponent()
|
||||||
this.rtbCustomUploaderThumbnailURL.TextChanged += new System.EventHandler(this.rtbCustomUploaderThumbnailURL_TextChanged);
|
this.rtbCustomUploaderThumbnailURL.TextChanged += new System.EventHandler(this.rtbCustomUploaderThumbnailURL_TextChanged);
|
||||||
this.rtbCustomUploaderThumbnailURL.Enter += new System.EventHandler(this.rtbCustomUploaderThumbnailURL_Enter);
|
this.rtbCustomUploaderThumbnailURL.Enter += new System.EventHandler(this.rtbCustomUploaderThumbnailURL_Enter);
|
||||||
//
|
//
|
||||||
// lblCustomUploaderResponseType
|
|
||||||
//
|
|
||||||
resources.ApplyResources(this.lblCustomUploaderResponseType, "lblCustomUploaderResponseType");
|
|
||||||
this.lblCustomUploaderResponseType.Name = "lblCustomUploaderResponseType";
|
|
||||||
//
|
|
||||||
// pCustomUploaderURL
|
// pCustomUploaderURL
|
||||||
//
|
//
|
||||||
this.pCustomUploaderURL.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
this.pCustomUploaderURL.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
@ -5977,6 +5962,11 @@ private void InitializeComponent()
|
||||||
this.actRapidShareAccountType.Name = "actRapidShareAccountType";
|
this.actRapidShareAccountType.Name = "actRapidShareAccountType";
|
||||||
this.actRapidShareAccountType.SelectedAccountType = ShareX.UploadersLib.AccountType.Anonymous;
|
this.actRapidShareAccountType.SelectedAccountType = ShareX.UploadersLib.AccountType.Anonymous;
|
||||||
//
|
//
|
||||||
|
// lblCustomUploaderParseResponse
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.lblCustomUploaderParseResponse, "lblCustomUploaderParseResponse");
|
||||||
|
this.lblCustomUploaderParseResponse.Name = "lblCustomUploaderParseResponse";
|
||||||
|
//
|
||||||
// UploadersConfigForm
|
// UploadersConfigForm
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this, "$this");
|
resources.ApplyResources(this, "$this");
|
||||||
|
@ -6197,7 +6187,6 @@ private void InitializeComponent()
|
||||||
private System.Windows.Forms.Button btnCustomUploaderImageUploaderTest;
|
private System.Windows.Forms.Button btnCustomUploaderImageUploaderTest;
|
||||||
private System.Windows.Forms.ComboBox cbCustomUploaderFileUploader;
|
private System.Windows.Forms.ComboBox cbCustomUploaderFileUploader;
|
||||||
private System.Windows.Forms.Label lblCustomUploaderDeletionURL;
|
private System.Windows.Forms.Label lblCustomUploaderDeletionURL;
|
||||||
private System.Windows.Forms.Label lblCustomUploaderResponseType;
|
|
||||||
private System.Windows.Forms.ComboBox cbCustomUploaderURLShortener;
|
private System.Windows.Forms.ComboBox cbCustomUploaderURLShortener;
|
||||||
private System.Windows.Forms.GroupBox gbCustomUploaders;
|
private System.Windows.Forms.GroupBox gbCustomUploaders;
|
||||||
private System.Windows.Forms.ListBox lbCustomUploaderList;
|
private System.Windows.Forms.ListBox lbCustomUploaderList;
|
||||||
|
@ -6214,7 +6203,6 @@ private void InitializeComponent()
|
||||||
private System.Windows.Forms.Button btnCustomUploaderRegexpAdd;
|
private System.Windows.Forms.Button btnCustomUploaderRegexpAdd;
|
||||||
private System.Windows.Forms.ComboBox cbCustomUploaderTextUploader;
|
private System.Windows.Forms.ComboBox cbCustomUploaderTextUploader;
|
||||||
private System.Windows.Forms.Label lblCustomUploaderURLShortener;
|
private System.Windows.Forms.Label lblCustomUploaderURLShortener;
|
||||||
private System.Windows.Forms.ComboBox cbCustomUploaderResponseType;
|
|
||||||
private System.Windows.Forms.Button btnCustomUploaderTextUploaderTest;
|
private System.Windows.Forms.Button btnCustomUploaderTextUploaderTest;
|
||||||
private System.Windows.Forms.ComboBox cbCustomUploaderImageUploader;
|
private System.Windows.Forms.ComboBox cbCustomUploaderImageUploader;
|
||||||
private System.Windows.Forms.RichTextBox rtbCustomUploaderResult;
|
private System.Windows.Forms.RichTextBox rtbCustomUploaderResult;
|
||||||
|
@ -6877,5 +6865,6 @@ private void InitializeComponent()
|
||||||
private System.Windows.Forms.Label lblGooglePhotosCreateAlbumName;
|
private System.Windows.Forms.Label lblGooglePhotosCreateAlbumName;
|
||||||
private System.Windows.Forms.TextBox txtGooglePhotosCreateAlbumName;
|
private System.Windows.Forms.TextBox txtGooglePhotosCreateAlbumName;
|
||||||
private System.Windows.Forms.Button btnGooglePhotosCreateAlbum;
|
private System.Windows.Forms.Button btnGooglePhotosCreateAlbum;
|
||||||
|
private System.Windows.Forms.Label lblCustomUploaderParseResponse;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -155,11 +155,9 @@ private void InitializeControls()
|
||||||
CustomUploaderAddDestinationTypes();
|
CustomUploaderAddDestinationTypes();
|
||||||
cbCustomUploaderRequestMethod.Items.AddRange(Enum.GetNames(typeof(HttpMethod)));
|
cbCustomUploaderRequestMethod.Items.AddRange(Enum.GetNames(typeof(HttpMethod)));
|
||||||
cbCustomUploaderRequestFormat.Items.AddRange(Helpers.GetEnumDescriptions<CustomUploaderBody>());
|
cbCustomUploaderRequestFormat.Items.AddRange(Helpers.GetEnumDescriptions<CustomUploaderBody>());
|
||||||
cbCustomUploaderResponseType.Items.AddRange(Helpers.GetLocalizedEnumDescriptions<ResponseType>());
|
|
||||||
|
|
||||||
// Backblaze B2
|
// Backblaze B2
|
||||||
txtB2Bucket.HandleCreated += (sender, e) =>
|
txtB2Bucket.HandleCreated += (sender, e) => txtB2Bucket.SetWatermark(Resources.txtB2BucketWatermark, showCueWhenFocus: true);
|
||||||
txtB2Bucket.SetWatermark(Resources.txtB2BucketWatermark, showCueWhenFocus: true);
|
|
||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
btnCheveretoTestAll.Visible = true;
|
btnCheveretoTestAll.Visible = true;
|
||||||
|
@ -3892,10 +3890,6 @@ private void lvCustomUploaderHeaders_SelectedIndexChanged(object sender, EventAr
|
||||||
CustomUploaderUpdateHeadersState();
|
CustomUploaderUpdateHeadersState();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void cbCustomUploaderResponseType_SelectedIndexChanged(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
private void txtCustomUploaderJsonPath_TextChanged(object sender, EventArgs e)
|
private void txtCustomUploaderJsonPath_TextChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
CustomUploaderUpdateResponseState();
|
CustomUploaderUpdateResponseState();
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue