[UI] Show the configuration wizard when connecting with no account

The Saros configuration wizard will now be opened if a user
tries to connect to a XMPP server but has no account configured yet.

Change-Id: I3ef32f337530d0b262c20657fec6a548ca146718
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/383
Tested-by: Jenkins CI
Reviewed-by: Franz Zieris <zieris@inf.fu-berlin.de>
Reviewed-by: Sebastian Starroske <sebastian.starroske@googlemail.com>
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[INTERNAL] Integrate single user chat structure and business logic

Merge the single user chat from Saros Light. This change does only
create needed data structures and business logic. It does, however, not
integrate the new chat with the already existing interface, thus it is
not possible to use it.

Copied from SWTP-2012 repository.
 - Commit d9fd945e1f1059451fcac23ca5dc14fa8ca2b087
 - Reviewed on: http://saros-build.imp.fu-berlin.de/gerrit/257
 - Reviewed by: Nils Bussas <nils.bussas@gmail.com>
 - Reviewed by: Arsenij Solovjev <xeper000@gmail.com>

Change-Id: I42b3774f88762780cb743e084fe0797ced2acc12
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/339
Tested-by: Jenkins CI
Reviewed-by: Franz Zieris <zieris@inf.fu-berlin.de>
[INTERNAL] Address FindBugs warning, provide correct argument type

A Map<JID, V> variable was accessed via get(String)

Change-Id: I5298b638854607620f591e13ccf4218e5d7a642b
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/384
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
Tested-by: Jenkins CI
[INTERNAL] always log full stack traces

Omitting stack traces when running in production mode makes
it harder to track and fix problems that may occur during
runtime.

Change-Id: I4ef085e02142783148487e9f7eaf008b802bf59a
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/389
Tested-by: Jenkins CI
Reviewed-by: Franz Zieris <zieris@inf.fu-berlin.de>
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[INTERNAL] Merge MUC and SUC data structures

To unify single and multi user chats, several data structures and
listeners have been merged.

Copied from SWTP-2012 repository.
 - Commit abf803a8e0866264bb8108cdb1c88092c885e9ae
 - Reviewed on: http://saros-build.imp.fu-berlin.de/gerrit/284
 - Reviewed by: Nils Bussas <nils.bussas@gmail.com>
 - Reviewed by: Arsenij Solovjev <xeper000@gmail.com>

Change-Id: If74b55d35f4b5aa263b829e21ab69f8dde90658f
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/346
Tested-by: Jenkins CI
Reviewed-by: Franz Zieris <zieris@inf.fu-berlin.de>
[FIX] #3572490 Not-so-smart pre-selection in "Add Projects" dialog

Removed all direct file accesses to be conform with the Eclipse
logic.

Change-Id: I181601725ec1c59b1bf55465579afc866f224895
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/333
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[INTERNAL] remove auto accept invitation feature

The feature could not be activated because the option was removed but
the code still exists in the code base. This patch removes the
feature.

Change-Id: Iec3085536bbcc751455193685cd4a5da749d4e02
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/385
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[FEATURE] Improve title of single and multi user chats

If there is a user name available for the contact of a single user chat,
that is used as title. Otherwise the bare JID is used.
For multi user chats (session chat), the usual 'Session Chat' title is
returned for now, as it is not possible to create a multi user chat
despite the session chat.

Copied from SWTP-2012 repository.
 - Commit a13c17b0e5aaa562658943411d2485bce502f7cd
 - Reviewed on: http://saros-build.imp.fu-berlin.de/gerrit/285
 - Reviewed by: Nils Bussas <nils.bussas@gmail.com>
 - Reviewed by: Arsenij Solovjev <xeper000@gmail.com>
 - Reviewed by: Michael Scheppat <mschepp@zedat.fu-berlin.de>
 - Reviewed by: Vera Schlemm <vera.schlemm@fu-berlin.de>

Change-Id: I2b01561ebb5a568469fdbba2bc53752d3aee3acc
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/352
Reviewed-by: Franz Zieris <zieris@inf.fu-berlin.de>
Tested-by: Jenkins CI
[FEATURE] Implement 'Open chat' action for session buddies

Copied from SWTP-2012 repository.
 - Commit 433b8bede67e543b18a1e4abb1f5b098f9f914c4
 - Reviewed on: http://saros-build.imp.fu-berlin.de/gerrit/280
 - Reviewed by: Nils Bussas <nils.bussas@gmail.com>
 - Reviewed by: Vera Schlemm <vera.schlemm@fu-berlin.de>

Change-Id: I4ef21591e16b22a2ea0413f9bb01dcddf6b1a1b2
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/349
Reviewed-by: Franz Zieris <zieris@inf.fu-berlin.de>
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
Tested-by: Jenkins CI
[FEATURE] Open single user chat on doubleclick on buddies

Copied from SWTP-2012 repository.
 - Commit 91550ab83da508626b317e4c6ff5895ca12271f8
 - Reviewed on: http://saros-build.imp.fu-berlin.de/gerrit/295
 - Reviewed by: Vera Schlemm <vera.schlemm@fu-berlin.de>
 - Reviewed by: Michael Scheppat <mschepp@zedat.fu-berlin.de>

Change-Id: Ied14692a2f39970bad4933c8b798b0aabd20d948
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/350
Reviewed-by: Franz Zieris <zieris@inf.fu-berlin.de>
Tested-by: Jenkins CI
[FEATURE] Change background color if input of text is disabled

If the user is not able to send messages (e.g. due to connectivity
issues) the chat input gets disabled. Before, there was no visual
feedback for this state, leaving the user wondering why he cannot input
text.

Copied from SWTP-2012 repository.
 - Commit 7a9d619af2c4e0cb7700f897dd2efc4dc3aa9d59
 - Reviewed on: http://saros-build.imp.fu-berlin.de/gerrit/281
 - Reviewed by: Arsenij Solovjev <xeper000@gmail.com>
 - Reviewed by: Nils Bussas <nils.bussas@gmail.com>
 - Reviewed by: Vera Schlemm <vera.schlemm@fu-berlin.de>

Change-Id: I0f42022c0c32855b12fcb84f7bbdceb47f020056
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/351
Reviewed-by: Franz Zieris <zieris@inf.fu-berlin.de>
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
Tested-by: Jenkins CI
[INTERNAL] Fix dispose handling of chat tabs

Copied from SWTP-2012 repository.
 - Commit 7bc50bb86da62967cba8f9aec95492502f5a32b0
 - Reviewed on: http://saros-build.imp.fu-berlin.de/gerrit/286
 - Reviewed by: Nils Bussas <nils.bussas@gmail.com>
 - Reviewed by: Vera Schlemm <vera.schlemm@fu-berlin.de>
 - Reviewed by: Arsenij Solovjev <xeper000@gmail.com>

Change-Id: I4a17ffb958085327ac4778fa913bd4912aba36ce
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/353
Reviewed-by: Franz Zieris <zieris@inf.fu-berlin.de>
Tested-by: Jenkins CI
[INTERNAL] Merge connected/disconnected and joined/left signals

Copied from SWTP-2012 repository.
 - Commit 57c2bab601f5fbdf7f4954deb5bfe70de91eba4e
 - Reviewed on: http://saros-build.imp.fu-berlin.de/gerrit/291
 - Reviewed by: Nils Bussas <nils.bussas@gmail.com>
 - Reviewed by: Arsenij Solovjev <xeper000@gmail.com>

Change-Id: I2f218903755e18a9f0f6386a3c2068c411b302c2
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/354
Reviewed-by: Franz Zieris <zieris@inf.fu-berlin.de>
Tested-by: Jenkins CI
[FEATURE] Close multi user chat on session end

On session end, we want the multi user chat (aka session chat) to be
closed.

Copied from SWTP-2012 repository.
 - Commit 7fd2953826a391429e42bcfc6864af5a06bd9a0f
 - Reviewed on: http://saros-build.imp.fu-berlin.de/gerrit/292
 - Reviewed by: Vera Schlemm <vera.schlemm@fu-berlin.de>
 - Reviewed by: Arsenij Solovjev <xeper000@gmail.com>
 - Reviewed by: Nils Bussas <nils.bussas@gmail.com>

Change-Id: I8dca015ae4a97bb1d42ff51f2d88956b1ed3e263
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/355
Reviewed-by: Franz Zieris <zieris@inf.fu-berlin.de>
Tested-by: Jenkins CI
[FEATURE] Use user's nick name for chat messages

Chat messages are now displayed with either the contact's nick name or
bare JID.

Copied from SWTP-2012 repository.
 - Commit f61fc733df48f100908fb53b954d1a4a929abeac
 - Reviewed on: http://saros-build.imp.fu-berlin.de/gerrit/314
 - Reviewed by: Nils Bussas <nils.bussas@gmail.com>
 - Reviewed by: Vera Schlemm <vera.schlemm@fu-berlin.de>

Change-Id: I8ab8bb609908faeca44b18fbc2dbf16b2059963b
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/357
Reviewed-by: Franz Zieris <zieris@inf.fu-berlin.de>
Tested-by: Jenkins CI
[FIX] Remove default text from chat input field if chat is disabled

Copied from SWTP-2012 repository.
 - Commit 94c656f08d1da81bce0b6f59eb2c8b63b5eb91f2
 - Reviewed on: http://saros-build.imp.fu-berlin.de/gerrit/375
 - Reviewed by: Nils Bussas <nils.bussas@gmail.com>
 - Reviewed by: Arsenij Solovjev <xeper000@gmail.com>

Change-Id: I11469b3360376a256e4199ac1499d1e9aa26df31
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/397
Reviewed-by: Franz Zieris <zieris@inf.fu-berlin.de>
Tested-by: Jenkins CI
[FEATURE] Update chat titles when roster entries change

When a contact's name is changed the history of chats containing this
contact is changed to now display the new name instead of the old one.
This has to happen for chat tab titles as well, as they may contain
references to a contact's name.

Copied from SWTP-2012 repository.
 - Commit c9a0f91aa034807d9e406159faf636bb15014e25
 - Reviewed on: http://saros-build.imp.fu-berlin.de/gerrit/376
 - Reviewed by: Vera Schlemm <vera.schlemm@fu-berlin.de>
 - Reviewed by: Michael Scheppat <mschepp@zedat.fu-berlin.de>

Change-Id: I9bf91959b8855c8bbf48b98ef69e4c0b3210f912
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/398
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
Reviewed-by: Franz Zieris <zieris@inf.fu-berlin.de>
[STF] do not log plain passwords

STF currently logs the plain password for a tester.
Removed the logging because of security reasons.

Change-Id: Idb1387cc3d38cf924c1892689652c04e2fb44133
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/404
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[FIX] fixed a NPE in the SharedProjectFileDecorator

It is possible that the decorator can be called when
the Saros session is currently shutting down. This
can cause NPE because the EditorManager is already
uninitialized but the shutdown process is still in
progress.

Change-Id: If91cbf62cf79574f05358409d18b5e7dfb251707
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/403
Tested-by: Jenkins CI
Reviewed-by: Franz Zieris <zieris@inf.fu-berlin.de>
[STF] fixed pressEnterKey method in the SarosSWTBotChatInput class

As the KeyAdapter is not noticed about special key events
like carriage return that are generated by the mock keyboard
this method simulated the pressing of carriage return by calling
methods from the logic instead.

The method that was responsible for sending messages was moved.
This patch will call the correct method again.

Change-Id: I915fb1be6f4b48bbc3a89e05f4e989a667cea1e8
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/405
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>