Merge pull request #1556 from lithium720/master

New File Uploader - lithi.io
This commit is contained in:
Jaex 2016-05-15 15:05:45 +03:00
commit ff0f45cd42
11 changed files with 483 additions and 29 deletions

View file

@ -118,6 +118,8 @@ public enum FileDestination
Jira,
[Description("Lambda")]
Lambda,
[Description("Lithiio")]
Lithiio,
[Description("VideoBin")]
VideoBin,
[Description("Pomf")]

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -0,0 +1,105 @@
#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)
// Copied Lambda.cs FileUploader and modified it a little to work with https://lithi.io/.
// To-do: add the other domains to the dropdown menu.
// Credits: https://github.com/mstojcevich
// Minor changes: https://github.com/lithium720
using Newtonsoft.Json;
using System.Collections.Generic;
using System.IO;
using System.Windows.Forms;
namespace ShareX.UploadersLib.FileUploaders
{
public class LithiioFileUploaderService : FileUploaderService
{
public override FileDestination EnumValue { get; } = FileDestination.Lithiio;
public override bool CheckConfig(UploadersConfig config)
{
return config.LithiioSettings != null;
}
public override GenericUploader CreateUploader(UploadersConfig config, TaskReferenceHelper taskInfo)
{
return new Lithiio(config.LithiioSettings);
}
public override TabPage GetUploadersConfigTabPage(UploadersConfigForm form) => form.tpLithiio;
}
public sealed class Lithiio : FileUploader
{
public LithiioSettings Config { get; private set; }
public Lithiio(LithiioSettings config)
{
Config = config;
}
private const string uploadUrl = "http://api.lithi.io/upload.php";
public static string[] UploadURLs = new string[] { "https://lithi.io/" };
public override UploadResult Upload(Stream stream, string fileName)
{
Dictionary<string, string> arguments = new Dictionary<string, string>();
arguments.Add("key", Config.UserAPIKey);
UploadResult result = UploadData(stream, uploadUrl, fileName, "file", arguments, method: HttpMethod.POST);
if (result.Response == null)
{
Errors.Add("Upload failed for unknown reason. Check your API key.");
return result;
}
if (result.IsSuccess)
{
result.URL = result.Response;
}
return result;
}
internal class LithiioResponse
{
public string url { get; set; }
public List<string> errors { get; set; }
}
internal class LithiioFile
{
public string url { get; set; }
}
}
public class LithiioSettings
{
public string UserAPIKey = string.Empty;
public string UploadURL = "https://lithi.io/";
}
}

View file

@ -313,6 +313,12 @@ private void InitializeComponent()
this.txtLambdaApiKey = new System.Windows.Forms.TextBox();
this.lblLambdaUploadURL = new System.Windows.Forms.Label();
this.cbLambdaUploadURL = new System.Windows.Forms.ComboBox();
this.tpLithiio = new System.Windows.Forms.TabPage();
this.lblLithiioInfo = new System.Windows.Forms.Label();
this.lblLithiioApiKey = new System.Windows.Forms.Label();
this.txtLithiioApiKey = new System.Windows.Forms.TextBox();
this.lblLithiioUploadURL = new System.Windows.Forms.Label();
this.cbLithiioUploadURL = new System.Windows.Forms.ComboBox();
this.tpPomf = new System.Windows.Forms.TabPage();
this.btnPomfTest = new System.Windows.Forms.Button();
this.txtPomfResultURL = new System.Windows.Forms.TextBox();
@ -572,6 +578,7 @@ private void InitializeComponent()
this.tpJira.SuspendLayout();
this.gpJiraServer.SuspendLayout();
this.tpLambda.SuspendLayout();
this.tpLithiio.SuspendLayout();
this.tpPomf.SuspendLayout();
this.tpUp1.SuspendLayout();
this.tpSeafile.SuspendLayout();
@ -1615,6 +1622,7 @@ private void InitializeComponent()
this.tcFileUploaders.Controls.Add(this.tpMinus);
this.tcFileUploaders.Controls.Add(this.tpJira);
this.tcFileUploaders.Controls.Add(this.tpLambda);
this.tcFileUploaders.Controls.Add(this.tpLithiio);
this.tcFileUploaders.Controls.Add(this.tpPomf);
this.tcFileUploaders.Controls.Add(this.tpUp1);
this.tcFileUploaders.Controls.Add(this.tpSeafile);
@ -2682,6 +2690,48 @@ private void InitializeComponent()
this.cbLambdaUploadURL.Name = "cbLambdaUploadURL";
this.cbLambdaUploadURL.SelectedIndexChanged += new System.EventHandler(this.cbLambdaUploadURL_SelectedIndexChanged);
//
// tpLithiio
//
this.tpLithiio.Controls.Add(this.lblLithiioInfo);
this.tpLithiio.Controls.Add(this.lblLithiioApiKey);
this.tpLithiio.Controls.Add(this.txtLithiioApiKey);
this.tpLithiio.Controls.Add(this.lblLithiioUploadURL);
this.tpLithiio.Controls.Add(this.cbLithiioUploadURL);
resources.ApplyResources(this.tpLithiio, "tpLithiio");
this.tpLithiio.Name = "tpLithiio";
this.tpLithiio.UseVisualStyleBackColor = true;
//
// lblLithiioInfo
//
resources.ApplyResources(this.lblLithiioInfo, "lblLithiioInfo");
this.lblLithiioInfo.Name = "lblLithiioInfo";
this.lblLithiioInfo.Click += new System.EventHandler(this.lithiioInfoLabel_Click);
//
// lblLithiioApiKey
//
resources.ApplyResources(this.lblLithiioApiKey, "lblLithiioApiKey");
this.lblLithiioApiKey.Name = "lblLithiioApiKey";
//
// txtLithiioApiKey
//
resources.ApplyResources(this.txtLithiioApiKey, "txtLithiioApiKey");
this.txtLithiioApiKey.Name = "txtLithiioApiKey";
this.txtLithiioApiKey.UseSystemPasswordChar = true;
this.txtLithiioApiKey.TextChanged += new System.EventHandler(this.txtLithiioApiKey_TextChanged);
//
// lblLithiioUploadURL
//
resources.ApplyResources(this.lblLithiioUploadURL, "lblLithiioUploadURL");
this.lblLithiioUploadURL.Name = "lblLithiioUploadURL";
//
// cbLithiioUploadURL
//
this.cbLithiioUploadURL.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbLithiioUploadURL.FormattingEnabled = true;
resources.ApplyResources(this.cbLithiioUploadURL, "cbLithiioUploadURL");
this.cbLithiioUploadURL.Name = "cbLithiioUploadURL";
this.cbLithiioUploadURL.SelectedIndexChanged += new System.EventHandler(this.cbLithiioUploadURL_SelectedIndexChanged);
//
// tpPomf
//
this.tpPomf.Controls.Add(this.btnPomfTest);
@ -4334,6 +4384,8 @@ private void InitializeComponent()
this.gpJiraServer.PerformLayout();
this.tpLambda.ResumeLayout(false);
this.tpLambda.PerformLayout();
this.tpLithiio.ResumeLayout(false);
this.tpLithiio.PerformLayout();
this.tpPomf.ResumeLayout(false);
this.tpPomf.PerformLayout();
this.tpUp1.ResumeLayout(false);
@ -4735,6 +4787,11 @@ private void InitializeComponent()
private System.Windows.Forms.Label lblLambdaInfo;
private System.Windows.Forms.Label lblLambdaUploadURL;
private System.Windows.Forms.ComboBox cbLambdaUploadURL;
private System.Windows.Forms.Label lblLithiioApiKey;
private System.Windows.Forms.TextBox txtLithiioApiKey;
private System.Windows.Forms.Label lblLithiioInfo;
private System.Windows.Forms.Label lblLithiioUploadURL;
private System.Windows.Forms.ComboBox cbLithiioUploadURL;
private OAuthControl oauthTwitter;
private System.Windows.Forms.TextBox txtTwitterDescription;
private System.Windows.Forms.Label lblTwitterDescription;
@ -4886,6 +4943,7 @@ private void InitializeComponent()
public System.Windows.Forms.TabPage tpMinus;
public System.Windows.Forms.TabPage tpJira;
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;

View file

@ -112,6 +112,7 @@ private void InitializeControls()
AddIconToTab(tpImgur, Resources.Imgur);
AddIconToTab(tpJira, Resources.jira);
AddIconToTab(tpLambda, Resources.Lambda);
AddIconToTab(tpLithiio, Resources.Lithiio);
AddIconToTab(tpMediaFire, Resources.MediaFire);
AddIconToTab(tpMega, Resources.Mega);
AddIconToTab(tpMinus, Resources.Minus);
@ -567,6 +568,12 @@ public void LoadSettings()
cbLambdaUploadURL.Items.AddRange(Lambda.UploadURLs);
cbLambdaUploadURL.SelectedItem = Config.LambdaSettings.UploadURL;
// Lithiio
txtLithiioApiKey.Text = Config.LithiioSettings.UserAPIKey;
cbLithiioUploadURL.Items.AddRange(Lithiio.UploadURLs);
cbLithiioUploadURL.SelectedItem = Config.LithiioSettings.UploadURL;
// Pomf
if (Config.PomfUploader == null) Config.PomfUploader = new PomfUploader();
@ -2137,6 +2144,33 @@ private void cbLambdaUploadURL_SelectedIndexChanged(object sender, EventArgs e)
#endregion Lambda
#region Lithiio
private void lithiioInfoLabel_Click(object sender, EventArgs e)
{
URLHelpers.OpenURL("https://lithi.io/");
}
private void txtLithiioApiKey_TextChanged(object sender, EventArgs e)
{
Config.LithiioSettings.UserAPIKey = txtLithiioApiKey.Text;
}
private void cbLithiioUploadURL_SelectedIndexChanged(object sender, EventArgs e)
{
if (cbLithiioUploadURL.SelectedIndex > -1)
{
string url = cbLithiioUploadURL.SelectedItem as string;
if (url != null)
{
Config.LithiioSettings.UploadURL = url;
}
}
}
#endregion Lithiio
#region Pomf
private void cbPomfUploaders_SelectedIndexChanged(object sender, EventArgs e)

View file

@ -4672,6 +4672,18 @@ store.book[0].title</value>
<data name="&gt;&gt;tpLambda.ZOrder" xml:space="preserve">
<value>15</value>
</data>
<data name="&gt;&gt;tpLithiio.Name" xml:space="preserve">
<value>tpLithiio</value>
</data>
<data name="&gt;&gt;tpLithiio.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;tpLithiio.Parent" xml:space="preserve">
<value>tcFileUploaders</value>
</data>
<data name="&gt;&gt;tpLithiio.ZOrder" xml:space="preserve">
<value>15</value>
</data>
<data name="&gt;&gt;tpPomf.Name" xml:space="preserve">
<value>tpPomf</value>
</data>
@ -10284,6 +10296,226 @@ store.book[0].title</value>
<data name="&gt;&gt;cbLambdaUploadURL.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<data name="&gt;&gt;lblLithiioInfo.Name" xml:space="preserve">
<value>lblLithiioInfo</value>
</data>
<data name="&gt;&gt;lblLithiioInfo.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;lblLithiioInfo.Parent" xml:space="preserve">
<value>tpLithiio</value>
</data>
<data name="&gt;&gt;lblLithiioInfo.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="&gt;&gt;lblLithiioApiKey.Name" xml:space="preserve">
<value>lblLithiioApiKey</value>
</data>
<data name="&gt;&gt;lblLithiioApiKey.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;lblLithiioApiKey.Parent" xml:space="preserve">
<value>tpLithiio</value>
</data>
<data name="&gt;&gt;lblLithiioApiKey.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="&gt;&gt;txtLithiioApiKey.Name" xml:space="preserve">
<value>txtLithiioApiKey</value>
</data>
<data name="&gt;&gt;txtLithiioApiKey.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;txtLithiioApiKey.Parent" xml:space="preserve">
<value>tpLithiio</value>
</data>
<data name="&gt;&gt;txtLithiioApiKey.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="&gt;&gt;lblLithiioUploadURL.Name" xml:space="preserve">
<value>lblLithiioUploadURL</value>
</data>
<data name="&gt;&gt;lblLithiioUploadURL.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;lblLithiioUploadURL.Parent" xml:space="preserve">
<value>tpLithiio</value>
</data>
<data name="&gt;&gt;lblLithiioUploadURL.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="&gt;&gt;cbLithiioUploadURL.Name" xml:space="preserve">
<value>cbLithiioUploadURL</value>
</data>
<data name="&gt;&gt;cbLithiioUploadURL.Type" xml:space="preserve">
<value>System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;cbLithiioUploadURL.Parent" xml:space="preserve">
<value>tpLithiio</value>
</data>
<data name="&gt;&gt;cbLithiioUploadURL.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<data name="tpLithiio.Location" type="System.Drawing.Point, System.Drawing">
<value>4, 40</value>
</data>
<data name="tpLithiio.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>3, 3, 3, 3</value>
</data>
<data name="tpLithiio.Size" type="System.Drawing.Size, System.Drawing">
<value>972, 475</value>
</data>
<data name="tpLithiio.TabIndex" type="System.Int32, mscorlib">
<value>20</value>
</data>
<data name="tpLithiio.Text" xml:space="preserve">
<value>Lithiio</value>
</data>
<data name="&gt;&gt;tpLithiio.Name" xml:space="preserve">
<value>tpLithiio</value>
</data>
<data name="&gt;&gt;tpLithiio.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;tpLithiio.Parent" xml:space="preserve">
<value>tcFileUploaders</value>
</data>
<data name="&gt;&gt;tpLithiio.ZOrder" xml:space="preserve">
<value>15</value>
</data>
<data name="lblLithiioInfo.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="lblLithiioInfo.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="lblLithiioInfo.Location" type="System.Drawing.Point, System.Drawing">
<value>13, 16</value>
</data>
<data name="lblLithiioInfo.Size" type="System.Drawing.Size, System.Drawing">
<value>554, 13</value>
</data>
<data name="lblLithiioInfo.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="lblLithiioInfo.Text" xml:space="preserve">
<value>For anonymous usage, leave the API field blank. 50 MB max per upload, files expire after 3 months minimum.
Otherwise, for file management options and a larger file upload size, visit https://lithi.io/ and sign in through Steam to get an API key.</value>
</data>
<data name="&gt;&gt;lblLithiioInfo.Name" xml:space="preserve">
<value>lblLithiioInfo</value>
</data>
<data name="&gt;&gt;lblLithiioInfo.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;lblLithiioInfo.Parent" xml:space="preserve">
<value>tpLithiio</value>
</data>
<data name="&gt;&gt;lblLithiioInfo.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="lblLithiioApiKey.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="lblLithiioApiKey.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="lblLithiioApiKey.Location" type="System.Drawing.Point, System.Drawing">
<value>13, 52</value>
</data>
<data name="lblLithiioApiKey.Size" type="System.Drawing.Size, System.Drawing">
<value>47, 13</value>
</data>
<data name="lblLithiioApiKey.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="lblLithiioApiKey.Text" xml:space="preserve">
<value>API key:</value>
</data>
<data name="&gt;&gt;lblLithiioApiKey.Name" xml:space="preserve">
<value>lblLithiioApiKey</value>
</data>
<data name="&gt;&gt;lblLithiioApiKey.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;lblLithiioApiKey.Parent" xml:space="preserve">
<value>tpLithiio</value>
</data>
<data name="&gt;&gt;lblLithiioApiKey.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="txtLithiioApiKey.Location" type="System.Drawing.Point, System.Drawing">
<value>16, 69</value>
</data>
<data name="txtLithiioApiKey.Size" type="System.Drawing.Size, System.Drawing">
<value>346, 20</value>
</data>
<data name="txtLithiioApiKey.TabIndex" type="System.Int32, mscorlib">
<value>6</value>
</data>
<data name="&gt;&gt;txtLithiioApiKey.Name" xml:space="preserve">
<value>txtLithiioApiKey</value>
</data>
<data name="&gt;&gt;txtLithiioApiKey.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;txtLithiioApiKey.Parent" xml:space="preserve">
<value>tpLithiio</value>
</data>
<data name="&gt;&gt;txtLithiioApiKey.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="lblLithiioUploadURL.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="lblLithiioUploadURL.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="lblLithiioUploadURL.Location" type="System.Drawing.Point, System.Drawing">
<value>13, 98</value>
</data>
<data name="lblLithiioUploadURL.Size" type="System.Drawing.Size, System.Drawing">
<value>55, 13</value>
</data>
<data name="lblLithiioUploadURL.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="lblLithiioUploadURL.Text" xml:space="preserve">
<value>Link URL:</value>
</data>
<data name="&gt;&gt;lblLithiioUploadURL.Name" xml:space="preserve">
<value>lblLithiioUploadURL</value>
</data>
<data name="&gt;&gt;lblLithiioUploadURL.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;lblLithiioUploadURL.Parent" xml:space="preserve">
<value>tpLithiio</value>
</data>
<data name="&gt;&gt;lblLithiioUploadURL.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="cbLithiioUploadURL.Location" type="System.Drawing.Point, System.Drawing">
<value>16, 114</value>
</data>
<data name="cbLithiioUploadURL.Size" type="System.Drawing.Size, System.Drawing">
<value>216, 21</value>
</data>
<data name="cbLithiioUploadURL.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="&gt;&gt;cbLithiioUploadURL.Name" xml:space="preserve">
<value>cbLithiioUploadURL</value>
</data>
<data name="&gt;&gt;cbLithiioUploadURL.Type" xml:space="preserve">
<value>System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;cbLithiioUploadURL.Parent" xml:space="preserve">
<value>tpLithiio</value>
</data>
<data name="&gt;&gt;cbLithiioUploadURL.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<data name="&gt;&gt;btnPomfTest.Name" xml:space="preserve">
<value>btnPomfTest</value>
</data>

View file

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

View file

@ -422,6 +422,9 @@ Created folders:</value>
<data name="Lambda" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Favicons\Lambda.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Lithiio" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Favicons\Lithiio.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Pushbullet" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Favicons\Pushbullet.ico;System.Drawing.Icon, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>

View file

@ -128,6 +128,7 @@
<Compile Include="FileUploaders\AmazonS3Region.cs" />
<Compile Include="FileUploaders\AmazonS3Settings.cs" />
<Compile Include="FileUploaders\Box.cs" />
<Compile Include="FileUploaders\Lithiio.cs" />
<Compile Include="FileUploaders\Sul.cs" />
<Compile Include="FileUploaders\Dropfile.cs" />
<Compile Include="FileUploaders\Lambda.cs" />
@ -657,6 +658,7 @@
</EmbeddedResource>
<EmbeddedResource Include="Forms\UploadersConfigForm.de.resx">
<DependentUpon>UploadersConfigForm.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Forms\UploadersConfigForm.es.resx">
<DependentUpon>UploadersConfigForm.cs</DependentUpon>
@ -929,6 +931,9 @@
<ItemGroup>
<Analyzer Include="..\packages\AWSSDK.S3.3.1.5.0\analyzers\dotnet\cs\AWSSDK.S3.CodeAnalysis.dll" />
</ItemGroup>
<ItemGroup>
<Content Include="Favicons\Lithiio.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
<PropertyGroup>

View file

@ -257,6 +257,10 @@ public class UploadersConfig : SettingsBase<UploadersConfig>
public LambdaSettings LambdaSettings = new LambdaSettings();
// Lithiio
public LithiioSettings LithiioSettings = new LithiioSettings();
// Pomf
public PomfUploader PomfUploader = new PomfUploader("https://pomf.cat/upload.php", "https://a.pomf.cat");

View file

@ -90,6 +90,7 @@ public AboutForm()
Streamable support: https://github.com/streamablevideo
s-ul support: https://github.com/corin12355
Imgland support: https://github.com/jibcore
Lithiio support: https://github.com/lithium720
{1}: