Preparation for next release

This commit is contained in:
Jaex 2015-01-18 21:01:22 +02:00
parent cdcf009186
commit e5da7e3a5b
6 changed files with 8 additions and 16 deletions

View file

@ -88,8 +88,8 @@ public enum FileDestination
GoogleDrive,
[Description("Copy")]
Copy,
[Description("hubiC")]
Hubic,
//[Description("hubiC")]
//Hubic,
[Description("Box")]
Box,
[Description("MEGA")]

View file

@ -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();

View file

@ -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
{

View file

@ -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}:

View file

@ -39,7 +39,7 @@ namespace ShareX
{
internal static class Program
{
public static bool IsBeta = true;
public static bool IsBeta = false;
public static string Title
{

View file

@ -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;