summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Justin Lewis [Tue, 19 Jan 2010 18:33:43 +0000 (13:33 -0500)]
Release 8.
Justin Lewis [Tue, 19 Jan 2010 18:02:39 +0000 (13:02 -0500)]
Now checks if server available during boot in new thread
If server is found, it activates the icon to allow switching to the
server.
Justin Lewis [Tue, 19 Jan 2010 17:17:21 +0000 (12:17 -0500)]
Updated tree view, expanding only description.
Cleaned up code, now uses one clean loop
Justin Lewis [Tue, 19 Jan 2010 16:00:25 +0000 (11:00 -0500)]
Scrollbars now automatic on admin view
Justin Lewis [Tue, 19 Jan 2010 15:59:04 +0000 (10:59 -0500)]
Fixed bug, in admin view, now disables action bar.
Justin Lewis [Mon, 18 Jan 2010 23:35:05 +0000 (18:35 -0500)]
Lots of gui and procedural changes
* Button Changes
* Sugar toolbar with svg icons instead of buttons
* Instead of "File", now using "Object" terminology
* Deactivate buttons that require selection when no files are selected
* Throbber Changes
* Mouse now turns into watch when throbber invoked
* Disables window while working
* Connects to server after start up.
* Scrollbars disappear when not needed.
NEW BUGS:
* Add files from normal mode, switch to server, try to upload file
* Press toolbar button when in admin screen
Justin Lewis [Mon, 18 Jan 2010 15:47:53 +0000 (10:47 -0500)]
Fixed bug in blueberry that crashed when packaging file.
This is caused by the zip lib it is using, when trying to append to an
empty zip file it would crash. Solution: put that in try block and just
wipe out the existing zip file if it can't append to it.
Justin Lewis [Tue, 12 Jan 2010 22:41:38 +0000 (17:41 -0500)]
Release 7
Justin Lewis [Tue, 12 Jan 2010 22:39:38 +0000 (17:39 -0500)]
Fixed depreciated message in setup.py
Justin Lewis [Tue, 12 Jan 2010 22:13:24 +0000 (17:13 -0500)]
Fixed Keep Error bug
Justin Lewis [Tue, 12 Jan 2010 21:57:55 +0000 (16:57 -0500)]
Fixed hang when server is offline.
Initialize gui sooner, then added signal to interrupt the network
connection when the server is not responding after 10 seconds.
Justin Lewis [Mon, 11 Jan 2010 22:38:48 +0000 (17:38 -0500)]
Basic permissions: download only, add/remove, admin.
The first user to connect to the server is added as an admin. Admins
will get a "Server Settings" button on their UI. When clicked, they
will be presented with a list of all users ever connected to the server.
There they can give them upload/remove and admin privileges if desired.
Justin Lewis [Fri, 8 Jan 2010 20:11:46 +0000 (15:11 -0500)]
Code Refactoring. Started to separate gui and functional code.
There is more work required, but this seems like a stable point to
commit the code.
Justin Lewis [Fri, 8 Jan 2010 16:00:55 +0000 (11:00 -0500)]
Bug fixes
Justin Lewis [Fri, 8 Jan 2010 15:59:54 +0000 (10:59 -0500)]
Fixed multi-thread issue in server
Justin Lewis [Thu, 7 Jan 2010 22:13:01 +0000 (17:13 -0500)]
Added try block around file list download
Justin Lewis [Thu, 7 Jan 2010 21:49:12 +0000 (16:49 -0500)]
Fixed bug that prevented it from starting up
Justin Lewis [Thu, 7 Jan 2010 20:48:14 +0000 (15:48 -0500)]
Release 6
Justin Lewis [Thu, 7 Jan 2010 20:09:47 +0000 (15:09 -0500)]
Added server mode ability. Updated and moved GUI code.
Added throbber for blocking/cpu intensive tasks (like network and
packaging files) to make UI appear more robust.
Justin Lewis [Thu, 7 Jan 2010 15:59:14 +0000 (10:59 -0500)]
Added a basic server for testing server mode
Justin Lewis [Wed, 6 Jan 2010 19:05:42 +0000 (14:05 -0500)]
Bugfix
Justin Lewis [Wed, 6 Jan 2010 16:55:42 +0000 (11:55 -0500)]
Added notice when file download fails
Justin Lewis [Tue, 5 Jan 2010 22:17:23 +0000 (17:17 -0500)]
Fixed one liner bug (no impact on current code)
Committing now to prevent problems if rollback is needed
Justin Lewis [Tue, 5 Jan 2010 20:05:40 +0000 (15:05 -0500)]
Files are now stored as a FileInfo object.
This makes networking much easier as we don't need to worry about
sending tainted data.
This update breaks compatibility with older versions due to removing
unneeded information from the file list transfer. It also breaks
loading old entires from the journal for the same reason, unneeded
information is no longer stored in the save/load arrays, object takes
care of adding/removing extra information
This update also updates how the gui gets its information though the
object instead of the lists that were used before.
Justin Lewis [Tue, 5 Jan 2010 20:03:29 +0000 (15:03 -0500)]
Spelling Fixes
Justin Lewis [Thu, 31 Dec 2009 03:29:56 +0000 (22:29 -0500)]
Added GNU Public License header to the two py files I wrote.
Justin Lewis [Sat, 26 Dec 2009 16:10:15 +0000 (11:10 -0500)]
Release FileShare-5.xo
Justin Lewis [Sat, 26 Dec 2009 16:06:37 +0000 (11:06 -0500)]
Added ability for multiple select
Justin Lewis [Sat, 26 Dec 2009 16:03:55 +0000 (11:03 -0500)]
Fixed bug on client side when server adds file after join
Justin Lewis [Fri, 18 Dec 2009 21:41:53 +0000 (16:41 -0500)]
Release 4
Justin Lewis [Fri, 18 Dec 2009 21:35:25 +0000 (16:35 -0500)]
Removed tests from lib as it is not needed for project
Justin Lewis [Fri, 18 Dec 2009 20:26:56 +0000 (15:26 -0500)]
Activity now asks if it should save files when it closes.
This is done because saving the files takes up the limited hard drive
space with a copy of a file already installed into the journal.
Justin Lewis [Fri, 18 Dec 2009 19:43:47 +0000 (14:43 -0500)]
Fixed remove bug (for real this time)
Justin Lewis [Fri, 18 Dec 2009 15:03:48 +0000 (10:03 -0500)]
Fixed formated strings for new id type
Justin Lewis [Fri, 18 Dec 2009 14:53:15 +0000 (09:53 -0500)]
Fixed remove file bug
Justin Lewis [Tue, 15 Dec 2009 23:45:23 +0000 (18:45 -0500)]
Releasing FileShare-3.xo
Justin Lewis [Tue, 15 Dec 2009 23:15:04 +0000 (18:15 -0500)]
Fixed bug that was when resuming and was server and now client
Now the server sets its download percent to 100 to prevent it from
trying to download it and the client now ignores status text when
it gets file list from server.
Justin Lewis [Tue, 15 Dec 2009 22:01:50 +0000 (17:01 -0500)]
Fixed bug when installing download (broke in a resent commit)
Justin Lewis [Tue, 15 Dec 2009 21:38:45 +0000 (16:38 -0500)]
Added ability to install files back to the journal.
This will be useful for stored copies. It also allows you to transfer
all the files by sending a saved version of the activity and then they
can install back to the journal.
Justin Lewis [Tue, 15 Dec 2009 21:17:30 +0000 (16:17 -0500)]
Fixed saving/loading state.
Metadata can only hold 245 charters worth of data. This would cause
it to crash when the file list was stored to the journal. Now the file
list is stored in the zip file as well.
Justin Lewis [Tue, 15 Dec 2009 21:00:11 +0000 (16:00 -0500)]
Using instance dir instead of tmp.
I just learned that the tmp directory in our activity is held in
ram and the instance directory is the same as the tmp directory but
held in flash memory. Because of this, I figured it would be wise
to store the files in the instance directory instead of the tmp.
Justin Lewis [Tue, 15 Dec 2009 18:50:46 +0000 (13:50 -0500)]
Added ability to save current status on close and restore
This has been tested and seems to work on my SOAS, but I seem to be
getting keep errors on the XO
Justin Lewis [Mon, 14 Dec 2009 22:52:28 +0000 (17:52 -0500)]
Sp Fix
Justin Lewis [Mon, 14 Dec 2009 22:26:24 +0000 (17:26 -0500)]
Activity build 2
Justin Lewis [Mon, 14 Dec 2009 21:55:49 +0000 (16:55 -0500)]
Client will ignore remove file if file has been or is being transfered
Justin Lewis [Mon, 14 Dec 2009 21:39:31 +0000 (16:39 -0500)]
Remove file bundle from activity store if removed from file list
Justin Lewis [Mon, 14 Dec 2009 21:32:34 +0000 (16:32 -0500)]
Fixed bug in notify users about file changes
Justin Lewis [Mon, 14 Dec 2009 20:40:41 +0000 (15:40 -0500)]
Converted internal ID's to sha1. Added duplicate check.
Now all entires have a sha1 id. This id will be either the activity
id that is stored in the metadata if it exists. Otherwise it will
be the sha1 hash of the file it is trying to share. If there is no file
it just generates a random hash based on the time as I have no idea what
kind of file it would be.
Justin Lewis [Mon, 14 Dec 2009 19:02:51 +0000 (14:02 -0500)]
Added ability for server to notify connected clients of file changes
Justin Lewis [Mon, 14 Dec 2009 16:24:27 +0000 (11:24 -0500)]
Prepared activity for localization.
Justin Lewis [Sat, 12 Dec 2009 04:14:31 +0000 (23:14 -0500)]
Fixed bug in reading files from flash drives
Justin Lewis [Fri, 11 Dec 2009 21:35:17 +0000 (16:35 -0500)]
Updated manifest file
Justin Lewis [Fri, 11 Dec 2009 20:20:15 +0000 (15:20 -0500)]
Put table in scroll window to allow large file lists
Justin Lewis [Fri, 11 Dec 2009 20:13:54 +0000 (15:13 -0500)]
Ui improvements in functionality, response, and display.
Justin Lewis [Fri, 11 Dec 2009 18:21:02 +0000 (13:21 -0500)]
Fixed bug where gui appeared to be frozen on a fast connection
On a fast connection, when files were being transfered, the gui
appeared to be frozen because the packets were coming in faster
then the gui had time to update. (which prevented the gui from
reacting to the user or update calls)
Justin Lewis [Fri, 11 Dec 2009 17:13:14 +0000 (12:13 -0500)]
Fixed bug where extracting xoj that didn't have data file
It assumed that all files had an extra file path, Now it checks
Justin Lewis [Fri, 11 Dec 2009 16:40:34 +0000 (11:40 -0500)]
Fixed bug where tubes can only be used once.
Now it just uses one tube over and over. Creates one connection and then
reuses it instead of creating new streams each time the client wants to
do a file download.
Justin Lewis [Thu, 10 Dec 2009 22:26:50 +0000 (17:26 -0500)]
Fixed a few errors with transfers by pickle and json by using simplejson
Justin Lewis [Thu, 10 Dec 2009 21:43:20 +0000 (16:43 -0500)]
Fixed bug metadata doesn't always have all keys.
Justin Lewis [Thu, 10 Dec 2009 19:03:55 +0000 (14:03 -0500)]
Fixed bug in journal entry bundle
Id was set by activity id or datastore id. If it was a file that is
not an activity, it would fail at bundling because there was no activity
id.
Justin Lewis [Thu, 10 Dec 2009 16:42:08 +0000 (11:42 -0500)]
Modified gui to show more useful information about the file
Justin Lewis [Thu, 10 Dec 2009 16:09:53 +0000 (11:09 -0500)]
Fixed crash when empty file path in journal bundle
Justin Lewis [Wed, 9 Dec 2009 21:02:51 +0000 (16:02 -0500)]
Updated manifest file
Justin Lewis [Wed, 9 Dec 2009 20:35:26 +0000 (15:35 -0500)]
Fixed file path returned by server.
Justin Lewis [Wed, 9 Dec 2009 20:15:55 +0000 (15:15 -0500)]
Fixed bug with journal entry bundle, if no mount key, it broke.
Justin Lewis [Wed, 9 Dec 2009 18:55:50 +0000 (13:55 -0500)]
Fixed file path for server, fixed creating of stream tubes
Justin Lewis [Tue, 8 Dec 2009 23:42:38 +0000 (18:42 -0500)]
Removed library folder, just added a test to the journalentrybundle
Justin Lewis [Tue, 8 Dec 2009 22:08:12 +0000 (17:08 -0500)]
Fixed indentation bug by last push
Justin Lewis [Tue, 8 Dec 2009 21:59:36 +0000 (16:59 -0500)]
Moved some protocol data to tubespeek. Partial code for sharing files
This code does not share correctly, but it still shares file lists
as well as sets up some connections. Have not been able to get the
actual file transfer to work yet, but its getting there.
Also updated the file so that it tries to build xob file from data
to be shared. Causes a crash on any journal object hat has the
get_file_path() return empty.
Justin Lewis [Tue, 8 Dec 2009 20:05:32 +0000 (15:05 -0500)]
Added json library to the activity (found on soas)
This will allow the code to work on the xo as well as soas
Justin Lewis [Tue, 8 Dec 2009 20:03:06 +0000 (15:03 -0500)]
Updated journalentrybundle to use current json lib.
It appears that the version of sugar on the xo has a hacked
json lib where the soas version has a full version of json.
The code will run off the full version of json as it should.
Justin Lewis [Tue, 8 Dec 2009 17:03:47 +0000 (12:03 -0500)]
Added bundle and journalentrybundle from distribute activity
Justin Lewis [Fri, 4 Dec 2009 20:17:44 +0000 (15:17 -0500)]
Removed _buddy_joined_cb as it is not used in this program
Justin Lewis [Fri, 4 Dec 2009 20:15:20 +0000 (15:15 -0500)]
File or Activity now decided if get_file_path returns false
Also allowed a timeout override for the alert method.
Justin Lewis [Fri, 4 Dec 2009 19:19:50 +0000 (14:19 -0500)]
File has is now file type. File or Activity journal entry.
Justin Lewis [Fri, 4 Dec 2009 18:27:32 +0000 (13:27 -0500)]
Now able to request file and owner is able to get request
Justin Lewis [Fri, 4 Dec 2009 02:26:16 +0000 (21:26 -0500)]
Now file list is able to be displayed on the second xo
Justin Lewis [Thu, 3 Dec 2009 23:41:24 +0000 (18:41 -0500)]
In the process of getting the file list to be shared.
This commit is just for safe keeping.
Justin Lewis [Thu, 3 Dec 2009 17:27:27 +0000 (12:27 -0500)]
Moved gui code out of init to clean up code
Justin Lewis [Thu, 3 Dec 2009 16:17:50 +0000 (11:17 -0500)]
Fixed how it handled files in the table so it can delete all file types.
It was originally using hashes as the id's, which all files don't have
so now it uses an internal id to keep track of the files.
Justin Lewis [Wed, 2 Dec 2009 23:53:53 +0000 (18:53 -0500)]
Added ability to add/remove files from file list.
Justin Lewis [Wed, 2 Dec 2009 22:28:01 +0000 (17:28 -0500)]
Initial prototype gui
Justin Lewis [Wed, 2 Dec 2009 17:54:28 +0000 (12:54 -0500)]
Initial commit