Changes

Jump to navigation Jump to search
22,024 bytes added ,  16:24, 25 March 2008
The [http://www.xmpp.org/ XMPP Standards Foundation] has once again been accepted to participate in the [http://code.google.com/soc/2008/ Google Summer of Code] for 2008. We're using this page, the [http://mail.jabber.org/mailman/listinfo/jdev JDEV discussion list], and the [xmpp:jdev@conference.jabber.org?join jdev chatroom] to talk about potential Summer of Code ideas. Also free free to chat with developers working on particular codebases.

= Introduction =

XMPP is the Extensible Messaging and Presence Protocol, an XML wire protocol for real-time communication that emerged from the [http://www.jabber.org/ Jabber] open-source community. Our community is not a traditional open-source project because it is not focused on a single codebase. Instead, our community is centered around open standards and open protocols. However, even though there are closed-source implementations of XMPP, we still have a strong commitment to open code and there are many free and open-source projects in our community.

We have participated in the Summer of Code since its inception and have learned many lessons, among them:

* We try to choose half a dozen excellent projects and really focus on them.
* It is difficult to choose excellent projects, so the more helpful information you can provide, the better.
* We also try to choose excellent mentors and match students with mentors.
* We expect regular reporting (via blog) and weekly or bi-weekly meetings.
* We take the Summer of Code very seriously and we expect our students to treat it like a full-time job.

This page lists some potential project ideas that students can work on. This is similar to a "Request for Proposal" process for your summer job. The mentors and other project members have defined these RFPs as a way to help structure the summer work. Many of these projects are are relevant to our overall community [http://www.xmpp.org/xsf/roadmap.shtml roadmap]. A select team of longtime XMPP developers and former mentors will review all the student proposals and "interview" many of the students so that we can make the best possible choices.

If you have any questions about the XSF's involvement with the Google Summer of Code, please contact [https://stpeter.im/?page_id=1968 Peter Saint-Andre] via email or (preferably) IM.

Thanks for your interest, and good luck!


= Clients =
== Coccinella ==
=== Jingle video using iaxclient ===

* Proposed Mentor: [http://coccinella.im/matben Mats Bengtsson]
* Programming language: C (knowledge of Tcl/Tk is a plus but '''not''' required!)

==== Project description ====

The goal is to integrate and implement the video part from the [http://iaxclient.sf.net/ iaxclient] project with [http://coccinella.im/ Coccinella].

This project involves two distinct tasks:

# Write a Tcl/Tk widget integrating video from the iaxclient package. There already is a Tcl package available in Coccinella for iaxclient audio that can be reused.
# Include this video widget into Coccinella. A Tcl package supporting the Jingle protocol exists and is being used by the audio package.

Iaxclient as a cross-platform C library for unix-like systems, Windows, and Mac OS X. It is fairly high level and takes care of codecs, some negotiating, network, and grabbing. The work involves mainly C coding and some Tcl coding. Only C coding knowledge is required to participate. There already exist video widgets for Tk which can be used as templates (QuickTime and DirectShow). The student may pick any of the supported platforms for the work since all components are cross-platform.

=== Jingle file transfer ===

* Proposed Mentor: [http://coccinella.im/matben Mats Bengtsson]
* Programming language: C/C++ and/or Tcl

==== Project motivation ====

Transporting files from one user to another is plagued by NATs and firewalls. In ancient times a standard Tcp connection was all that was needed. Instead various application level protocols have been implemented on top of Udp which handles NATs much better. This "reinventing the wheel" by having to reimplement a kind of pseudo Tcp stack on top of Udp is a very unfortunate situation which lacks standardization.

==== Implementation ====

This projects aims to use Google gTalks Jingle implementation as a starting point. Ufortunately it is written in C++ and deeply tied into the application notifier system and therefore not reusable as is. Instead the task will be to use the Tcl Udp C code implementation, and essentially use gTalks PseudoTcp class as a wrapper. There are two possible options here: either do a pure Tcl script implementation of the tricks used in PseudoTcp, which I'm not sure is possible, or just translate the C++ class into C code and wrap up the tcludp package to a pseudo tcp (ptcp) command. This should work just like the standard Tcl socket command and should be able to use it transparently.

Jingle contains several parts but the actual jingle xmpp protocol stack is already running and used for voip. A limited STUN client has also been implemented in pure Tcl, but some support for the ICE protocol will likely be necessary.

==== Relevant XEP ====

*[http://www.xmpp.org/extensions/xep-0234.html Jingle File Transfer]

=== Aquarium for kids ===

* Proposed Mentor: [http://coccinella.im/matben Mats Bengtsson]
* Programming language: Tcl/Tk

==== Project description ====

This project involves the creation of an interface for kids to Coccinella. You need to create a new roster style, the fishy roster style, with an aquarium containing fishes that represents the contacts (like [http://ralphm.net/ ralphm's Jabber Aquarium]). The fishes need to be be animated with [http://www.jabber.org/jeps/jep-0107.html User Mood]. For example, when a contact is happy, the fish will swim quickly in the aquarium with a smile on his face. The graphics will be done in 2D, but when time allows, they can be made in 3D.

The programming tools will be Tcl/Tk and the tkpath graphics extension package [http://tclbitprint.sf.net/] which provides high quality graphics on all platforms. There exists an albeit primitive SVG importer so the actual graphics elements can be obtained from a SVG drawing tool.

This project will involve mostly new code, and few boring code rewriting.


== Psi ==

=== Message history ===
* Proposed Mentor: [http://kismith.co.uk Kevin Smith]
* Programming language: C++ / Qt toolkit
Psi's current history system is not very usable - this project would involve a student replacing it with a more usable UI, implementing history for groupchat, and using server-side history. Since Psi is a widely-used client, this project would be of particular benefit to a large number of the Jabber/XMPP community.

=== Themable WebKit-based Chat Dialogs ===
* Proposed Mentor: [http://el-tramo.be Remko]
* Programming language: C++ / Qt toolkit
It's a widely accepted fact that [http://www.adiumx.com/ Adium] is one of the best looking IM clients out there. Besides the fact that nearly all native Mac OS X apps look good, Adium draws a lot of it looks from its themable [http://www.adiumx.com/screenshots/images/overvieworange.jpg chat dialogs]. These dialogs use [http://webkit.org/ WebKit] to draw their contents. WebKit is an open source web engine, used by Apple in Safari, and even throughout the whole Mac OS X operating system. The good news is that, in the next Qt release, there will be a built-in integration with WebKit, which is good news for Psi.

In this project, the student will create a themable, WebKit-based chat dialog. Additionally, the chat dialog should be themable with the distributed Adium themes, in order to be able to enjoy a wide set of themes out of the box. Another property of this chat dialog is that it would be decoupled from Psi itself, which would ease initial development, testing, and allow easy porting to other Qt-based IM clients.


== Gajim ==

=== Plugin system ===
* Proposed Mentor: Yann Leboulanger
* Programming language: Python / GTK+
The goal would be to refactor the way events are handled in Gajim, in order to implement a plugin system. There need to be some GUI hooks, and data flow hooks. The objective is to setup the system and to add some hooks as a proof of concept. Some more hooks will be added later. Second objective is to write one or two plugins as examples.

=== BOSH authentification ===
* Proposed Mentor: Yann Leboulanger
* Programming language: Python
Title tells all. Bosh is an authentification methode based on HTTP. It's described in [http://www.xmpp.org/extensions/xep-0124.html XEP-0124]. It has to be implemented in our fork of xmpppy library.

== New Clients ==

=== Modern Web-based Jabber/XMPP Client ===
* Proposed Mentor: [http://el-tramo.be Remko]
Despite all the AJAX/Web 2.0/... hypes, and despite the plethora of closed web-based IM clients (Meebo, Google Talk Gadget, GMail/Talk, ...), there still exists no open, free, and attractive web-based Jabber IM client. In this project, the student will try to fill this void, or at least build a solid foundation towards the ultimate web-based IM client.

In order to achieve the goal, the student should try to re-use as much of the existing libraries and frameworks, in order to be able to focus on the goal of the project. For the server-side backend, there is a good choice of frameworks in many different languages, including Ruby and Python. For the frontend, existing frameworks exist to build good looking javascript based user interfaces without much trouble (e.g. [http://extjs.com/ ExtJS]).
The student will have to investigate which frameworks suit the project (and the student) best, implement the missing parts on the server-side if necessary (e.g, [http://www.xmpp.org/extensions/xep-0206.html BOSH]), and build a user interface using the building blocks provided by the web UI libraries.

= Servers =
== ejabberd ==
We will develop more exciting things on ejabberd this year again.

===Contacts===
Mentor: Mickaël Rémond (email: mremond@process-one.net / jid: mremond@process-one.net).

== Openfire ==
Here are some nice features that would be nice to have in Openfire. We are still working on the list which should be ready for early next week (March 25th). If you have other ideas not listed here feel free to send us an email to discuss it or post it [http://www.igniterealtime.org/community/community/developers/gsoc08?view=discussions here].

* File Repository and Sharing (including WebDAV)
* File transfers for gateways
* Group Chat for Gateways
* Update and improve BOSH support

For more details, visit the [http://www.igniterealtime.org/community/docs/DOC-1490 Summer of Code 2008 Projects].

===Contacts===
Mentor: Gaston Dombiak (email: gaston@jivesoftware.com / jid: gato@jivesoftware.com).

== PJS ==
The PJS project aims to create a reliable, correct and highly scalable XMPP server framework in Python, not unlike what ejabberd is to Erlang. It was started as an undergrad project at the University of Toronto in February 2008. By the start of GSOC, the server should have the following components:

* basic connection handling
* internal message routing (with chained handlers)
* a way to run blocking handlers in threads
* presence, subscriptions, roster get/set, message
* sqlite backend for user, roster and offline messages storage

The server will not be production quality by the end of the semester, though it will have substantial progress toward this goal. Some of the things that may need to be written:

* S2S handling (already has parts of it)
* Privacy lists (may have parts of it by May)
* Clustering. This could use something like pylinda or PyRO to distribute jobs among machines.
* Pick any XEP you'd like to implement. Dialback (XEP-0220) may be already implemented by May.

Because the project is a part of a course, its code cannot be released until the course is over (around May 1, 2008). The project will be licensed under the PFL (same license as that for Python).

The architecture is as follows:
* asynchronous event handling using asyncore (low per-connection memory overhead)
* chained handlers in pairs (handler + error handler), where each can be run either in-process or in a threadpool.
* everything is a plugin (which is just a handler class)
* everything can be redefined at run-time (little protection, but lots of power)

===Contacts===
Mentor: David Janes (email: davidjanes@blogmatrix.com / jid: davidjanes@gmail.com) . Current developer: Dmitri Vassilenko (email: tro@glyphy.com / jid: troworld@gmail.com)

Also see [http://wiki.python.org/moin/SummerOfCode Python's SOC page] (under Dr.Project)

= Components =
== New ==
=== IRC-to-MUC bridge ===
==== Project Description ====
This idea is about writing a XMPP Component which acts as a bridge between a IRC network and open and federated XMPP servers. For an IRC network it looks like another server in the network which is connected via one of the custom IRC server-to-server protocols. The component should be written extensible so it's easy to make it work with the different servers like Hyperion or UnrealIRCD. For the XMPP world the component is connected to a XMPP server und some domain like myirc.example.com. When a user from XMPP world joins the Multi User Chat hello@myirc.example.com, the component will map this as a login to #hello on some IRC network.
Since most IRC servers are written in C or C++ it seems to be best that this component is written in C or C++ as well.

Libraries you can use are found under http://jabber.org/

=== XMPP Transport/Gateway ===
==== Project Description ====
Write a XMPP transport/gateway which enables to use other jabber accounts through only one. It should cover things like transporting presence, messages, roster groups, PEP events and if there is time left even more. Transports like that will make migration XMPP accounts easier.


=== Sync mode for clients ===
==== Project Description ====
Write a protocol extension to create a "sync mode" for clients. The idea is to broadcast all a user's incoming and outgoing messages to all of the user's connected resources, so that the user can move between clients on different devices with no interruption. It should also have the option of preserving a client's window state, so that opening or closing a window on one client causes the window to be open or closed on all connected clients.

Idea submitted by [[User:andrewy|andrewy]], who has done a more in-depth writeup [http://www.andrewyates.net/misc/xmppsync.html here].

=== JMS-to-XMPP bridge ===
==== Project Description ====
Java Message Service (JMS) provides enterprise messaging features that are similar to both [http://www.xmpp.org/extensions/xep-0060.html XMPP pubsub] and standard XMPP messaging with http://www.xmpp.org/extensions/xep-0184.html receipts]. This project would involve writing a bridge between JMS and XMPP so that messages could be shared across systems. This bridge might take the form of a server-side component or a common API. For more details, see [http://mail.jabber.org/pipermail/jdev/2008-March/026380.html here] and [http://mail.jabber.org/pipermail/jdev/2008-March/026386.html]. Possible mentor: Fabio Forno.

= Libraries =
== gloox ==
=== Serverless Messaging aka Local-Link ===
==== Project description ====
Write up a platform independent implementation of XEP-0174 for gloox. Platforms supported should be *NIX (including Mac OS X), linux and windows.

http://www.xmpp.org/extensions/xep-0174.html

= Other =

== ISS (Instant Syndicating Standards) ==

=== Project description ===
Further develop [http://iss.im/ ISS (Instant Syndicating Standards)], built on top of [http://www.xmpp.org/extensions/xep-0163.html PEP (Personal Eventing via PubSub)].
Please see website or contact [http://wiki.jabber.org/index.php/User:NickVidal Nick Vidal] for more details.


== PubSub Wordpress and Drupal plugins ==
=== Project description ===
This is an idea to develop a PubSub plugin for WordPress and Drupal with [http://tools.ietf.org/html/draft-saintandre-atompub-notify Atom notifications]
The goal is to ease the publication with PubSub and to create an XMPP PubSub ecosystem.

Blogs could support an autodiscovery element like :

<pre>
<link rel='alternate' type='xxxx' href='xmpp:romeo@jabber.org?;node=blog'/>
</pre>

(The "type" is yet to be determined...)

Each new post could generate a new leaf node which would contain the post per se and the comments. In this manner, users could subscribe to the thread of their choice directly from the blog by clicking on an RSS-like button.

Or there would be one node (not a separate node for each blog post!), as described at http://mail.jabber.org/pipermail/jdev/2008-March/026352.html

There already exists the [http://idavoll.ik.nu/ Idavoll] [http://idavoll.ik.nu/wiki/HTTP_Interface HTTP-XMPP PubSub gateway] and [http://idlecrew.de:2380/svn/public/ping_pubsub_plugin/ Class.Jabber.PHP with ATOM over XMPP Pubsub]. There is also the [http://diso.googlecode.com/svn/wordpress/wp-xmpp/ DiSo XMPP WordPress plugin] in development.

== XEP-0070 for the Drupal Jabber authentication module ==
=== Project description ===
Drupal implements a [http://drupal.org/node/312 Distributed Authentication System] which allows to use Jabber credentials to log onto every Drupal sites (e.g. [http://www.ejabberd.im/user/help#jabber the Ejabberd site]). But it requires to pass the password to third-party sites often without encryption.

Inspired from [http://openid.xmpp.za.net/ The South African XMPP Federation OpenID Server], the Drupal Jabber authentication module could support [http://www.xmpp.org/extensions/xep-0070.html XEP-0070: Verifying HTTP Requests via XMPP] so that users could authenticate to Drupal sites with their JID in a secured manner thanks to a confirmation ticket.


== SSH authentication validation with XEP-0070 ==
=== Project description ===
The idea is to implement an additional security layer for SSH authentication with [http://www.xmpp.org/extensions/xep-0070.html XEP-0070: Verifying HTTP Requests via XMPP].

When authenticating to the SSH server by password or by key, the user would receive an XMPP confirmation message which would need to be validated to achieve authentication. In this manner, even if the SSH password or the key were compromised they still could not be used.

It has the drawback of requiring to have an XMPP server always running and may not be suitable for some cases.


== XMPP Webmin interface ==
=== Project description ===
This is an idea to implement an XMPP interface for
[http://www.webmin.com/ Webmin], a web-based interface for system administration for Unix. Inspired by the example of [http://www.xmpp.org/extensions/xep-0050.html XEP-0050: Ad-Hoc Commands], this software would allow system administrators to remotely manage and configure their server through data-forms.

It would also allow to select events to be notified of (via messages or PubSub), and processes to monitor (via presence or PubSub), perhaps in conjunction with SNMP.

This would require a high-level of security, especially end-to-end encryption.

Additionally, it could allow to use Jabber chat windows as shell consoles.

== Flyspray Bot ==
=== Project description ===
It would be really nice to have a bot for the Flyspray bug tracking system which allows to add, delete and edit bugs via ad-hoc commands and chat messages. Additionally it could send out the XMPP notifications which is currently done by a php script.

=== Links ===
[http://flyspray.org Flyspray]
[http://www.xmpp.org/extensions/xep-0050.html Ad-Hoc Commands]


== Client-Independent Serverless IM component ==
* Proposed Mentor: [http://el-tramo.be Remko]

Currently, only some clients (iChat, Gajim) support server-less chatting, a feature which is very interesting to be able to discover and communicate with people on a local network, without the need to be connected to the internet. The reason behind the slow adoption of this protocol is probably that it breaks with the very fundamental way Jabber is designed (client-server architecture), and as such is a significant amount of work for an existing client to adapt its codebase. The aim of this project is to bring server-less messaging to every XMPP client, by implementing it outside of the client.

The goal of this project is to implement a lightweight Jabber daemon that acts as a regular jabber server on the client side, but uses [http://www.jabber.org/xeps/xep-0174.html Link Local Messaging] on the server side. By connecting your favorite client to this daemon running on your own machine, you enable server-less messaging for this client. The project should be written in a cross-platform way to reach a large population of clients. Language can be chosen, as long as there is a decent library available to do zeroconf networking, and preferably a (core) xmpp library as well (examples include Python and C++).

Some information about link-local chatting (biased towards Psi) can be found [http://psi-im.org/wiki/Bonjour here].

== Client-Independent D-Bus Service for Jingle Audio ==

Many Jabber clients will want to implement the Jingle Audio protocol (and eventually other Jingle protocols as well), but may lack the technical possibility to keep an internal implementation. (or just the will to reinvent the wheel ☺) [http://emacs-jabber.cvs.sourceforge.net/emacs-jabber/tox/ Tox] (Talk Over XMPP) is a D-Bus service meant to provide Jingle functionality to a Jabber client able to communicate over D-Bus. It uses the Farsight library.

The goals of this project are:

* Beat Tox into good enough shape to perform audio conversations
* Make at least one Jabber client implement the Jingle protocol through Tox (possibly jabber.el, which is the current development platform)
* (optional) In said client(s), support the protocol used by the Google Talk client for audio conversations
* (optional) Jingle Video
* (optional) Jingle File Transfer

This project needs a mentor, as [[User:Legoscia]] will be offline during great parts of the summer.
5

edits

Navigation menu