Commit graph

51 commits

Author SHA1 Message Date
Robin
ede5bfef97 BUG-1894: Postponing history loading as long as possible, this reduces the Imgur activity dramatically (as it's not loaded during start) and should at least prevent a 429 early on... hopefully. It would be better to cache everything locally on the user's PC, but this is unrealistic with .NET 2.0 technology (not impossible, but so time consuming that it would be better to wait for the next Greenshot version with 4.5). 2016-11-16 09:09:28 +01:00
Robin
a9fd39fd45 BUG-1894: Fixing excessive Imgur thumbnail downloading, which was wasting "credits", and caused 429 errors. 2016-11-14 20:53:16 +01:00
Robin
fc192827f1 Made the supported image formats extendable, and supplied a SVG implementation right away with the jira addon. 2016-09-05 22:48:23 +02:00
Robin
1294036a56 Fixed copyright for this year. 2016-08-17 14:38:41 +02:00
Robin
0323705513 Merge remote-tracking branch 'remotes/origin/master' into release/1.2.9 2016-05-24 13:15:16 +02:00
Robin
e781bdcd5c BUG-1949: Fixed imgur issues, especially the delete. 2016-04-26 23:12:45 +02:00
jklingen
e409392f32 Revert "Revert "Removed most references to SF"" 2016-03-24 23:04:47 +01:00
jklingen
2599ff5b7c Revert "Removed most references to SF" 2016-03-24 22:54:16 +01:00
Robin
fe176a2da4 Removed most references to Sourceforge, need to check with a file-searcher if something is left. P.S. The help files still have references... 2016-03-23 16:54:57 +01:00
RKrom
3ccc1c0f9f Fix for missing / 2015-11-07 15:39:41 +01:00
RKrom
56339b629c BUG-1862: Changed the Imgur API from v2 to v3 2015-11-07 11:56:03 +01:00
Robin
b64de88b1e Making the imgur destination more stable, unfortunately Imgur has issues... 2015-11-06 14:12:30 +01:00
RKrom
930061dc94 Cleanup before fixing [skip ci] 2015-11-06 07:20:43 +01:00
RKrom
45c0e1efed Hacked the Imgur plugin to partly work with the version 3, so AnonymousAccess works. Added a more rough filtering for the language issues, fixed an update check, fixed a problem when closing the history and updated the readme.txt 2015-10-08 22:33:43 +02:00
Robin
1f80d56b10 Reused new OAuth 2 code for the Box plug-in, this was possible by adding the embedded browser. Also refactored code to be more readable, and have more reuse. Fixed problems with Picasa upload and pressing cancel on the PleaseWaitForm. [skip ci] 2015-04-17 15:44:27 +02:00
Robin
ea8c27449f Moved some code around, for better re-usage. Also added some debug information, and wrote some comments. [skip ci] 2015-04-15 13:16:26 +02:00
Robin
ec5930ed41 Updated Copyright notice 2015-03-13 10:31:52 +01:00
JKlingen
8c4eef8e2b Updated copyright notice for 2014 2014-01-08 21:30:56 +01:00
RKrom
2c1a56e868 Added title in Imgur upload as optional to the configuration
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2510 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-27 17:19:52 +00:00
RKrom
a394904aa3 First code analysis changes, this "should" make Greenshot more stable and implement things as is supposed.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2481 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-12 18:43:56 +00:00
JKlingen
c777878bd7 updated copyright notice for 2013
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2436 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-01-20 20:18:49 +00:00
RKrom
0c7e16a771 Applied my "patch" which refactors the complete codebase to have IEffect support, this is an interface which can be used to supply effects to a bitmap. These effects can now be passed to the OutputSettings (which now is called SurfaceOutputSettings) to control how the output is modified. This is very useful for e.g. OCR which needs a grayscale & resized image.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2377 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-12 09:51:41 +00:00
RKrom
5541e2e1c7 Refactoring which replaces the Image in the ImageOutput for an ISurface, this makes it possible to save the Surface to any possible file format and even make it possible to pass some additional information in the OutputSettings. (Except reducing the colors, there are no other settings yet)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2376 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-11 14:36:20 +00:00
RKrom
428b84ac6d Fixed for Imgur annonymous upload.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2177 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-20 13:41:59 +00:00
RKrom
4de75cdb69 Cleanup of using statements
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2149 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-17 12:21:12 +00:00
RKrom
048826df3d More small fixes, and some refactoring.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2140 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-13 15:14:57 +00:00
RKrom
6ceef4f65e Still fixing some issues with having the wrong Platform or Configuration, also moved some code to the NetworkHelper. Deleted a file which should not be there.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2137 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-11 13:59:58 +00:00
RKrom
756c8d9403 Refactoring to make Picasa work, added Upload to the IBinaryContainer.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2135 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-10 18:21:09 +00:00
RKrom
448f82f6c3 Code reuse and cleanup.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2126 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-08 15:32:14 +00:00
RKrom
abe79e65e9 Untested performance improvements with uploads, in short the image is directly stored to the upload stream instead of writing a stream to a byte[]. Expecting a small performance improvement, and a lot less memory usage while uploading.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2125 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-08 12:58:20 +00:00
RKrom
c983567827 Added Multipart/form-data support, this should improve memory usage and upload performance. Is also needed for Flickr.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2124 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-08 06:26:29 +00:00
RKrom
8b8024e20c OAuth refactoring, making Photobucket work.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2073 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-20 11:37:47 +00:00
RKrom
8006481b2d Fixed OAuth
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2051 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-18 15:18:58 +00:00
RKrom
ade8e365b6 Made the OAuth implementation work as specified, Imgur is working but the others need to be checked.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2050 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-18 15:07:17 +00:00
JKlingen
ef4b1344e5 extracted imgur credentials to another class
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2047 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-16 22:09:26 +00:00
RKrom
8f90c54729 Code cleanup, removed API ulr in configuration (people might get confused) and merged a Imgure helper method into the OAuthHelper.cs. Also removed the history menu entry for PhotobucketPlugin (which isn't used yet)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2028 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-13 11:37:58 +00:00
RKrom
f447fb8b72 Some oAuth fixes for Imgur & Photobucket. Still having problems with Photobucket...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2026 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-12 12:43:02 +00:00
RKrom
73ffe9579a Added log statement
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2022 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-11 15:26:37 +00:00
RKrom
dcb66c5007 Added non anonymous access for Imgur, is still in an initial state.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2015 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-09 14:33:33 +00:00
RKrom
79cbe548b0 Added the possibility to automatically encrypt/decrypt a configuration value by setting "Encrypted" in the ini to true. Also added a small OAuth example in the ImgurUtils, for later usage.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2014 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-09 13:53:53 +00:00
RKrom
480b32f586 Added "credits left" for Imgur to the form, this might give us a better idea of why the upload sometimes takes so long.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2006 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-06 15:48:44 +00:00
RKrom
a8025ac8cf Added a PleaseWait form which allows the user to cancel the operation. This already is implemented for the Imgur plug-in but should be used for all the others with long operations. Also fixed a bug in the Imgur plug-in: while retrieving the history a "no longer available" answer was not processed.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1984 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-08-12 16:19:46 +00:00
RKrom
e274a08a1e Refactored the "thumbnail" preview code to ThumbnailForm.cs, this removes some complexity from the MainForm. Also fixed an Imgur issue, which I noticed as they currently have maintenance. And I added a missing key to the language-en-US.xml
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1909 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-06-08 10:36:07 +00:00
RKrom
7918109284 Fixed bug #3529455 (uri string is too long) and a minor Imgur history form nuisance.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1908 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-06-01 06:26:17 +00:00
RKrom
69d50906b8 Removed reference to System.Web, making the imgur plugin work on client profiles.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1891 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-05-21 05:10:44 +00:00
RKrom
b585a239b6 Fixed design-time displaying of the language mappings
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1778 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-04-17 13:17:44 +00:00
RKrom
40807d5d2b Fixed bug where the image exported to the Clipboard, Jira, Imgur or Confluence is bigger as it should be. The reason is that "MemoryStream.getBuffer()" returns the byte buffer for the stream, which is usually bigger (capacity) than the actual data!!
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1702 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-03-14 11:53:03 +00:00
RKrom
5f9deb2f06 Refactoring the interop code to a separate project. Still need to add the interop DLL to the final exe... or maybe I want to use references inside the projects...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1690 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-03-06 17:45:50 +00:00
RKrom
0f65452e6c Fixed Copyright to 2012
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1653 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-02-13 09:06:09 +00:00
RKrom
8d458998a1 Moving back to trunk!
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1602 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-01-24 19:24:36 +00:00