Commit graph

144 commits

Author SHA1 Message Date
Jaex 4e4281e93a Catch IsAdministrator just in case 2018-11-18 13:52:49 +03:00
Jaex b21480fa69 fixed #3764: Create directory inside save image method 2018-11-17 10:37:16 +03:00
Jaex 1e0ec404a7 Include operating system bit in debug logs, Program.cs refactoring 2018-11-14 10:08:45 +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 ac14199044 Don't use _ prefix for variables 2018-10-06 22:09:15 +03:00
Jaex ef338f119b
Merge pull request #3640 from tinybarks/add-crypto-rng
MathHelpers: add CryptoRandom()
2018-10-01 21:36:46 +03:00
tinybarks ed40360491
MathHelpers: add CryptoRandom()
Random() is biased and generates predictable numbers (seeded with time by default), using RNGCryptoServiceProvider fixes this.
2018-10-01 15:11:59 +02:00
tinybarks 35a3cc0dd9
Add Helpers.IsSuccessfulResponse(HttpWebResponse res) 2018-09-27 07:43:16 +02:00
Jaex 7f84c812d4 fixed #3584: Handle invalid personal folder path in application settings 2018-08-25 15:51:37 +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
Jaex 3d56ae2f62 Improvements to backup system which allows creating weekly backups right after saving 2018-08-03 13:40:00 +03:00
Jaex 55be475017 Remove bidirectional control characters from file name before upload 2018-07-14 04:13:16 +03:00
Jaex bf44d356eb URLEncode refactoring 2018-06-21 19:25:11 +03:00
Jaex cb3711632c Fix "Use of implied arithmetic operator precedence" 2018-05-16 16:27:11 +03:00
Charles Milette f251df7e36
Fix crash when opening screen capture form 2018-04-29 14:23:20 -04:00
Charles Milette d50d3ca7b8
Move TryFixHandCursor to HelpersLib 2018-04-29 11:30:03 -04:00
Jaex e369ee2863 https://blog.github.com/2018-03-20-removing-anonymous-gist-creation/ 2018-04-01 23:34:48 +03:00
Jaex 1ebb91c9e9 Added RegistryHive parameter to each registry methods 2018-03-31 17:00:16 +03:00
Jaex 246cde1fe5 Few %rf related changes 2018-02-01 20:04:24 +03:00
AtlasTheBot 4a5ee63fce Add error popup on error while reading file used with %rf
Instead of uploading with the error message as part of the filename

The task preview window will not produce a popup, instead displaying the error message in the name preview
2018-01-31 22:19:27 -05:00
AtlasTheBot 75be1df635 Add %rf for using a random line from a file to name files 2018-01-31 17:20:44 -05:00
Jaex 598e62e8f0 fixed #1403: Added random adjective and animal support for file naming similar to Gfycat naming 2018-01-31 00:35:17 +03:00
Jaex b463a16567 Update year 2018-01-01 17:59:14 +03:00
Jaex 4971d98b45 Added step label use letters option 2017-12-27 17:48:51 +03:00
Jaex 3b9d2f7f16 Make sure wrong translation of string format to not cause updating to break 2017-11-01 14:38:07 +03:00
Jaex 7fc5c51596 Additional tests to make sure watch folder uploads file which is not actively written 2017-10-08 03:49:55 +03:00
Jaex 5d274c822b fixed #2762: Added go as text file extension 2017-09-12 10:20:23 +03:00
Jaex e207c181e0 Added cursor type option to cursor drawing tool 2017-08-20 21:10:47 +03:00
Jaex 898daf4cc5 Revert "Added cursor type option to cursor drawing tool"
This reverts commit 92ff416ab6.
2017-08-14 09:46:54 +03:00
Jaex 92ff416ab6 Added cursor type option to cursor drawing tool 2017-08-13 14:07:52 +03:00
Jaex 59397b8b98 Create Steam file on first time running 2017-04-24 19:29:19 +03:00
Jaex 3da4ddde70 Added ShowError extension to Exception 2017-04-21 23:42:52 +03:00
Jaex 1170b77243 If error happen while creating shortcut, show error in message box 2017-04-21 21:52:14 +03:00
Jaex a01ba41084 Moved helper methods from AmazonS3 2017-03-20 02:53:32 +03:00
Jaex 72c940e4e5 Use HttpRequestHeader.UserAgent 2017-03-12 00:35:18 +03:00
Jaex 94a7ecf22b UserAgent moved to ShareXResources, added user-agent to all requests 2017-03-11 23:54:42 +03:00
Jaex 65f42de600 Moved helper methods to HelpersLib 2017-01-26 21:47:58 +03:00
Jaex 4d7006b359 Update year 2017-01-11 11:39:40 +03:00
Jaex 1fb3231e9d fixed #2145: After screen recording if file name modified in after capture window then rename video file 2016-12-12 18:24:49 +03:00
Jaex 8bdfdccbec #1950: Add "\" end of folder path to make sure folder is opening instead of file with same name 2016-09-30 12:24:08 +03:00
Jaex 17566b3b82 Code refactoring 2016-09-17 10:07:02 +03:00
Jaex be5f57ef9a NuGet update 2016-09-13 00:46:06 +03:00
Jaex 557cd0e08e Added IsVideoFile method 2016-09-11 00:36:01 +03:00
Jaex f432754b87 Added support to paste text with ctrl + v in region capture 2016-08-23 20:33:48 +03:00
Ray 6e26fc80c0 Dart language text support
Currently Google Dart source files are not treated as text files, meaning they're uploaded using the currently selected file uploader. This fixes the issues.
2016-08-19 18:45:33 -05:00
Jaex 37c4749cd0 Added CreateCursor method 2016-07-04 13:27:31 +03:00
dannoe 102fac39d1 Files and folders are now opened in the default filemanager. 2016-06-28 22:24:22 +02:00
Jaex db2a256a13 Get Windows product name from registry, variable name changes 2016-06-24 19:49:06 +03:00
Jaex 27dede13ae In screen color picker added these copy buttons: All, RGB, Hex, HSB, CMYK, Decimal, Position 2016-05-20 14:43:13 +03:00
Jaex f7c80e1582 Resx update, BrowseFile and BrowseFolder default title text 2016-03-27 01:31:22 +02:00
Jaex c006da4b00 About window changes 2016-03-24 21:27:51 +02:00
Jaex aad7c03763 Added message box to open file, folder functions to notify user if file or folder is not exist 2016-03-24 21:03:10 +02:00
Jaex f476958a40 Added missing translations, Turkish translation 100%, quick task menu continue button moved to top 2016-03-23 23:51:38 +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 f0e0b7e463 Fix GetInstances method to use calling assembly 2016-03-21 22:59:41 +02:00
Jaex d3fb5ac7bd Architecture change to make it easier to add a new uploader, using it on Imgur for now 2016-03-21 22:26:47 +02:00
Jaex a04d10c05c fixed #1416: Added raw URL support to GitHub Gist 2016-03-18 14:08:24 +02:00
Jaex 6fbe9b5913 Use custom GetFilename method because otherwise "Illegal characters" error can happen 2016-03-12 00:34:56 +02:00
Jaex 323f7ac7e8 Image history performance improvements 2016-03-02 02:02:08 +02:00
Michael Delpach 0f17aeeec2 CreateDirectoryFromFilePath
and CreateDirectoryFromDirectoryPath
2016-02-22 07:15:23 +08:00
Jaex 8d34f380ff Revert "CreateDirectoryIfNotExist detects user error"
This reverts commit 29d87cff1a.
2016-02-22 00:30:19 +02:00
Michael Delpach 29d87cff1a CreateDirectoryIfNotExist detects user error 2016-02-22 06:23:44 +08:00
Jaex 2963a5f9ef SomeImage fixes 2016-02-15 08:53:30 +02:00
Michael Delpach 90f5accde2 Special folder support for FFmpeg path 2016-02-15 06:16:23 +08:00
Jaex 03c4b68b60 Added directory indexer form 2016-02-02 14:58:34 +02:00
Michael Delpach 561e914eac EnumerateDirectories
and fix "P:\" becoming "P  "
2016-01-31 14:57:53 +08:00
Michael Delpach fc8240bb9e GetValidName with separator 2016-01-30 18:10:31 +08:00
Jaex db93b5a6dc fixed #1261: Properly convert DIB to image 2016-01-18 23:52:47 +02:00
Jaex ead29ac5fb Added try catch to environment variable functions just in case 2016-01-17 08:58:56 +02:00
Michael Delpach 8a4e57ffc6 Supports all SpecialFolder enums 2016-01-17 04:50:32 +08:00
Michael Delpach 1a6ebc97bf ExpandFolderVariables where ever required 2016-01-16 14:27:15 +08:00
Michael Delpach ae025adf46 Automatically detect MyPictures shell folder path
More shell folders can be supported later
2016-01-16 12:43:05 +08:00
Jaex 1d0842d031 Updated license year to 2016 2016-01-03 17:16:01 +02:00
Jaex b6f12094b1 Custom file name support for task 2015-10-23 01:43:04 +03:00
David Ruhmann c0cbdd938e add hexadecimal and alphanumeric options and categories
base 62, 36, and 16
2015-09-22 22:13:30 -05:00
Jaex 5c97e8c283 Few helpers method 2015-09-04 17:42:13 +03:00
Jaex f84200c629 Unix DateTime convert methods 2015-08-23 22:41:59 +03:00
David Ruhmann 59abcded74 add nameparser parameter support
parameter = {n} for entries i, ra, rn.
2015-08-19 17:17:50 -05:00
Jaex 3710f1d99d fixed #584: Custom sound support 2015-08-16 11:34:46 +03:00
Jaex 251849aeda Copyright text update 2015-08-13 04:07:38 +03:00
Jaex 0e70f68005 CLI URL support 2015-07-31 22:35:21 +03:00
Jaex 5fb48cc552 Windows 10 maximized window region fix 2015-07-21 01:44:03 +03:00
Jaex 228b8bd9bf If run as admin already then open DNS changer directly 2015-05-06 19:49:57 +03:00
Jaex 2bfda15b73 fixed #450: Added BrowserPath setting which allows you to use different browsers to open URLs 2015-01-12 11:14:59 +02:00
Jaex 34cade70a6 First update message box can activate 2015-01-09 10:19:44 +02:00
mightynerd 4af8c816e4 Added error dialog when directory can't be created #441 2015-01-06 15:18:40 +01:00
luis.gomez 17b8291113 Fix issue #372
Several changes were made to fix the encoding of ftp dirpaths and allow
uploads to folders with non-ascii characters:

-Fixed encoding of valid urls in ShareX.HelpersLib.NameParser.cs
-Fixed subfolder path generation and wrong url re-encoding in
FTPAccount.cs
-Fixed preview paths in FTP Destination settings (FTPAccount.cs)
-Fixed subfolder path generation in FTP.cs

This fixes issue #372, which was reproduced with the following account
config on a local ftp server (import from clipboard on destination
settings):

{
"Protocol": "FTP",
"Name": "New account",
"Host": "localhost",
"Port": 21,
"Username": "test",
"Password": "test",
"ServerProtocol": "ftp",
"SubFolderPath": "DEV/grhh本人%",
"BrowserProtocol": "http",
"HttpHomePath": "",
"HttpHomePathAutoAddSubFolderPath": true,
"HttpHomePathNoExtension": false,
"IsActive": false,
"FTPSEncryption": "Explicit",
"FTPSCertificateLocation": "",
"Passphrase": null,
"Keypath": null
}
2015-01-01 18:44:18 -03: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 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 HelpersLib/Helpers/Helpers.cs (Browse further)