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
|
2018-01-02 03:59:14 +13:00
|
|
|
|
Copyright (c) 2007-2018 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;
|
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
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Imgur
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion ImageShack
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion TinyPic
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#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();
|
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Flickr
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#region Photobucket
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
|
|
|
|
public OAuthInfo PhotobucketOAuthInfo = null;
|
|
|
|
|
public PhotobucketAccountInfo PhotobucketAccountInfo = null;
|
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Photobucket
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Google Photos
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Chevereto
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion vgy.me
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
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();
|
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Pastebin
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#region Paste.ee
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
2017-10-03 06:15:54 +13:00
|
|
|
|
public string Paste_eeUserKey = "";
|
2018-04-06 08:50:54 +12:00
|
|
|
|
public bool Paste_eeEncryptPaste = false;
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Paste.ee
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#region Gist
|
2013-12-03 12:11:30 +13:00
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Gist
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion uPaste
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Hastebin
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion OneTimeSecret
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#region Pastie
|
2016-12-08 12:58:45 +13:00
|
|
|
|
|
|
|
|
|
public bool PastieIsPublic = false;
|
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Pastie
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
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
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Dropbox
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#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;
|
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion FTP
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#region OneDrive
|
2014-07-16 00:17:02 +12:00
|
|
|
|
|
2018-04-14 03:10:58 +12:00
|
|
|
|
public OAuth2Info OneDriveV2OAuth2Info = null;
|
|
|
|
|
public OneDriveFileInfo OneDriveV2SelectedFolder = OneDrive.RootFolder;
|
2014-12-26 10:23:42 +13:00
|
|
|
|
public bool OneDriveAutoCreateShareableLink = true;
|
2014-07-16 00:17:02 +12:00
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion OneDrive
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#region Gfycat
|
2017-03-28 12:05:28 +13:00
|
|
|
|
|
|
|
|
|
public OAuth2Info GfycatOAuth2Info = null;
|
|
|
|
|
public AccountType GfycatAccountType = AccountType.Anonymous;
|
|
|
|
|
public bool GfycatIsPublic = false;
|
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Gfycat
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Google Drive
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#region puush
|
2016-06-12 06:54:14 +12:00
|
|
|
|
|
|
|
|
|
public string PuushAPIKey = "";
|
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion puush
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion SendSpace
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#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;
|
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Box
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#region Ge.tt
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
|
|
|
|
public Ge_ttLogin Ge_ttLogin = null;
|
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Ge.tt
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#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;
|
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Localhostr
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#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;
|
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Shared folder
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Email
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#region Jira
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
|
|
|
|
public string JiraHost = "http://";
|
|
|
|
|
public string JiraIssuePrefix = "PROJECT-";
|
|
|
|
|
public OAuthInfo JiraOAuthInfo = null;
|
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Jira
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#region Mega
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
|
|
|
|
public MegaApiClient.AuthInfos MegaAuthInfos = null;
|
|
|
|
|
public string MegaParentNodeId = null;
|
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Mega
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#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
|
|
|
|
};
|
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Amazon S3
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
2018-01-29 21:44:06 +13:00
|
|
|
|
#region ownCloud / Nextcloud
|
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;
|
2018-01-29 21:20:18 +13:00
|
|
|
|
public bool OwnCloud81Compatibility = true;
|
2018-03-25 09:20:15 +13:00
|
|
|
|
public bool OwnCloudUsePreviewLinks = false;
|
2014-07-07 06:45:36 +12:00
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion ownCloud / Nextcloud
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion MediaFire
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#region Pushbullet
|
2014-09-04 23:11:42 +12:00
|
|
|
|
|
|
|
|
|
public PushbulletSettings PushbulletSettings = new PushbulletSettings();
|
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Pushbullet
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#region Lambda
|
2015-02-04 09:12:53 +13:00
|
|
|
|
|
|
|
|
|
public LambdaSettings LambdaSettings = new LambdaSettings();
|
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Lambda
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#region Lithiio
|
2016-05-15 23:57:30 +12:00
|
|
|
|
|
|
|
|
|
public LithiioSettings LithiioSettings = new LithiioSettings();
|
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Lithiio
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Pomf
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion s-ul
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#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 = "";
|
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Seafile
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Streamable
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Azure Storage
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Plik
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
2018-04-10 12:49:40 +12:00
|
|
|
|
#region YouTube
|
|
|
|
|
|
|
|
|
|
public OAuth2Info YouTubeOAuth2Info = null;
|
|
|
|
|
public YouTubeVideoPrivacy YouTubePrivacyType = YouTubeVideoPrivacy.Public;
|
2018-04-12 22:09:35 +12:00
|
|
|
|
public bool YouTubeUseShortenedLink = false;
|
2018-04-10 12:49:40 +12:00
|
|
|
|
|
|
|
|
|
#endregion YouTube
|
|
|
|
|
|
2018-04-20 16:26:00 +12:00
|
|
|
|
#region Google Cloud Storage
|
|
|
|
|
|
|
|
|
|
public OAuth2Info GoogleCloudStorageOAuth2Info = null;
|
2018-04-21 04:59:42 +12:00
|
|
|
|
public string GoogleCloudStorageBucket = "";
|
|
|
|
|
public string GoogleCloudStorageDomain = "";
|
2018-04-21 08:39:14 +12:00
|
|
|
|
public string GoogleCloudStorageObjectPrefix = "ShareX/%y/%mo";
|
2018-04-20 16:26:00 +12:00
|
|
|
|
|
|
|
|
|
#endregion Google Cloud Storage
|
|
|
|
|
|
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
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion bit.ly
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion yourls.org
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion adf.ly
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#region coinurl.com
|
|
|
|
|
|
2016-05-25 06:15:45 +12:00
|
|
|
|
public string CoinURLUUID = "";
|
2015-07-21 08:12:13 +12:00
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion coinurl.com
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion polr
|
2017-10-06 07:22:32 +13:00
|
|
|
|
|
2018-04-01 06:36:26 +12:00
|
|
|
|
#region Firebase Dynamic Links
|
|
|
|
|
|
|
|
|
|
public string FirebaseWebAPIKey = "";
|
|
|
|
|
public string FirebaseDynamicLinkDomain = "";
|
2018-04-09 16:00:32 +12:00
|
|
|
|
public bool FirebaseIsShort = false;
|
2018-04-01 06:36:26 +12:00
|
|
|
|
|
|
|
|
|
#endregion Firebase Dynamic Links
|
|
|
|
|
|
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
|
|
|
|
|
2018-03-01 11:52:11 +13:00
|
|
|
|
#endregion Twitter
|
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
|
|
|
|
}
|