Removed up1.ca because service was down for long time

This commit is contained in:
Jaex 2016-08-25 20:54:19 +03:00
parent aac116b4bd
commit c7b38b59f6
13 changed files with 14 additions and 520 deletions

Binary file not shown.

View file

@ -1,33 +0,0 @@
Microsoft Limited Permissive License (Ms-LPL)
This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software.
1. Definitions
The terms “reproduce,” “reproduction,” “derivative works,” and “distribution” have the same meaning here as under U.S. copyright law.
A “contribution” is the original software, or any additions or changes to the software.
A “contributor” is any person that distributes its contribution under this license.
“Licensed patents” are a contributors patent claims that read directly on its contribution.
2. Grant of Rights
(A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create.
(B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software.
3. Conditions and Limitations
(A) No Trademark License- This license does not grant you rights to use any contributors name, logo, or trademarks.
(B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically.
(C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software.
(D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license.
(E) The software is licensed “as-is.” You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement.
(F) Platform Limitation- The licenses granted in sections 2(A) & 2(B) extend only to the software or derivative works that you create that run on a Microsoft Windows operating system product.

View file

@ -130,8 +130,6 @@ public enum FileDestination
Uguu,
[Description("Dropfile")]
Dropfile,
[Description("Up1")]
Up1,
[Description("Seafile")]
Seafile,
[Description("Streamable")]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -1,241 +0,0 @@
#region License Information (GPL v3)
/*
ShareX - A program that allows you to take screenshots and share any file type
Copyright (c) 2007-2016 ShareX Team
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)
// Credits: https://github.com/Upload
using Newtonsoft.Json;
using Security.Cryptography;
using ShareX.HelpersLib;
using ShareX.UploadersLib.Properties;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Windows.Forms;
namespace ShareX.UploadersLib.FileUploaders
{
public class Up1FileUploaderService : FileUploaderService
{
public override FileDestination EnumValue { get; } = FileDestination.Up1;
public override Icon ServiceIcon => Resources.Up1;
public override bool CheckConfig(UploadersConfig config) => true;
public override GenericUploader CreateUploader(UploadersConfig config, TaskReferenceHelper taskInfo)
{
return new Up1(config.Up1Host, config.Up1Key);
}
public override TabPage GetUploadersConfigTabPage(UploadersConfigForm form) => form.tpUp1;
}
public sealed class Up1 : FileUploader
{
/*
* Up1 is an encrypted image uploader. The idea is that any URL (for example, https://up1.ca/#hsd2mdSuIkzTUR6saZpn1Q) contains
* what is called a "seed". In this case, the seed is "hsd2mdSuIkzTUR6saZpn1Q". With this, we use sha512(seed) (output 64 bytes)
* in order to derive an AES key (32 bytes), a CCM IV (16 bytes), and a server-side identifier (16 bytes). These are used to
* encrypt and store the data.
*
* Within the encrypted blob, There is a double-null-terminated UTF-16 JSON object that contains metadata like the filename and mimetype.
* This is prepended to the image data.
*/
private const int MacSize = 64;
public string SystemUrl { get; set; }
public string ApiKey { get; set; }
public Up1(string systemUrl, string apiKey)
{
if (string.IsNullOrEmpty(systemUrl))
{
SystemUrl = "https://up1.ca";
}
else
{
SystemUrl = systemUrl;
}
if (string.IsNullOrEmpty(apiKey))
{
ApiKey = "c61540b5ceecd05092799f936e27755f";
}
else
{
ApiKey = apiKey;
}
}
/* Since we're dealing with URLs, the regular base64 encoding using +, / and = will mess things up
* Therefore we'll use the URL base64 standard (as defined in the RFC)
*/
private static string UrlBase64Encode(byte[] input)
{
return Convert.ToBase64String(input).Replace("=", "").Replace("+", "-").Replace("/", "_");
}
/* SJCL (the Javascript library powering the crypto in the browser) depends on the length of the input
* in order to calculate CCM's IV length. This is the algorithm it uses.
*/
private static long FindIVLen(long bufferLength)
{
if (bufferLength < 0xFFFF) return 15 - 2;
if (bufferLength < 0xFFFFFF) return 15 - 3;
return 15 - 4;
}
/* Given an input seed, derive the required output.
*/
private static void DeriveParams(byte[] seed, out byte[] key, out byte[] iv, out string ident)
{
// Hash the output using sha512
byte[] seed_output;
using (SHA512CryptoServiceProvider sha512csp = new SHA512CryptoServiceProvider())
{
seed_output = sha512csp.ComputeHash(seed);
}
// Take key from first 32 bytes
key = new byte[32];
Buffer.BlockCopy(seed_output, 0, key, 0, 32);
// Take IV from next 16 bytes
iv = new byte[16];
Buffer.BlockCopy(seed_output, 32, iv, 0, 16);
// Take server identifier (the "ident") from last 16 bytes and base64url encode it
byte[] ident_raw = new byte[16];
Buffer.BlockCopy(seed_output, 48, ident_raw, 0, 16);
ident = UrlBase64Encode(ident_raw);
}
private static MemoryStream Encrypt(Stream source, string fileName, out string seed_encoded, out string ident)
{
// Randomly generate a new seed for upload
byte[] seed = new byte[16];
using (RNGCryptoServiceProvider rngCsp = new RNGCryptoServiceProvider())
{
rngCsp.GetBytes(seed);
}
seed_encoded = UrlBase64Encode(seed);
// Derive the parameters (key, IV, ident) from the seed
byte[] key, iv;
DeriveParams(seed, out key, out iv, out ident);
// Create a new String->String map for JSON blob, and define filename and metadata
Dictionary<string, string> metadataMap = new Dictionary<string, string>();
metadataMap["mime"] = Helpers.IsTextFile(fileName) ? "text/plain" : Helpers.GetMimeType(fileName);
metadataMap["name"] = fileName;
// Encode the metadata with UTF-16 and a double-null-byte terminator, and append data
// Unfortunately, the CCM cipher mode can't stream the encryption, and so we have to GetBytes() on the source.
// We do limit the source to 50MB however
byte[] data = Encoding.BigEndianUnicode.GetBytes(JsonConvert.SerializeObject(metadataMap)).Concat(new byte[] { 0, 0 }).Concat(source.GetBytes()).ToArray();
// Calculate the length of the CCM IV and copy it over
long ccmIVLen = FindIVLen(data.Length);
byte[] ccmIV = new byte[ccmIVLen];
Array.Copy(iv, ccmIV, ccmIVLen);
// http://blogs.msdn.com/b/shawnfa/archive/2009/03/17/authenticated-symmetric-encryption-in-net.aspx
using (AuthenticatedAesCng aes = new AuthenticatedAesCng())
{
aes.CngMode = CngChainingMode.Ccm;
aes.Key = key;
aes.IV = ccmIV;
aes.TagSize = MacSize;
MemoryStream ms = new MemoryStream();
using (IAuthenticatedCryptoTransform encryptor = aes.CreateAuthenticatedEncryptor())
{
CryptoStream cs = new CryptoStream(ms, encryptor, CryptoStreamMode.Write);
cs.Write(data, 0, data.Length);
cs.FlushFinalBlock();
byte[] tag = encryptor.GetTag();
ms.Write(tag, 0, tag.Length);
return ms;
}
}
}
public override UploadResult Upload(Stream input, string fileName)
{
// Make sure the file (or memory stream) is less than 50MB
if (input.Length > 50000000)
{
throw new ArgumentException("Input files for Up1 cannot be more than 50MB in size.");
}
// Initialize the encrypted stream
UploadResult result;
string seed, ident;
using (MemoryStream encryptedStream = Encrypt(input, fileName, out seed, out ident))
{
// Set up the form upload
Dictionary<string, string> uploadArgs = new Dictionary<string, string>();
uploadArgs["ident"] = ident;
uploadArgs["api_key"] = ApiKey;
// Upload and stream encrypt
result = UploadData(encryptedStream, URLHelpers.CombineURL(SystemUrl, "up"), "blob", "file", uploadArgs);
}
if (result.IsSuccess)
{
// Return the output URLs
result.URL = URLHelpers.CombineURL(SystemUrl, "#" + seed);
Up1Response response = JsonConvert.DeserializeObject<Up1Response>(result.Response);
if (response != null)
{
result.DeletionURL = URLHelpers.CombineURL(SystemUrl, string.Format("del?ident={0}&delkey={1}", ident, response.DelKey));
}
}
return result;
}
private class Up1Response
{
public string DelKey { get; set; }
}
}
}

View file

@ -248,6 +248,7 @@ private void InitializeComponent()
this.txtMegaPassword = new System.Windows.Forms.TextBox();
this.lblMegaPassword = new System.Windows.Forms.Label();
this.tpOwnCloud = new System.Windows.Forms.TabPage();
this.lblOwnCloudHostExample = new System.Windows.Forms.Label();
this.cbOwnCloud81Compatibility = new System.Windows.Forms.CheckBox();
this.cbOwnCloudDirectLink = new System.Windows.Forms.CheckBox();
this.cbOwnCloudCreateShare = new System.Windows.Forms.CheckBox();
@ -332,11 +333,6 @@ private void InitializeComponent()
this.lblPomfUploadURL = new System.Windows.Forms.Label();
this.lblPomfUploaders = new System.Windows.Forms.Label();
this.cbPomfUploaders = new System.Windows.Forms.ComboBox();
this.tpUp1 = new System.Windows.Forms.TabPage();
this.txtUp1Key = new System.Windows.Forms.TextBox();
this.txtUp1Host = new System.Windows.Forms.TextBox();
this.lblUp1Key = new System.Windows.Forms.Label();
this.lblUp1Host = new System.Windows.Forms.Label();
this.tpSeafile = new System.Windows.Forms.TabPage();
this.cbSeafileAPIURL = new System.Windows.Forms.ComboBox();
this.grpSeafileShareSettings = new System.Windows.Forms.GroupBox();
@ -549,7 +545,6 @@ private void InitializeComponent()
this.lblWidthHint = new System.Windows.Forms.Label();
this.ttlvMain = new ShareX.HelpersLib.TabToListView();
this.actRapidShareAccountType = new ShareX.UploadersLib.AccountTypeControl();
this.lblOwnCloudHostExample = new System.Windows.Forms.Label();
this.tpOtherUploaders.SuspendLayout();
this.tcOtherUploaders.SuspendLayout();
this.tpTwitter.SuspendLayout();
@ -595,7 +590,6 @@ private void InitializeComponent()
this.gpJiraServer.SuspendLayout();
this.tpLambda.SuspendLayout();
this.tpPomf.SuspendLayout();
this.tpUp1.SuspendLayout();
this.tpSeafile.SuspendLayout();
this.grpSeafileShareSettings.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.nudSeafileExpireDays)).BeginInit();
@ -1640,7 +1634,6 @@ private void InitializeComponent()
this.tcFileUploaders.Controls.Add(this.tpJira);
this.tcFileUploaders.Controls.Add(this.tpLambda);
this.tcFileUploaders.Controls.Add(this.tpPomf);
this.tcFileUploaders.Controls.Add(this.tpUp1);
this.tcFileUploaders.Controls.Add(this.tpSeafile);
this.tcFileUploaders.Controls.Add(this.tpStreamable);
this.tcFileUploaders.Controls.Add(this.tpSul);
@ -2269,6 +2262,11 @@ private void InitializeComponent()
this.tpOwnCloud.Name = "tpOwnCloud";
this.tpOwnCloud.UseVisualStyleBackColor = true;
//
// lblOwnCloudHostExample
//
resources.ApplyResources(this.lblOwnCloudHostExample, "lblOwnCloudHostExample");
this.lblOwnCloudHostExample.Name = "lblOwnCloudHostExample";
//
// cbOwnCloud81Compatibility
//
resources.ApplyResources(this.cbOwnCloud81Compatibility, "cbOwnCloud81Compatibility");
@ -2842,38 +2840,6 @@ private void InitializeComponent()
this.cbPomfUploaders.Name = "cbPomfUploaders";
this.cbPomfUploaders.SelectedIndexChanged += new System.EventHandler(this.cbPomfUploaders_SelectedIndexChanged);
//
// tpUp1
//
this.tpUp1.Controls.Add(this.txtUp1Key);
this.tpUp1.Controls.Add(this.txtUp1Host);
this.tpUp1.Controls.Add(this.lblUp1Key);
this.tpUp1.Controls.Add(this.lblUp1Host);
resources.ApplyResources(this.tpUp1, "tpUp1");
this.tpUp1.Name = "tpUp1";
this.tpUp1.UseVisualStyleBackColor = true;
//
// txtUp1Key
//
resources.ApplyResources(this.txtUp1Key, "txtUp1Key");
this.txtUp1Key.Name = "txtUp1Key";
this.txtUp1Key.TextChanged += new System.EventHandler(this.txtUp1Key_TextChanged);
//
// txtUp1Host
//
resources.ApplyResources(this.txtUp1Host, "txtUp1Host");
this.txtUp1Host.Name = "txtUp1Host";
this.txtUp1Host.TextChanged += new System.EventHandler(this.txtUp1Host_TextChanged);
//
// lblUp1Key
//
resources.ApplyResources(this.lblUp1Key, "lblUp1Key");
this.lblUp1Key.Name = "lblUp1Key";
//
// lblUp1Host
//
resources.ApplyResources(this.lblUp1Host, "lblUp1Host");
this.lblUp1Host.Name = "lblUp1Host";
//
// tpSeafile
//
this.tpSeafile.Controls.Add(this.cbSeafileAPIURL);
@ -4411,11 +4377,6 @@ private void InitializeComponent()
this.actRapidShareAccountType.Name = "actRapidShareAccountType";
this.actRapidShareAccountType.SelectedAccountType = ShareX.UploadersLib.AccountType.Anonymous;
//
// lblOwnCloudHostExample
//
resources.ApplyResources(this.lblOwnCloudHostExample, "lblOwnCloudHostExample");
this.lblOwnCloudHostExample.Name = "lblOwnCloudHostExample";
//
// UploadersConfigForm
//
resources.ApplyResources(this, "$this");
@ -4507,8 +4468,6 @@ private void InitializeComponent()
this.tpLambda.PerformLayout();
this.tpPomf.ResumeLayout(false);
this.tpPomf.PerformLayout();
this.tpUp1.ResumeLayout(false);
this.tpUp1.PerformLayout();
this.tpSeafile.ResumeLayout(false);
this.tpSeafile.PerformLayout();
this.grpSeafileShareSettings.ResumeLayout(false);
@ -4918,10 +4877,6 @@ private void InitializeComponent()
private System.Windows.Forms.Label lblTwitterDefaultMessage;
private System.Windows.Forms.TextBox txtTwitterDefaultMessage;
private System.Windows.Forms.CheckBox cbTwitterSkipMessageBox;
private System.Windows.Forms.TextBox txtUp1Key;
private System.Windows.Forms.TextBox txtUp1Host;
private System.Windows.Forms.Label lblUp1Key;
private System.Windows.Forms.Label lblUp1Host;
private System.Windows.Forms.TextBox txtCoinURLUUID;
private System.Windows.Forms.Label lblCoinURLUUID;
private System.Windows.Forms.CheckBox cbOwnCloud81Compatibility;
@ -5063,7 +5018,6 @@ private void InitializeComponent()
public System.Windows.Forms.TabPage tpLambda;
public System.Windows.Forms.TabPage tpLithiio;
public System.Windows.Forms.TabPage tpPomf;
public System.Windows.Forms.TabPage tpUp1;
public System.Windows.Forms.TabPage tpSeafile;
public System.Windows.Forms.TabPage tpSul;
public System.Windows.Forms.TabPage tpStreamable;

View file

@ -536,11 +536,6 @@ public void LoadSettings()
txtMediaFirePath.Text = Config.MediaFirePath;
cbMediaFireUseLongLink.Checked = Config.MediaFireUseLongLink;
// Up1
txtUp1Host.Text = Config.Up1Host;
txtUp1Key.Text = Config.Up1Key;
// Lambda
txtLambdaApiKey.Text = Config.LambdaSettings.UserAPIKey;
@ -2035,20 +2030,6 @@ private void cbOwnCloud81Compatibility_CheckedChanged(object sender, EventArgs e
#endregion ownCloud
#region Up1
private void txtUp1Host_TextChanged(object sender, EventArgs e)
{
Config.Up1Host = txtUp1Host.Text;
}
private void txtUp1Key_TextChanged(object sender, EventArgs e)
{
Config.Up1Key = txtUp1Key.Text;
}
#endregion Up1
#region Pushbullet
private void txtPushbulletUserKey_TextChanged(object sender, EventArgs e)

View file

@ -7920,147 +7920,6 @@ store.book[0].title</value>
<data name="&gt;&gt;tpPomf.ZOrder" xml:space="preserve">
<value>17</value>
</data>
<data name="txtUp1Key.Location" type="System.Drawing.Point, System.Drawing">
<value>16, 96</value>
</data>
<data name="txtUp1Key.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 5, 4, 5</value>
</data>
<data name="txtUp1Key.Size" type="System.Drawing.Size, System.Drawing">
<value>370, 20</value>
</data>
<data name="txtUp1Key.TabIndex" type="System.Int32, mscorlib">
<value>9</value>
</data>
<data name="&gt;&gt;txtUp1Key.Name" xml:space="preserve">
<value>txtUp1Key</value>
</data>
<data name="&gt;&gt;txtUp1Key.Type" xml:space="preserve">
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;txtUp1Key.Parent" xml:space="preserve">
<value>tpUp1</value>
</data>
<data name="&gt;&gt;txtUp1Key.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="txtUp1Host.Location" type="System.Drawing.Point, System.Drawing">
<value>16, 40</value>
</data>
<data name="txtUp1Host.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 5, 4, 5</value>
</data>
<data name="txtUp1Host.Size" type="System.Drawing.Size, System.Drawing">
<value>370, 20</value>
</data>
<data name="txtUp1Host.TabIndex" type="System.Int32, mscorlib">
<value>8</value>
</data>
<data name="&gt;&gt;txtUp1Host.Name" xml:space="preserve">
<value>txtUp1Host</value>
</data>
<data name="&gt;&gt;txtUp1Host.Type" xml:space="preserve">
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;txtUp1Host.Parent" xml:space="preserve">
<value>tpUp1</value>
</data>
<data name="&gt;&gt;txtUp1Host.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="lblUp1Key.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="lblUp1Key.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="lblUp1Key.Location" type="System.Drawing.Point, System.Drawing">
<value>13, 72</value>
</data>
<data name="lblUp1Key.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 0, 4, 0</value>
</data>
<data name="lblUp1Key.Size" type="System.Drawing.Size, System.Drawing">
<value>47, 13</value>
</data>
<data name="lblUp1Key.TabIndex" type="System.Int32, mscorlib">
<value>7</value>
</data>
<data name="lblUp1Key.Text" xml:space="preserve">
<value>API key:</value>
</data>
<data name="&gt;&gt;lblUp1Key.Name" xml:space="preserve">
<value>lblUp1Key</value>
</data>
<data name="&gt;&gt;lblUp1Key.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;lblUp1Key.Parent" xml:space="preserve">
<value>tpUp1</value>
</data>
<data name="&gt;&gt;lblUp1Key.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="lblUp1Host.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="lblUp1Host.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="lblUp1Host.Location" type="System.Drawing.Point, System.Drawing">
<value>13, 16</value>
</data>
<data name="lblUp1Host.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 0, 4, 0</value>
</data>
<data name="lblUp1Host.Size" type="System.Drawing.Size, System.Drawing">
<value>32, 13</value>
</data>
<data name="lblUp1Host.TabIndex" type="System.Int32, mscorlib">
<value>6</value>
</data>
<data name="lblUp1Host.Text" xml:space="preserve">
<value>Host:</value>
</data>
<data name="&gt;&gt;lblUp1Host.Name" xml:space="preserve">
<value>lblUp1Host</value>
</data>
<data name="&gt;&gt;lblUp1Host.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;lblUp1Host.Parent" xml:space="preserve">
<value>tpUp1</value>
</data>
<data name="&gt;&gt;lblUp1Host.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="tpUp1.Location" type="System.Drawing.Point, System.Drawing">
<value>4, 40</value>
</data>
<data name="tpUp1.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>3, 3, 3, 3</value>
</data>
<data name="tpUp1.Size" type="System.Drawing.Size, System.Drawing">
<value>972, 475</value>
</data>
<data name="tpUp1.TabIndex" type="System.Int32, mscorlib">
<value>21</value>
</data>
<data name="tpUp1.Text" xml:space="preserve">
<value>Up1</value>
</data>
<data name="&gt;&gt;tpUp1.Name" xml:space="preserve">
<value>tpUp1</value>
</data>
<data name="&gt;&gt;tpUp1.Type" xml:space="preserve">
<value>System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;tpUp1.Parent" xml:space="preserve">
<value>tcFileUploaders</value>
</data>
<data name="&gt;&gt;tpUp1.ZOrder" xml:space="preserve">
<value>18</value>
</data>
<data name="cbSeafileAPIURL.Items" xml:space="preserve">
<value>https://seacloud.cc/api2/</value>
</data>
@ -9020,7 +8879,7 @@ Using an encrypted library disables sharing.</value>
<value>tcFileUploaders</value>
</data>
<data name="&gt;&gt;tpSeafile.ZOrder" xml:space="preserve">
<value>19</value>
<value>18</value>
</data>
<data name="cbStreamableUseDirectURL.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
@ -9221,7 +9080,7 @@ Using an encrypted library disables sharing.</value>
<value>tcFileUploaders</value>
</data>
<data name="&gt;&gt;tpStreamable.ZOrder" xml:space="preserve">
<value>20</value>
<value>19</value>
</data>
<data name="txtSulAPIKey.Location" type="System.Drawing.Point, System.Drawing">
<value>16, 32</value>
@ -9299,7 +9158,7 @@ Using an encrypted library disables sharing.</value>
<value>tcFileUploaders</value>
</data>
<data name="&gt;&gt;tpSul.ZOrder" xml:space="preserve">
<value>21</value>
<value>20</value>
</data>
<data name="btnLithiioGetAPIKey.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
@ -9455,7 +9314,7 @@ Using an encrypted library disables sharing.</value>
<value>tcFileUploaders</value>
</data>
<data name="&gt;&gt;tpLithiio.ZOrder" xml:space="preserve">
<value>22</value>
<value>21</value>
</data>
<data name="lblSharedFolderFiles.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
@ -9662,7 +9521,7 @@ Using an encrypted library disables sharing.</value>
<value>tcFileUploaders</value>
</data>
<data name="&gt;&gt;tpSharedFolder.ZOrder" xml:space="preserve">
<value>23</value>
<value>22</value>
</data>
<data name="txtEmailAutomaticSendTo.Location" type="System.Drawing.Point, System.Drawing">
<value>16, 408</value>
@ -10082,7 +9941,7 @@ Using an encrypted library disables sharing.</value>
<value>tcFileUploaders</value>
</data>
<data name="&gt;&gt;tpEmail.ZOrder" xml:space="preserve">
<value>24</value>
<value>23</value>
</data>
<data name="tcFileUploaders.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>

View file

@ -627,16 +627,6 @@ internal class Resources {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
internal static System.Drawing.Icon Up1 {
get {
object obj = ResourceManager.GetObject("Up1", resourceCulture);
return ((System.Drawing.Icon)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>

View file

@ -181,9 +181,6 @@
<data name="UploadersConfigForm_TestFTPAccount_Connected_" xml:space="preserve">
<value>Connected!</value>
</data>
<data name="Up1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Favicons\Up1.ico;System.Drawing.Icon, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="OAuthControl_Status_Status__Login_failed_" xml:space="preserve">
<value>Status: Login failed.</value>
</data>

View file

@ -98,9 +98,6 @@
<HintPath>..\packages\SSH.NET.2016.0.0\lib\net40\Renci.SshNet.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Security.Cryptography">
<HintPath>..\Lib\Security.Cryptography.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Design" />
@ -355,7 +352,6 @@
<Compile Include="URLShorteners\VgdURLShortener.cs" />
<Compile Include="URLShorteners\VURLShortener.cs" />
<Compile Include="URLShorteners\YourlsURLShortener.cs" />
<Compile Include="FileUploaders\Up1.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Controls\AccountsControl.de.resx">

View file

@ -248,11 +248,6 @@ public class UploadersConfig : SettingsBase<UploadersConfig>
public PushbulletSettings PushbulletSettings = new PushbulletSettings();
// Up1
public string Up1Host = "https://up1.ca";
public string Up1Key = "c61540b5ceecd05092799f936e27755f";
// Lambda
public LambdaSettings LambdaSettings = new LambdaSettings();

View file

@ -83,7 +83,6 @@ public AboutForm()
Pushbullet support: https://github.com/BallisticLingonberries
Lambda support: https://github.com/mstojcevich
VideoBin support: https://github.com/corey-/
Up1 support: https://github.com/Upload
CoinURL, QRnet, VURL, 2gp, SomeImage, OneTimeSecret, Polr support: https://github.com/DanielMcAssey
Seafile support: https://github.com/zikeji
Streamable support: https://github.com/streamablevideo
@ -107,9 +106,9 @@ public AboutForm()
{2}:
Greenshot Image Editor: https://bitbucket.org/greenshot/greenshot
Greenshot Image Editor: https://github.com/greenshot/greenshot
Json.NET: https://github.com/JamesNK/Newtonsoft.Json
SSH.NET: https://sshnet.codeplex.com
SSH.NET: https://github.com/sshnet/SSH.NET
Icons: http://p.yusukekamiyamane.com
ImageListView: https://github.com/oozcitak/imagelistview
FFmpeg: http://www.ffmpeg.org
@ -120,7 +119,6 @@ public AboutForm()
QrCode.Net: https://qrcodenet.codeplex.com
System.Net.FtpClient: https://netftp.codeplex.com
AWS SDK: http://aws.amazon.com/sdk-for-net/
CLR Security: http://clrsecurity.codeplex.com
Steamworks.NET: https://github.com/rlabrecque/Steamworks.NET
OCR Space: http://ocr.space