Commit graph

1373 commits

Author SHA1 Message Date
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
Jaex abe7a18dd2 Added help context menu button to custom uploader tab 2019-01-09 01:42:43 +03: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 9355218cd3 Add code menu and context menu to parameter value textbox 2019-01-09 00:31:11 +03:00
Jaex fdafdfe29a Support multiple no value keys 2019-01-08 23:22:41 +03:00
Jaex 08509150a4 Improve custom uploader batch import speed 2019-01-08 21:28:34 +03: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 142c68197c Parse request URL 2019-01-08 17:35:17 +03:00
Jaex 5f59b14132 Custom uploader body panel changes 2019-01-08 16:35:22 +03:00
Jaex af0b713469 Show shortened URL separately in result 2019-01-06 20:42:12 +03:00
Jaex 742f3ca18e Export request type even if it is default value 2019-01-06 20:26:59 +03:00
Jaex f077a0eed3 Implement parameters to custom uploader requests 2019-01-06 19:04:40 +03:00
Jaex ccb14e3b6f Show custom uploader response in test tab instead of using response window 2019-01-06 16:16:51 +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 d4ef035e35 Interim commit for custom uploader parameters 2019-01-06 13:09:01 +03:00
Jaex af952f5c1a Added request, response and test tabs to custom uploader tab to create more space 2019-01-06 11:00:28 +03:00
Jaex 885f6c8851 Show selected destination types on control 2019-01-04 20:19:24 +03:00
Jaex 85f98bc063 Removed None from request method, not need anymore 2019-01-04 19:45:42 +03:00
Jaex f4d8ed3b1e Storing application version in custom uploader JSON to be able to better support backward compatibility 2019-01-04 14:37:24 +03:00
Jaex 469fc29b87 Update year 2019-01-02 10:43:52 +03:00
Jaex 3992add566 Simplify names 2018-12-29 10:20:56 +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 e138c41662 Update Json .NET 2018-11-30 11:11:19 +03:00
Jaex 067080224a Move auto copy inside StartOCR method 2018-11-30 10:52:06 +03:00
Luke Anderson bb5c5bcb99 Add automatic clipboard copy option to OCR 2018-11-29 23:10:42 +10:30
Jaex 7baeb193c6 OCRSpace refactoring 2018-11-28 18:23:06 +03:00
Jaex d990b9ed73 Make fileFormName not optional 2018-11-28 18:15:58 +03:00
Jaex 8f9b7fafea Use fallback endpoint for OCR 2018-11-28 17:36:25 +03:00
Jaex 72d46610b2 Move OCROptions to its own file 2018-11-28 17:03:21 +03:00
Jaex e490e170c6 Move static OCR method to OCRSpace class 2018-11-28 16:45:06 +03:00
Jaex 029997a698 OCR fixes 2018-11-28 16:14:19 +03:00
Jaex 23c4affb6d
Merge pull request #3746 from stuntguy3000/ocr-settings
Add new settings to OCR and enhancements - Fixes #3712, #3601, #2848
2018-11-28 14:56:34 +03:00
Luke Anderson de3b0ba185 Actually implement the requested features 2018-11-28 22:25:38 +10:30
Luke Anderson dad5b81096 Add new settings to OCR - Fixes #3712, #3601, #2848 2018-11-28 20:06:45 +10:30
Jaex 3fb40ef1ac #2299: Support $filename$ in request url and result urls 2018-11-24 23:23:18 +03:00
Jaex 25bf2c4297 Only URL encode input and filename 2018-11-24 22:52:06 +03:00
Jaex 3d3eaa2c64 Input syntax must not be usable for output 2018-11-24 22:32:14 +03:00
Jaex 857ba9b222 Move custom uploader code files to new folder 2018-11-24 22:22:07 +03:00
Jaex 4eed9f5d7d Don't serialize file form name and data if not usable 2018-11-24 21:18:43 +03:00
Jaex b285e8d8c5 URL encode syntax results in custom uploader request URL 2018-11-24 20:14:14 +03:00
Jaex 0ede607a03 Added form URL encoded support to custom uploader 2018-11-22 20:58:40 +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 3df390a226 Update syntax highlight after set text 2018-11-22 02:50:41 +03:00
Jaex ca58626fc0 Auto hide tabs depending on request format 2018-11-21 23:23:50 +03:00
Jaex 71ffe70203 Added minify button 2018-11-21 22:46:23 +03:00
Jaex 4a0c3b36a3 Json encode syntax results 2018-11-21 22:33:52 +03:00
Jaex 6df711949d JSON request format supported in all destinations except image and file uploaders 2018-11-21 21:15:34 +03:00
Jaex cf1ddf4da8 Custom Uploader JSON request format now works with URL shortener 2018-11-21 21:05:39 +03:00
Jaex ea69bb703d Added Data option to custom uploader to be able to send raw text like json etc. 2018-11-21 19:48:04 +03:00
Jaex e56349ee54 Added request format option to custom uploaders 2018-11-21 17:16:14 +03:00
Jaex ab7be11122 Use syntax highlighting for argument and header value 2018-11-20 19:22:12 +03:00
Jaex 97b5dcbe05 Use syntax highlighting for request url 2018-11-20 14:48:31 +03:00
Jaex fef12c0dd8 Added syntax highlighting support to custom uploader URL fields 2018-11-19 18:33:03 +03:00
Luke Anderson 109911b995 Update Uploader Service Icons 2018-11-18 18:33:43 +10:30
Jaex e58d6f3eb9 Fix typo 2018-11-13 09:54:04 +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 b1fed1c1c0 Added $base64:text$ syntax to custom uploader parser 2018-11-05 03:02:38 +03:00
Jaex e9958e155c Removed screen record cli option because task actions already can do same thing and with two pass encoding option it is not that required anymore 2018-11-01 12:36:13 +03:00
Jaex 6cee0358f2 Replace prompt parameter positions 2018-10-31 17:07:46 +03:00
Jaex c0de09d8c9 Added title support to prompt syntax 2018-10-31 15:47:56 +03:00
Jaex 5141777523 Improve custom uploader parser escaping 2018-10-31 15:19:27 +03:00
Jaex bdfbebfe37 Fix escape 2018-10-31 14:45:55 +03:00
Jaex 8cd98a52bd Custom uploader parser fixes 2018-10-31 13:21:13 +03:00
Jaex 97c3d67b25 Also support custom uploader syntax in arguments and headers 2018-10-31 11:51:16 +03:00
Jaex a41a1bc5f3 Rename $input$ syntax to $prompt$ 2018-10-31 10:17:58 +03: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
L1Q 20a3d7ce92 Update Russian translation 2018-10-25 04:07:34 +03:00
L1Q 2f2bf8ff0a Improve localization support
- move strings to resx
- create tokens for missing language names in about form
- mark uploader names invariant
2018-10-25 04:00:47 +03:00
Jaex 6599bfecb0 fixed #2595: Added APNG encoding support to screen recording 2018-10-20 21:59:10 +03:00
Jaex efdcdc2ca7
Merge pull request #3679 from L1Q/master
Update Russian translation
2018-10-18 21:56:46 +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
Jaex a26d2f63ef fixed #3666: Support Imgur GetAlbums paging 2018-10-14 13:57:04 +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
thanhpd be79107bfe Update Vietnamese vi-VN translation 2018-10-09 21:10:59 +07:00
Jaex aa46c723b8 Removed unnecessary this. usages 2018-10-09 14:30:22 +03:00
Jaex ab6d3af1ad Added $input$ and $input:default value$ syntax to custom uploader parser 2018-10-09 14:25:27 +03:00
Jaex 472f885b41 Added $select:domain1|domain2$ syntax to custom uploader parser 2018-10-08 12:33:20 +03:00
Jaex 8e059e2115 Removed response parse type enum 2018-10-08 09:34:29 +03: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
Jaex e1d0669891 Reduce complex code for CodeFactor 2018-10-02 21:25:55 +03:00
Jaex 9dede046d4 Added Kutt URL shortener support 2018-10-02 02:11:53 +03:00
tinybarks 155e89d9b8
Backblaze B2: Fix custom URL preview, fix CodeMenu on custom URL field
CodeMenu will no longer appear on the custom URL text box if custom URL setting is disabled.
2018-10-01 19:51:50 +02:00
tinybarks fce293108e
Merge remote-tracking branch 'upstream/master' into implement-backblaze-b2 2018-10-01 19:34:36 +02:00
tinybarks b0c1a21c27
BackblazeB2: Remove SetPlaceHolderText() and use SetWatermark() 2018-10-01 17:58:53 +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 848004d205 Removed support for old implicit regex syntax such as $1,1$ now regex syntax must be declared explicitly like this $regex:1,1$ 2018-09-29 14:51:58 +03:00
Jaex eea65f67db Use | as separator in regex syntax to be consistent with random syntax 2018-09-29 12:43:30 +03: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 f293b6238b Fix history form icon column text 2018-09-22 03:55:41 +03:00
Fyers ff09ec2616 added some more german translations 2018-09-21 22:51:33 +02: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
L1Q 5b05f8c685 Update Russian translation 2018-09-10 19:01:13 +03: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
Jaex 507143fef0 More Turkish translations 2018-08-19 15:01:13 +03:00
Jaex 57e1533c79 Update invariant resx comments 2018-08-07 15:45:56 +03:00
Jaex 48b5dc6b0b Turkish translation improvements 2018-08-07 15:27:34 +03:00
Jaex b93c2b4c08 Added zh-CN to csproj 2018-08-07 13:09:04 +03:00
Jaex a3a07a5231 More resx cleanup 2018-08-07 12:48:16 +03:00
Jaex 6bf61f03fa Deleted remaining unused resx entries 2018-08-07 12:31:40 +03:00
Jaex 9e431ee6f2 Added es-MX to csproj, removed unused resx entries from other languages 2018-08-07 12:21:38 +03:00
Jaex 1cc41d3c42 Removed TaskEx class instead using async/await 2018-08-03 16:38:18 +03:00
Jaex f270c59190 No need TaskEx.Run anymore 2018-08-03 14:01:12 +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
gehongyan 568178d92b Merge pull request #2 from gehongyan/master Chinese Updated 2018-07-26 00:11:23 +08:00
gehongyan f891cfb5d9 Merge branch 'language/ChineseUpdate' of https://github.com/gehongyan/ShareX into language/ChineseUpdate 2018-07-25 22:27:02 +08: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
Chris Pilcher c37ed09cd2 Fixed multiple capitalization errors which prevented building. 2018-07-17 09:49:53 -04:00
Jaex a9f60d2957
Merge pull request #3517 from absay/master
Added Mexican Spanish language [es_MX]
2018-07-11 22:13:37 +03:00
Absay a51914df48 New strings 2018-07-10 15:28:29 -05:00
Absay 98a1b39b5e Merge branch 'master' of https://github.com/absay/ShareX 2018-07-10 12:36:09 -05:00
absay cdff9ed3d2 Lines starting 2018-07-10 12:03:25 -05:00
Jaex 1e1717a206 Support rectangle in blur method 2018-07-06 16:16:49 +03:00
Jaex 943fe21054 Remove prefix automatically from Firebase domain 2018-07-05 19:22:26 +03:00
Jaex 716b90da9d Removed uploaders config form banners 2018-06-21 19:55:57 +03: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 9bce36e782 Added example Firebase dynamic links domain 2018-06-20 15:35:39 +03:00
Jaex e9f6f59879 Rename Amazon S3 regions to endpoints 2018-06-20 15:22:11 +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 8f4dab2583 should remove extra spaces from case switch 2018-06-08 17:38:26 -07:00
William Saulnier 127ce8b044 fix bad merge 2018-06-08 17:36:33 -07:00
William Saulnier dfe6257211 Fixed resx clobbering 2018-06-08 17:30:04 -07:00
William Saulnier 3753eec55c fix build 2018-06-08 07:33:47 -07:00