Commit graph

1407 commits

Author SHA1 Message Date
Jaex bac503c1b9 Add rest of syntax to input code menu 2019-01-24 16:23:40 +03:00
Matthew Burnett 5f8d5651f9 Fix empty albums list
Pagination failed if the albums response is empty, but a pagination token still exists.
2019-01-23 17:26:30 -05:00
Jaex 82a4d09964 No need size change in uploaders config form anymore 2019-01-23 15:14:20 +03:00
Jaex d858ff457e Added icon to custom uploader settings 2019-01-23 15:03:52 +03:00
Jaex 898482a5d4 Remove custom uploaders tab from uploaders config form 2019-01-23 13:34:10 +03:00
Jaex cb9efd5fa3 Move custom uploader settings to its own form 2019-01-23 13:13:48 +03:00
Matthew Burnett 3424749e02 Fix album list pollution
Album list will become polluted with redundant single album share images, we can assume that no shared albums other than ones used for public links will be made.

This will not fix long pagination responses due to many shared albums.
2019-01-22 17:09:55 -05:00
Jaex 0a57e89487 Removed response type control 2019-01-22 15:21:13 +03:00
Jaex c5810ca127 Rename Picasa options to Google Photos to reset them 2019-01-22 11:16:12 +03:00
Matthew Burnett 5e9c3c43b6 Google photos update for Picasa deprecation (#3890)
* Add new object classes
Update scope
Update album list url
Remove extra headers

* Implement new albums

* Update GooglePhotos to new API

* Add create album button

* Fix redundancy
2019-01-22 10:57:43 +03:00
Jaex 017c19cd21 Added syntax menu to custom uploader URL text boxes 2019-01-22 10:38:04 +03:00
Jaex b19e0ee83c Removed custom uploader response type option, added backward compatibility for it 2019-01-21 18:09:23 +03:00
Jaex ba29dc918b Added $header:name$ syntax to custom uploader 2019-01-21 17:33:19 +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
Jaex 163c2a1ecf Update Paste2 request URL 2019-01-21 15:14:50 +03:00
Jaex eb59fb8e4d Store last response Uri and headers in uploader class 2019-01-21 14:57:18 +03:00
Uncled1023 1ffa5df531 Added Text and Url Shortener actions for Teknik 2019-01-20 20:30:48 -08:00
Abu3safeer e9d784cdb5
Remove broken websites
I have commented the website that no longer working + added the the website status.
So please double check those websites, some of the has working domain, but that domain is linked to nothing, so it shows "DNS_PROBE_FINISHED_NXDOMAIN".
some of them redirect, some of them are for sale.

to be honest I wanted to add some good websites to the list, but I don't know how to get the api.
2019-01-20 17:37:20 +03:00
Jaex 894348127f When custom uploader response type is headers it will output headers string same as how it is in raw response, without quotes around value 2019-01-19 12:24:52 +03:00
Uncled1023 e3305b3398 Added Teknik Uploader support w/ Oauth 2019-01-17 23:57:11 -08:00
Jaex a243ded119 fixed #3891: When OCR used first time, ask for permission from user 2019-01-18 09:23:25 +03:00
Jaex c5271c7c68 Support Cookie header in custom uploaders 2019-01-17 10:57:50 +03:00
Jaex 3c5ff2950c When testing custom uploader select that uploader in listbox 2019-01-14 22:43:03 +03: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
Jaex 1431c7f54d Added copy response button to toolbar 2019-01-09 21:47:12 +03:00
Jaex 42db062eb4 Added JSON format and XML format buttons to response text tab 2019-01-09 20:23:44 +03:00
Jaex efc3e0facc Added XML (application/xml) body support to custom uploader 2019-01-09 19:08:55 +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
Jaex 1f316ca7d5 Allow overriding Content-Type header in custom uploader 2019-01-09 16:27:25 +03: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
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