Commit graph

620 commits

Author SHA1 Message Date
lithium720 eb1051034b Update Lithiio endpoints 2019-09-13 14:25:52 -07:00
lithium720 fcc3897090 Update Lithiio icon 2019-09-13 14:22:48 -07:00
Jaex 56c698a5ae #4336: Fix B2 URL preview 2019-09-04 09:55:05 +03:00
Jaex 809283318f Ignore emojis while URL encoding S3 result URL 2019-09-01 17:26:58 +03:00
Jaex 4d28a97e4d Solution code cleanup 2019-08-21 17:28:17 +03:00
Andrew afca1de5bc
Update BackblazeB2.cs
Fixes #4187
2019-08-09 23:45:54 +10:00
Jaex 3cf0decc7a fixed #4110: Encode B2 result file name 2019-05-05 09:31:41 +03:00
Jaex 8677a80768 Removed preset Chevereto uploaders list 2019-04-26 22:26:43 +03:00
Jaex d1ae0d5734 fixed #4093: Removed preset Pomf uploaders list 2019-04-26 22:11:11 +03:00
Matthew Burnett d5ccc6a5b7 Add checkbox to toggle public ACL 2019-04-07 16:42:47 -04:00
Jaex 4a970ef3d1 Rename UploadHelpers to RequestHelpers 2019-03-14 14:06:54 +03:00
Jaex 9a4853f5a3 Support custom progress text so Gfycat encoding status can be shown instead of fake progress 2019-03-12 13:10:30 +03:00
Jaex 9bc1c0cbe0 Check Gfycat transcode status less frequently 2019-03-12 11:33:55 +03:00
Jaex 36f4c327f7 Make Gfycat audio option configurable 2019-03-12 10:49:23 +03:00
Jaex 087b9044ec Added expiration support to Teknik file and text uploaders 2019-03-12 09:31:29 +03:00
Jaex 872fc077d0 Support audio in Gfycat video uploads 2019-03-07 08:05:42 +03:00
Jaex a82c6ff77c Support custom uploader syntax in FTP URL path 2019-03-03 23:18:13 +03:00
Jaex 9ab4265670 Small changes in monitor test form 2019-02-19 10:20:20 +03:00
3k2 25750f390c
Update pomf.cs
added new hosts and removed dead
2019-02-18 19:00:59 +02:00
Jaex 99a18b3697 Set "Append remote directory to URL path" option false by default 2019-02-03 09:30:16 +03:00
Jaex d2ab84e74b fixed #3881: Respect "Append remote directory to URL path" option when "URL path" option is empty too 2019-02-03 09:24:35 +03:00
Jaex 0364a1ca84 Teknik was overriding Gist tab page icon 2019-01-30 22:48:43 +03:00
Chris Woodward 2e38d49c00 Moved Teknik pastebin and url shortener services to separate folders. 2019-01-29 10:35:38 -08:00
Uncled1023 113340b092 Removed extra line 2019-01-29 00:18:36 -08:00
Uncled1023 95fffa79f0 Changed to not require oauth to use API 2019-01-28 21:00:47 -08:00
Uncled1023 b408b640bf Merged latest master into fork 2019-01-28 20:24:23 -08:00
Jaex 9d870a1d28 Check status code for 2xx instead of specific status code 2019-01-29 01:52:10 +03:00
Jaex fee0f5c384 Check status code instead 2019-01-28 18:48:49 +03:00
Uncled1023 1e0404efd1 Fixed url shortener not setting correct return variable. 2019-01-27 18:52:27 -08:00
Jaex 5c65d09293 Added early copy URL support for Azure Storage 2019-01-28 00:02:25 +03:00
Jaex bee6373ccd Use SendRequest in Amazon S3 and Azure Storage 2019-01-27 23:55:09 +03:00
Jaex 4fcb1dd358 Added early copy URL support for Amazon S3 2019-01-27 22:59:15 +03:00
Jaex ffe1234d2e Reflect S3 remove extension setting change in URL preview 2019-01-27 21:36:16 +03:00
Matthew Burnett 3640c346d3 Fix with refactor 2019-01-24 21:40:29 -05:00
Matthew Burnett 54c90e1d15 Merge upstream 2019-01-24 21:40:00 -05:00
Jaex 042652f4ca multipart/related refactoring 2019-01-25 04:37:27 +03:00
Matthew Burnett 4c0ea0e1f3 Use least priviledge scope GCS
Remove debug write
2019-01-24 17:59:17 -05:00
Matthew Burnett 74c8ed1613 Support "fields" query for efficieny 2019-01-24 17:43:22 -05:00
Matthew Burnett 21c5e764fc Correctly update preview url with object extension preferences
Rename variables for consistency
Early url returning for quicker pastes
2019-01-24 15:09:00 -05:00
Jaex 898482a5d4 Remove custom uploaders tab from uploaders config form 2019-01-23 13:34:10 +03:00
Jaex bab795bb57 Added $responseurl$ syntax support to custom uploader, which can be used in place of previously removed redirection url response type 2019-01-21 17:06:11 +03:00
Jaex 58cd13db01 Added ResponseInfo class 2019-01-21 15:50:01 +03:00
Jaex 9c4f583dca Removing ResponseType usages to use new system 2019-01-21 15:37:31 +03:00
Uncled1023 1ffa5df531 Added Text and Url Shortener actions for Teknik 2019-01-20 20:30:48 -08:00
Uncled1023 e3305b3398 Added Teknik Uploader support w/ Oauth 2019-01-17 23:57:11 -08:00
Jaex 3af8dee3cc
Merge pull request #3869 from kwint/patch-1
Don't generate direct download links when PreviewLink is checked
2019-01-11 17:56:24 +03:00
Jaex e36a88806a
Update OwnCloud.cs 2019-01-11 17:56:00 +03:00
Jaex 5aa8365e69
Merge pull request #3871 from Somethingweirdhere/master
Pushbullet upgrade
2019-01-11 01:23:45 +03:00
Quint van Dijk 0c43a86e6e
Update OwnCloud.cs 2019-01-09 16:56:04 +01:00
Quint van Dijk eb0c4a1c13
Update OwnCloud.cs 2019-01-09 16:28:39 +01:00
altar 103b0e54c6 Adds information about filetype to push. Pushbullet on android can then open the Image/File easily, and also shows a preview for images. 2019-01-09 14:24:14 +01:00
Quint van Dijk f779c9d74d
Better logic 2019-01-08 23:35:34 +01:00
Quint van Dijk 087b6118fc
Don't generate direct download links when PreviewLink is checked
See issue: https://github.com/ShareX/ShareX/issues/3868
Not adding either /preview or /download to URL generates links that show a preview of a file. /preview only works for images (showing literally only the image in the browser). This change makes sure the logic is right.

Note: The logic is right so it should work. But I'm not sure if the syntax is right.
2019-01-08 23:24:54 +01:00
Jaex b2081622aa Rename RequestType to RequestMethod 2019-01-08 18:57:49 +03:00
Jaex fa7f69988e Rename RequestFormat to Body 2019-01-08 18:02:21 +03:00
Jaex f077a0eed3 Implement parameters to custom uploader requests 2019-01-06 19:04:40 +03:00
Jaex b238357bcc If request URL contains query string then automatically convert it to parameters and remove query string from request URL 2019-01-06 14:47:37 +03:00
Jaex 469fc29b87 Update year 2019-01-02 10:43:52 +03:00
Jaex 15cb8d3830 Added Amazon S3 signed payload option 2018-12-04 19:10:01 +03:00
Jaex dd7ba07c60 Custom uploader request format will be set explicitly 2018-11-30 14:03:45 +03:00
Jaex d990b9ed73 Make fileFormName not optional 2018-11-28 18:15:58 +03:00
Jaex 3fb40ef1ac #2299: Support $filename$ in request url and result urls 2018-11-24 23:23:18 +03:00
Jaex 484c7e78dc Added descriptions to request format, renamed few of them 2018-11-22 18:59:41 +03:00
Jaex a7560078ca fixed #3717: Added binary upload support to custom image/text/file uploader 2018-11-22 16:16:25 +03:00
Jaex cf1ddf4da8 Custom Uploader JSON request format now works with URL shortener 2018-11-21 21:05:39 +03:00
Jaex e56349ee54 Added request format option to custom uploaders 2018-11-21 17:16:14 +03:00
Jaex 4169dfe64a Don't restrict custom uploaders with http method 2018-11-11 11:51:44 +03:00
Jaex 015693290a Rename CustomUploaderRequestType to CustomUploaderRequestMethod 2018-11-11 10:33:17 +03:00
Jacob Foster 8bf5bee53e
Add AmazonS3 endpoint for SFO2 DigitalOcean Spaces 2018-11-09 21:05:35 -06:00
Jaex 73cd641fb5 CodeMaid cleanup 2018-10-30 20:58:35 +03:00
Jaex 505a40302a Update DreamObjects endpoint 2018-10-29 08:20:59 +03:00
Jaex 575e92c18d Added UploadHelpers class 2018-10-17 19:06:06 +03:00
Jaex 745ba3aa32 Use type on declarations instead of var for consistency with rest of code 2018-10-17 15:32:03 +03:00
Jaex c8550c3f2a fixed #3635: FTPS library was accepting SSL 3.0 and TLS 1.0 by default, now instead it will accept TLS 1.0, TLS 1.1 and TLS 1.2 2018-10-15 10:39:21 +03:00
Matthew Burnett a372e33df5 Preserve original fileName for contentType generation
Known bug: removed extension not reflected in history
2018-10-10 18:22:36 -04:00
Charles Milette 16caeade62 Add support for extensionless upload on GCS 2018-10-10 17:12:23 -04:00
Jaex 7be8f98372 Added CustomUploaderParser class 2018-10-08 09:10:59 +03:00
Jaex ac14199044 Don't use _ prefix for variables 2018-10-06 22:09:15 +03:00
tinybarks fce293108e
Merge remote-tracking branch 'upstream/master' into implement-backblaze-b2 2018-10-01 19:34:36 +02:00
tinybarks 140d583a1c
B2 uploader: Change bucket setting handling, add CodeMenu to fields
The "bucket" setting is no longer required. Instead, show a hint to the user saying that the setting is only used if the application key has no bucket acess restriction.
2018-10-01 16:39:16 +02:00
tinybarks adc09ca0e3
BackblazeB2: Use ResponseToString() 2018-10-01 15:44:54 +02:00
tinybarks 4551443d8a
Backblaze B2 support (add comment) 2018-10-01 14:18:46 +02:00
tinybarks 738f25c556
Remove System.ValueTuple dependency, some refactoring of BackblazeB2.cs 2018-10-01 14:18:46 +02:00
tinybarks 787a5217d9
Fix missing B2 config page icon 2018-10-01 14:18:45 +02:00
tinybarks e0fb9373b8
Backblaze B2 support
Adds an uploader for Backblaze B2 Cloud Storage.
2018-10-01 14:18:39 +02:00
Jaex f293b6238b Fix history form icon column text 2018-09-22 03:55:41 +03:00
Jonathan Donaldson bfc9352300 Fixed typo and changed OwnCloudExpiryTime to int 2018-09-10 22:14:32 +01:00
Jonathan Donaldson 334650d234 Fixed styling issues 2018-09-10 18:07:45 +01:00
Jonathan Donaldson 92ad3cff56 Added auto expiring of shared links 2018-09-10 17:55:07 +01:00
Jaex cb3db23193 fixed #3608: Let YouTube decide is uploaded file is supported 2018-09-07 13:32:16 +03:00
3k2 f8abe1b1e8
Update Pomf.cs 2018-08-21 20:02:38 +03:00
3k2 a8348b2bf1
Update Pomf.cs 2018-08-21 20:01:20 +03:00
3k2 b31a88d2ca
Update Pomf.cs
Removed dead/private pomf clones from the list. Fixed void.cat upload address to correct one.
2018-08-21 19:57:14 +03:00
Seenko 68e9a55d59
Updated edfile.pro upload end-point.
Since edfile.pro will be switching the upload end-point to https://edfile.pro/api/upload, it is appropriate to reflect those changes here.
2018-07-27 23:32:22 -03:00
Touuqe Wu-Tang 9bb8b67bb2
Added 2 new reliable clones
https://coka.la - been running and reliable for around 6 months
https://pomf.su - same owner, alt domain.
2018-07-24 04:06:46 +01:00
Jaex bf44d356eb URLEncode refactoring 2018-06-21 19:25:11 +03:00
Jaex fc414a134b Fix Azure URL escape issue 2018-06-21 18:20:48 +03:00
Jaex 957df1692e fixed #2371: URL encode Azure upload path 2018-06-21 17:01:53 +03:00
Jaex 663d5d73c9 Generate URL refactoring 2018-06-21 16:20:58 +03:00
Jaex 2a1df4e38b Use https:// if prefix is missing 2018-06-19 22:20:45 +03:00
Jaex 8667d2412e Added URL preview to Azure Storage tab 2018-06-19 22:16:11 +03:00
Jaex 40f94579d4 Removed Azure exclude container option, instead it will exclude always same as S3 and GCS, that way user can include container if they want 2018-06-19 21:44:37 +03:00
Jaex 5165968c3d Removed create container method from Azure upload method to decrease upload time 2018-06-19 20:26:50 +03:00
Jaex a2fb7b105e Removed SendRequestGetHeaders method 2018-06-15 13:12:23 +03:00
William Saulnier 371266b093 merge from master 2018-06-08 07:23:12 -07:00
William Saulnier 559e86df71 Just create the variable 2018-06-06 07:54:09 -07:00
William Saulnier 5dddd52eff Add else instead for code style 2018-06-06 07:28:41 -07:00
Jaex d03f5bf81c
Update Pomf.cs 2018-06-06 13:38:03 +03:00
Daniel Wang 9142f9050e
Added catgirl.pw pomf clone 2018-06-05 23:47:56 -04:00
William Saulnier ef0edfb066 Update Azure Storage to include support for root containers, custom upload paths, and masking $root 2018-06-05 17:39:50 -07:00
Jaex aa1a3c3287 Added Wasabi endpoint 2018-06-04 21:38:41 +03:00
Jaex c566501d08 fixed #3406: Removed Dropfile 2018-05-19 00:55:00 +03:00
Jaex 795822a7b2 Removed StyleCop.Analyzers 2018-05-16 17:29:34 +03:00
Jaex cb3711632c Fix "Use of implied arithmetic operator precedence" 2018-05-16 16:27:11 +03:00
Otto Hooper f7f4d1fe18
Removed Kyouko.se
Kyouko.se has been shutdown.
2018-05-15 09:24:29 +01:00
Jaex dae4809133 Rename selective color value to threshold 2018-05-09 00:24:05 +03:00
Otto Hooper b896d906aa
Pomfe.co domain changed
Pomfe.co is now https://kyouko.se/
2018-05-05 16:57:25 +01:00
SupSuper b4f0605150 Google Drive fix parent folder not being passed correctly 2018-04-29 21:29:59 +01:00
Jaex 94a93c02c7
Merge pull request #3351 from SupSuper/onedrive-fixes
Fix uploadSession error in OneDrive for Business
2018-04-29 03:48:55 +03:00
Jaex e1adecb743
Merge pull request #3348 from bidolah/dev6
Remove unnecessary null check
2018-04-29 03:46:58 +03:00
SupSuper 1bae3f3a93 Hide first request progress 2018-04-29 01:23:03 +01:00
SupSuper 559aad05ab Fix OneDrive in Business 400 error 2018-04-29 01:20:39 +01:00
Ivan Bidolakh d7d3ce4fc1 Remove unnecessary null check
Split function always return array. If you look at the source of it, it even guarantees it with code contracts
2018-04-29 01:54:42 +03:00
Ivan Bidolakh a825e9e6c5 Fix copy-paste (incorrect parameter) 2018-04-29 00:56:57 +03:00
Jaex f04efda0e3 Change Google Cloud Storage icon 2018-04-26 20:39:43 +03:00
Matthew Burnett fb3ce039f0 Add live url preview 2018-04-26 00:41:11 -04:00
Matthew Burnett 28efed0d22 Create GenerateUrl method
It's a Surprise Tool That Will Help Us Later
2018-04-26 00:15:22 -04:00
Charles Milette 358d32f135
Percent-encode returned URLs in Google Cloud Storage uploader 2018-04-24 18:56:45 -04:00
Matthew Burnett 65c15e8035 Fix icon pt2 2018-04-21 18:31:03 -04:00
Matthew Burnett 0c14f09b64 Fix variable convention 2018-04-21 16:11:31 -04:00
Matthew Burnett 986c39bce7 Properly handle url prefix 2018-04-21 02:14:08 -04:00
Matthew Burnett 5a32493192 Args dict was breaking request 2018-04-21 01:24:11 -04:00
Matthew Burnett e70858b90c Do it in one request :^) 2018-04-21 00:32:56 -04:00
Matthew Burnett 7ea80aeaa0 Finish form 2018-04-20 17:16:46 -04:00
Matthew Burnett c215797c8a Encode URL Path for ACL 2018-04-20 16:47:30 -04:00
Matthew Burnett 7c3569a39d ACL Broken 2018-04-20 16:39:14 -04:00
Matthew Burnett f2ab7f2f08 Add custom domain support in program
Form not done
2018-04-20 12:59:42 -04:00
Matthew Burnett 19fd8418d7 Add auth headers 2018-04-20 11:46:44 -04:00
Matthew Burnett dd16e6eaf5 Change request method 2018-04-20 11:45:52 -04:00
Matthew Burnett 7624dd3b2f Add license 2018-04-20 11:24:08 -04:00
Matthew Burnett 4b85a47537 Create form 2018-04-20 11:20:12 -04:00
Matthew Burnett d1c01ff207 Fix merge 2018-04-20 10:58:51 -04:00
Matthew Burnett d8be3a041d Better request method 2018-04-20 10:51:39 -04:00
Matthew Burnett d26b0eb4bc Add icon
Fix error
2018-04-20 01:33:58 -04:00
Matthew Burnett debb4e5cce More progress
OAuth, public read, custom domain support
2018-04-20 00:26:00 -04:00
Matthew Burnett d5bc81fc46 Upload test complete
Fix Uploader class missing arg
2018-04-19 23:03:28 -04:00
Jaex a36c61431a Removed Google URL shortener (https://developers.googleblog.com/2018/03/transitioning-google-url-shortener.html) 2018-04-20 02:02:45 +03:00
Matthew Burnett bfdede32eb Reorder enum
Some more work on gcs
2018-04-19 17:48:59 -04:00
Matthew Burnett 233d822c24 Begin GCS 2018-04-19 17:30:56 -04:00
SupSuper 0265b723bb Use segmented file upload to get past OneDrive limits
New helpers:
- SendRequestBytes - Sends a raw stream of bytes (unlike SendRequestFile which sends files as form-data) and supports segments via Content-Range
- TransferData - Now supports transferring only part of a stream
2018-04-16 21:55:21 +01:00