CodeMaid cleanup
This commit is contained in:
parent
b115cb8cd6
commit
c33bc4844f
@ -1,3 +1,3 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/></startup></configuration>
|
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" /></startup></configuration>
|
@ -23,11 +23,7 @@
|
|||||||
|
|
||||||
#endregion License Information (GPL v3)
|
#endregion License Information (GPL v3)
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace ShareX.HelpersLib
|
namespace ShareX.HelpersLib
|
||||||
|
@ -23,12 +23,8 @@
|
|||||||
|
|
||||||
#endregion License Information (GPL v3)
|
#endregion License Information (GPL v3)
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Drawing.Drawing2D;
|
using System.Drawing.Drawing2D;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace ShareX.HelpersLib
|
namespace ShareX.HelpersLib
|
||||||
{
|
{
|
||||||
|
@ -23,12 +23,8 @@
|
|||||||
|
|
||||||
#endregion License Information (GPL v3)
|
#endregion License Information (GPL v3)
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace ShareX.HelpersLib
|
namespace ShareX.HelpersLib
|
||||||
|
@ -24,9 +24,6 @@
|
|||||||
#endregion License Information (GPL v3)
|
#endregion License Information (GPL v3)
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using System.Windows.Forms.Design;
|
using System.Windows.Forms.Design;
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ namespace ShareX.HelpersLib
|
|||||||
screenRectangle0Based = new Rectangle(0, 0, screenRectangle.Width, screenRectangle.Height);
|
screenRectangle0Based = new Rectangle(0, 0, screenRectangle.Width, screenRectangle.Height);
|
||||||
|
|
||||||
SuspendLayout();
|
SuspendLayout();
|
||||||
|
|
||||||
AutoScaleMode = AutoScaleMode.None;
|
AutoScaleMode = AutoScaleMode.None;
|
||||||
StartPosition = FormStartPosition.Manual;
|
StartPosition = FormStartPosition.Manual;
|
||||||
Bounds = screenRectangle;
|
Bounds = screenRectangle;
|
||||||
|
@ -24,11 +24,9 @@
|
|||||||
#endregion License Information (GPL v3)
|
#endregion License Information (GPL v3)
|
||||||
|
|
||||||
using IWshRuntimeLibrary;
|
using IWshRuntimeLibrary;
|
||||||
using ShareX.HelpersLib.Properties;
|
|
||||||
using Shell32;
|
using Shell32;
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Windows.Forms;
|
|
||||||
using File = System.IO.File;
|
using File = System.IO.File;
|
||||||
using Folder = Shell32.Folder;
|
using Folder = Shell32.Folder;
|
||||||
|
|
||||||
@ -45,7 +43,7 @@ namespace ShareX.HelpersLib
|
|||||||
public static bool SetShortcut(bool create, string shortcutPath, string targetPath = "", string arguments = "")
|
public static bool SetShortcut(bool create, string shortcutPath, string targetPath = "", string arguments = "")
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (create)
|
if (create)
|
||||||
{
|
{
|
||||||
return Create(shortcutPath, targetPath, arguments);
|
return Create(shortcutPath, targetPath, arguments);
|
||||||
|
@ -23,11 +23,6 @@
|
|||||||
|
|
||||||
#endregion License Information (GPL v3)
|
#endregion License Information (GPL v3)
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace ShareX.HelpersLib
|
namespace ShareX.HelpersLib
|
||||||
{
|
{
|
||||||
public class CodeMenuItem
|
public class CodeMenuItem
|
||||||
|
@ -117,7 +117,7 @@ namespace ShareX.HelpersLib
|
|||||||
// next character
|
// next character
|
||||||
int c;
|
int c;
|
||||||
|
|
||||||
for (;;)
|
for (; ; )
|
||||||
{
|
{
|
||||||
// get next character
|
// get next character
|
||||||
c = NextChar();
|
c = NextChar();
|
||||||
|
@ -24,12 +24,8 @@
|
|||||||
#endregion License Information (GPL v3)
|
#endregion License Information (GPL v3)
|
||||||
|
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Net.Cache;
|
using System.Net.Cache;
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace ShareX.HelpersLib
|
namespace ShareX.HelpersLib
|
||||||
{
|
{
|
||||||
|
@ -24,9 +24,7 @@
|
|||||||
#endregion License Information (GPL v3)
|
#endregion License Information (GPL v3)
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace ShareX.HelpersLib
|
namespace ShareX.HelpersLib
|
||||||
{
|
{
|
||||||
|
@ -28,7 +28,6 @@ using System.ComponentModel;
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Drawing.Design;
|
using System.Drawing.Design;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Windows.Forms;
|
|
||||||
|
|
||||||
namespace ShareX.ImageEffectsLib
|
namespace ShareX.ImageEffectsLib
|
||||||
{
|
{
|
||||||
|
@ -26,8 +26,6 @@
|
|||||||
using ShareX.HelpersLib;
|
using ShareX.HelpersLib;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
|
||||||
using System.Text.RegularExpressions;
|
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace ShareX.MediaLib
|
namespace ShareX.MediaLib
|
||||||
|
@ -25,13 +25,8 @@
|
|||||||
|
|
||||||
using ShareX.HelpersLib;
|
using ShareX.HelpersLib;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Data;
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace ShareX.MediaLib
|
namespace ShareX.MediaLib
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/></startup></configuration>
|
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" /></startup></configuration>
|
@ -25,12 +25,6 @@
|
|||||||
|
|
||||||
using ShareX.HelpersLib;
|
using ShareX.HelpersLib;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Data;
|
|
||||||
using System.Drawing;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace ShareX.ScreenCaptureLib
|
namespace ShareX.ScreenCaptureLib
|
||||||
|
@ -25,12 +25,7 @@
|
|||||||
|
|
||||||
using ShareX.HelpersLib;
|
using ShareX.HelpersLib;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Data;
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace ShareX.ScreenCaptureLib
|
namespace ShareX.ScreenCaptureLib
|
||||||
|
@ -25,12 +25,7 @@
|
|||||||
|
|
||||||
using ShareX.HelpersLib;
|
using ShareX.HelpersLib;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Data;
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace ShareX.ScreenCaptureLib
|
namespace ShareX.ScreenCaptureLib
|
||||||
|
@ -89,7 +89,7 @@ namespace ShareX.ScreenCaptureLib
|
|||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
SuspendLayout();
|
SuspendLayout();
|
||||||
|
|
||||||
AutoScaleMode = AutoScaleMode.None;
|
AutoScaleMode = AutoScaleMode.None;
|
||||||
StartPosition = FormStartPosition.Manual;
|
StartPosition = FormStartPosition.Manual;
|
||||||
Bounds = ScreenRectangle;
|
Bounds = ScreenRectangle;
|
||||||
|
@ -26,12 +26,9 @@
|
|||||||
using ShareX.HelpersLib;
|
using ShareX.HelpersLib;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Data;
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace ShareX.ScreenCaptureLib
|
namespace ShareX.ScreenCaptureLib
|
||||||
|
@ -24,11 +24,11 @@
|
|||||||
#endregion License Information (GPL v3)
|
#endregion License Information (GPL v3)
|
||||||
|
|
||||||
using Manina.Windows.Forms;
|
using Manina.Windows.Forms;
|
||||||
|
using ShareX.HelpersLib;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Drawing.Drawing2D;
|
using System.Drawing.Drawing2D;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using ShareX.HelpersLib;
|
|
||||||
using static Manina.Windows.Forms.ImageListView;
|
using static Manina.Windows.Forms.ImageListView;
|
||||||
|
|
||||||
namespace ShareX.ScreenCaptureLib
|
namespace ShareX.ScreenCaptureLib
|
||||||
|
@ -26,11 +26,6 @@
|
|||||||
using ShareX.HelpersLib;
|
using ShareX.HelpersLib;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Data;
|
|
||||||
using System.Drawing;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace ShareX.ScreenCaptureLib
|
namespace ShareX.ScreenCaptureLib
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
#endregion License Information (GPL v3)
|
#endregion License Information (GPL v3)
|
||||||
|
|
||||||
using ShareX.HelpersLib;
|
using ShareX.HelpersLib;
|
||||||
using System;
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Drawing.Drawing2D;
|
using System.Drawing.Drawing2D;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
@ -24,12 +24,8 @@
|
|||||||
#endregion License Information (GPL v3)
|
#endregion License Information (GPL v3)
|
||||||
|
|
||||||
using ShareX.HelpersLib;
|
using ShareX.HelpersLib;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Drawing.Drawing2D;
|
using System.Drawing.Drawing2D;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace ShareX.ScreenCaptureLib
|
namespace ShareX.ScreenCaptureLib
|
||||||
{
|
{
|
||||||
|
@ -175,13 +175,21 @@ namespace ShareX.ScreenCaptureLib
|
|||||||
InitialSize = Rectangle.Size;
|
InitialSize = Rectangle.Size;
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual void OnMoving() { }
|
public virtual void OnMoving()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
public virtual void OnMoved() { }
|
public virtual void OnMoved()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
public virtual void OnResizing() { }
|
public virtual void OnResizing()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
public virtual void OnResized() { }
|
public virtual void OnResized()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
public virtual void OnUpdate()
|
public virtual void OnUpdate()
|
||||||
{
|
{
|
||||||
|
@ -23,13 +23,8 @@
|
|||||||
|
|
||||||
#endregion License Information (GPL v3)
|
#endregion License Information (GPL v3)
|
||||||
|
|
||||||
using ShareX.HelpersLib;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Windows.Forms;
|
|
||||||
|
|
||||||
namespace ShareX.ScreenCaptureLib
|
namespace ShareX.ScreenCaptureLib
|
||||||
{
|
{
|
||||||
|
@ -24,11 +24,7 @@
|
|||||||
#endregion License Information (GPL v3)
|
#endregion License Information (GPL v3)
|
||||||
|
|
||||||
using ShareX.HelpersLib;
|
using ShareX.HelpersLib;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace ShareX.ScreenCaptureLib
|
namespace ShareX.ScreenCaptureLib
|
||||||
|
@ -737,7 +737,7 @@ namespace ShareX.ScreenCaptureLib
|
|||||||
tsmiAddImageEffects.Click += (sender, e) => AddImageEffects();
|
tsmiAddImageEffects.Click += (sender, e) => AddImageEffects();
|
||||||
tsddbImage.DropDownItems.Add(tsmiAddImageEffects);
|
tsddbImage.DropDownItems.Add(tsmiAddImageEffects);
|
||||||
|
|
||||||
#endregion
|
#endregion Image
|
||||||
}
|
}
|
||||||
|
|
||||||
tsMain.Items.Add(new ToolStripSeparator());
|
tsMain.Items.Add(new ToolStripSeparator());
|
||||||
|
@ -23,11 +23,7 @@
|
|||||||
|
|
||||||
#endregion License Information (GPL v3)
|
#endregion License Information (GPL v3)
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace ShareX.ScreenCaptureLib
|
namespace ShareX.ScreenCaptureLib
|
||||||
{
|
{
|
||||||
|
@ -23,12 +23,7 @@
|
|||||||
|
|
||||||
#endregion License Information (GPL v3)
|
#endregion License Information (GPL v3)
|
||||||
|
|
||||||
using ShareX.HelpersLib;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace ShareX.ScreenCaptureLib
|
namespace ShareX.ScreenCaptureLib
|
||||||
{
|
{
|
||||||
|
@ -24,11 +24,11 @@
|
|||||||
#endregion License Information (GPL v3)
|
#endregion License Information (GPL v3)
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Net;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Collections.Generic;
|
using System.Net;
|
||||||
|
|
||||||
namespace ShareX.Setup
|
namespace ShareX.Setup
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<startup>
|
<startup>
|
||||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/>
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
|
||||||
</startup>
|
</startup>
|
||||||
</configuration>
|
</configuration>
|
@ -1,3 +1,3 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/></startup></configuration>
|
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" /></startup></configuration>
|
@ -62,7 +62,7 @@ namespace ShareX.UploadersLib.FileUploaders
|
|||||||
// More clones: https://github.com/tsudoko/long-live-pomf/blob/master/long-live-pomf.md
|
// More clones: https://github.com/tsudoko/long-live-pomf/blob/master/long-live-pomf.md
|
||||||
public static List<PomfUploader> Uploaders = new List<PomfUploader>()
|
public static List<PomfUploader> Uploaders = new List<PomfUploader>()
|
||||||
{
|
{
|
||||||
//new PomfUploader("https://pomf.se/upload.php"),
|
//new PomfUploader("https://pomf.se/upload.php"),
|
||||||
new PomfUploader("https://comfy.moe/upload.php"),
|
new PomfUploader("https://comfy.moe/upload.php"),
|
||||||
new PomfUploader("https://doko.moe/upload.php"),
|
new PomfUploader("https://doko.moe/upload.php"),
|
||||||
new PomfUploader("https://edfile.pro/upload/archive"),
|
new PomfUploader("https://edfile.pro/upload/archive"),
|
||||||
|
@ -134,4 +134,4 @@ namespace ShareX.UploadersLib
|
|||||||
this.Close();
|
this.Close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -25,7 +25,6 @@
|
|||||||
|
|
||||||
using ShareX.HelpersLib;
|
using ShareX.HelpersLib;
|
||||||
using ShareX.UploadersLib.ImageUploaders;
|
using ShareX.UploadersLib.ImageUploaders;
|
||||||
using ShareX.UploadersLib.Properties;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
@ -194,7 +194,7 @@ namespace ShareX.UploadersLib
|
|||||||
cbImgurUploadSelectedAlbum.Checked = Config.ImgurUploadSelectedAlbum;
|
cbImgurUploadSelectedAlbum.Checked = Config.ImgurUploadSelectedAlbum;
|
||||||
ImgurFillAlbumList();
|
ImgurFillAlbumList();
|
||||||
|
|
||||||
#endregion
|
#endregion Imgur
|
||||||
|
|
||||||
#region ImageShack
|
#region ImageShack
|
||||||
|
|
||||||
@ -202,7 +202,7 @@ namespace ShareX.UploadersLib
|
|||||||
txtImageShackPassword.Text = Config.ImageShackSettings.Password;
|
txtImageShackPassword.Text = Config.ImageShackSettings.Password;
|
||||||
cbImageShackIsPublic.Checked = Config.ImageShackSettings.IsPublic;
|
cbImageShackIsPublic.Checked = Config.ImageShackSettings.IsPublic;
|
||||||
|
|
||||||
#endregion
|
#endregion ImageShack
|
||||||
|
|
||||||
#region TinyPic
|
#region TinyPic
|
||||||
|
|
||||||
@ -210,7 +210,7 @@ namespace ShareX.UploadersLib
|
|||||||
txtTinyPicUsername.Text = Config.TinyPicUsername;
|
txtTinyPicUsername.Text = Config.TinyPicUsername;
|
||||||
txtTinyPicPassword.Text = Config.TinyPicPassword;
|
txtTinyPicPassword.Text = Config.TinyPicPassword;
|
||||||
|
|
||||||
#endregion
|
#endregion TinyPic
|
||||||
|
|
||||||
#region Flickr
|
#region Flickr
|
||||||
|
|
||||||
@ -221,7 +221,7 @@ namespace ShareX.UploadersLib
|
|||||||
|
|
||||||
cbFlickrDirectLink.Checked = Config.FlickrSettings.DirectLink;
|
cbFlickrDirectLink.Checked = Config.FlickrSettings.DirectLink;
|
||||||
|
|
||||||
#endregion
|
#endregion Flickr
|
||||||
|
|
||||||
#region Photobucket
|
#region Photobucket
|
||||||
|
|
||||||
@ -245,7 +245,7 @@ namespace ShareX.UploadersLib
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion Photobucket
|
||||||
|
|
||||||
#region Google Photos
|
#region Google Photos
|
||||||
|
|
||||||
@ -257,7 +257,7 @@ namespace ShareX.UploadersLib
|
|||||||
|
|
||||||
txtPicasaAlbumID.Text = Config.PicasaAlbumID;
|
txtPicasaAlbumID.Text = Config.PicasaAlbumID;
|
||||||
|
|
||||||
#endregion
|
#endregion Google Photos
|
||||||
|
|
||||||
#region Chevereto
|
#region Chevereto
|
||||||
|
|
||||||
@ -267,13 +267,13 @@ namespace ShareX.UploadersLib
|
|||||||
txtCheveretoAPIKey.Text = Config.CheveretoUploader.APIKey;
|
txtCheveretoAPIKey.Text = Config.CheveretoUploader.APIKey;
|
||||||
cbCheveretoDirectURL.Checked = Config.CheveretoDirectURL;
|
cbCheveretoDirectURL.Checked = Config.CheveretoDirectURL;
|
||||||
|
|
||||||
#endregion
|
#endregion Chevereto
|
||||||
|
|
||||||
#region vgy.me
|
#region vgy.me
|
||||||
|
|
||||||
txtVgymeUserKey.Text = Config.VgymeUserKey;
|
txtVgymeUserKey.Text = Config.VgymeUserKey;
|
||||||
|
|
||||||
#endregion
|
#endregion vgy.me
|
||||||
|
|
||||||
#endregion Image uploaders
|
#endregion Image uploaders
|
||||||
|
|
||||||
@ -302,13 +302,13 @@ namespace ShareX.UploadersLib
|
|||||||
txtPastebinTitle.Text = Config.PastebinSettings.Title;
|
txtPastebinTitle.Text = Config.PastebinSettings.Title;
|
||||||
cbPastebinRaw.Checked = Config.PastebinSettings.RawURL;
|
cbPastebinRaw.Checked = Config.PastebinSettings.RawURL;
|
||||||
|
|
||||||
#endregion
|
#endregion Pastebin
|
||||||
|
|
||||||
#region Paste.ee
|
#region Paste.ee
|
||||||
|
|
||||||
txtPaste_eeUserAPIKey.Text = Config.Paste_eeUserKey;
|
txtPaste_eeUserAPIKey.Text = Config.Paste_eeUserKey;
|
||||||
|
|
||||||
#endregion
|
#endregion Paste.ee
|
||||||
|
|
||||||
#region Gist
|
#region Gist
|
||||||
|
|
||||||
@ -323,14 +323,14 @@ namespace ShareX.UploadersLib
|
|||||||
cbGistUseRawURL.Checked = Config.GistRawURL;
|
cbGistUseRawURL.Checked = Config.GistRawURL;
|
||||||
txtGistCustomURL.Text = Config.GistCustomURL;
|
txtGistCustomURL.Text = Config.GistCustomURL;
|
||||||
|
|
||||||
#endregion
|
#endregion Gist
|
||||||
|
|
||||||
#region Upaste
|
#region Upaste
|
||||||
|
|
||||||
txtUpasteUserKey.Text = Config.UpasteUserKey;
|
txtUpasteUserKey.Text = Config.UpasteUserKey;
|
||||||
cbUpasteIsPublic.Checked = Config.UpasteIsPublic;
|
cbUpasteIsPublic.Checked = Config.UpasteIsPublic;
|
||||||
|
|
||||||
#endregion
|
#endregion Upaste
|
||||||
|
|
||||||
#region Hastebin
|
#region Hastebin
|
||||||
|
|
||||||
@ -338,20 +338,20 @@ namespace ShareX.UploadersLib
|
|||||||
txtHastebinSyntaxHighlighting.Text = Config.HastebinSyntaxHighlighting;
|
txtHastebinSyntaxHighlighting.Text = Config.HastebinSyntaxHighlighting;
|
||||||
cbHastebinUseFileExtension.Checked = Config.HastebinUseFileExtension;
|
cbHastebinUseFileExtension.Checked = Config.HastebinUseFileExtension;
|
||||||
|
|
||||||
#endregion
|
#endregion Hastebin
|
||||||
|
|
||||||
#region OneTimeSecret
|
#region OneTimeSecret
|
||||||
|
|
||||||
txtOneTimeSecretEmail.Text = Config.OneTimeSecretAPIUsername;
|
txtOneTimeSecretEmail.Text = Config.OneTimeSecretAPIUsername;
|
||||||
txtOneTimeSecretAPIKey.Text = Config.OneTimeSecretAPIKey;
|
txtOneTimeSecretAPIKey.Text = Config.OneTimeSecretAPIKey;
|
||||||
|
|
||||||
#endregion
|
#endregion OneTimeSecret
|
||||||
|
|
||||||
#region Pastie
|
#region Pastie
|
||||||
|
|
||||||
cbPastieIsPublic.Checked = Config.PastieIsPublic;
|
cbPastieIsPublic.Checked = Config.PastieIsPublic;
|
||||||
|
|
||||||
#endregion
|
#endregion Pastie
|
||||||
|
|
||||||
#endregion Text uploaders
|
#endregion Text uploaders
|
||||||
|
|
||||||
@ -376,7 +376,7 @@ namespace ShareX.UploadersLib
|
|||||||
FTPUpdateEnabledStates();
|
FTPUpdateEnabledStates();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion FTP
|
||||||
|
|
||||||
#region Dropbox
|
#region Dropbox
|
||||||
|
|
||||||
@ -390,7 +390,7 @@ namespace ShareX.UploadersLib
|
|||||||
cbDropboxUseDirectLink.Enabled = Config.DropboxAutoCreateShareableLink;
|
cbDropboxUseDirectLink.Enabled = Config.DropboxAutoCreateShareableLink;
|
||||||
cbDropboxUseDirectLink.Checked = Config.DropboxUseDirectLink;
|
cbDropboxUseDirectLink.Checked = Config.DropboxUseDirectLink;
|
||||||
|
|
||||||
#endregion
|
#endregion Dropbox
|
||||||
|
|
||||||
#region OneDrive
|
#region OneDrive
|
||||||
|
|
||||||
@ -406,7 +406,7 @@ namespace ShareX.UploadersLib
|
|||||||
lblOneDriveFolderID.Text = Resources.UploadersConfigForm_LoadSettings_Selected_folder_ + " " + Config.OneDriveSelectedFolder.name;
|
lblOneDriveFolderID.Text = Resources.UploadersConfigForm_LoadSettings_Selected_folder_ + " " + Config.OneDriveSelectedFolder.name;
|
||||||
tvOneDrive.CollapseAll();
|
tvOneDrive.CollapseAll();
|
||||||
|
|
||||||
#endregion
|
#endregion OneDrive
|
||||||
|
|
||||||
#region Google Drive
|
#region Google Drive
|
||||||
|
|
||||||
@ -424,13 +424,13 @@ namespace ShareX.UploadersLib
|
|||||||
txtGoogleDriveFolderID.Enabled = Config.GoogleDriveUseFolder;
|
txtGoogleDriveFolderID.Enabled = Config.GoogleDriveUseFolder;
|
||||||
txtGoogleDriveFolderID.Text = Config.GoogleDriveFolderID;
|
txtGoogleDriveFolderID.Text = Config.GoogleDriveFolderID;
|
||||||
|
|
||||||
#endregion
|
#endregion Google Drive
|
||||||
|
|
||||||
#region puush
|
#region puush
|
||||||
|
|
||||||
txtPuushAPIKey.Text = Config.PuushAPIKey;
|
txtPuushAPIKey.Text = Config.PuushAPIKey;
|
||||||
|
|
||||||
#endregion
|
#endregion puush
|
||||||
|
|
||||||
#region Box
|
#region Box
|
||||||
|
|
||||||
@ -443,7 +443,7 @@ namespace ShareX.UploadersLib
|
|||||||
cbBoxShare.Checked = Config.BoxShare;
|
cbBoxShare.Checked = Config.BoxShare;
|
||||||
lblBoxFolderID.Text = Resources.UploadersConfigForm_LoadSettings_Selected_folder_ + " " + Config.BoxSelectedFolder.name;
|
lblBoxFolderID.Text = Resources.UploadersConfigForm_LoadSettings_Selected_folder_ + " " + Config.BoxSelectedFolder.name;
|
||||||
|
|
||||||
#endregion
|
#endregion Box
|
||||||
|
|
||||||
#region Ge.tt
|
#region Ge.tt
|
||||||
|
|
||||||
@ -452,7 +452,7 @@ namespace ShareX.UploadersLib
|
|||||||
lblGe_ttStatus.Text = Resources.UploadersConfigForm_Login_successful;
|
lblGe_ttStatus.Text = Resources.UploadersConfigForm_Login_successful;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion Ge.tt
|
||||||
|
|
||||||
#region Localhostr
|
#region Localhostr
|
||||||
|
|
||||||
@ -460,7 +460,7 @@ namespace ShareX.UploadersLib
|
|||||||
txtLocalhostrPassword.Text = Config.LocalhostrPassword;
|
txtLocalhostrPassword.Text = Config.LocalhostrPassword;
|
||||||
cbLocalhostrDirectURL.Checked = Config.LocalhostrDirectURL;
|
cbLocalhostrDirectURL.Checked = Config.LocalhostrDirectURL;
|
||||||
|
|
||||||
#endregion
|
#endregion Localhostr
|
||||||
|
|
||||||
#region Email
|
#region Email
|
||||||
|
|
||||||
@ -475,7 +475,7 @@ namespace ShareX.UploadersLib
|
|||||||
txtEmailAutomaticSendTo.Enabled = Config.EmailAutomaticSend;
|
txtEmailAutomaticSendTo.Enabled = Config.EmailAutomaticSend;
|
||||||
txtEmailAutomaticSendTo.Text = Config.EmailAutomaticSendTo;
|
txtEmailAutomaticSendTo.Text = Config.EmailAutomaticSendTo;
|
||||||
|
|
||||||
#endregion
|
#endregion Email
|
||||||
|
|
||||||
#region SendSpace
|
#region SendSpace
|
||||||
|
|
||||||
@ -483,7 +483,7 @@ namespace ShareX.UploadersLib
|
|||||||
txtSendSpacePassword.Text = Config.SendSpacePassword;
|
txtSendSpacePassword.Text = Config.SendSpacePassword;
|
||||||
txtSendSpaceUserName.Text = Config.SendSpaceUsername;
|
txtSendSpaceUserName.Text = Config.SendSpaceUsername;
|
||||||
|
|
||||||
#endregion
|
#endregion SendSpace
|
||||||
|
|
||||||
#region Localhost
|
#region Localhost
|
||||||
|
|
||||||
@ -503,7 +503,7 @@ namespace ShareX.UploadersLib
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion Localhost
|
||||||
|
|
||||||
#region Jira
|
#region Jira
|
||||||
|
|
||||||
@ -539,13 +539,13 @@ namespace ShareX.UploadersLib
|
|||||||
oAuthJira.Status = OAuthLoginStatus.LoginSuccessful;
|
oAuthJira.Status = OAuthLoginStatus.LoginSuccessful;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion Jira
|
||||||
|
|
||||||
#region Mega
|
#region Mega
|
||||||
|
|
||||||
MegaConfigureTab(false);
|
MegaConfigureTab(false);
|
||||||
|
|
||||||
#endregion
|
#endregion Mega
|
||||||
|
|
||||||
#region Pushbullet
|
#region Pushbullet
|
||||||
|
|
||||||
@ -565,7 +565,7 @@ namespace ShareX.UploadersLib
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion Pushbullet
|
||||||
|
|
||||||
#region Amazon S3
|
#region Amazon S3
|
||||||
|
|
||||||
@ -596,7 +596,7 @@ namespace ShareX.UploadersLib
|
|||||||
cbAmazonS3StripExtensionText.Checked = Config.AmazonS3Settings.RemoveExtensionText;
|
cbAmazonS3StripExtensionText.Checked = Config.AmazonS3Settings.RemoveExtensionText;
|
||||||
UpdateAmazonS3Status();
|
UpdateAmazonS3Status();
|
||||||
|
|
||||||
#endregion
|
#endregion Amazon S3
|
||||||
|
|
||||||
#region ownCloud / Nextcloud
|
#region ownCloud / Nextcloud
|
||||||
|
|
||||||
@ -608,7 +608,7 @@ namespace ShareX.UploadersLib
|
|||||||
cbOwnCloudDirectLink.Checked = Config.OwnCloudDirectLink;
|
cbOwnCloudDirectLink.Checked = Config.OwnCloudDirectLink;
|
||||||
cbOwnCloud81Compatibility.Checked = Config.OwnCloud81Compatibility;
|
cbOwnCloud81Compatibility.Checked = Config.OwnCloud81Compatibility;
|
||||||
|
|
||||||
#endregion
|
#endregion ownCloud / Nextcloud
|
||||||
|
|
||||||
#region MediaFire
|
#region MediaFire
|
||||||
|
|
||||||
@ -617,7 +617,7 @@ namespace ShareX.UploadersLib
|
|||||||
txtMediaFirePath.Text = Config.MediaFirePath;
|
txtMediaFirePath.Text = Config.MediaFirePath;
|
||||||
cbMediaFireUseLongLink.Checked = Config.MediaFireUseLongLink;
|
cbMediaFireUseLongLink.Checked = Config.MediaFireUseLongLink;
|
||||||
|
|
||||||
#endregion
|
#endregion MediaFire
|
||||||
|
|
||||||
#region Lambda
|
#region Lambda
|
||||||
|
|
||||||
@ -625,13 +625,13 @@ namespace ShareX.UploadersLib
|
|||||||
cbLambdaUploadURL.Items.AddRange(Lambda.UploadURLs);
|
cbLambdaUploadURL.Items.AddRange(Lambda.UploadURLs);
|
||||||
cbLambdaUploadURL.SelectedItem = Config.LambdaSettings.UploadURL;
|
cbLambdaUploadURL.SelectedItem = Config.LambdaSettings.UploadURL;
|
||||||
|
|
||||||
#endregion
|
#endregion Lambda
|
||||||
|
|
||||||
#region Lithiio
|
#region Lithiio
|
||||||
|
|
||||||
txtLithiioApiKey.Text = Config.LithiioSettings.UserAPIKey;
|
txtLithiioApiKey.Text = Config.LithiioSettings.UserAPIKey;
|
||||||
|
|
||||||
#endregion
|
#endregion Lithiio
|
||||||
|
|
||||||
#region Pomf
|
#region Pomf
|
||||||
|
|
||||||
@ -640,7 +640,7 @@ namespace ShareX.UploadersLib
|
|||||||
txtPomfUploadURL.Text = Config.PomfUploader.UploadURL;
|
txtPomfUploadURL.Text = Config.PomfUploader.UploadURL;
|
||||||
txtPomfResultURL.Text = Config.PomfUploader.ResultURL;
|
txtPomfResultURL.Text = Config.PomfUploader.ResultURL;
|
||||||
|
|
||||||
#endregion
|
#endregion Pomf
|
||||||
|
|
||||||
#region Seafile
|
#region Seafile
|
||||||
|
|
||||||
@ -657,7 +657,7 @@ namespace ShareX.UploadersLib
|
|||||||
txtSeafileAccInfoEmail.Text = Config.SeafileAccInfoEmail;
|
txtSeafileAccInfoEmail.Text = Config.SeafileAccInfoEmail;
|
||||||
txtSeafileAccInfoUsage.Text = Config.SeafileAccInfoUsage;
|
txtSeafileAccInfoUsage.Text = Config.SeafileAccInfoUsage;
|
||||||
|
|
||||||
#endregion
|
#endregion Seafile
|
||||||
|
|
||||||
#region Streamable
|
#region Streamable
|
||||||
|
|
||||||
@ -667,13 +667,13 @@ namespace ShareX.UploadersLib
|
|||||||
txtStreamableUsername.Enabled = txtStreamablePassword.Enabled = !Config.StreamableAnonymous;
|
txtStreamableUsername.Enabled = txtStreamablePassword.Enabled = !Config.StreamableAnonymous;
|
||||||
cbStreamableUseDirectURL.Checked = Config.StreamableUseDirectURL;
|
cbStreamableUseDirectURL.Checked = Config.StreamableUseDirectURL;
|
||||||
|
|
||||||
#endregion
|
#endregion Streamable
|
||||||
|
|
||||||
#region s-ul
|
#region s-ul
|
||||||
|
|
||||||
txtSulAPIKey.Text = Config.SulAPIKey;
|
txtSulAPIKey.Text = Config.SulAPIKey;
|
||||||
|
|
||||||
#endregion
|
#endregion s-ul
|
||||||
|
|
||||||
#region Azure Storage
|
#region Azure Storage
|
||||||
|
|
||||||
@ -683,7 +683,7 @@ namespace ShareX.UploadersLib
|
|||||||
cbAzureStorageEnvironment.Text = Config.AzureStorageEnvironment;
|
cbAzureStorageEnvironment.Text = Config.AzureStorageEnvironment;
|
||||||
txtAzureStorageCustomDomain.Text = Config.AzureStorageCustomDomain;
|
txtAzureStorageCustomDomain.Text = Config.AzureStorageCustomDomain;
|
||||||
|
|
||||||
#endregion
|
#endregion Azure Storage
|
||||||
|
|
||||||
#region Plik
|
#region Plik
|
||||||
|
|
||||||
@ -702,7 +702,7 @@ namespace ShareX.UploadersLib
|
|||||||
txtPlikLogin.ReadOnly = !cbPlikIsSecured.Checked;
|
txtPlikLogin.ReadOnly = !cbPlikIsSecured.Checked;
|
||||||
txtPlikPassword.ReadOnly = !cbPlikIsSecured.Checked;
|
txtPlikPassword.ReadOnly = !cbPlikIsSecured.Checked;
|
||||||
|
|
||||||
#endregion
|
#endregion Plik
|
||||||
|
|
||||||
#region Gfycat
|
#region Gfycat
|
||||||
|
|
||||||
@ -717,7 +717,7 @@ namespace ShareX.UploadersLib
|
|||||||
|
|
||||||
cbGfycatIsPublic.Checked = Config.GfycatIsPublic;
|
cbGfycatIsPublic.Checked = Config.GfycatIsPublic;
|
||||||
|
|
||||||
#endregion
|
#endregion Gfycat
|
||||||
|
|
||||||
#endregion File uploaders
|
#endregion File uploaders
|
||||||
|
|
||||||
@ -732,7 +732,7 @@ namespace ShareX.UploadersLib
|
|||||||
oauth2GoogleURLShortener.Status = OAuthLoginStatus.LoginSuccessful;
|
oauth2GoogleURLShortener.Status = OAuthLoginStatus.LoginSuccessful;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion Google URL Shortener
|
||||||
|
|
||||||
#region bit.ly
|
#region bit.ly
|
||||||
|
|
||||||
@ -743,7 +743,7 @@ namespace ShareX.UploadersLib
|
|||||||
|
|
||||||
txtBitlyDomain.Text = Config.BitlyDomain;
|
txtBitlyDomain.Text = Config.BitlyDomain;
|
||||||
|
|
||||||
#endregion
|
#endregion bit.ly
|
||||||
|
|
||||||
#region yourls.org
|
#region yourls.org
|
||||||
|
|
||||||
@ -753,20 +753,20 @@ namespace ShareX.UploadersLib
|
|||||||
txtYourlsUsername.Text = Config.YourlsUsername;
|
txtYourlsUsername.Text = Config.YourlsUsername;
|
||||||
txtYourlsPassword.Text = Config.YourlsPassword;
|
txtYourlsPassword.Text = Config.YourlsPassword;
|
||||||
|
|
||||||
#endregion
|
#endregion yourls.org
|
||||||
|
|
||||||
#region adf.ly
|
#region adf.ly
|
||||||
|
|
||||||
txtAdflyAPIKEY.Text = Config.AdFlyAPIKEY;
|
txtAdflyAPIKEY.Text = Config.AdFlyAPIKEY;
|
||||||
txtAdflyAPIUID.Text = Config.AdFlyAPIUID;
|
txtAdflyAPIUID.Text = Config.AdFlyAPIUID;
|
||||||
|
|
||||||
#endregion
|
#endregion adf.ly
|
||||||
|
|
||||||
#region coinurl.com
|
#region coinurl.com
|
||||||
|
|
||||||
txtCoinURLUUID.Text = Config.CoinURLUUID;
|
txtCoinURLUUID.Text = Config.CoinURLUUID;
|
||||||
|
|
||||||
#endregion
|
#endregion coinurl.com
|
||||||
|
|
||||||
#region Polr
|
#region Polr
|
||||||
|
|
||||||
@ -775,7 +775,7 @@ namespace ShareX.UploadersLib
|
|||||||
cbPolrIsSecret.Checked = Config.PolrIsSecret;
|
cbPolrIsSecret.Checked = Config.PolrIsSecret;
|
||||||
cbPolrUseAPIv1.Checked = Config.PolrUseAPIv1;
|
cbPolrUseAPIv1.Checked = Config.PolrUseAPIv1;
|
||||||
|
|
||||||
#endregion
|
#endregion Polr
|
||||||
|
|
||||||
#endregion URL shorteners
|
#endregion URL shorteners
|
||||||
|
|
||||||
@ -800,13 +800,13 @@ namespace ShareX.UploadersLib
|
|||||||
cbTwitterSkipMessageBox.Checked = Config.TwitterSkipMessageBox;
|
cbTwitterSkipMessageBox.Checked = Config.TwitterSkipMessageBox;
|
||||||
txtTwitterDefaultMessage.Text = Config.TwitterDefaultMessage;
|
txtTwitterDefaultMessage.Text = Config.TwitterDefaultMessage;
|
||||||
|
|
||||||
#endregion
|
#endregion Twitter
|
||||||
|
|
||||||
#region Custom uploaders
|
#region Custom uploaders
|
||||||
|
|
||||||
CustomUploaderLoadTab();
|
CustomUploaderLoadTab();
|
||||||
|
|
||||||
#endregion
|
#endregion Custom uploaders
|
||||||
|
|
||||||
#endregion Other uploaders
|
#endregion Other uploaders
|
||||||
}
|
}
|
||||||
|
@ -24,10 +24,7 @@
|
|||||||
#endregion License Information (GPL v3)
|
#endregion License Information (GPL v3)
|
||||||
|
|
||||||
using ShareX.HelpersLib;
|
using ShareX.HelpersLib;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace ShareX.UploadersLib
|
namespace ShareX.UploadersLib
|
||||||
{
|
{
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
using ShareX.HelpersLib;
|
using ShareX.HelpersLib;
|
||||||
using ShareX.UploadersLib.Properties;
|
using ShareX.UploadersLib.Properties;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
@ -47,13 +47,13 @@ namespace ShareX.UploadersLib
|
|||||||
public ImgurAlbumData ImgurSelectedAlbum = null;
|
public ImgurAlbumData ImgurSelectedAlbum = null;
|
||||||
public List<ImgurAlbumData> ImgurAlbumList = null;
|
public List<ImgurAlbumData> ImgurAlbumList = null;
|
||||||
|
|
||||||
#endregion
|
#endregion Imgur
|
||||||
|
|
||||||
#region ImageShack
|
#region ImageShack
|
||||||
|
|
||||||
public ImageShackOptions ImageShackSettings = new ImageShackOptions();
|
public ImageShackOptions ImageShackSettings = new ImageShackOptions();
|
||||||
|
|
||||||
#endregion
|
#endregion ImageShack
|
||||||
|
|
||||||
#region TinyPic
|
#region TinyPic
|
||||||
|
|
||||||
@ -63,41 +63,41 @@ namespace ShareX.UploadersLib
|
|||||||
public string TinyPicPassword = "";
|
public string TinyPicPassword = "";
|
||||||
public bool TinyPicRememberUserPass = false;
|
public bool TinyPicRememberUserPass = false;
|
||||||
|
|
||||||
#endregion
|
#endregion TinyPic
|
||||||
|
|
||||||
#region Flickr
|
#region Flickr
|
||||||
|
|
||||||
public OAuthInfo FlickrOAuthInfo = null;
|
public OAuthInfo FlickrOAuthInfo = null;
|
||||||
public FlickrSettings FlickrSettings = new FlickrSettings();
|
public FlickrSettings FlickrSettings = new FlickrSettings();
|
||||||
|
|
||||||
#endregion
|
#endregion Flickr
|
||||||
|
|
||||||
#region Photobucket
|
#region Photobucket
|
||||||
|
|
||||||
public OAuthInfo PhotobucketOAuthInfo = null;
|
public OAuthInfo PhotobucketOAuthInfo = null;
|
||||||
public PhotobucketAccountInfo PhotobucketAccountInfo = null;
|
public PhotobucketAccountInfo PhotobucketAccountInfo = null;
|
||||||
|
|
||||||
#endregion
|
#endregion Photobucket
|
||||||
|
|
||||||
#region Google Photos
|
#region Google Photos
|
||||||
|
|
||||||
public OAuth2Info PicasaOAuth2Info = null;
|
public OAuth2Info PicasaOAuth2Info = null;
|
||||||
public string PicasaAlbumID = "";
|
public string PicasaAlbumID = "";
|
||||||
|
|
||||||
#endregion
|
#endregion Google Photos
|
||||||
|
|
||||||
#region Chevereto
|
#region Chevereto
|
||||||
|
|
||||||
public CheveretoUploader CheveretoUploader = new CheveretoUploader("http://ultraimg.com/api/1/upload", "3374fa58c672fcaad8dab979f7687397");
|
public CheveretoUploader CheveretoUploader = new CheveretoUploader("http://ultraimg.com/api/1/upload", "3374fa58c672fcaad8dab979f7687397");
|
||||||
public bool CheveretoDirectURL = true;
|
public bool CheveretoDirectURL = true;
|
||||||
|
|
||||||
#endregion
|
#endregion Chevereto
|
||||||
|
|
||||||
#region vgy.me
|
#region vgy.me
|
||||||
|
|
||||||
public string VgymeUserKey = "";
|
public string VgymeUserKey = "";
|
||||||
|
|
||||||
#endregion
|
#endregion vgy.me
|
||||||
|
|
||||||
#endregion Image uploaders
|
#endregion Image uploaders
|
||||||
|
|
||||||
@ -107,13 +107,13 @@ namespace ShareX.UploadersLib
|
|||||||
|
|
||||||
public PastebinSettings PastebinSettings = new PastebinSettings();
|
public PastebinSettings PastebinSettings = new PastebinSettings();
|
||||||
|
|
||||||
#endregion
|
#endregion Pastebin
|
||||||
|
|
||||||
#region Paste.ee
|
#region Paste.ee
|
||||||
|
|
||||||
public string Paste_eeUserKey = "";
|
public string Paste_eeUserKey = "";
|
||||||
|
|
||||||
#endregion
|
#endregion Paste.ee
|
||||||
|
|
||||||
#region Gist
|
#region Gist
|
||||||
|
|
||||||
@ -123,14 +123,14 @@ namespace ShareX.UploadersLib
|
|||||||
public bool GistRawURL = false;
|
public bool GistRawURL = false;
|
||||||
public string GistCustomURL = "";
|
public string GistCustomURL = "";
|
||||||
|
|
||||||
#endregion
|
#endregion Gist
|
||||||
|
|
||||||
#region uPaste
|
#region uPaste
|
||||||
|
|
||||||
public string UpasteUserKey = "";
|
public string UpasteUserKey = "";
|
||||||
public bool UpasteIsPublic = false;
|
public bool UpasteIsPublic = false;
|
||||||
|
|
||||||
#endregion
|
#endregion uPaste
|
||||||
|
|
||||||
#region Hastebin
|
#region Hastebin
|
||||||
|
|
||||||
@ -138,20 +138,20 @@ namespace ShareX.UploadersLib
|
|||||||
public string HastebinSyntaxHighlighting = "hs";
|
public string HastebinSyntaxHighlighting = "hs";
|
||||||
public bool HastebinUseFileExtension = true;
|
public bool HastebinUseFileExtension = true;
|
||||||
|
|
||||||
#endregion
|
#endregion Hastebin
|
||||||
|
|
||||||
#region OneTimeSecret
|
#region OneTimeSecret
|
||||||
|
|
||||||
public string OneTimeSecretAPIKey = "";
|
public string OneTimeSecretAPIKey = "";
|
||||||
public string OneTimeSecretAPIUsername = "";
|
public string OneTimeSecretAPIUsername = "";
|
||||||
|
|
||||||
#endregion
|
#endregion OneTimeSecret
|
||||||
|
|
||||||
#region Pastie
|
#region Pastie
|
||||||
|
|
||||||
public bool PastieIsPublic = false;
|
public bool PastieIsPublic = false;
|
||||||
|
|
||||||
#endregion
|
#endregion Pastie
|
||||||
|
|
||||||
#endregion Text uploaders
|
#endregion Text uploaders
|
||||||
|
|
||||||
@ -167,7 +167,7 @@ namespace ShareX.UploadersLib
|
|||||||
// TEMP: For backward compatibility
|
// TEMP: For backward compatibility
|
||||||
public DropboxURLType DropboxURLType = DropboxURLType.Default;
|
public DropboxURLType DropboxURLType = DropboxURLType.Default;
|
||||||
|
|
||||||
#endregion
|
#endregion Dropbox
|
||||||
|
|
||||||
#region FTP
|
#region FTP
|
||||||
|
|
||||||
@ -176,7 +176,7 @@ namespace ShareX.UploadersLib
|
|||||||
public int FTPSelectedText = 0;
|
public int FTPSelectedText = 0;
|
||||||
public int FTPSelectedFile = 0;
|
public int FTPSelectedFile = 0;
|
||||||
|
|
||||||
#endregion
|
#endregion FTP
|
||||||
|
|
||||||
#region OneDrive
|
#region OneDrive
|
||||||
|
|
||||||
@ -184,7 +184,7 @@ namespace ShareX.UploadersLib
|
|||||||
public OneDriveFileInfo OneDriveSelectedFolder = OneDrive.RootFolder;
|
public OneDriveFileInfo OneDriveSelectedFolder = OneDrive.RootFolder;
|
||||||
public bool OneDriveAutoCreateShareableLink = true;
|
public bool OneDriveAutoCreateShareableLink = true;
|
||||||
|
|
||||||
#endregion
|
#endregion OneDrive
|
||||||
|
|
||||||
#region Gfycat
|
#region Gfycat
|
||||||
|
|
||||||
@ -192,7 +192,7 @@ namespace ShareX.UploadersLib
|
|||||||
public AccountType GfycatAccountType = AccountType.Anonymous;
|
public AccountType GfycatAccountType = AccountType.Anonymous;
|
||||||
public bool GfycatIsPublic = false;
|
public bool GfycatIsPublic = false;
|
||||||
|
|
||||||
#endregion
|
#endregion Gfycat
|
||||||
|
|
||||||
#region Google Drive
|
#region Google Drive
|
||||||
|
|
||||||
@ -202,13 +202,13 @@ namespace ShareX.UploadersLib
|
|||||||
public bool GoogleDriveUseFolder = false;
|
public bool GoogleDriveUseFolder = false;
|
||||||
public string GoogleDriveFolderID = "";
|
public string GoogleDriveFolderID = "";
|
||||||
|
|
||||||
#endregion
|
#endregion Google Drive
|
||||||
|
|
||||||
#region puush
|
#region puush
|
||||||
|
|
||||||
public string PuushAPIKey = "";
|
public string PuushAPIKey = "";
|
||||||
|
|
||||||
#endregion
|
#endregion puush
|
||||||
|
|
||||||
#region SendSpace
|
#region SendSpace
|
||||||
|
|
||||||
@ -216,7 +216,7 @@ namespace ShareX.UploadersLib
|
|||||||
public string SendSpaceUsername = "";
|
public string SendSpaceUsername = "";
|
||||||
public string SendSpacePassword = "";
|
public string SendSpacePassword = "";
|
||||||
|
|
||||||
#endregion
|
#endregion SendSpace
|
||||||
|
|
||||||
#region Box
|
#region Box
|
||||||
|
|
||||||
@ -224,13 +224,13 @@ namespace ShareX.UploadersLib
|
|||||||
public BoxFileEntry BoxSelectedFolder = Box.RootFolder;
|
public BoxFileEntry BoxSelectedFolder = Box.RootFolder;
|
||||||
public bool BoxShare = true;
|
public bool BoxShare = true;
|
||||||
|
|
||||||
#endregion
|
#endregion Box
|
||||||
|
|
||||||
#region Ge.tt
|
#region Ge.tt
|
||||||
|
|
||||||
public Ge_ttLogin Ge_ttLogin = null;
|
public Ge_ttLogin Ge_ttLogin = null;
|
||||||
|
|
||||||
#endregion
|
#endregion Ge.tt
|
||||||
|
|
||||||
#region Localhostr
|
#region Localhostr
|
||||||
|
|
||||||
@ -238,7 +238,7 @@ namespace ShareX.UploadersLib
|
|||||||
public string LocalhostrPassword = "";
|
public string LocalhostrPassword = "";
|
||||||
public bool LocalhostrDirectURL = true;
|
public bool LocalhostrDirectURL = true;
|
||||||
|
|
||||||
#endregion
|
#endregion Localhostr
|
||||||
|
|
||||||
#region Shared folder
|
#region Shared folder
|
||||||
|
|
||||||
@ -247,7 +247,7 @@ namespace ShareX.UploadersLib
|
|||||||
public int LocalhostSelectedText = 0;
|
public int LocalhostSelectedText = 0;
|
||||||
public int LocalhostSelectedFiles = 0;
|
public int LocalhostSelectedFiles = 0;
|
||||||
|
|
||||||
#endregion
|
#endregion Shared folder
|
||||||
|
|
||||||
#region Email
|
#region Email
|
||||||
|
|
||||||
@ -262,7 +262,7 @@ namespace ShareX.UploadersLib
|
|||||||
public bool EmailAutomaticSend = false;
|
public bool EmailAutomaticSend = false;
|
||||||
public string EmailAutomaticSendTo = "";
|
public string EmailAutomaticSendTo = "";
|
||||||
|
|
||||||
#endregion
|
#endregion Email
|
||||||
|
|
||||||
#region Jira
|
#region Jira
|
||||||
|
|
||||||
@ -270,14 +270,14 @@ namespace ShareX.UploadersLib
|
|||||||
public string JiraIssuePrefix = "PROJECT-";
|
public string JiraIssuePrefix = "PROJECT-";
|
||||||
public OAuthInfo JiraOAuthInfo = null;
|
public OAuthInfo JiraOAuthInfo = null;
|
||||||
|
|
||||||
#endregion
|
#endregion Jira
|
||||||
|
|
||||||
#region Mega
|
#region Mega
|
||||||
|
|
||||||
public MegaApiClient.AuthInfos MegaAuthInfos = null;
|
public MegaApiClient.AuthInfos MegaAuthInfos = null;
|
||||||
public string MegaParentNodeId = null;
|
public string MegaParentNodeId = null;
|
||||||
|
|
||||||
#endregion
|
#endregion Mega
|
||||||
|
|
||||||
#region Amazon S3
|
#region Amazon S3
|
||||||
|
|
||||||
@ -286,7 +286,7 @@ namespace ShareX.UploadersLib
|
|||||||
ObjectPrefix = "ShareX/%y/%mo"
|
ObjectPrefix = "ShareX/%y/%mo"
|
||||||
};
|
};
|
||||||
|
|
||||||
#endregion
|
#endregion Amazon S3
|
||||||
|
|
||||||
#region ownCloud / Nextcloud
|
#region ownCloud / Nextcloud
|
||||||
|
|
||||||
@ -298,7 +298,7 @@ namespace ShareX.UploadersLib
|
|||||||
public bool OwnCloudDirectLink = false;
|
public bool OwnCloudDirectLink = false;
|
||||||
public bool OwnCloud81Compatibility = true;
|
public bool OwnCloud81Compatibility = true;
|
||||||
|
|
||||||
#endregion
|
#endregion ownCloud / Nextcloud
|
||||||
|
|
||||||
#region MediaFire
|
#region MediaFire
|
||||||
|
|
||||||
@ -307,37 +307,37 @@ namespace ShareX.UploadersLib
|
|||||||
public string MediaFirePath = "";
|
public string MediaFirePath = "";
|
||||||
public bool MediaFireUseLongLink = false;
|
public bool MediaFireUseLongLink = false;
|
||||||
|
|
||||||
#endregion
|
#endregion MediaFire
|
||||||
|
|
||||||
#region Pushbullet
|
#region Pushbullet
|
||||||
|
|
||||||
public PushbulletSettings PushbulletSettings = new PushbulletSettings();
|
public PushbulletSettings PushbulletSettings = new PushbulletSettings();
|
||||||
|
|
||||||
#endregion
|
#endregion Pushbullet
|
||||||
|
|
||||||
#region Lambda
|
#region Lambda
|
||||||
|
|
||||||
public LambdaSettings LambdaSettings = new LambdaSettings();
|
public LambdaSettings LambdaSettings = new LambdaSettings();
|
||||||
|
|
||||||
#endregion
|
#endregion Lambda
|
||||||
|
|
||||||
#region Lithiio
|
#region Lithiio
|
||||||
|
|
||||||
public LithiioSettings LithiioSettings = new LithiioSettings();
|
public LithiioSettings LithiioSettings = new LithiioSettings();
|
||||||
|
|
||||||
#endregion
|
#endregion Lithiio
|
||||||
|
|
||||||
#region Pomf
|
#region Pomf
|
||||||
|
|
||||||
public PomfUploader PomfUploader = new PomfUploader("https://mixtape.moe/upload.php");
|
public PomfUploader PomfUploader = new PomfUploader("https://mixtape.moe/upload.php");
|
||||||
|
|
||||||
#endregion
|
#endregion Pomf
|
||||||
|
|
||||||
#region s-ul
|
#region s-ul
|
||||||
|
|
||||||
public string SulAPIKey = "";
|
public string SulAPIKey = "";
|
||||||
|
|
||||||
#endregion
|
#endregion s-ul
|
||||||
|
|
||||||
#region Seafile
|
#region Seafile
|
||||||
|
|
||||||
@ -354,7 +354,7 @@ namespace ShareX.UploadersLib
|
|||||||
public string SeafileAccInfoEmail = "";
|
public string SeafileAccInfoEmail = "";
|
||||||
public string SeafileAccInfoUsage = "";
|
public string SeafileAccInfoUsage = "";
|
||||||
|
|
||||||
#endregion
|
#endregion Seafile
|
||||||
|
|
||||||
#region Streamable
|
#region Streamable
|
||||||
|
|
||||||
@ -363,7 +363,7 @@ namespace ShareX.UploadersLib
|
|||||||
public string StreamablePassword = "";
|
public string StreamablePassword = "";
|
||||||
public bool StreamableUseDirectURL = false;
|
public bool StreamableUseDirectURL = false;
|
||||||
|
|
||||||
#endregion
|
#endregion Streamable
|
||||||
|
|
||||||
#region Azure Storage
|
#region Azure Storage
|
||||||
|
|
||||||
@ -373,13 +373,13 @@ namespace ShareX.UploadersLib
|
|||||||
public string AzureStorageEnvironment = "blob.core.windows.net";
|
public string AzureStorageEnvironment = "blob.core.windows.net";
|
||||||
public string AzureStorageCustomDomain = "";
|
public string AzureStorageCustomDomain = "";
|
||||||
|
|
||||||
#endregion
|
#endregion Azure Storage
|
||||||
|
|
||||||
#region Plik
|
#region Plik
|
||||||
|
|
||||||
public PlikSettings PlikSettings = new PlikSettings();
|
public PlikSettings PlikSettings = new PlikSettings();
|
||||||
|
|
||||||
#endregion
|
#endregion Plik
|
||||||
|
|
||||||
#endregion File uploaders
|
#endregion File uploaders
|
||||||
|
|
||||||
@ -390,14 +390,14 @@ namespace ShareX.UploadersLib
|
|||||||
public OAuth2Info BitlyOAuth2Info = null;
|
public OAuth2Info BitlyOAuth2Info = null;
|
||||||
public string BitlyDomain = "";
|
public string BitlyDomain = "";
|
||||||
|
|
||||||
#endregion
|
#endregion bit.ly
|
||||||
|
|
||||||
#region Google URL Shortener
|
#region Google URL Shortener
|
||||||
|
|
||||||
public AccountType GoogleURLShortenerAccountType = AccountType.Anonymous;
|
public AccountType GoogleURLShortenerAccountType = AccountType.Anonymous;
|
||||||
public OAuth2Info GoogleURLShortenerOAuth2Info = null;
|
public OAuth2Info GoogleURLShortenerOAuth2Info = null;
|
||||||
|
|
||||||
#endregion
|
#endregion Google URL Shortener
|
||||||
|
|
||||||
#region yourls.org
|
#region yourls.org
|
||||||
|
|
||||||
@ -406,20 +406,20 @@ namespace ShareX.UploadersLib
|
|||||||
public string YourlsUsername = "";
|
public string YourlsUsername = "";
|
||||||
public string YourlsPassword = "";
|
public string YourlsPassword = "";
|
||||||
|
|
||||||
#endregion
|
#endregion yourls.org
|
||||||
|
|
||||||
#region adf.ly
|
#region adf.ly
|
||||||
|
|
||||||
public string AdFlyAPIKEY = "";
|
public string AdFlyAPIKEY = "";
|
||||||
public string AdFlyAPIUID = "";
|
public string AdFlyAPIUID = "";
|
||||||
|
|
||||||
#endregion
|
#endregion adf.ly
|
||||||
|
|
||||||
#region coinurl.com
|
#region coinurl.com
|
||||||
|
|
||||||
public string CoinURLUUID = "";
|
public string CoinURLUUID = "";
|
||||||
|
|
||||||
#endregion
|
#endregion coinurl.com
|
||||||
|
|
||||||
#region polr
|
#region polr
|
||||||
|
|
||||||
@ -428,7 +428,7 @@ namespace ShareX.UploadersLib
|
|||||||
public bool PolrIsSecret = false;
|
public bool PolrIsSecret = false;
|
||||||
public bool PolrUseAPIv1 = false;
|
public bool PolrUseAPIv1 = false;
|
||||||
|
|
||||||
#endregion
|
#endregion polr
|
||||||
|
|
||||||
#endregion URL shorteners
|
#endregion URL shorteners
|
||||||
|
|
||||||
@ -441,7 +441,7 @@ namespace ShareX.UploadersLib
|
|||||||
public bool TwitterSkipMessageBox = false;
|
public bool TwitterSkipMessageBox = false;
|
||||||
public string TwitterDefaultMessage = "";
|
public string TwitterDefaultMessage = "";
|
||||||
|
|
||||||
#endregion
|
#endregion Twitter
|
||||||
|
|
||||||
#region Custom uploaders
|
#region Custom uploaders
|
||||||
|
|
||||||
|
@ -21,4 +21,4 @@ that is bundled with the nuget package under the tools folder.
|
|||||||
<add key="AWSProfileName" value="" />
|
<add key="AWSProfileName" value="" />
|
||||||
-->
|
-->
|
||||||
</appSettings>
|
</appSettings>
|
||||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" /></startup></configuration>
|
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" /></startup></configuration>
|
@ -24,7 +24,6 @@
|
|||||||
#endregion License Information (GPL v3)
|
#endregion License Information (GPL v3)
|
||||||
|
|
||||||
using ShareX.HelpersLib;
|
using ShareX.HelpersLib;
|
||||||
using ShareX.ScreenCaptureLib;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
#endregion License Information (GPL v3)
|
#endregion License Information (GPL v3)
|
||||||
|
|
||||||
using ShareX.HelpersLib;
|
using ShareX.HelpersLib;
|
||||||
using ShareX.ScreenCaptureLib;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
|
||||||
|
@ -23,16 +23,11 @@
|
|||||||
|
|
||||||
#endregion License Information (GPL v3)
|
#endregion License Information (GPL v3)
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Drawing;
|
|
||||||
using System.Data;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Windows.Forms;
|
|
||||||
using ShareX.HelpersLib;
|
using ShareX.HelpersLib;
|
||||||
using System.Drawing.Drawing2D;
|
using System;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace ShareX
|
namespace ShareX
|
||||||
{
|
{
|
||||||
|
@ -25,9 +25,6 @@
|
|||||||
|
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace ShareX
|
namespace ShareX
|
||||||
{
|
{
|
||||||
|
@ -28,9 +28,9 @@ using ShareX.HelpersLib;
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Net.Cache;
|
using System.Net.Cache;
|
||||||
using System.Linq;
|
|
||||||
|
|
||||||
namespace ShareX
|
namespace ShareX
|
||||||
{
|
{
|
||||||
|
@ -29,4 +29,4 @@ that is bundled with the nuget package under the tools folder.
|
|||||||
<add key="AWSProfileName" value="" />
|
<add key="AWSProfileName" value="" />
|
||||||
-->
|
-->
|
||||||
</appSettings>
|
</appSettings>
|
||||||
</configuration>
|
</configuration>
|
Loading…
x
Reference in New Issue
Block a user