2013-11-03 23:53:49 +13:00
|
|
|
|
#region License Information (GPL v3)
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
ShareX - A program that allows you to take screenshots and share any file type
|
2017-01-11 21:39:40 +13:00
|
|
|
|
Copyright (c) 2007-2017 ShareX Team
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
|
|
|
modify it under the terms of the GNU General Public License
|
|
|
|
|
as published by the Free Software Foundation; either version 2
|
|
|
|
|
of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
|
|
|
|
|
|
Optionally you can also view the license at <http://www.gnu.org/licenses/>.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#endregion License Information (GPL v3)
|
|
|
|
|
|
|
|
|
|
using CG.Web.MegaApiClient;
|
2014-12-11 09:25:20 +13:00
|
|
|
|
using ShareX.HelpersLib;
|
|
|
|
|
using ShareX.UploadersLib.FileUploaders;
|
|
|
|
|
using ShareX.UploadersLib.ImageUploaders;
|
|
|
|
|
using ShareX.UploadersLib.TextUploaders;
|
2016-02-15 19:53:30 +13:00
|
|
|
|
using System.Collections.Generic;
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
2014-12-11 09:25:20 +13:00
|
|
|
|
namespace ShareX.UploadersLib
|
2013-11-03 23:53:49 +13:00
|
|
|
|
{
|
|
|
|
|
public class UploadersConfig : SettingsBase<UploadersConfig>
|
|
|
|
|
{
|
|
|
|
|
#region Image uploaders
|
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#region Imgur
|
2014-06-16 22:47:35 +12:00
|
|
|
|
|
|
|
|
|
public AccountType ImgurAccountType = AccountType.Anonymous;
|
2014-07-22 12:12:07 +12:00
|
|
|
|
public bool ImgurDirectLink = true;
|
2017-09-28 02:00:26 +13:00
|
|
|
|
public ImgurThumbnailType ImgurThumbnailType = ImgurThumbnailType.Medium_Thumbnail;
|
2016-12-07 09:33:19 +13:00
|
|
|
|
public bool ImgurUseHTTPS = false;
|
2015-08-08 23:38:37 +12:00
|
|
|
|
public bool ImgurUseGIFV = true;
|
2014-06-16 22:47:35 +12:00
|
|
|
|
public OAuth2Info ImgurOAuth2Info = null;
|
2014-09-07 13:11:55 +12:00
|
|
|
|
public bool ImgurUploadSelectedAlbum = false;
|
|
|
|
|
public ImgurAlbumData ImgurSelectedAlbum = null;
|
|
|
|
|
public List<ImgurAlbumData> ImgurAlbumList = null;
|
2014-06-16 22:47:35 +12:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region ImageShack
|
2014-02-01 11:11:25 +13:00
|
|
|
|
|
2014-01-12 23:44:06 +13:00
|
|
|
|
public ImageShackOptions ImageShackSettings = new ImageShackOptions();
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region TinyPic
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
|
|
|
|
public AccountType TinyPicAccountType = AccountType.Anonymous;
|
2016-05-25 06:15:45 +12:00
|
|
|
|
public string TinyPicRegistrationCode = "";
|
|
|
|
|
public string TinyPicUsername = "";
|
|
|
|
|
public string TinyPicPassword = "";
|
2013-11-03 23:53:49 +13:00
|
|
|
|
public bool TinyPicRememberUserPass = false;
|
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Flickr
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
2017-10-04 14:29:39 +13:00
|
|
|
|
public OAuthInfo FlickrOAuthInfo = null;
|
2013-11-03 23:53:49 +13:00
|
|
|
|
public FlickrSettings FlickrSettings = new FlickrSettings();
|
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Photobucket
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
|
|
|
|
public OAuthInfo PhotobucketOAuthInfo = null;
|
|
|
|
|
public PhotobucketAccountInfo PhotobucketAccountInfo = null;
|
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Google Photos
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
|
|
|
|
public OAuth2Info PicasaOAuth2Info = null;
|
2016-05-25 06:15:45 +12:00
|
|
|
|
public string PicasaAlbumID = "";
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Chevereto
|
2014-09-18 07:25:23 +12:00
|
|
|
|
|
2016-02-18 23:10:30 +13:00
|
|
|
|
public CheveretoUploader CheveretoUploader = new CheveretoUploader("http://ultraimg.com/api/1/upload", "3374fa58c672fcaad8dab979f7687397");
|
2014-09-18 07:33:11 +12:00
|
|
|
|
public bool CheveretoDirectURL = true;
|
2014-09-18 07:25:23 +12:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region vgy.me
|
2016-02-14 13:28:41 +13:00
|
|
|
|
|
2016-05-25 06:15:45 +12:00
|
|
|
|
public string VgymeUserKey = "";
|
2016-02-14 13:28:41 +13:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
2013-11-03 23:53:49 +13:00
|
|
|
|
#endregion Image uploaders
|
|
|
|
|
|
|
|
|
|
#region Text uploaders
|
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#region Pastebin
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
|
|
|
|
public PastebinSettings PastebinSettings = new PastebinSettings();
|
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Paste.ee
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
2017-10-03 06:15:54 +13:00
|
|
|
|
public string Paste_eeUserKey = "";
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Gist
|
2013-12-03 12:11:30 +13:00
|
|
|
|
|
|
|
|
|
public bool GistAnonymousLogin = true;
|
|
|
|
|
public OAuth2Info GistOAuth2Info = null;
|
2013-12-04 10:49:15 +13:00
|
|
|
|
public bool GistPublishPublic = false;
|
2016-03-19 01:08:24 +13:00
|
|
|
|
public bool GistRawURL = false;
|
2017-03-06 02:53:50 +13:00
|
|
|
|
public string GistCustomURL = "";
|
2013-12-03 12:11:30 +13:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region uPaste
|
2014-02-01 10:17:39 +13:00
|
|
|
|
|
2016-05-25 06:15:45 +12:00
|
|
|
|
public string UpasteUserKey = "";
|
2014-02-01 11:11:25 +13:00
|
|
|
|
public bool UpasteIsPublic = false;
|
2014-02-01 10:17:39 +13:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Hastebin
|
2014-09-26 17:18:44 +12:00
|
|
|
|
|
2017-01-10 19:50:30 +13:00
|
|
|
|
public string HastebinCustomDomain = "https://hastebin.com";
|
2014-09-26 17:18:44 +12:00
|
|
|
|
public string HastebinSyntaxHighlighting = "hs";
|
2016-07-04 17:07:49 +12:00
|
|
|
|
public bool HastebinUseFileExtension = true;
|
2014-09-26 17:18:44 +12:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region OneTimeSecret
|
2015-08-04 00:59:33 +12:00
|
|
|
|
|
2016-05-25 06:15:45 +12:00
|
|
|
|
public string OneTimeSecretAPIKey = "";
|
|
|
|
|
public string OneTimeSecretAPIUsername = "";
|
2015-08-04 00:59:33 +12:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Pastie
|
2016-12-08 12:58:45 +13:00
|
|
|
|
|
|
|
|
|
public bool PastieIsPublic = false;
|
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
2013-11-03 23:53:49 +13:00
|
|
|
|
#endregion Text uploaders
|
|
|
|
|
|
|
|
|
|
#region File uploaders
|
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#region Dropbox
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
2014-06-09 07:11:44 +12:00
|
|
|
|
public OAuth2Info DropboxOAuth2Info = null;
|
2017-01-12 03:47:47 +13:00
|
|
|
|
public string DropboxUploadPath = "ShareX/%y/%mo";
|
|
|
|
|
public bool DropboxAutoCreateShareableLink = true;
|
2017-03-19 19:52:03 +13:00
|
|
|
|
public bool DropboxUseDirectLink = false;
|
|
|
|
|
|
|
|
|
|
// TEMP: For backward compatibility
|
2014-04-20 11:00:19 +12:00
|
|
|
|
public DropboxURLType DropboxURLType = DropboxURLType.Default;
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region FTP
|
2016-06-12 06:54:14 +12:00
|
|
|
|
|
|
|
|
|
public List<FTPAccount> FTPAccountList = new List<FTPAccount>();
|
|
|
|
|
public int FTPSelectedImage = 0;
|
|
|
|
|
public int FTPSelectedText = 0;
|
|
|
|
|
public int FTPSelectedFile = 0;
|
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region OneDrive
|
2014-07-16 00:17:02 +12:00
|
|
|
|
|
|
|
|
|
public OAuth2Info OneDriveOAuth2Info = null;
|
2014-12-27 12:23:50 +13:00
|
|
|
|
public OneDriveFileInfo OneDriveSelectedFolder = OneDrive.RootFolder;
|
2014-12-26 10:23:42 +13:00
|
|
|
|
public bool OneDriveAutoCreateShareableLink = true;
|
2014-07-16 00:17:02 +12:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Gfycat
|
2017-03-28 12:05:28 +13:00
|
|
|
|
|
|
|
|
|
public OAuth2Info GfycatOAuth2Info = null;
|
|
|
|
|
public AccountType GfycatAccountType = AccountType.Anonymous;
|
|
|
|
|
public bool GfycatIsPublic = false;
|
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Google Drive
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
|
|
|
|
public OAuth2Info GoogleDriveOAuth2Info = null;
|
2014-07-02 04:40:40 +12:00
|
|
|
|
public bool GoogleDriveIsPublic = true;
|
2016-06-11 22:11:58 +12:00
|
|
|
|
public bool GoogleDriveDirectLink = false;
|
2014-07-02 20:52:05 +12:00
|
|
|
|
public bool GoogleDriveUseFolder = false;
|
2016-05-25 06:15:45 +12:00
|
|
|
|
public string GoogleDriveFolderID = "";
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region puush
|
2016-06-12 06:54:14 +12:00
|
|
|
|
|
|
|
|
|
public string PuushAPIKey = "";
|
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region SendSpace
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
|
|
|
|
public AccountType SendSpaceAccountType = AccountType.Anonymous;
|
2016-05-25 06:15:45 +12:00
|
|
|
|
public string SendSpaceUsername = "";
|
|
|
|
|
public string SendSpacePassword = "";
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Box
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
2014-04-17 04:18:25 +12:00
|
|
|
|
public OAuth2Info BoxOAuth2Info = null;
|
2014-04-17 11:34:31 +12:00
|
|
|
|
public BoxFileEntry BoxSelectedFolder = Box.RootFolder;
|
2013-11-03 23:53:49 +13:00
|
|
|
|
public bool BoxShare = true;
|
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Ge.tt
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
|
|
|
|
public Ge_ttLogin Ge_ttLogin = null;
|
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Localhostr
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
2016-05-25 06:15:45 +12:00
|
|
|
|
public string LocalhostrEmail = "";
|
|
|
|
|
public string LocalhostrPassword = "";
|
2013-11-03 23:53:49 +13:00
|
|
|
|
public bool LocalhostrDirectURL = true;
|
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Shared folder
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
|
|
|
|
public List<LocalhostAccount> LocalhostAccountList = new List<LocalhostAccount>();
|
|
|
|
|
public int LocalhostSelectedImages = 0;
|
|
|
|
|
public int LocalhostSelectedText = 0;
|
|
|
|
|
public int LocalhostSelectedFiles = 0;
|
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Email
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
|
|
|
|
public string EmailSmtpServer = "smtp.gmail.com";
|
|
|
|
|
public int EmailSmtpPort = 587;
|
|
|
|
|
public string EmailFrom = "...@gmail.com";
|
2016-05-25 06:15:45 +12:00
|
|
|
|
public string EmailPassword = "";
|
2013-11-03 23:53:49 +13:00
|
|
|
|
public bool EmailRememberLastTo = true;
|
2016-05-25 06:15:45 +12:00
|
|
|
|
public string EmailLastTo = "";
|
2014-10-18 01:19:28 +13:00
|
|
|
|
public string EmailDefaultSubject = "Sending email from ShareX";
|
2013-11-03 23:53:49 +13:00
|
|
|
|
public string EmailDefaultBody = "Screenshot is attached.";
|
2016-05-25 06:50:26 +12:00
|
|
|
|
public bool EmailAutomaticSend = false;
|
|
|
|
|
public string EmailAutomaticSendTo = "";
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Jira
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
|
|
|
|
public string JiraHost = "http://";
|
|
|
|
|
public string JiraIssuePrefix = "PROJECT-";
|
|
|
|
|
public OAuthInfo JiraOAuthInfo = null;
|
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Mega
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
|
|
|
|
public MegaApiClient.AuthInfos MegaAuthInfos = null;
|
|
|
|
|
public string MegaParentNodeId = null;
|
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Amazon S3
|
2014-03-27 05:56:05 +13:00
|
|
|
|
|
2014-03-29 01:55:41 +13:00
|
|
|
|
public AmazonS3Settings AmazonS3Settings = new AmazonS3Settings()
|
|
|
|
|
{
|
2017-09-29 04:25:41 +13:00
|
|
|
|
ObjectPrefix = "ShareX/%y/%mo"
|
2014-03-27 05:56:05 +13:00
|
|
|
|
};
|
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region ownCloud
|
2014-07-07 06:45:36 +12:00
|
|
|
|
|
|
|
|
|
public string OwnCloudHost = "";
|
|
|
|
|
public string OwnCloudUsername = "";
|
|
|
|
|
public string OwnCloudPassword = "";
|
|
|
|
|
public string OwnCloudPath = "/";
|
2014-07-07 07:51:17 +12:00
|
|
|
|
public bool OwnCloudCreateShare = true;
|
2014-07-07 09:06:37 +12:00
|
|
|
|
public bool OwnCloudDirectLink = false;
|
2015-07-22 09:52:00 +12:00
|
|
|
|
public bool OwnCloud81Compatibility = false;
|
2014-07-07 06:45:36 +12:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region MediaFire
|
2014-07-23 10:32:14 +12:00
|
|
|
|
|
|
|
|
|
public string MediaFireUsername = "";
|
|
|
|
|
public string MediaFirePassword = "";
|
|
|
|
|
public string MediaFirePath = "";
|
2014-07-23 13:59:45 +12:00
|
|
|
|
public bool MediaFireUseLongLink = false;
|
2014-07-23 10:32:14 +12:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Pushbullet
|
2014-09-04 23:11:42 +12:00
|
|
|
|
|
|
|
|
|
public PushbulletSettings PushbulletSettings = new PushbulletSettings();
|
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Lambda
|
2015-02-04 09:12:53 +13:00
|
|
|
|
|
|
|
|
|
public LambdaSettings LambdaSettings = new LambdaSettings();
|
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Lithiio
|
2016-05-15 23:57:30 +12:00
|
|
|
|
|
|
|
|
|
public LithiioSettings LithiioSettings = new LithiioSettings();
|
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Pomf
|
2015-10-06 08:45:05 +13:00
|
|
|
|
|
2016-07-19 08:23:32 +12:00
|
|
|
|
public PomfUploader PomfUploader = new PomfUploader("https://mixtape.moe/upload.php");
|
2015-10-06 08:45:05 +13:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region s-ul
|
2015-12-12 15:30:12 +13:00
|
|
|
|
|
2016-05-25 06:15:45 +12:00
|
|
|
|
public string SulAPIKey = "";
|
2015-12-12 15:30:12 +13:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Seafile
|
2015-10-13 14:24:49 +13:00
|
|
|
|
|
|
|
|
|
public string SeafileAPIURL = "";
|
|
|
|
|
public string SeafileAuthToken = "";
|
|
|
|
|
public string SeafileRepoID = "";
|
|
|
|
|
public string SeafilePath = "/";
|
|
|
|
|
public bool SeafileIsLibraryEncrypted = false;
|
|
|
|
|
public string SeafileEncryptedLibraryPassword = "";
|
|
|
|
|
public bool SeafileCreateShareableURL = true;
|
|
|
|
|
public bool SeafileIgnoreInvalidCert = false;
|
2015-10-16 21:23:30 +13:00
|
|
|
|
public int SeafileShareDaysToExpire = 0;
|
2015-10-13 16:54:19 +13:00
|
|
|
|
public string SeafileSharePassword = "";
|
2015-10-13 14:24:49 +13:00
|
|
|
|
public string SeafileAccInfoEmail = "";
|
|
|
|
|
public string SeafileAccInfoUsage = "";
|
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Streamable
|
2015-12-02 07:02:06 +13:00
|
|
|
|
|
2016-04-08 02:50:41 +12:00
|
|
|
|
public bool StreamableAnonymous = true;
|
2015-12-02 07:02:06 +13:00
|
|
|
|
public string StreamableUsername = "";
|
|
|
|
|
public string StreamablePassword = "";
|
2016-04-08 02:50:41 +12:00
|
|
|
|
public bool StreamableUseDirectURL = false;
|
2015-12-02 07:02:06 +13:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Azure Storage
|
2017-01-27 00:41:49 +13:00
|
|
|
|
|
|
|
|
|
public string AzureStorageAccountName = "";
|
|
|
|
|
public string AzureStorageAccountAccessKey = "";
|
|
|
|
|
public string AzureStorageContainer = "";
|
2017-05-23 08:03:29 +12:00
|
|
|
|
public string AzureStorageEnvironment = "blob.core.windows.net";
|
2017-07-07 12:58:14 +12:00
|
|
|
|
public string AzureStorageCustomDomain = "";
|
2017-01-27 00:41:49 +13:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Plik
|
2017-02-27 05:17:02 +13:00
|
|
|
|
|
2017-02-27 13:02:39 +13:00
|
|
|
|
public PlikSettings PlikSettings = new PlikSettings();
|
2017-02-27 05:17:02 +13:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
2013-11-03 23:53:49 +13:00
|
|
|
|
#endregion File uploaders
|
|
|
|
|
|
|
|
|
|
#region URL shorteners
|
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#region bit.ly
|
2013-12-21 04:59:26 +13:00
|
|
|
|
|
|
|
|
|
public OAuth2Info BitlyOAuth2Info = null;
|
2016-05-25 06:15:45 +12:00
|
|
|
|
public string BitlyDomain = "";
|
2013-12-21 04:59:26 +13:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Google URL Shortener
|
2013-12-21 04:59:26 +13:00
|
|
|
|
|
2013-11-03 23:53:49 +13:00
|
|
|
|
public AccountType GoogleURLShortenerAccountType = AccountType.Anonymous;
|
|
|
|
|
public OAuth2Info GoogleURLShortenerOAuth2Info = null;
|
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region yourls.org
|
2014-01-20 14:04:03 +13:00
|
|
|
|
|
|
|
|
|
public string YourlsAPIURL = "http://yoursite.com/yourls-api.php";
|
2016-05-25 06:15:45 +12:00
|
|
|
|
public string YourlsSignature = "";
|
|
|
|
|
public string YourlsUsername = "";
|
|
|
|
|
public string YourlsPassword = "";
|
2014-01-20 14:04:03 +13:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region adf.ly
|
|
|
|
|
|
2016-05-25 06:15:45 +12:00
|
|
|
|
public string AdFlyAPIKEY = "";
|
|
|
|
|
public string AdFlyAPIUID = "";
|
2014-07-13 23:10:42 +12:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region coinurl.com
|
|
|
|
|
|
2016-05-25 06:15:45 +12:00
|
|
|
|
public string CoinURLUUID = "";
|
2015-07-21 08:12:13 +12:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region polr
|
|
|
|
|
|
2016-05-25 06:15:45 +12:00
|
|
|
|
public string PolrAPIHostname = "";
|
|
|
|
|
public string PolrAPIKey = "";
|
2016-12-30 02:01:03 +13:00
|
|
|
|
public bool PolrIsSecret = false;
|
|
|
|
|
public bool PolrUseAPIv1 = false;
|
2015-08-05 06:49:07 +12:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
|
|
|
|
|
2013-11-03 23:53:49 +13:00
|
|
|
|
#endregion URL shorteners
|
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#region Other uploaders
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#region Twitter
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
|
|
|
|
public List<OAuthInfo> TwitterOAuthInfoList = new List<OAuthInfo>();
|
|
|
|
|
public int TwitterSelectedAccount = 0;
|
2015-04-28 19:50:41 +12:00
|
|
|
|
public bool TwitterSkipMessageBox = false;
|
2016-05-25 06:15:45 +12:00
|
|
|
|
public string TwitterDefaultMessage = "";
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#region Custom uploaders
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
|
|
|
|
public List<CustomUploaderItem> CustomUploadersList = new List<CustomUploaderItem>();
|
|
|
|
|
public int CustomImageUploaderSelected = 0;
|
|
|
|
|
public int CustomTextUploaderSelected = 0;
|
|
|
|
|
public int CustomFileUploaderSelected = 0;
|
|
|
|
|
public int CustomURLShortenerSelected = 0;
|
2017-09-10 22:55:21 +12:00
|
|
|
|
public int CustomURLSharingServiceSelected = 0;
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
2017-10-06 07:22:32 +13:00
|
|
|
|
#endregion Custom uploaders
|
|
|
|
|
|
|
|
|
|
#endregion Other uploaders
|
2013-11-03 23:53:49 +13:00
|
|
|
|
}
|
2016-07-30 06:54:21 +12:00
|
|
|
|
}
|