Summer of Code 2010 Project Ideas
Here are some project ideas for the XSF's involvement in GSoC 2010. Visit our Summer of Code 2010 page for information about applying.
High-Level Priorities
The high-level priorities for the XMPP community are listed here with summaries (see also the XSF Roadmap). You may work to implement them in any of the clients, servers or libraries lacking support (see the project-specific lists below).
Choose which project you would like to work with, based on the language their codebase is written in, and how well you fit with their community. Discuss your proposal with them directly to see if it is a good idea.
Jingle File Transfer
We are working to migrate from the old file transfer method XEP-0096 to a more robust method based on Jingle. The new Jingle-based method has been implemented in Pidgin but not yet in other clients. We'd love to see more implementations and get more deployment experience with this method so that we can correct and advance the relevant specs, which are:
- XEP-0234: Jingle File Transfer
- XEP-0047: In-Band Bytestreams
- XEP-0065: SOCKS5 Bytestreams
- XEP-0260: Jingle SOCKS5 Bytestreams Transport Method
- XEP-0261: Jingle In-Band Bytestreams Transport Method
Pidgin already has Jingle File Transfer, but it still needs implementing in other clients and libraries, see below.
Reliability Improvements
The XSF has defined two specifications that make XMPP communication more reliable: Stream Management and Message Receipts. We won't know if these technologies solve the problem until we have more implementation and deployment experience, so we need to get busy coding.
Servers, clients and libraries need this support (see below).
I (MattJ) have some server-side code for XEP-0198 (Stream Management) in Prosody, and am willing (and very interested) to work with someone adding support to a(ny) client so we can get a pair of interoperable implementations going this summer.
Mobile Optimizations
As with reliable communication, the XSF is actively working on optimizations for mobile environments. The two most relevant specifications are Roster Versioning and SIFT. Here again we're looking for more implementation and deployment experience.
Stronger Security
Information security is a never-ending, multi-faceted challenge. Some relevant technologies in the XMPP community are:
In addition, we have several competing proposals for end-to-end encryption but they are fairly experimental.
General projects
XMPP for the social web
Proposer: Kevin Smith
Difficulty: Variable (scope can be agreed during applications)
Student requirements: Competent development skills, self-drive, ideas.
There are many many websites that involve a social component. This is typically some sort of list of friends, a way to exchange messages, a way to expose information about yourself, and general information feeds. These are all functions that XMPP natively supports very well (the XMPP Roster, Message stanzas, PEP, PubSub etc.). XMPP also has a feature that most of these sites do not - it federates, so you can talk to and friend people on any server. Wouldn't it be great if you could take your friends list with you between sites? So the friends you chat with in your chat client are the same friends you share photos with on a photo stream site, share your thoughts with on microblogging platforms, play games with etc. Wouldn't it be great if when you signed up to a new social-flavoured site, it could pull that in for you? This project is an open-ended attempt to set up a framework that allows social websites to get 'for free' all the flavour of a user's contact list, and the sharing available there, and a simple demo site that uses these features, where XMPP is the back-end and the data-store, and all sites can federate.
XMPP and the social web: federated location
Proposer: Simon Tennant (BuddyCloud)
The goal of this project it so build a reference implementation and, we believe, shape the future of federated location sharing.
Currently there exists no good solution to share your location between social networks or to search for nearby users on other social networks. XMPP has solved the federation problem very nicely. Your challenge would be to solve the location part in a way that makes rolling out world wide across many social networks easy and realistic.
This project's aim is to use the XMPP building blocks and produce a reference implementation of federated location sharing along the lines of the OSLO protocol ( http://code.google.com/p/oslo-protocol/). This work could also dovetail nicely into the "xmpp for the social web" project.
You would be supported by the buddycloud team to produce a working solution that anyone could use to ramp-up federated location sharing between users and federated "who's nearby me" queries. The solution would then be deployed and tested between member networks like Rummble, aka-aki, Skout, mobiluck etc who are very keen to setup working federation and are looking for a reference implementation.
The deliverables for this project would be a working implementation and code snippets and deployment recipes to build the future of location sharing. You would be helped to understand some of the challenges of working with location, building scalable xmpp-based services and turning this into a working deployment.
Specific Client Projects
Gajim
Gajim is a full-featured and easy to use Jabber client. It is written in Python, uses GTK and integrates well with the GNOME desktop environment (but does not depend on it). You can visit Gajim's wiki.
Jingle File Transfer XEP-0234
Gajim already has socks5 bytestream working, and a work in progress IBB patch. Gajim also has jingle negotiation implemantation for audio / video sessions. So making jingle file transfer work shouldn't be too hard. A harder part is to write the ICE-UDP transport layer, or use XMLL-TLS to encrypt transfers.
Stream Management XEP-0198
This extensions has to be implemented at the lowest layer of Gajim: xmpp parser. It requires a carefull implementation to not break things, but should not be a hard project.
CAPTCHA Forms XEP-0158
There are 2 places where captchas can be presented to users: when registering an account, or when joining a groupchat. Here we need to be able to download a picture / sound / video and present it to user so he can reply to the captcha. Gajim has the required code to doewnload files asynchronously. Showing a picture or playing a sound is also possible. What needs to be done is to present them to users when they arrive (using an external tool when it's a video) and show a field to answer. This sounds quite simple to implement.
Psi
Psi is a powerful cross-platform Jabber client. It is written in C++ with Qt. You can visit Psi's homepage.
Stream Management XEP-0198
Support acknowledging messages and restoring sessions from broken connections, so that Psi can be relied on in even the worst of networking conditions. This development would happen in Psi's underlying XMPP library, Iris.
Jingle RTP Encryption XEP-0167: Negotiation of SRTP
Currently, voice calls in Psi are not encrypted. Ideally, SRTP would be implemented in Psi's avcall module, though that may depend on how tight of a relationship SRTP needs with the RTP session. If a tight relationship is required, then SRTP may need to be implemented in a lower level module like PsiMedia or GStreamer instead.
MUC Overhaul XEP-0045
Psi has decent MUC support but the user interface is lacking in some ways. Better browsing of MUCs, seamless converting of one-to-one chats to MUCs, ability to hide open MUCs or minimize them to the roster, and reconciliation of the join window, MUC bookmarks, and recently joined history, are all things that would be great to see.
Psi already has a fairly complete implementation of whiteboarding using the experimental SXE spec. In fact it was worked on as a previous GSoC project. However, it is not fully finished and contains some bugs. Given the age of the existing code and specs, a student choosing this project should approach it with a fresh perspective, evaluate the existing proposed XEPs and consider pushing them through XSF standardization, and then correct/refactor/rewrite Psi's existing whiteboarding code as appropriate.
Message Archiving XEP-0136
Storing message history centrally on the user's server is a longtime requested feature of Psi and XMPP in general. Also, Psi's user interface for message history is quite dated and should be given a facelift. This was also attempted in a previous GSoC project, although none of the code was merged into Psi.
Specific Server Projects
Prosody
Prosody is a lightweight XMPP server written in Lua. It is designed to be modular and easily extensible via Lua plugins. Members of the Prosody development team would consider mentoring students on any of the following projects:
Server Side Message Archiving
Difficulty: Medium Support for server-side message archiving, as described in XEP-0136. This would allow the server to be a central repository for all the user's conversation logs.
The Gajim client project has an implementation of this XEP, and you should work with them to ensure interoperability between Gajim and Prosody.
IPv6 support
Difficulty: Easy for someone with knowledge of C and networking IPv6 is support in protocols and networks is becoming increasingly important as the IPv4 address space diminishes. We need to encourage the use of IPv6 on the XMPP network, but Prosody and the Lua socket library it uses (LuaSocket) don't support IPv6. The project would involve both C (LuaSocket) and Lua coding (Prosody's DNS and connection-handling code) to allow for easy use of IPv6 connections for both c2s and s2s.
Web interface
Difficulty: Easy A dynamic web interface for managing the server. This would ideally use BOSH, Strophe.js and XEP-0133 to make it a server-independent project. The primary language would be Javascript, with a possibility of some Lua.
Pubsub support
Difficulty: Medium A mod_pubsub for Prosody, implementing XEP-0060. In the spirit of Prosody it should be simple, modular and extensible.
Spam/abuse prevention
Difficulty: Easy-Medium Although spam and abuse isn't prevalent on XMPP as it is on most other networks, it's on the rise. Implement a range of features to help stop this trend, and help service administrators keep on top of abuse on the network.
Links:
The ultimate server migration tool
Difficulty: Medium The Prosody team have developed many tools for converting the different server storage formats around. Unify them and produce a tool capable of reading the data from one server and exporting another supported format (e.g. XEP-0227), making server migration painless, no matter where you are moving from or to.
jabberd2
jabberd2.x project is the next generation of the jabberd project. It has been rewritten from the ground up to be scalable, architecturally sound and to support the latest protocol extensions coming out of the XSF. jabberd2 is written in C.
Ideas
Openfire
Openfire is the award-winning, open alternative to proprietary instant messaging based on the Java programming language. It is modular and extensible via its plugin architecture.
Ideas
- [1]: Multi-domain support
- [2]: Portable Import/Export for XMPP servers
- [3]: Reducing the database footprint of Rosters in Openfire (possibly replacing the relation persistence model with a new model based on nosql-techniques)
- [4]: Constructive performance enhancements, which would include finding a structural solution to Openfires Achilles' heel
- [5]: Constructive spec compliance enhancements
- [6]: Network application framework porting effort from Apache MINA to Netty
- [7]: Clustering solution development
- [8]: Automated functional testing
- [9]: Fastpath webchat support