Re: [Sugar-devel] Collaboration support for sugar web activities

2014-01-17 Thread Emil Dudev
Busy month...

Anyway, I checked out telepathy and tried to fix the many protocol
problems. Sadly, I gave up pretty easily. I suppose it would be easier to
rewrite the whole process from scratch.

Today I was able to recreate the basic functionality of TogetherJS' server.
From a nodejs server, I rewrote it in python (using gwebsockets). This will
give me the ability to customize it freely.

Tomorrow I plan on building the basic invitation process using web sockets.
I suppose it will be more reliable than telepathy. And it would possibly be
better for an Android app or other systems with limited functionality.

About WebRTC: I really think that peer-to-peer connections are needed. But
at this point, I'll go with client-server connections.

gwebsockets: https://github.com/edudev/gwebsockets/tree/master
websocket-server: https://github.com/edudev/web-reply

Emil Dudev

On Sun, Jan 12, 2014 at 8:51 PM, Daniel Narvaez dwnarv...@gmail.com wrote:

 On 12 January 2014 19:01, Emil Dudev emildu...@gmail.com wrote:

 About the telepathy part to send only the invites and establish the
 connection:
 I can't seem to be able to complete the invitation accepted process.
 Sometimes it works, sometimes not (mostly not). For normal sugar activities
 it's the same (with the exception that with them it mostly works, at least
 I think it works).
 Exchanging the TogetherJS ID is not a problem. The invited user can't
 seem to connect to the telepathy channel properly.
 As you noted above, it's a protocol mess.
 If telepathy is completely dropped for web activities, then a question
 arises: how to send the invite with the unique ID?


 I don't know the details of the current invitation protocol. I suppose you
 could register a private activity with the server and then send a token
 to the invitee. Making this up as an example, not really well thought :)


 Also, I still don't like using 1 server and having everything else depend
 on that 1 server. The server would most likely have to process a lot of
 traffic.
 Would it be possible to use a peer to peer connection with web sockets?
 Browsers don't support this, with reason. But if sugar's core is used, it
 should be possible.


 Did you investigate WebRTC? If nothing else I suspect it would allow to
 exchange data between peers. I'm not sure if it provides any facility that
 we could use to share presence information, i.e. a shared
 buddies+activiities list. That's the really hard problem to solve if you
 want fully p2p communication.

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [ASLO] Release Turtle Blocks-196

2014-01-17 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4027

Sugar Platform:
0.86 - 0.100

Download Now:
http://activities.sugarlabs.org/downloads/file/28879/turtleblocks-196.xo

Release notes:
196

ENHANCEMENTS:
* New translations
* Export project as Sugar icon (Jorge Alberto Gómez López)
* Export project as ODP (Jorge Alberto Gómez López)

BUG FIXES:
* Fixed problem with Returns in action and box names (as reported by quozi)
* Fixed problem with label positioning on some blocks
* Fixed rendering problem with filled shapes using arcs
* Fixed problem with sharing filled shapes using arcs
* Make save_as_icon button insensitive when no svg output
  available (Ignacio Rodriguez)
* Make save_as_ODP button insensitive when no saved pictures
  available (Ignacio Rodriguez)



Sugar Labs Activities
http://activities.sugarlabs.org

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [ASLO] Release Physics-14

2014-01-17 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4193

Sugar Platform:
0.96 - 0.100

Download Now:
http://activities.sugarlabs.org/downloads/file/28880/physics-14.xo

Release notes:
14

* GTK3 port (Ignacio Rodriguez)


Sugar Labs Activities
http://activities.sugarlabs.org

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel