[kipiplugins] [Bug 360404] Imgur autorization not work : Integrate Oauth2 library in libkipiplugins [patch]

2016-07-17 Thread Maik Qualmann via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=360404

Maik Qualmann  changed:

   What|Removed |Added

   Version Fixed In||5.1.0
 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED
  Latest Commit|http://commits.kde.org/kipi |http://commits.kde.org/kipi
   |-plugins/6e02be27e833442028 |-plugins/c0336e003d91577a84
   |ac2be4f4737d6a9e2493e4  |d587d69ee77ff1fb7c78e0

--- Comment #33 from Maik Qualmann  ---
Git commit c0336e003d91577a84d587d69ee77ff1fb7c78e0 by Maik Qualmann.
Committed on 17/07/2016 at 10:47.
Pushed by mqualmann into branch 'master'.

apply patch #99900 from Fabian Vogt to rewrite imgur plugin to work with OAuth2
FIXED-IN: 5.1.0

M  +1-22   imgur/CMakeLists.txt
A  +312  -0imgur/imgurapi3.cpp [License: UNKNOWN]  *
A  +169  -0imgur/imgurapi3.h [License: GPL (v2+)]
M  +76   -96   imgur/imgurimageslist.cpp
M  +18   -33   imgur/imgurimageslist.h
D  +0-57   imgur/imgurresponses.json
D  +0-425  imgur/imgurtalker.cpp
D  +0-111  imgur/imgurtalker.h
D  +0-158  imgur/imgurtalker_common.h
D  +0-289  imgur/imgurtalkerauth.cpp
D  +0-112  imgur/imgurtalkerauth.h
D  +0-322  imgur/imgurwidget.cpp
D  +0-92   imgur/imgurwidget.h
M  +171  -199  imgur/imgurwindow.cpp
M  +24   -34   imgur/imgurwindow.h
D  +0-166  imgur/mpform.cpp
D  +0-62   imgur/mpform.h

The files marked with a * at the end have a non valid license. Please read:
http://techbase.kde.org/Policies/Licensing_Policy and use the headers which are
listed at that page.


http://commits.kde.org/kipi-plugins/c0336e003d91577a84d587d69ee77ff1fb7c78e0

-- 
You are receiving this mail because:
You are watching all bug changes.


[kipiplugins] [Bug 360404] Imgur autorization not work : Integrate Oauth2 library in libkipiplugins [patch]

2016-07-17 Thread Maik Qualmann via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=360404

--- Comment #32 from Maik Qualmann  ---
Git commit d2250a7d2cdef4086ca7f0bbd9787cc021be59de by Maik Qualmann.
Committed on 17/07/2016 at 10:42.
Pushed by mqualmann into branch 'master'.

apply patch #99898 from Fabian Vogt to fix o2 to be compatible with imgur

M  +6-2common/libkipiplugins/o2/src/o2.cpp

http://commits.kde.org/kipi-plugins/d2250a7d2cdef4086ca7f0bbd9787cc021be59de

-- 
You are receiving this mail because:
You are watching all bug changes.


[kipiplugins] [Bug 360404] Imgur autorization not work : Integrate Oauth2 library in libkipiplugins [patch]

2016-07-17 Thread Maik Qualmann via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=360404

--- Comment #31 from Maik Qualmann  ---
Git commit 1ca948503bb095df1334131481811a2141697edf by Maik Qualmann.
Committed on 17/07/2016 at 10:38.
Pushed by mqualmann into branch 'master'.

apply patch #99897 from Fabian Vogt to add o2 library from
https://github.com/pipacs/o2

M  +1-2CMakeLists.txt
D  +0-33   cmake/modules/FindQtKOAuth.cmake
M  +38   -1common/libkipiplugins/CMakeLists.txt
A  +16   -0common/libkipiplugins/o2/CHANGES.md
A  +31   -0common/libkipiplugins/o2/CMakeLists.txt
A  +23   -0common/libkipiplugins/o2/LICENSE
A  +212  -0common/libkipiplugins/o2/README.md
A  +57   -0common/libkipiplugins/o2/acknowledgements.md
A  +9-0common/libkipiplugins/o2/examples/CMakeLists.txt
A  +43   -0common/libkipiplugins/o2/examples/facebookdemo/CMakeLists.txt
A  +16   -0common/libkipiplugins/o2/examples/facebookdemo/facebookdemo.pro
A  +119  -0common/libkipiplugins/o2/examples/facebookdemo/fbdemo.cpp
[License: UNKNOWN]  *
A  +35   -0common/libkipiplugins/o2/examples/facebookdemo/fbdemo.h
[License: UNKNOWN]  *
A  +71   -0common/libkipiplugins/o2/examples/facebookdemo/main.cpp
[License: UNKNOWN]  *
A  +5-0common/libkipiplugins/o2/examples/sialis/README.md
A  +19   -0common/libkipiplugins/o2/examples/sialis/main.cpp [License:
UNKNOWN]  *
A  +128  -0common/libkipiplugins/o2/examples/sialis/main.qml [License:
UNKNOWN]  *
A  +5-0common/libkipiplugins/o2/examples/sialis/qml.qrc
A  +---common/libkipiplugins/o2/examples/sialis/sialis.icns
A  +24   -0common/libkipiplugins/o2/examples/sialis/sialis.pro
A  +40   -0common/libkipiplugins/o2/examples/sialis/tweetmodel.cpp
[License: UNKNOWN]  *
A  +38   -0common/libkipiplugins/o2/examples/sialis/tweetmodel.h
[License: UNKNOWN]  *
A  +57   -0common/libkipiplugins/o2/examples/sialis/twitterapi.cpp
[License: UNKNOWN]  *
A  +45   -0common/libkipiplugins/o2/examples/sialis/twitterapi.h
[License: UNKNOWN]  *
A  +43   -0common/libkipiplugins/o2/examples/twitterdemo/CMakeLists.txt
A  +111  -0common/libkipiplugins/o2/examples/twitterdemo/main.cpp
[License: UNKNOWN]  *
A  +135  -0common/libkipiplugins/o2/examples/twitterdemo/tweeter.cpp
[License: UNKNOWN]  *
A  +41   -0common/libkipiplugins/o2/examples/twitterdemo/tweeter.h
[License: UNKNOWN]  *
A  +14   -0common/libkipiplugins/o2/examples/twitterdemo/twitterdemo.pro
A  +103  -0common/libkipiplugins/o2/src/CMakeLists.txt
A  +22   -0common/libkipiplugins/o2/src/o0abstractstore.h [License:
UNKNOWN]  *
A  +126  -0common/libkipiplugins/o2/src/o0baseauth.cpp [License:
UNKNOWN]  *
A  +120  -0common/libkipiplugins/o2/src/o0baseauth.h [License: UNKNOWN]
 *
A  +61   -0common/libkipiplugins/o2/src/o0globals.h [License: UNKNOWN] 
*
A  +14   -0common/libkipiplugins/o2/src/o0requestparameter.h [License:
UNKNOWN]  *
A  +44   -0common/libkipiplugins/o2/src/o0settingsstore.cpp [License:
UNKNOWN]  *
A  +42   -0common/libkipiplugins/o2/src/o0settingsstore.h [License:
UNKNOWN]  *
A  +225  -0common/libkipiplugins/o2/src/o0simplecrypt.h [License: BSD]
A  +379  -0common/libkipiplugins/o2/src/o1.cpp [License: UNKNOWN]  *
A  +124  -0common/libkipiplugins/o2/src/o1.h [License: UNKNOWN]  *
A  +18   -0common/libkipiplugins/o2/src/o1dropbox.h [License: UNKNOWN] 
*
A  +18   -0common/libkipiplugins/o2/src/o1flickr.h [License: UNKNOWN] 
*
A  +22   -0common/libkipiplugins/o2/src/o1freshbooks.h [License:
UNKNOWN]  *
A  +57   -0common/libkipiplugins/o2/src/o1requestor.cpp [License:
UNKNOWN]  *
A  +61   -0common/libkipiplugins/o2/src/o1requestor.h [License:
UNKNOWN]  *
A  +20   -0common/libkipiplugins/o2/src/o1timedreply.cpp [License:
UNKNOWN]  *
A  +25   -0common/libkipiplugins/o2/src/o1timedreply.h [License:
UNKNOWN]  *
A  +18   -0common/libkipiplugins/o2/src/o1twitter.h [License: UNKNOWN] 
*
A  +417  -0common/libkipiplugins/o2/src/o2.cpp [License: UNKNOWN]  *
A  +170  -0common/libkipiplugins/o2/src/o2.h [License: UNKNOWN]  *
A  +90   -0common/libkipiplugins/o2/src/o2facebook.cpp [License:
UNKNOWN]  *
A  +18   -0common/libkipiplugins/o2/src/o2facebook.h [License: UNKNOWN]
 *
A  +13   -0common/libkipiplugins/o2/src/o2gft.cpp [License: UNKNOWN]  *
A  +14   -0common/libkipiplugins/o2/src/o2gft.h [License: UNKNOWN]  *
A  +17   -0common/libkipiplugins/o2/src/o2hubic.cpp [License: UNKNOWN] 
*
A  +17   -0common/libkipiplugins/o2/src/o2hubic.h [License: UNKNOWN]  *
A  +58   -0common/libkipiplugins/o2/src/o2reply.cpp [License: UNKNOWN] 
*
A  +59   -0common/libkipiplugins/o2/src/o2reply.h [License: UNKNOWN]  *
A  +81   -0common/libkipiplugins/o2/src/o2replyserver.cpp [License:
UNKNOWN]  *
A  +33   -0  

[kipiplugins] [Bug 360404] Imgur autorization not work : Integrate Oauth2 library in libkipiplugins [patch]

2016-07-15 Thread Maik Qualmann via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=360404

--- Comment #30 from Maik Qualmann  ---
Yes I agree. I will apply the patch on the weekend.

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.


[kipiplugins] [Bug 360404] Imgur autorization not work : Integrate Oauth2 library in libkipiplugins [patch]

2016-07-15 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=360404

--- Comment #29 from caulier.gil...@gmail.com ---
Maik,

Are you agree to include patches from Fabian for next 5.1.0 releases ?

Also do you think that O2 lib API can be used on some other kipi tools ?
Facebook for ex, need serious improvements about the login which is currently
not suitable ?

Gilles

-- 
You are receiving this mail because:
You are watching all bug changes.


[kipiplugins] [Bug 360404] Imgur autorization not work : Integrate Oauth2 library in libkipiplugins [patch]

2016-07-09 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=360404

--- Comment #28 from caulier.gil...@gmail.com ---
For ex :


Google:
https://bugs.kde.org/show_bug.cgi?id=348274
https://bugs.kde.org/show_bug.cgi?id=339355
https://bugs.kde.org/show_bug.cgi?id=348277

Facebook:
https://bugs.kde.org/show_bug.cgi?id=361699

In general, if authentification can be simplifed in all webservice suppported
by OAuth2, this will be a great improvement.

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.


[kipiplugins] [Bug 360404] Imgur autorization not work : Integrate Oauth2 library in libkipiplugins [patch]

2016-07-09 Thread Fabian Vogt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=360404

--- Comment #27 from Fabian Vogt  ---
(In reply to caulier.gilles from comment #26)
> Fabian,
> 
> If Oauth2 integartion work fine with Imgur tool, we will integrate your
> patches into git/master for next 5.1.0 planned in August.
The o2 integration into libkipiplugins works fine
and even if I can't figure out what causes the bogus error, it's still much
better than the current state, which does only allow anonymous uploads.

> What about other web service tools, as google, facebook, flickr, etc ? Can
> you evaluate :
> 
> - which tool can use Oauth2 API.
> - The complexity to patch current implementation of relevant tools.

Generally I prefer the "if it's not broken, don't fix it" approach.
The facebook plugin works fine, it just needs to be updated to use
the 2.6 API instead of 2.4 (a simple sed should do).
I don't know about the other plugins, I haven't tested them yet.
Which of them are known to be broken?

-- 
You are receiving this mail because:
You are watching all bug changes.


[kipiplugins] [Bug 360404] Imgur autorization not work : Integrate Oauth2 library in libkipiplugins [patch]

2016-07-09 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=360404

--- Comment #26 from caulier.gil...@gmail.com ---
Fabian,

If Oauth2 integartion work fine with Imgur tool, we will integrate your patches
into git/master for next 5.1.0 planned in August.

What about other web service tools, as google, facebook, flickr, etc ? Can you
evaluate :

- which tool can use Oauth2 API.
- The complexity to patch current implementation of relevant tools.

Thanks in advance

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.


[kipiplugins] [Bug 360404] Imgur autorization not work : Integrate Oauth2 library in libkipiplugins [patch]

2016-07-09 Thread Fabian Vogt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=360404

--- Comment #25 from Fabian Vogt  ---
I just can't reproduce the issue, however I try it. If someone can, please
provide the log and, if possible, a wireshark packet trace (which might contain
sensitive information as the communication with 127.0.0.1 is not encrypted).

-- 
You are receiving this mail because:
You are watching all bug changes.


[kipiplugins] [Bug 360404] Imgur autorization not work : Integrate Oauth2 library in libkipiplugins [patch]

2016-07-07 Thread Fabian Vogt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=360404

--- Comment #24 from Fabian Vogt  ---
(In reply to Maik Qualmann from comment #23)
> I use Chromium as default browser. After logging in, there is an error box
> that you are not authorized. But the upload is done. With Firefox, there is
> no error message.
> 
> Maik

I had the same issue once, too, but I was unable to reproduce it again after
some changes.
I don't understand how it happens at all, as the same QNetworkReply apparently
emits both success and failure :-/

-- 
You are receiving this mail because:
You are watching all bug changes.


[kipiplugins] [Bug 360404] Imgur autorization not work : Integrate Oauth2 library in libkipiplugins [patch]

2016-07-07 Thread Maik Qualmann via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=360404

--- Comment #23 from Maik Qualmann  ---
I use Chromium as default browser. After logging in, there is an error box that
you are not authorized. But the upload is done. With Firefox, there is no error
message.

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.


[kipiplugins] [Bug 360404] Imgur autorization not work : Integrate Oauth2 library in libkipiplugins [patch]

2016-07-07 Thread Willy Sudiarto Raharjo via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=360404

Willy Sudiarto Raharjo  changed:

   What|Removed |Added

 CC||will...@gmail.com

--- Comment #22 from Willy Sudiarto Raharjo  ---
Tested Fabian Vogt's patch for imgur and confirmed to work here on Slackware
14.2

suggestion: is it possible to bump all cmake minimum to 3.0.0 so that it's
consistent in all digiKam/kipi-plugins code?

Thanks

-- 
You are receiving this mail because:
You are watching all bug changes.


[kipiplugins] [Bug 360404] Imgur autorization not work : Integrate Oauth2 library in libkipiplugins [patch]

2016-07-06 Thread Fabian Vogt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=360404

--- Comment #21 from Fabian Vogt  ---
Created attachment 99900
  --> https://bugs.kde.org/attachment.cgi?id=99900=edit
Rewrite imgur plugin to work with OAuth2

Rewrite done, tested multiple times and it seems to work fine.
It took a bit longer due to some weirdnesses in the imgur OAuth implementation
that didn't work well with o2.

-- 
You are receiving this mail because:
You are watching all bug changes.


[kipiplugins] [Bug 360404] Imgur autorization not work : Integrate Oauth2 library in libkipiplugins [patch]

2016-07-06 Thread Fabian Vogt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=360404

Fabian Vogt  changed:

   What|Removed |Added

  Attachment #99772|0   |1
is obsolete||

--- Comment #19 from Fabian Vogt  ---
Created attachment 99897
  --> https://bugs.kde.org/attachment.cgi?id=99897=edit
Add o2 library from https://github.com/pipacs/o2

-- 
You are receiving this mail because:
You are watching all bug changes.


[kipiplugins] [Bug 360404] Imgur autorization not work : Integrate Oauth2 library in libkipiplugins [patch]

2016-06-30 Thread Maik Qualmann via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=360404

--- Comment #18 from Maik Qualmann  ---
Fabian,

really great. Thank you!

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.


[kipiplugins] [Bug 360404] Imgur autorization not work : Integrate Oauth2 library in libkipiplugins [patch]

2016-06-30 Thread Fabian Vogt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=360404

--- Comment #17 from Fabian Vogt  ---
> What about to use OAuth2 API in imgur tool ?

I'll port my rewrite of the imgur plugin to make use of that library soon.
I'll have to implement some missing features as well, so it may take a few
days.

-- 
You are receiving this mail because:
You are watching all bug changes.


[kipiplugins] [Bug 360404] Imgur autorization not work : Integrate Oauth2 library in libkipiplugins [patch]

2016-06-30 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=360404

caulier.gil...@gmail.com changed:

   What|Removed |Added

Summary|Imgur autorization not work |Imgur autorization not work
   |: Integrate Oauth2 library  |: Integrate Oauth2 library
   |in libkipiplugins   |in libkipiplugins [patch]

--- Comment #16 from caulier.gil...@gmail.com ---
Hi Fabian,

Perfect, we will integrate it to libkipiplugins just after 5.0.0 final release
planed this week end.

What about to use OAuth2 API in imgur tool ?

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.


[kipiplugins] [Bug 360404] Imgur autorization not work : Integrate Oauth2 library in libkipiplugins

2016-06-30 Thread Fabian Vogt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=360404

--- Comment #15 from Fabian Vogt  ---
Created attachment 99772
  --> https://bugs.kde.org/attachment.cgi?id=99772=edit
Patch to add a oauth2 library to libkipiplugins

This patch adds the code from https://github.com/pipacs/o2 with some changes
(https://github.com/pipacs/o2/pull/57) to fix building. Several workarounds
were needed to integrate it, but it's not too bad.

-- 
You are receiving this mail because:
You are watching all bug changes.


[kipiplugins] [Bug 360404] Imgur autorization not work : Integrate Oauth2 library in libkipiplugins

2016-06-29 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=360404

caulier.gil...@gmail.com changed:

   What|Removed |Added

Summary|Imgur autorization not work |Imgur autorization not work
   ||: Integrate Oauth2 library
   ||in libkipiplugins

-- 
You are receiving this mail because:
You are watching all bug changes.