JabberIntegration

Differences between revisions 6 and 17 (spanning 11 versions)
Revision 6 as of 2008-12-04 11:47:42
Size: 3019
Editor: static-101-137-235-87
Comment:
Revision 17 as of 2013-11-16 18:50:38
Size: 1753
Editor: 95-91-236-250-dynip
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was copied from SpecTemplate
Line 3: Line 4:
 * '''Launchpad Entry''': UbuntuSpec:qa-ldtp-checkbox-integration
 * '''Created''': AraPulido
 * '''Launchpad entry''': https://bugs.launchpad.net/ubuntu/+source/messaging-app/+bug/1247216
 * '''Created''': 16. November 2013
Line 6: Line 7:
 * '''Packages affected''': checkbox, ubuntu-desktop-testing  * '''Packages affected''': messaging-app
Line 8: Line 9:
== Summary == Add support for XMPP (and possibly other protcols) to the messaging app.
Line 10: Line 11:
This should provide an overview of the issue/functionality/change proposed here. Focus here on what will actually be DONE, summarising that so that other people don't have to read the whole spec. See also CategorySpec for examples.

== Release Note ==

When these changes are implemented tests written for LDTP and, specifically, for Ubuntu Desktop Testing, Checkbox will be used to run desktop tests and reporting will be consistent.
== Release note ==
* Support for XMPP in the messaging app.
Line 17: Line 15:
Ubuntu Phone should come with support for messaging and not only SMS. It would be wonderful if this would be integrated in one app and be a feature that does not exist on Android (hangouts kind of does this but very poorly and does not support more than one protocol). The messaging app already uses telepathy so it should be possible to add the GUI for this, without much/any work on the backend.
In my opinion we should start with XMPP, because it is already well supported by Telepathy and an open protocol. Also, Facebook supports XMPP so this could intergrate very well.
Line 18: Line 18:
We want to have a consistent test harness for the majority of our tests. Checkbox, formerly hwtest, it is a tool to run tests. It is flexible enough to be used to run all kind of tests, including desktop tests. A good example how this can be done is Maemo:
http://farm5.static.flickr.com/4027/4315280299_030448e699.jpg
http://farm5.static.flickr.com/4027/4315280299_030448e699.jpg
Line 20: Line 22:
== Design ==

=== Permissions ===
We need Checkbox to be able to run as a normal user, rather than running always as root. This need changes from both Checkbox and Ubuntu Desktop Testing

 * Checkbox can be run as non-root:
{{{
./bin/checkbox-cli --config="checkbox/plugins/blacklist=permission_prompt"
}}}
 * Suites and scripts are written on installation under /usr/share/checkbox, with root-only permissions. It would be better to have a .checkbox folder in the user's home folder to store this kind of information.
 * Results are stored by default in /var/lib/checkbox, and this is only writable by root.
 * Ubuntu Desktop Testing package installs scripts in /usr/share/ubuntu-desktop-tests only readable by root.

=== Test results ===

== Implementation ==

This section should describe a plan of action (the "how") to implement the changes discussed. Could include subsections like:

=== UI Changes ===

Should cover changes required to the UI, or specific UI that is required to implement this

=== Code Changes ===

Code changes should include an overview of what needs to change, and in some cases even the specific details.

=== Migration ===

Include:
 * data migration, if any
 * redirects from old URLs to new ones, if any
 * how users will be pointed to the new way of doing things, if necessary.

== Test/Demo Plan ==

It's important that we are able to test new features, and demonstrate them to users. Use this section to describe a short plan that anybody can follow that demonstrates the feature is working. This can then be used during testing, and to show off after release. Please add an entry to http://testcases.qa.ubuntu.com/Coverage/NewFeatures for tracking test coverage.

This need not be added or completed until the specification is nearing beta.
== User stories ==
 * Bob wants to set up his Jabber account on the Phone
 * Alice wants to message his friends via Jabber
 * Bob wants to see the status (online, busy, offline...) of his friends in a contact list
 * Alice wants to send a file via Jabber
 * Bob wants to see his current messaging status via an indicator
Line 61: Line 30:

This should highlight any issues that should be addressed in further specifications, and not problems with the specification itself; since any specification with problems cannot be approved.

== BoF agenda and discussion ==
Advandced stuff- like merging several contacts into one (e.g. one friend has XMPP and SMS) or adding support for more protocols (e.g. ICQ) -- should be handled by a seperate spec.

Add support for XMPP (and possibly other protcols) to the messaging app.

Release note

* Support for XMPP in the messaging app.

Rationale

Ubuntu Phone should come with support for messaging and not only SMS. It would be wonderful if this would be integrated in one app and be a feature that does not exist on Android (hangouts kind of does this but very poorly and does not support more than one protocol). The messaging app already uses telepathy so it should be possible to add the GUI for this, without much/any work on the backend. In my opinion we should start with XMPP, because it is already well supported by Telepathy and an open protocol. Also, Facebook supports XMPP so this could intergrate very well.

A good example how this can be done is Maemo: http://farm5.static.flickr.com/4027/4315280299_030448e699.jpg http://farm5.static.flickr.com/4027/4315280299_030448e699.jpg

User stories

  • Bob wants to set up his Jabber account on the Phone
  • Alice wants to message his friends via Jabber
  • Bob wants to see the status (online, busy, offline...) of his friends in a contact list
  • Alice wants to send a file via Jabber
  • Bob wants to see his current messaging status via an indicator

Unresolved issues

Advandced stuff- like merging several contacts into one (e.g. one friend has XMPP and SMS) or adding support for more protocols (e.g. ICQ) -- should be handled by a seperate spec.


CategorySpec

Unity8/JabberIntegration (last edited 2013-11-16 18:59:38 by 95-91-236-250-dynip)