Difference between revisions of "Activities/FileShare"

From Sugar Labs
Jump to navigation Jump to search
Line 6: Line 6:
  
 
==Project Status==
 
==Project Status==
The project is under active development.  I am currently looking for bug reports as well as suggestions for further improvement.  Check out the current Dev Release (Dec. 11, 2009) or source code.
+
The project is under active development.  I am currently looking for bug reports as well as suggestions for further improvement.  Check out the current Dev Release (Dec. 14, 2009) or source code.
  
 
If you have found a bug, please report it the google group page or email to our google group email address.
 
If you have found a bug, please report it the google group page or email to our google group email address.
Line 15: Line 15:
  
 
==Bugs==
 
==Bugs==
* [Not yet implemented] Client is not notified about new files or removed files after they have connected.
 
 
* Sometimes user interface can become un-responsive during file transfers.
 
* Sometimes user interface can become un-responsive during file transfers.
  
Line 23: Line 22:
 
** Download count on each file
 
** Download count on each file
 
** Prevent/Notify user from closing the activity while users are downloading from them.
 
** Prevent/Notify user from closing the activity while users are downloading from them.
* Server must announce new files and removed files to connected clients.
 
 
* Integration to the school server
 
* Integration to the school server
 
** Current plans are to have a server running on the school server as well allowing authorized users to upload files to the school server as well.
 
** Current plans are to have a server running on the school server as well allowing authorized users to upload files to the school server as well.
 +
 +
==Change Log==
 +
2009-12-14: FileShare-2.xo
 +
* Added Localization Support
 +
* Server notifies client when new file is added
 +
* Server notifies client when file is removed
 +
** Client ignores remove request when transfer is in progress or completed
 +
* Server now deletes file bundle for removed files
 +
* Files are now refered to by a sha1 hash instead of int count
 +
* Server will attempt to prevent duplicate shared entries
 +
** By activity id in datastore metadata
 +
** If no activity id in metadata, sha1 file given by get_file_path
 +
** If file path is empty, no check can be done, create random sha1 no duplicate check can be done at this time
 +
 +
 +
2009-12-11: Initial release
  
 
==Links==
 
==Links==
Line 34: Line 48:
 
** [http://groups.google.com/group/fileshareactivity/files File Builds]
 
** [http://groups.google.com/group/fileshareactivity/files File Builds]
 
** Screenshots can be found in the google group file list as well
 
** Screenshots can be found in the google group file list as well
* Current Release: [http://fileshareactivity.googlegroups.com/web/FileShare-2009-12-11.xo FileShare-2009-12-11.xo]
+
* Current Release: [http://groups.google.com/group/fileshareactivity/web/FileShare-2.xo FileShare-2.xo]

Revision as of 18:31, 14 December 2009

Shared activity downloading files

FileShare is an activity that allows the user to share files from their journal.

The activity prompts the user for a list of files. When a user joins the shared activity, they are shown the file list where they can choose which files they would like to download.

Project Status

The project is under active development. I am currently looking for bug reports as well as suggestions for further improvement. Check out the current Dev Release (Dec. 14, 2009) or source code.

If you have found a bug, please report it the google group page or email to our google group email address.

Features

  • Activity can be loaded up and files can be added and removed from the file list
  • It can be shared and users who join are able to download files from the file list.

Bugs

  • Sometimes user interface can become un-responsive during file transfers.

Future Plans

  • Clients needs to communicate more to the server. In the current state, the server is not aware of the number of clients currently downloading files.
    • Should show user who is currently downloading what files
    • Download count on each file
    • Prevent/Notify user from closing the activity while users are downloading from them.
  • Integration to the school server
    • Current plans are to have a server running on the school server as well allowing authorized users to upload files to the school server as well.

Change Log

2009-12-14: FileShare-2.xo

  • Added Localization Support
  • Server notifies client when new file is added
  • Server notifies client when file is removed
    • Client ignores remove request when transfer is in progress or completed
  • Server now deletes file bundle for removed files
  • Files are now refered to by a sha1 hash instead of int count
  • Server will attempt to prevent duplicate shared entries
    • By activity id in datastore metadata
    • If no activity id in metadata, sha1 file given by get_file_path
    • If file path is empty, no check can be done, create random sha1 no duplicate check can be done at this time


2009-12-11: Initial release

Links