Merge: Tnitter: read the latest tnits on the go with the new Tnitter portable app!
authorJean Privat <jean@pryen.org>
Fri, 13 Nov 2015 13:29:29 +0000 (08:29 -0500)
committerJean Privat <jean@pryen.org>
Fri, 13 Nov 2015 13:29:29 +0000 (08:29 -0500)
commit84ecafd6434ba41062fbbc8b345be32966ddf299
tree1ffcd586aad048c28060774b68dbd8618e30e1b2
parentbc7defddb5c051a44df734e3a3d68d017361f2d5
parentff7b14f1cd74520d5364f13d374bc1aaf8ca1c87
Merge: Tnitter: read the latest tnits on the go with the new Tnitter portable app!

Intro a portable client for Tnitter listing the more recent 16 tnits. It is more of a test and example on using `AsyncHttpRequest` to do both simple request to a REST server and implement push notifications using an open request. By design, this client does not support posting Tnits, this feature would require much more code and it may be simplified by future services in the lib.

To support the client the server has a few new REST interfaces. One to list the tnits and the other for push notifications.

This PR also fixes a few bugs on the Tnitter server: losing the session on posting and empty post being accepted by the server.

-----

Note for the reviewers: You may be better to read commits individually. There are 2 bigs commits, one extracts the database logic from the model module and the other introduces code generated by Jwrapper for the native layer of that Android ui implementation.

Pull-Request: #1834
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Romain Chanoir <romain.chanoir@viacesi.fr>