Commit graph

47 commits

Author SHA1 Message Date
Jaex 4a970ef3d1 Rename UploadHelpers to RequestHelpers 2019-03-14 14:06:54 +03:00
Jaex e36a88806a
Update OwnCloud.cs 2019-01-11 17:56:00 +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
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 469fc29b87 Update year 2019-01-02 10:43:52 +03:00
Jaex 575e92c18d Added UploadHelpers class 2018-10-17 19:06:06 +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 89e2c32f67 Small UI fixes 2018-03-25 14:31:01 +03:00
Dominik M. Kwiatek 3553b44252 Implement NextCloud direct link setting 2018-03-24 22:04:56 +00:00
Dominik Kwiatek b1a41fc6a9 Return download link if the file is not an image 2018-03-19 23:07:51 +00:00
Dominik Kwiatek d52118928d Update OwnCloud/NextCloud direct link to link to preview instead of download 2018-02-07 22:44:37 +00:00
Jaex b9205c897b fixed #3004: Enable ownCloud 8.1+ compatibility by default 2018-01-29 11:20:18 +03:00
Jaex b463a16567 Update year 2018-01-01 17:59:14 +03:00
Jaex f7c0a9f934 CodeMaid cleanup 2017-03-30 00:03:08 +03:00
Jaex 9cc59a1f8f Renamed ShareX.Chrome to ShareX.NativeMessagingHost because all browsers which support web extensions can use same host 2017-02-10 13:49:49 +03:00
Jaex 4d7006b359 Update year 2017-01-11 11:39:40 +03:00
aStonedPenguin b00ca3ee75 Fixed missing header for dev version of Nextcloud
Overlooked this in my last commit since it worked fine without it at in the non dev version.
2016-12-29 15:53:53 -09:00
Jaex d3a075ffec Added SendRequestMultiPart method instead of using SendRequest for it 2016-12-26 19:30:17 +03:00
aStonedPenguin 23f9f1bdcf Fixed #2160 2016-12-23 12:34:07 -09:00
Jaex a0434e8c91 Removed SendRequestStream method 2016-12-23 10:24:38 +03:00
Jaex f79bb6e375 Get uploader icon from its service 2016-06-27 20:20:55 +03:00
Jaex c84a3b4fe4 Added GetUploadersConfigTabPage function to all file uploader services 2016-05-01 11:09:11 +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 f4a0cbbf24 Removed IgnoreInvalidCert option from OwnCloud instead it can use global optional setting 2016-03-24 18:21:17 +02: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
Jaex 82f5a69cc5 Mainly naming changes and other small service changes 2016-03-23 20:47:59 +02:00
Jaex e5d5c36015 Added TaskReferenceHelper parameter to create uploader methods 2016-03-23 01:56:39 +02:00
Jaex b4b7d3160c All file uploaders using FileUploaderService now 2016-03-22 19:24:41 +02:00
Jaex 6a992a0857 fixed #1400: Added AcceptInvalidSSLCertificates option to Application settings -> Advanced tab which can be used by people who using self signed certificates 2016-03-14 03:10:19 +02:00
Jaex 1d0842d031 Updated license year to 2016 2016-01-03 17:16:01 +02:00
Jaex c7bc7381ee Remove unnecessary parenthesis 2015-11-28 14:53:16 +02:00
Jaex 4b1114b2a2 Merge pull request #1155 from canihavesomecoffee/fix-encoding-issue-owncloud
fixes issue with hash in filename when uploading to owncloud
2015-11-28 10:01:45 +02:00
wforums e577bef402 safer encode
not just hash encoding, but also other characters. Has no adverse side
effects, as seen in the image in the PR.
2015-11-28 08:57:41 +01:00
wforums 9bdae1313d fixes Newtonsoft.Json.JsonSerializationException with OwnCloud upload
Currently, when a file is uploaded, and an error is generated, a JSON
serialization error is thrown because of the unexpected JSON output.
This commit fixes that.
2015-11-28 03:18:33 +01:00
wforums c7ff0f3680 fixes issue with hashtag in filename when uploading to owncloud
This fixes an issue where a file in a hashtag would cause the uploaded
file to be truncated after the hashtag, causing the share function to
fail subsequentially because the file was not found. Only the PUT
request to upload the file requires the hashtag to be encoded, as it's
part of the URL, while the POST request for the share has the path in
the POST parameters.

closes #1148.
2015-11-28 02:12:44 +01:00
Jaex 251849aeda Copyright text update 2015-08-13 04:07:38 +03:00
Daniel McAssey 1be901dd08 Adds Compatibility button for ownCloud versions 8.1+ to fix #784 2015-07-21 22:52:00 +01:00
Jaex e770e8600f Changing copyright icon 2014-12-31 11:41:32 +02:00
Jaex 9388ebb418 Updated year 2014-12-31 11:29:40 +02:00
Jaex 40868f8ad8 fixed #408: If host not includes http(s):// then add it automatically 2014-12-15 12:15:49 +02:00
Jaex 0eefbc19f8 CodeMaid cleanup 2014-12-11 01:19:28 +02:00
Jaex d5b1d287fb Changed namespaces too 2014-12-10 22:25:20 +02:00
Jaex 5096a895f1 Changed project namings (Example: HelpersLib -> ShareX.HelpersLib) 2014-12-10 22:11:55 +02:00
Renamed from UploadersLib/FileUploaders/OwnCloud.cs (Browse further)