mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-04 22:21:23 +12:00
Preparation for next release
This commit is contained in:
parent
cdcf009186
commit
e5da7e3a5b
|
@ -88,8 +88,8 @@ public enum FileDestination
|
|||
GoogleDrive,
|
||||
[Description("Copy")]
|
||||
Copy,
|
||||
[Description("hubiC")]
|
||||
Hubic,
|
||||
//[Description("hubiC")]
|
||||
//Hubic,
|
||||
[Description("Box")]
|
||||
Box,
|
||||
[Description("MEGA")]
|
||||
|
|
|
@ -113,6 +113,8 @@ private void FormSettings()
|
|||
AddIconToTab(tpUpaste, Resources.Upaste);
|
||||
AddIconToTab(tpYourls, Resources.Yourls);
|
||||
|
||||
tcFileUploaders.TabPages.Remove(tpHubic);
|
||||
|
||||
ttlvMain.ImageList = uploadersImageList;
|
||||
ttlvMain.MainTabControl = tcUploaders;
|
||||
ttlvMain.FocusListView();
|
||||
|
|
|
@ -778,17 +778,8 @@ public void BoxAuthOpen()
|
|||
if (!string.IsNullOrEmpty(url))
|
||||
{
|
||||
Config.BoxOAuth2Info = oauth;
|
||||
//Helpers.LoadBrowserAsync(url);
|
||||
URLHelpers.OpenURL(url);
|
||||
DebugHelper.WriteLine("BoxAuthOpen - Authorization URL is opened: " + url);
|
||||
|
||||
// Workaround for authorization because we don't have callback url which starts with https://
|
||||
using (OAuthWebForm oauthForm = new OAuthWebForm(url, "https://www.box.com/home/"))
|
||||
{
|
||||
if (oauthForm.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
BoxAuthComplete(oauthForm.Code);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -61,7 +61,6 @@ public AboutForm()
|
|||
AdFly support: https://github.com/LRNAB
|
||||
MediaFire support: https://github.com/michalx2
|
||||
Pushbullet support: https://github.com/BallisticLingonberries
|
||||
hubiC support: https://github.com/Kouga-
|
||||
|
||||
{1}:
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ namespace ShareX
|
|||
{
|
||||
internal static class Program
|
||||
{
|
||||
public static bool IsBeta = true;
|
||||
public static bool IsBeta = false;
|
||||
|
||||
public static string Title
|
||||
{
|
||||
|
|
|
@ -850,13 +850,13 @@ public UploadResult UploadFile(Stream stream, string fileName)
|
|||
URLType = Program.UploadersConfig.CopyURLType
|
||||
};
|
||||
break;
|
||||
case FileDestination.Hubic:
|
||||
/*case FileDestination.Hubic:
|
||||
fileUploader = new Hubic(Program.UploadersConfig.HubicOAuth2Info, Program.UploadersConfig.HubicOpenstackAuthInfo)
|
||||
{
|
||||
SelectedFolder = Program.UploadersConfig.HubicSelectedFolder,
|
||||
Publish = Program.UploadersConfig.HubicPublish
|
||||
};
|
||||
break;
|
||||
break;*/
|
||||
case FileDestination.RapidShare:
|
||||
fileUploader = new RapidShare(Program.UploadersConfig.RapidShareUsername, Program.UploadersConfig.RapidSharePassword, Program.UploadersConfig.RapidShareFolderID);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue