From 7444eac51b009cf9d582cee8a71c3a48ef447e99 Mon Sep 17 00:00:00 2001 From: Jaex Date: Sat, 8 Aug 2015 14:38:37 +0300 Subject: [PATCH] fixed #797: Imgur GIFV URL option --- .../Forms/UploadersConfigForm.Designer.cs | 86 +- .../Forms/UploadersConfigForm.cs | 6 + .../Forms/UploadersConfigForm.resx | 2421 ++++++++--------- ShareX.UploadersLib/ImageUploaders/Imgur.cs | 3 +- ShareX.UploadersLib/UploadersConfig.cs | 1 + ShareX/UploadTask.cs | 1 + 6 files changed, 1258 insertions(+), 1260 deletions(-) diff --git a/ShareX.UploadersLib/Forms/UploadersConfigForm.Designer.cs b/ShareX.UploadersLib/Forms/UploadersConfigForm.Designer.cs index d43fbff2c..d0b209278 100644 --- a/ShareX.UploadersLib/Forms/UploadersConfigForm.Designer.cs +++ b/ShareX.UploadersLib/Forms/UploadersConfigForm.Designer.cs @@ -136,6 +136,11 @@ private void InitializeComponent() this.tpCoinURL = new System.Windows.Forms.TabPage(); this.txtCoinURLUUID = new System.Windows.Forms.TextBox(); this.lblCoinURLUUID = new System.Windows.Forms.Label(); + this.tpPolr = new System.Windows.Forms.TabPage(); + this.txtPolrAPIKey = new System.Windows.Forms.TextBox(); + this.lblPolrAPIKey = new System.Windows.Forms.Label(); + this.txtPolrAPIHostname = new System.Windows.Forms.TextBox(); + this.lblPolrAPIHostname = new System.Windows.Forms.Label(); this.tpFileUploaders = new System.Windows.Forms.TabPage(); this.tcFileUploaders = new System.Windows.Forms.TabControl(); this.tpFTP = new System.Windows.Forms.TabPage(); @@ -446,11 +451,7 @@ private void InitializeComponent() this.lblWidthHint = new System.Windows.Forms.Label(); this.ttlvMain = new ShareX.HelpersLib.TabToListView(); this.actRapidShareAccountType = new ShareX.UploadersLib.AccountTypeControl(); - this.tpPolr = new System.Windows.Forms.TabPage(); - this.txtPolrAPIHostname = new System.Windows.Forms.TextBox(); - this.lblPolrAPIHostname = new System.Windows.Forms.Label(); - this.txtPolrAPIKey = new System.Windows.Forms.TextBox(); - this.lblPolrAPIKey = new System.Windows.Forms.Label(); + this.cbImgurUseGIFV = new System.Windows.Forms.CheckBox(); this.tpOtherUploaders.SuspendLayout(); this.tcOtherUploaders.SuspendLayout(); this.tpTwitter.SuspendLayout(); @@ -466,6 +467,7 @@ private void InitializeComponent() this.tpAdFly.SuspendLayout(); this.tpLnkU.SuspendLayout(); this.tpCoinURL.SuspendLayout(); + this.tpPolr.SuspendLayout(); this.tpFileUploaders.SuspendLayout(); this.tcFileUploaders.SuspendLayout(); this.tpFTP.SuspendLayout(); @@ -516,7 +518,6 @@ private void InitializeComponent() this.tpPicasa.SuspendLayout(); this.tpChevereto.SuspendLayout(); this.tcUploaders.SuspendLayout(); - this.tpPolr.SuspendLayout(); this.SuspendLayout(); // // txtRapidSharePremiumUserName @@ -1303,6 +1304,38 @@ private void InitializeComponent() resources.ApplyResources(this.lblCoinURLUUID, "lblCoinURLUUID"); this.lblCoinURLUUID.Name = "lblCoinURLUUID"; // + // tpPolr + // + this.tpPolr.Controls.Add(this.txtPolrAPIKey); + this.tpPolr.Controls.Add(this.lblPolrAPIKey); + this.tpPolr.Controls.Add(this.txtPolrAPIHostname); + this.tpPolr.Controls.Add(this.lblPolrAPIHostname); + resources.ApplyResources(this.tpPolr, "tpPolr"); + this.tpPolr.Name = "tpPolr"; + this.tpPolr.UseVisualStyleBackColor = true; + // + // txtPolrAPIKey + // + resources.ApplyResources(this.txtPolrAPIKey, "txtPolrAPIKey"); + this.txtPolrAPIKey.Name = "txtPolrAPIKey"; + this.txtPolrAPIKey.TextChanged += new System.EventHandler(this.txtPolrAPIKey_TextChanged); + // + // lblPolrAPIKey + // + resources.ApplyResources(this.lblPolrAPIKey, "lblPolrAPIKey"); + this.lblPolrAPIKey.Name = "lblPolrAPIKey"; + // + // txtPolrAPIHostname + // + resources.ApplyResources(this.txtPolrAPIHostname, "txtPolrAPIHostname"); + this.txtPolrAPIHostname.Name = "txtPolrAPIHostname"; + this.txtPolrAPIHostname.TextChanged += new System.EventHandler(this.txtPolrAPIHostname_TextChanged); + // + // lblPolrAPIHostname + // + resources.ApplyResources(this.lblPolrAPIHostname, "lblPolrAPIHostname"); + this.lblPolrAPIHostname.Name = "lblPolrAPIHostname"; + // // tpFileUploaders // this.tpFileUploaders.Controls.Add(this.tcFileUploaders); @@ -3010,6 +3043,7 @@ private void InitializeComponent() // // tpImgur // + this.tpImgur.Controls.Add(this.cbImgurUseGIFV); this.tpImgur.Controls.Add(this.cbImgurUploadSelectedAlbum); this.tpImgur.Controls.Add(this.cbImgurDirectLink); this.tpImgur.Controls.Add(this.atcImgurAccountType); @@ -3551,37 +3585,12 @@ private void InitializeComponent() this.actRapidShareAccountType.Name = "actRapidShareAccountType"; this.actRapidShareAccountType.SelectedAccountType = ShareX.UploadersLib.AccountType.Anonymous; // - // tpPolr + // cbImgurUseGIFV // - this.tpPolr.Controls.Add(this.txtPolrAPIKey); - this.tpPolr.Controls.Add(this.lblPolrAPIKey); - this.tpPolr.Controls.Add(this.txtPolrAPIHostname); - this.tpPolr.Controls.Add(this.lblPolrAPIHostname); - resources.ApplyResources(this.tpPolr, "tpPolr"); - this.tpPolr.Name = "tpPolr"; - this.tpPolr.UseVisualStyleBackColor = true; - // - // txtPolrAPIHostname - // - resources.ApplyResources(this.txtPolrAPIHostname, "txtPolrAPIHostname"); - this.txtPolrAPIHostname.Name = "txtPolrAPIHostname"; - this.txtPolrAPIHostname.TextChanged += new System.EventHandler(this.txtPolrAPIHostname_TextChanged); - // - // lblPolrAPIHostname - // - resources.ApplyResources(this.lblPolrAPIHostname, "lblPolrAPIHostname"); - this.lblPolrAPIHostname.Name = "lblPolrAPIHostname"; - // - // txtPolrAPIKey - // - resources.ApplyResources(this.txtPolrAPIKey, "txtPolrAPIKey"); - this.txtPolrAPIKey.Name = "txtPolrAPIKey"; - this.txtPolrAPIKey.TextChanged += new System.EventHandler(this.txtPolrAPIKey_TextChanged); - // - // lblPolrAPIKey - // - resources.ApplyResources(this.lblPolrAPIKey, "lblPolrAPIKey"); - this.lblPolrAPIKey.Name = "lblPolrAPIKey"; + resources.ApplyResources(this.cbImgurUseGIFV, "cbImgurUseGIFV"); + this.cbImgurUseGIFV.Name = "cbImgurUseGIFV"; + this.cbImgurUseGIFV.UseVisualStyleBackColor = true; + this.cbImgurUseGIFV.CheckedChanged += new System.EventHandler(this.cbImgurUseGIFV_CheckedChanged); // // UploadersConfigForm // @@ -3620,6 +3629,8 @@ private void InitializeComponent() this.tpLnkU.PerformLayout(); this.tpCoinURL.ResumeLayout(false); this.tpCoinURL.PerformLayout(); + this.tpPolr.ResumeLayout(false); + this.tpPolr.PerformLayout(); this.tpFileUploaders.ResumeLayout(false); this.tcFileUploaders.ResumeLayout(false); this.tpFTP.ResumeLayout(false); @@ -3708,8 +3719,6 @@ private void InitializeComponent() this.tpChevereto.ResumeLayout(false); this.tpChevereto.PerformLayout(); this.tcUploaders.ResumeLayout(false); - this.tpPolr.ResumeLayout(false); - this.tpPolr.PerformLayout(); this.ResumeLayout(false); } @@ -4137,5 +4146,6 @@ private void InitializeComponent() private System.Windows.Forms.Label lblPolrAPIKey; private System.Windows.Forms.TextBox txtPolrAPIHostname; private System.Windows.Forms.Label lblPolrAPIHostname; + private System.Windows.Forms.CheckBox cbImgurUseGIFV; } } \ No newline at end of file diff --git a/ShareX.UploadersLib/Forms/UploadersConfigForm.cs b/ShareX.UploadersLib/Forms/UploadersConfigForm.cs index cb655db69..cc0ff67c7 100644 --- a/ShareX.UploadersLib/Forms/UploadersConfigForm.cs +++ b/ShareX.UploadersLib/Forms/UploadersConfigForm.cs @@ -181,6 +181,7 @@ public void LoadSettings(UploadersConfig uploadersConfig) cbImgurThumbnailType.Items.Clear(); cbImgurThumbnailType.Items.AddRange(Helpers.GetEnumDescriptions()); cbImgurThumbnailType.SelectedIndex = (int)Config.ImgurThumbnailType; + cbImgurUseGIFV.Checked = Config.ImgurUseGIFV; cbImgurUploadSelectedAlbum.Checked = Config.ImgurUploadSelectedAlbum; ImgurFillAlbumList(); @@ -671,6 +672,11 @@ private void cbImgurThumbnailType_SelectedIndexChanged(object sender, EventArgs Config.ImgurThumbnailType = (ImgurThumbnailType)cbImgurThumbnailType.SelectedIndex; } + private void cbImgurUseGIFV_CheckedChanged(object sender, EventArgs e) + { + Config.ImgurUseGIFV = cbImgurUseGIFV.Checked; + } + private void cbImgurUploadSelectedAlbum_CheckedChanged(object sender, EventArgs e) { Config.ImgurUploadSelectedAlbum = cbImgurUploadSelectedAlbum.Checked; diff --git a/ShareX.UploadersLib/Forms/UploadersConfigForm.resx b/ShareX.UploadersLib/Forms/UploadersConfigForm.resx index b2b3fdd9f..bb8c1cafe 100644 --- a/ShareX.UploadersLib/Forms/UploadersConfigForm.resx +++ b/ShareX.UploadersLib/Forms/UploadersConfigForm.resx @@ -2737,6 +2737,153 @@ For example, if your bucket is called bucket.example.com then URL will be http:/ 5 + + tcURLShorteners + + + System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpURLShorteners + + + 0 + + + 4, 22 + + + 3, 3, 3, 3 + + + 986, 525 + + + 3 + + + URL shorteners + + + tpURLShorteners + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcUploaders + + + 3 + + + tpBitly + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcURLShorteners + + + 0 + + + tpGoogleURLShortener + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcURLShorteners + + + 1 + + + tpYourls + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcURLShorteners + + + 2 + + + tpAdFly + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcURLShorteners + + + 3 + + + tpLnkU + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcURLShorteners + + + 4 + + + tpCoinURL + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcURLShorteners + + + 5 + + + tpPolr + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcURLShorteners + + + 6 + + + Fill + + + 3, 3 + + + 980, 519 + + + 0 + + + tcURLShorteners + + + System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpURLShorteners + + + 0 + txtBitlyDomain @@ -2800,6 +2947,78 @@ For example, if your bucket is called bucket.example.com then URL will be http:/ 0 + + 16, 248 + + + 272, 20 + + + 2 + + + txtBitlyDomain + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpBitly + + + 0 + + + True + + + NoControl + + + 13, 232 + + + 46, 13 + + + 1 + + + Domain: + + + lblBitlyDomain + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpBitly + + + 1 + + + 16, 16 + + + 328, 208 + + + 0 + + + oauth2Bitly + + + ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + + + tpBitly + + + 2 + oauth2GoogleURLShortener @@ -2851,6 +3070,48 @@ For example, if your bucket is called bucket.example.com then URL will be http:/ 1 + + 16, 64 + + + 328, 240 + + + 1 + + + oauth2GoogleURLShortener + + + ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + + + tpGoogleURLShortener + + + 0 + + + 16, 16 + + + 214, 40 + + + 0 + + + atcGoogleURLShortenerAccountType + + + ShareX.UploadersLib.AccountTypeControl, ShareX.UploadersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + + + tpGoogleURLShortener + + + 1 + txtYourlsPassword @@ -2986,480 +3247,6 @@ For example, if your bucket is called bucket.example.com then URL will be http:/ 2 - - llAdflyLink - - - System.Windows.Forms.LinkLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpAdFly - - - 0 - - - txtAdflyAPIUID - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpAdFly - - - 1 - - - lblAdflyAPIUID - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpAdFly - - - 2 - - - txtAdflyAPIKEY - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpAdFly - - - 3 - - - lblAdflyAPIKEY - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpAdFly - - - 4 - - - 4, 22 - - - 3, 3, 3, 3 - - - 972, 493 - - - 3 - - - adf.ly - - - tpAdFly - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcURLShorteners - - - 3 - - - txtLnkUAPIKEY - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpLnkU - - - 0 - - - lblLnkUAPIKey - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpLnkU - - - 1 - - - 4, 22 - - - 972, 493 - - - 4 - - - LnkU.co - - - tpLnkU - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcURLShorteners - - - 4 - - - txtCoinURLUUID - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpCoinURL - - - 0 - - - lblCoinURLUUID - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpCoinURL - - - 1 - - - 4, 22 - - - 972, 493 - - - 5 - - - CoinURL - - - tpCoinURL - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcURLShorteners - - - 5 - - - 16, 83 - - - 224, 20 - - - 13 - - - txtPolrAPIKey - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpPolr - - - 0 - - - True - - - NoControl - - - 13, 67 - - - 48, 13 - - - 12 - - - API Key: - - - lblPolrAPIKey - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpPolr - - - 1 - - - 16, 38 - - - 224, 20 - - - 11 - - - txtPolrAPIHostname - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpPolr - - - 2 - - - True - - - NoControl - - - 13, 22 - - - 335, 13 - - - 10 - - - API Hostname: (e.g. http://example.com, Leave blank to use polr.me) - - - lblPolrAPIHostname - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpPolr - - - 3 - - - 4, 22 - - - 972, 493 - - - 6 - - - Polr - - - tpPolr - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcURLShorteners - - - 6 - - - Fill - - - 3, 3 - - - 980, 519 - - - 0 - - - tcURLShorteners - - - System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpURLShorteners - - - 0 - - - 4, 22 - - - 3, 3, 3, 3 - - - 986, 525 - - - 3 - - - URL shorteners - - - tpURLShorteners - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcUploaders - - - 3 - - - 16, 248 - - - 272, 20 - - - 2 - - - txtBitlyDomain - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpBitly - - - 0 - - - True - - - NoControl - - - 13, 232 - - - 46, 13 - - - 1 - - - Domain: - - - lblBitlyDomain - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpBitly - - - 1 - - - 16, 16 - - - 328, 208 - - - 0 - - - oauth2Bitly - - - ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - - - tpBitly - - - 2 - - - 16, 64 - - - 328, 240 - - - 1 - - - oauth2GoogleURLShortener - - - ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - - - tpGoogleURLShortener - - - 0 - - - 16, 16 - - - 214, 40 - - - 0 - - - atcGoogleURLShortenerAccountType - - - ShareX.UploadersLib.AccountTypeControl, ShareX.UploadersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - - - tpGoogleURLShortener - - - 1 - 16, 200 @@ -3694,6 +3481,93 @@ For example, if your bucket is called bucket.example.com then URL will be http:/ 8 + + llAdflyLink + + + System.Windows.Forms.LinkLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpAdFly + + + 0 + + + txtAdflyAPIUID + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpAdFly + + + 1 + + + lblAdflyAPIUID + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpAdFly + + + 2 + + + txtAdflyAPIKEY + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpAdFly + + + 3 + + + lblAdflyAPIKEY + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpAdFly + + + 4 + + + 4, 22 + + + 3, 3, 3, 3 + + + 972, 493 + + + 3 + + + adf.ly + + + tpAdFly + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcURLShorteners + + + 3 + True @@ -3826,8 +3700,56 @@ For example, if your bucket is called bucket.example.com then URL will be http:/ 4 + + txtLnkUAPIKEY + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpLnkU + + + 0 + + + lblLnkUAPIKey + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpLnkU + + + 1 + + + 4, 22 + + + 972, 493 + + + 4 + + + LnkU.co + + + tpLnkU + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcURLShorteners + + + 4 + - 16, 38 + 16, 32 224, 20 @@ -3854,7 +3776,7 @@ For example, if your bucket is called bucket.example.com then URL will be http:/ NoControl - 13, 22 + 13, 16 47, 13 @@ -3877,8 +3799,56 @@ For example, if your bucket is called bucket.example.com then URL will be http:/ 1 + + txtCoinURLUUID + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpCoinURL + + + 0 + + + lblCoinURLUUID + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpCoinURL + + + 1 + + + 4, 22 + + + 972, 493 + + + 5 + + + CoinURL + + + tpCoinURL + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcURLShorteners + + + 5 + - 16, 38 + 16, 32 224, 20 @@ -3905,7 +3875,7 @@ For example, if your bucket is called bucket.example.com then URL will be http:/ NoControl - 13, 22 + 13, 16 37, 13 @@ -3928,6 +3898,180 @@ For example, if your bucket is called bucket.example.com then URL will be http:/ 1 + + txtPolrAPIKey + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpPolr + + + 0 + + + lblPolrAPIKey + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpPolr + + + 1 + + + txtPolrAPIHostname + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpPolr + + + 2 + + + lblPolrAPIHostname + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpPolr + + + 3 + + + 4, 22 + + + 972, 493 + + + 6 + + + Polr + + + tpPolr + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcURLShorteners + + + 6 + + + 16, 72 + + + 224, 20 + + + 13 + + + txtPolrAPIKey + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpPolr + + + 0 + + + True + + + NoControl + + + 13, 56 + + + 47, 13 + + + 12 + + + API key: + + + lblPolrAPIKey + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpPolr + + + 1 + + + 16, 32 + + + 224, 20 + + + 11 + + + txtPolrAPIHostname + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpPolr + + + 2 + + + True + + + NoControl + + + 13, 16 + + + 333, 13 + + + 10 + + + API hostname: (e.g. http://example.com, Leave blank to use polr.me) + + + lblPolrAPIHostname + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpPolr + + + 3 + tcFileUploaders @@ -12891,277 +13035,31 @@ For example, if your bucket is called bucket.example.com then URL will be http:/ 3 - - tcImageUploaders + + True - - System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 16, 376 - - tpImageUploaders + + 160, 17 - - 0 + + 10 - - 4, 22 + + Use GIFV link instead of GIF - - 3, 3, 3, 3 + + cbImgurUseGIFV - - 986, 525 - - - 0 - - - Image uploaders - - - tpImageUploaders - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcUploaders - - - 0 - - - tpImgur - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcImageUploaders - - - 0 - - - tpImageShack - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcImageUploaders - - - 1 - - - tpTinyPic - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcImageUploaders - - - 2 - - - tpFlickr - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcImageUploaders - - - 3 - - - tpPhotobucket - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcImageUploaders - - - 4 - - - tpPicasa - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcImageUploaders - - - 5 - - - tpChevereto - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcImageUploaders - - - 6 - - - Fill - - - 3, 3 - - - 780, 480 - - - 980, 519 - - - 0 - - - tcImageUploaders - - - System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpImageUploaders - - - 0 - - - cbImgurUploadSelectedAlbum - - + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + tpImgur - - 0 - - - cbImgurDirectLink - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpImgur - - - 1 - - - atcImgurAccountType - - - ShareX.UploadersLib.AccountTypeControl, ShareX.UploadersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - - - tpImgur - - - 2 - - - oauth2Imgur - - - ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - - - tpImgur - - - 3 - - - lvImgurAlbumList - - - System.Windows.Forms.ListView, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpImgur - - - 4 - - - btnImgurRefreshAlbumList - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpImgur - - - 5 - - - cbImgurThumbnailType - - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpImgur - - - 6 - - - lblImgurThumbnailType - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpImgur - - - 7 - - - 4, 22 - - - 3, 3, 3, 3 - - - 972, 493 - - - 2 - - - Imgur - - - tpImgur - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcImageUploaders - - + 0 @@ -13192,7 +13090,7 @@ For example, if your bucket is called bucket.example.com then URL will be http:/ tpImgur - 0 + 1 True @@ -13222,7 +13120,7 @@ For example, if your bucket is called bucket.example.com then URL will be http:/ tpImgur - 1 + 2 16, 16 @@ -13243,7 +13141,7 @@ For example, if your bucket is called bucket.example.com then URL will be http:/ tpImgur - 2 + 3 16, 64 @@ -13264,7 +13162,7 @@ For example, if your bucket is called bucket.example.com then URL will be http:/ tpImgur - 3 + 4 352, 48 @@ -13285,22 +13183,7 @@ For example, if your bucket is called bucket.example.com then URL will be http:/ tpImgur - 4 - - - ID - - - Title - - - 150 - - - Description - - - 226 + 5 False @@ -13330,7 +13213,7 @@ For example, if your bucket is called bucket.example.com then URL will be http:/ tpImgur - 5 + 6 16, 344 @@ -13351,7 +13234,7 @@ For example, if your bucket is called bucket.example.com then URL will be http:/ tpImgur - 6 + 7 True @@ -13381,7 +13264,34 @@ For example, if your bucket is called bucket.example.com then URL will be http:/ tpImgur - 7 + 8 + + + 4, 22 + + + 3, 3, 3, 3 + + + 972, 493 + + + 2 + + + Imgur + + + tpImgur + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcImageUploaders + + + 0 btnImageShackLogin @@ -13506,6 +13416,534 @@ For example, if your bucket is called bucket.example.com then URL will be http:/ 1 + + atcTinyPicAccountType + + + ShareX.UploadersLib.AccountTypeControl, ShareX.UploadersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + + + tpTinyPic + + + 0 + + + btnTinyPicLogin + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpTinyPic + + + 1 + + + txtTinyPicPassword + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpTinyPic + + + 2 + + + lblTinyPicPassword + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpTinyPic + + + 3 + + + txtTinyPicUsername + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpTinyPic + + + 4 + + + lblTinyPicUsername + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpTinyPic + + + 5 + + + btnTinyPicOpenMyImages + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpTinyPic + + + 6 + + + 4, 22 + + + 3, 3, 3, 3 + + + 972, 493 + + + 1 + + + TinyPic + + + tpTinyPic + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcImageUploaders + + + 2 + + + btnFlickrOpenImages + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpFlickr + + + 0 + + + pgFlickrAuthInfo + + + System.Windows.Forms.PropertyGrid, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpFlickr + + + 1 + + + pgFlickrSettings + + + System.Windows.Forms.PropertyGrid, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpFlickr + + + 2 + + + btnFlickrCheckToken + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpFlickr + + + 3 + + + btnFlickrCompleteAuth + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpFlickr + + + 4 + + + btnFlickrOpenAuthorize + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpFlickr + + + 5 + + + 4, 22 + + + 3, 3, 3, 3 + + + 972, 493 + + + 3 + + + Flickr + + + tpFlickr + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcImageUploaders + + + 3 + + + gbPhotobucketAlbumPath + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpPhotobucket + + + 0 + + + gbPhotobucketAlbums + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpPhotobucket + + + 1 + + + gbPhotobucketUserAccount + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpPhotobucket + + + 2 + + + 4, 22 + + + 3, 3, 3, 3 + + + 972, 493 + + + 4 + + + Photobucket + + + tpPhotobucket + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcImageUploaders + + + 4 + + + txtPicasaAlbumID + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpPicasa + + + 0 + + + lblPicasaAlbumID + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpPicasa + + + 1 + + + lvPicasaAlbumList + + + System.Windows.Forms.ListView, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpPicasa + + + 2 + + + btnPicasaRefreshAlbumList + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpPicasa + + + 3 + + + oauth2Picasa + + + ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + + + tpPicasa + + + 4 + + + 4, 22 + + + 3, 3, 3, 3 + + + 972, 493 + + + 8 + + + Picasa + + + tpPicasa + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcImageUploaders + + + 5 + + + cbCheveretoDirectURL + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpChevereto + + + 0 + + + lblCheveretoWebsiteTip + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpChevereto + + + 1 + + + lblCheveretoWebsite + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpChevereto + + + 2 + + + txtCheveretoWebsite + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpChevereto + + + 3 + + + txtCheveretoAPIKey + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpChevereto + + + 4 + + + lblCheveretoAPIKey + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpChevereto + + + 5 + + + 4, 22 + + + 3, 3, 3, 3 + + + 972, 493 + + + 9 + + + Chevereto + + + tpChevereto + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcImageUploaders + + + 6 + + + Fill + + + 3, 3 + + + 780, 480 + + + 980, 519 + + + 0 + + + tcImageUploaders + + + System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpImageUploaders + + + 0 + + + 4, 22 + + + 3, 3, 3, 3 + + + 986, 525 + + + 0 + + + Image uploaders + + + tpImageUploaders + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcUploaders + + + 0 + + + ID + + + Title + + + 150 + + + Description + + + 226 + NoControl @@ -13719,117 +14157,6 @@ For example, if your bucket is called bucket.example.com then URL will be http:/ 7 - - atcTinyPicAccountType - - - ShareX.UploadersLib.AccountTypeControl, ShareX.UploadersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - - - tpTinyPic - - - 0 - - - btnTinyPicLogin - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpTinyPic - - - 1 - - - txtTinyPicPassword - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpTinyPic - - - 2 - - - lblTinyPicPassword - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpTinyPic - - - 3 - - - txtTinyPicUsername - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpTinyPic - - - 4 - - - lblTinyPicUsername - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpTinyPic - - - 5 - - - btnTinyPicOpenMyImages - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpTinyPic - - - 6 - - - 4, 22 - - - 3, 3, 3, 3 - - - 972, 493 - - - 1 - - - TinyPic - - - tpTinyPic - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcImageUploaders - - - 2 - 16, 16 @@ -14007,105 +14334,6 @@ For example, if your bucket is called bucket.example.com then URL will be http:/ 6 - - btnFlickrOpenImages - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpFlickr - - - 0 - - - pgFlickrAuthInfo - - - System.Windows.Forms.PropertyGrid, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpFlickr - - - 1 - - - pgFlickrSettings - - - System.Windows.Forms.PropertyGrid, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpFlickr - - - 2 - - - btnFlickrCheckToken - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpFlickr - - - 3 - - - btnFlickrCompleteAuth - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpFlickr - - - 4 - - - btnFlickrOpenAuthorize - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpFlickr - - - 5 - - - 4, 22 - - - 3, 3, 3, 3 - - - 972, 493 - - - 3 - - - Flickr - - - tpFlickr - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcImageUploaders - - - 3 - NoControl @@ -14259,69 +14487,6 @@ For example, if your bucket is called bucket.example.com then URL will be http:/ 5 - - gbPhotobucketAlbumPath - - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpPhotobucket - - - 0 - - - gbPhotobucketAlbums - - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpPhotobucket - - - 1 - - - gbPhotobucketUserAccount - - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpPhotobucket - - - 2 - - - 4, 22 - - - 3, 3, 3, 3 - - - 972, 493 - - - 4 - - - Photobucket - - - tpPhotobucket - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcImageUploaders - - - 4 - btnPhotobucketAddAlbum @@ -14967,93 +15132,6 @@ For example, if your bucket is called bucket.example.com then URL will be http:/ 6 - - txtPicasaAlbumID - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpPicasa - - - 0 - - - lblPicasaAlbumID - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpPicasa - - - 1 - - - lvPicasaAlbumList - - - System.Windows.Forms.ListView, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpPicasa - - - 2 - - - btnPicasaRefreshAlbumList - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpPicasa - - - 3 - - - oauth2Picasa - - - ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - - - tpPicasa - - - 4 - - - 4, 22 - - - 3, 3, 3, 3 - - - 972, 493 - - - 8 - - - Picasa - - - tpPicasa - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcImageUploaders - - - 5 - 352, 64 @@ -15195,105 +15273,6 @@ For example, if your bucket is called bucket.example.com then URL will be http:/ 4 - - cbCheveretoDirectURL - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpChevereto - - - 0 - - - lblCheveretoWebsiteTip - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpChevereto - - - 1 - - - lblCheveretoWebsite - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpChevereto - - - 2 - - - txtCheveretoWebsite - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpChevereto - - - 3 - - - txtCheveretoAPIKey - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpChevereto - - - 4 - - - lblCheveretoAPIKey - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpChevereto - - - 5 - - - 4, 22 - - - 3, 3, 3, 3 - - - 972, 493 - - - 9 - - - Chevereto - - - tpChevereto - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcImageUploaders - - - 6 - True diff --git a/ShareX.UploadersLib/ImageUploaders/Imgur.cs b/ShareX.UploadersLib/ImageUploaders/Imgur.cs index 6f4f659d7..0dda65b93 100644 --- a/ShareX.UploadersLib/ImageUploaders/Imgur.cs +++ b/ShareX.UploadersLib/ImageUploaders/Imgur.cs @@ -56,6 +56,7 @@ public sealed class Imgur : ImageUploader, IOAuth2 public ImgurThumbnailType ThumbnailType { get; set; } public string UploadAlbumID { get; set; } public bool DirectLink { get; set; } + public bool UseGIFV { get; set; } public Imgur(OAuth2Info oauth) { @@ -215,7 +216,7 @@ public override UploadResult Upload(Stream stream, string fileName) { if (DirectLink) { - if (!string.IsNullOrEmpty(imageData.gifv)) + if (UseGIFV && !string.IsNullOrEmpty(imageData.gifv)) { result.URL = imageData.gifv; } diff --git a/ShareX.UploadersLib/UploadersConfig.cs b/ShareX.UploadersLib/UploadersConfig.cs index 8490f470f..427de1921 100644 --- a/ShareX.UploadersLib/UploadersConfig.cs +++ b/ShareX.UploadersLib/UploadersConfig.cs @@ -43,6 +43,7 @@ public class UploadersConfig : SettingsBase public AccountType ImgurAccountType = AccountType.Anonymous; public bool ImgurDirectLink = true; public ImgurThumbnailType ImgurThumbnailType = ImgurThumbnailType.Large_Thumbnail; + public bool ImgurUseGIFV = true; public OAuth2Info ImgurOAuth2Info = null; public bool ImgurUploadSelectedAlbum = false; public ImgurAlbumData ImgurSelectedAlbum = null; diff --git a/ShareX/UploadTask.cs b/ShareX/UploadTask.cs index 6d5375c77..0897fb90e 100644 --- a/ShareX/UploadTask.cs +++ b/ShareX/UploadTask.cs @@ -706,6 +706,7 @@ public UploadResult UploadImage(Stream stream, string fileName) UploadMethod = Program.UploadersConfig.ImgurAccountType, DirectLink = Program.UploadersConfig.ImgurDirectLink, ThumbnailType = Program.UploadersConfig.ImgurThumbnailType, + UseGIFV = Program.UploadersConfig.ImgurUseGIFV, UploadAlbumID = albumID }; break;