GSoC/GCI Archive
Google Code-in 2012 Copyleft Games Group

Hedgewars: Subscribe for network

completed by: vitiv

mentors: Andrey Korotaev, Xeli, Sheepy, koda

Remember to join our IRC channel when working on this task! We are on #hedgewars at freenode.net. If you are new to IRC, read this tutorial from a past GCI participant.

Your task

When you connect to main Hedgewars server, you are prompted with a username and a password. What happens if you don't have it? Well you can login without any nick, but it'd be nicer if we increase the number of Hedgewars subscribers.

Add a button to QTfrontend/ui/dialog/input_password.cpp that either prompts you with a QT form in which you can insert your data and run the proper php commands or alternatively that shows Hedgewars registration page embedded in a frame from which to complete the registration.

Deliverable

A working patch, that applies cleanly to our source tree. This patch should be in the form of a pull from clone, hg export or unified diff format (in order of preference) implementing the functionality required.