Archive for the ‘Choqok’ Category

OAuth support in Choqok

So, Here we go…

Last time I was with you, We’ve talked about Twitter, OAuth and QtOAuth.

After it, I was contacted with QtOAuth dev, Dominik Kapusta, And he has accepted a change in lib (api) to add better support for KDE apps :) And that’s great.

So, I’ve done base jobs and codes for OAuth support in Choqok, and It supports it for Identica right now. Of course supports for Twitter too (their code base is share) but for now I’ve changed twitter add account dialog temporarily to something like before (with basic user/pass) and waiting for Twitter new feature for Open Source apps, that they announced on 12 Jun. Oh, and Twitter changed his plan of shutting down basic authentication and postponed it to August, So we have more time :)

So, Now If you want to build latest Choqok svn, you’ll need latest QOAuth from it’s git repository. (Its author will release it officially too)
And if your Choqok version is more than or equal to 0.9.80, It already supports OAuth ;)

***

Other than authentication changes, We have many fixes done by Andrey Esin + a new shortener plugin for goo.gl service.

And we have a DBus interface now, Many thanks to Emanuele Bigiarini for his works. and there is a plugin in Choqok that you can call Choqok from dolphin or konqueror to upload and share a medium from your hard disk, or dent/tweet selected text from konqueror, and more…

And even you can install this Firefox extension if you use it for web browsing, and have These options there too. ( Power of Free Software :D )

P.S: You can still use basic authentication for Identi.ca if you like or other StatusNet web sites, OAuth is available for just Identi.ca.

KDE & OAuth!?

Twitter announced that they’re going to turn off basic authentication mode on Jun 30. And all of clients should use OAuth authentication.

Choqok is using the basic authentication since first release, So We have to change it.

Good news is that Identi.ca supports OAuth authentication too.

I just started this job, several days ago, (but with low speed), and done some changes in account registration dialogs of Choqok, Just tried to use QOAuth library for this. and it works.

But today I found it hard to use, because it doesn’t use KIO library (It’s a Qt lib, I know :D ), So does not respect for KDE Proxy settings And its design defers with what we need to work with KIO, (As I see and know, maybe I’m wrong :-/)

So, Question is:
Is there any KDEish solution for OAuth?
If no:
What is best solution now?
Is there anybody to help me on this? (Specially from KIO world)

——

P.S.1: I really need help on this. :)
P.S.2: Choqok 0.6.6 and current beta won’t work with Twitter after 30 Jun.

ReTweet, Post filtering and more

As first results of our new way to speed up Choqok development, I’m glad to announce you 3 new and useful features:

First of all, Support for Twitter and Identi.ca ReTweet/Repeat API, in both creating retweets and detecting and showing them to user:

P.S: Don’t worry, Google is open again here, That was some kind of test for users reaction maybe :-/ Of course they will be happier if they could block google.

Second useful feature is some kind of friends nick auto-complete in input boxes in main window, look at snapshot:

That’s useful too, But it just know your friends nicks, You can update your friends nicks (If it’s outdated) by “Actions->Update Friends List” menu item in your account:

And maybe the most useful feature is Post filtering, That implemented as a plugin now. But maybe I change it to be part of our TwitterApi implementation library, to add extra features to it. This plugin is not enabled by default, So you have to enable it before trying to access it’s “Configure Filters” dialog from “Tools” menu.

It will remove any post that matches your defined rules, from your timeline.

Just note that you’re regular expression is passes as is to Qt. If you’re not familiar with Qt regular expressions look at this.

Another change in Choqok is at “Now Listening” plugin, a friend of mine (@saar) made some changes on it and added support for more players such as Juk, Rhythmbox, Exaile, Banshee and MPRIS API supported players such as Audacious, Dragon and Qmmp. It will detect which player you’re using and fetch information from it.

And another on the way feature, is support for FriendFeed; It is requested by some users, and we already collected some donation for it.

And support for Twitter lists may be the next feature.

What about Choqok next release?

My plan is to prepare a release candidate for version 1.0 for last week of June (24 actually) and after it, will fix known bugs, to release the stable 1.0 in July.

So, we will have 2 releases in June and July, If everything goes well. :)

A new plugin system for Choqok

During last week I was working on a new plugin system for Choqok, It’s idea was in my mind for about 2 months, But now, It’s ready to use, and develop plugins for it.

Choqok supports image uploading to Twitpic since early versions, and supports Media attachment in Identica/Statusnet service since latest Beta release.

But, There are so many image/video uploading services out there! what if we want to support them too!?

Here is the answer: A plugin system to support more services as easy as writing one or two functions :)

There’s just one function to override:

void upload( const KUrl &localUrl, const QByteArray &medium, const QByteArray &mediumType)

Choqok will load medium, detects it’s mime type and provide it to plugin as a ByteArray!
So, plugin just have to upload file with the service API, and then emit the mediumUploaded() signal :)

Now we have a global Medium uploading dialog right in Tools menu:

I have ported the Twitpic plugin to this new system, And wrote a plugin for YFrog service.

It still needs some improvements to be what i want ;)

Let’s extend Choqok together

As a result of my previous post about speeding up Choqok development by community help, I have launched a BBPress forum to do the job.

Why forum?

We need a platform to discuss about features and Ideas and their implementation as needed, And of course, It should be in a way that others (than me) can create entries.
Extendable platform may help us later.
It should be super light.

How do it works?

  1. Someone starts a new topic in New Idea forum with information about what’s in his/her mind to be implemented in Choqok.
  2. He/She announces it anywhere thinks that interested peoples can find it (i.e. Identi.ca) to get here and help us in development.
  3. Then We (Interested users and me) will discuss about it and it’s implementation and will set the donation amount it requires to be implemented.
  4. Now we have to collect donation for it: Anyone who wants to have that feature sooner (and likes to help to its development) can donate to it. He/She should note in donation comment about what feature/idea he/she donates to!
  5. When donation is about to reach the requirement, I will start to implement the idea, and it’s topic in forum will move to Under Development forum. still we can discuss about it there!
  6. And when them implementation is done! I’ll announce it there and move topic to Implemented forum.

I have added some ideas there for example and to start this job,

You can add your ideas you want to donate to their implementation Or think that there are users who like to donate to their implementation.

When you add an idea or see an interested idea there, You can(better to) spread the word and tell other users about it, to donate for it and have it sooner.

There are 4 different forums there:

  • New Idea – Add your ideas here, We will discuss about them and I announce the donation amount to implement them!
    This is the main forum to discuss, Anyone can create a new topic(idea) to start.
  • Under Development
    When new idea donated amount reached the required, I will move it to this forum, It’s still open to discuss
    But nobody can create a new topic here!
  • Implemented – Ideas will come here after they’ve implemented!
    When implementation of an idea is done and pushed to svn/git repository, It’s topic will move here from Under Development forum.
    This forum is read only too!
  • Free Discussion – If you want to discuss about other Choqok related topics, come here
    This forum is just open to contain other Choqok related discussions!

Of course this is not the only way to continue Choqok development! We will have previous developments as well! But we want to make the process faster.

OK, Let’s Begin…

=-=-=-=-=
Powered by Blogilo