[Kde-imaging] KIPI imgur plugin

Fabian Vogt fabian at ritter-vogt.de
Mon Jun 20 13:55:02 UTC 2016


I didn't do that for various reasons:

- Simplicity: A lot of additional files for just one plugin.
    Now that more plugins are going to be adapted that's less the case.
- Maintainability: It does not come as a system-wide library and incorporating
    other project's source codes is always a PITA
- Licensing: I'm not an expert, I don't even recognize what it is licensed under.

If libkipiplugins would now integrate it, I'd change the imgur plugin to use it,
of course.

Am Montag, 20. Juni 2016, 15:41:00 CEST schrieb Gilles Caulier:
> And why not to use OAuth2 library as well. It's well maintained and already
> support flickr, google, facebook, etc... The advantage is to not rewrite
> existing code, factoring and delegate the Oauth handling to the library
> 
> Gilles Caulier
> 
> 2016-06-20 15:36 GMT+02:00 Fabian Vogt <fabian at ritter-vogt.de>:
> 
> > A: I wrote a small implementation of OAuth 2 from scratch:
> >
> > https://github.com/Vogtinator/kipi-plugins/blob/imgurrewrite/imgur/koauth2.cpp
> > Compared to OAuth 1, OAuth 2 is really simple to handle.
> >
> > Am Montag, 20. Juni 2016, 15:26:26 CEST schrieb Gilles Caulier:
> > > Q : do you use OAuth2 library API in your code :
> > >
> > > http://oauth.net/2/
> > >
> > > Gilles Caulier
> > >
> > > 2016-06-19 22:58 GMT+02:00 Gilles Caulier <caulier.gilles at gmail.com>:
> > >
> > > > Look in kipi-plugins/common/libkipiplugins/ we have shared
> > impementation
> > > > used by all kipi tools.
> > > >
> > > > Gilles Caulier
> > > >
> > > > 2016-06-19 22:35 GMT+02:00 Fabian Vogt <fabian at ritter-vogt.de>:
> > > >
> > > >> Am Sonntag, 19. Juni 2016, 21:58:57 CEST schrieben Sie:
> > > >> > Thanks Fabian. We will take a look.
> > > >> >
> > > >> > It's a little bit short to include this code in next 5.0.0 as it
> > will be
> > > >> > released in 2 weeks, but with next 5.1.0 certainly.
> > > >>
> > > >> Yeah, the code needs some more work anyway.
> > > >>
> > > >> > What do you think about to generalize OAuth library use in others
> > kipi
> > > >> > tools (facebook, google, flickr, etc...) ?
> > > >>
> > > >> It's a good idea to share the code, but I'm not quite sure where it
> > > >> should be put. Neither the plugins nor kipi itself are quite the right
> > > >> place.
> > > >>
> > > >> >
> > > >> > Gilles Caulier
> > > >> >
> > > >> > 2016-06-19 21:12 GMT+02:00 Fabian Vogt <fabian at ritter-vogt.de>:
> > > >> >
> > > >> > > Hi,
> > > >> > >
> > > >> > > I did. I'm now waiting for a response from Maik.
> > > >> > >
> > > >> > > I pushed the code I've currently got on GitHub,
> > > >> > > if someone wants to have a look:
> > > >> > > https://github.com/Vogtinator/kipi-plugins/tree/imgurrewrite
> > > >> > >
> > > >> > > Cheers,
> > > >> > > Fabian
> > > >> > >
> > > >> > > Am Sonntag, 19. Juni 2016, 20:06:49 CEST schrieb Gilles Caulier:
> > > >> > > > Fabian,
> > > >> > > >
> > > >> > > > Did you seen me previous message ?
> > > >> > > >
> > > >> > > > Gilles Caulier
> > > >> > > >
> > > >> > > > 2016-06-11 13:49 GMT+02:00 Gilles Caulier <
> > caulier.gilles at gmail.com
> > > >> >:
> > > >> > > >
> > > >> > > > > Hi,
> > > >> > > > >
> > > >> > > > > Maik Qualmann <metzpinguin at gmail.com> work on this task
> > > >> currently.
> > > >> > > You is
> > > >> > > > > wecome to help him of course.
> > > >> > > > >
> > > >> > > > > We have talking about to use OAuth2 as well everywhere in
> > > >> kipi-plugins,
> > > >> > > > > not only for ImgUr tool. Flickr, Facebook, Google, etc, need a
> > > >> > > simplified
> > > >> > > > > way to authentificate user on web service. OAuth2 is the best
> > way
> > > >> to
> > > >> > > go.
> > > >> > > > >
> > > >> > > > > The goal also of Maik work is to drop KIO slaves every where
> > in
> > > >> > > > > kipi-plugins and to use native Qt5 API instead. KIO is just a
> > pain
> > > >> > > under
> > > >> > > > > non Linux OS and we don't have any free time to investiguate
> > > >> about.
> > > >> > > > > digiKam+kipi-plugins must work as well under OSX and Windows.
> > > >> > > > >
> > > >> > > > > I you is interested to help Maik, you is welcome. I CC him to
> > this
> > > >> > > mail...
> > > >> > > > >
> > > >> > > > > Best
> > > >> > > > >
> > > >> > > > > Gilles Caulier
> > > >> > > > >
> > > >> > > > > 2016-06-10 13:54 GMT+02:00 Fabian Vogt <fabian at ritter-vogt.de
> > >:
> > > >> > > > >
> > > >> > > > >> Hi,
> > > >> > > > >>
> > > >> > > > >> I started an attempt to fix the imgur plugin for both
> > anonymous
> > > >> and
> > > >> > > > >> authorized uploads
> > > >> > > > >> a few days ago, but today I noticed that the plugin got
> > support
> > > >> for
> > > >> > > API3
> > > >> > > > >> recently.
> > > >> > > > >>
> > > >> > > > >> My fix is basically a complete rewrite (just kept small
> > parts),
> > > >> not
> > > >> > > > >> anywhere near complete,
> > > >> > > > >> so I wonder whether I should continue working on it.
> > > >> > > > >> Would a complete rewrite with full support for OAuth2 be
> > welcome?
> > > >> > > > >>
> > > >> > > > >> BTW: I haven't found a guide for KIPI contributions, does it
> > work
> > > >> > > mostly
> > > >> > > > >> over
> > > >> > > > >> this ML, the reviewboard or phabricator?
> > > >> > > > >>
> > > >> > > > >> Cheers,
> > > >> > > > >> Fabian
> >
> > _______________________________________________
> > Kde-imaging mailing list
> > Kde-imaging at kde.org
> > https://mail.kde.org/mailman/listinfo/kde-imaging
> >
> 




More information about the Kde-imaging mailing list