Commit graph

46 commits

Author SHA1 Message Date
Jaex 745ba3aa32 Use type on declarations instead of var for consistency with rest of code 2018-10-17 15:32:03 +03:00
tinybarks adc09ca0e3
BackblazeB2: Use ResponseToString() 2018-10-01 15:44:54 +02:00
tinybarks 28180cf86a
Uploader.GetResponse(): Add flag to enable returning non-2xx responses
This allows handling of HTTP responses with non-2xx status codes in uploader code, e.g. to handle REST API errors.
2018-09-27 07:43:15 +02:00
Jaex a2fb7b105e Removed SendRequestGetHeaders method 2018-06-15 13:12:23 +03:00
Jaex 181283e3b6 Added hotkey repeat limit option 2018-05-29 13:08:33 +03:00
Jaex 3b77380132 fixed #3421: Support referer and user-agent headers in custom uploaders 2018-05-22 18:43:00 +03: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
SupSuper 61b7dcd7cf Use upload sessions to get rid of file limit 2018-04-16 21:55:21 +01:00
SupSuper 0e632acdff Update OneDrive to use Microsoft Graph API 2018-04-16 21:55:19 +01:00
SupSuper 1084054dd1 Update Google Drive to API v3 2018-04-12 01:55:35 +01:00
SupSuper d6bc062bff Add Youtube to file uploaders 2018-04-10 01:49:40 +01:00
Jaex 6a89d32f96 No need this workaround anymore for TLS 1.2 support 2018-02-28 14:50:35 +03:00
Jaex d09edfae1d Fix 0 byte file Amazon S3 uploads 2018-01-29 20:45:31 +03:00
Jaex b463a16567 Update year 2018-01-01 17:59:14 +03:00
Jaex bbf00ed774 Added Write method to Logger 2017-10-16 20:22:28 +03:00
Jaex d653c02b04 Added verbose request logs option to application settings advanced tab 2017-10-16 18:01:58 +03:00
Jaex 4dccf81b57 fixed #1033: Only set CachePolicy for GET requests 2017-10-14 09:34:35 +03:00
Jaex 3d70b045c7 Move CreateQuery to URLHelpers 2017-09-24 10:14:27 +03:00
Jaex a9b0982b4c Adding custom URL sharing service 2017-09-10 13:55:21 +03:00
Jaex d75cf4dc7e Remove query from upload error request url 2017-08-06 19:18:30 +03:00
Jaex 94a7ecf22b UserAgent moved to ShareXResources, added user-agent to all requests 2017-03-11 23:54:42 +03:00
Jaex af1c47a03d Initial Amazon S3 implementation, currently signature not matches 2017-03-10 20:10:16 +03:00
Jaex 73099a584a Update service point manager manually on startup 2017-02-09 15:52:07 +03:00
Jaex 3b8251617f Added debug message for NotSupportedException 2017-02-05 10:52:53 +03:00
Jaex a35beedc1e Removed unused media crush uploader 2017-02-03 09:04:39 +03:00
Jaex 82732ea938 fixed #1868: Added workaround to support TLS 1.2 when .NET Framework 4.5 or newer is installed in system 2017-02-02 00:09:20 +03:00
Tomasz Wisniewski 5680fa30fc Modified calling infrastructure to work based on internal ShareX implementation 2017-01-27 10:27:33 +01:00
Jaex 5dd11e6641 When error happen while uploading, write request URL to error log 2017-01-23 09:32:30 +03:00
Jaex 4d7006b359 Update year 2017-01-11 11:39:40 +03:00
Jaex 66880fd71a Made simple actions form singleton, added settings of it 2017-01-01 01:41:06 +03:00
Jaex 8e645883a9 #2144: Adding customizable simple actions window 2016-12-28 14:23:01 +03:00
Jaex a912197056 Make sure to dispose stuffs 2016-12-26 20:23:29 +03:00
Jaex 8161d1440a Rename UploadData method to SendRequestFile for consistency with other methods 2016-12-26 19:47:46 +03:00
Jaex d3a075ffec Added SendRequestMultiPart method instead of using SendRequest for it 2016-12-26 19:30:17 +03:00
Jaex e7d99c6dba More Uploader.cs refactoring 2016-12-23 11:51:13 +03:00
Jaex 09c5c06eab More Uploader.cs refactoring 2016-12-23 11:21:37 +03:00
Jaex 10b57f05e3 Removed SendRequestJSON method 2016-12-23 10:55:16 +03:00
Jaex a0434e8c91 Removed SendRequestStream method 2016-12-23 10:24:38 +03:00
Jaex 09886bc3f3 Remove second GetResponse method from Uploader.cs 2016-12-23 04:11:01 +03:00
Jaex bbab1fc854 Dropbox upload works now but unable to create public url because they don't supply uid anymore 2016-06-29 19:49:06 +03:00
Jaex abe4fb9b42 Missing header, proper tag parsing 2016-06-29 04:15:29 +03:00
Jaex 25a1bbcf0c Dropbox download file update 2016-06-29 04:09:31 +03:00
Jaex 68509503a3 Uploader changes required for Dropbox 2016-06-29 03:50:16 +03:00
Jaex cb7a621b73 Replace all string.Empty with "" 2016-05-24 21:15:45 +03:00
Jaex 08607ef649 Added IGenericUploaderService and GenericUploader which will be inherited by image, text, file services and uploaders 2016-04-04 12:53:11 +03:00
Jaex 8f02ec41dc Base uploaders and services moved to their own folders, removed unused references, renamed HelperClasses to Helpers 2016-03-23 21:05:31 +02:00