Statistics
| Branch: | Revision:

root / trunk / Pithos.Core / Agents / StatusAgent.cs @ 2f5fcd2f

History | View | Annotate | Download (50 kB)

# Date Author Comment
c010b69c 03/05/2013 10:29 pm Panagiotis Kanavos

Added pithos.okeanos.io in the list of servers. The user_catalog url is now derived from the base server address

9315efdf 12/11/2012 03:29 pm Panagiotis Kanavos

Disable sql logging

1ba5e72f 12/05/2012 05:51 pm Panagiotis Kanavos

Changes to handle paths that are too long

1f3d113a 11/08/2012 12:20 pm Panagiotis Kanavos

Fix for directory renames
Move detection re-enabled

670f03d3 11/05/2012 04:32 pm Panagiotis Kanavos

Extracted the MergeSources method to a separate class

33a3ca72 10/23/2012 06:21 pm Panagiotis Kanavos

Storing lastwritedate, lastlength as soon as the hash is calculated to avoid unnecessary recalculations
Added SHA1OpenSSL, a HashAlgorithm wrapper over OpenSSL

2f1909cd 10/23/2012 01:33 pm Panagiotis Kanavos

Changed log level for a statement from error to debug

bf6dc483 10/10/2012 01:48 pm Panagiotis Kanavos

Fix for wrong shared object uris

8d38a269 10/02/2012 02:22 pm Panagiotis Kanavos

Added cloning of HttpRequestMessage to allow retries using the messages themselves
Various async modifications to overcome blocking during network faults

3b4a5c4e 10/01/2012 04:29 pm Panagiotis Kanavos

Wrong log tags

cfb09103 09/28/2012 06:32 pm Panagiotis Kanavos

Some timeout issues

397b9100 09/28/2012 02:30 pm Panagiotis Kanavos

More fixes and changes to DateTimeOffset dates

7f67c2aa 09/27/2012 09:34 am Panagiotis Kanavos

Fix to execute SchemaUpdate on existing databases

dc18b138 09/26/2012 06:28 pm Panagiotis Kanavos

Various storage and progress changes

0e2b2c19 09/26/2012 02:42 pm George Pantazis

ISS Fixes
Updated Status
Fixed GUI Issues
Delete Container data
Fixed issue with net.http in 2008 server

Signed-off-by: George Pantazis <>

b069042e 09/24/2012 08:18 pm Panagiotis Kanavos

Fix for erroneous storage of Hashes and Checksum

d56d7903 09/24/2012 04:41 pm Panagiotis Kanavos

Backed off in PutBlock. Discovered problems in PollAgent.UpdateHashes. It updates the stored file checksum while polling. Remnant of the removal of LastMD5

7e39367d 09/20/2012 05:14 pm Panagiotis Kanavos

Merge branch 'Polling' of https://code.grnet.gr/git/pithos-ms-client into Polling

Conflicts:
trunk/Pithos.Core/Agents/StatusAgent.cs
Also switched from SQLite, ActiveRecord to pure NHibernate and SQL Server Compact

562c42a7 09/19/2012 04:41 pm Panagiotis Kanavos

Replaced SQLite package with SQL Compact. Still need to update or remove direct statements

3906933e 09/19/2012 04:37 pm George Pantazis

Removed MD5 Calculations for Old and New FileState
Change DB Scheme (on create, update)
removed the md5 hash creation on merkle hash.
Removed all MD5BlockCalculator.cs functions

DB NEEDS TO BE REMOVED before updating the client. <<< "Hint update Inno"

Signed-off-by: George Pantazis <>

d7288179 09/14/2012 02:29 pm Panagiotis Kanavos

Convert all url usages to use the Uri class instead of raw strings.
Local paths and names are always escaped when converted to Uris, but only then.
Uris converted to local file paths are always unescaped and only then.
Deserialization of Json object list escapes the paths because the server returns the urls unescaped

b1303755 09/04/2012 07:00 pm Panagiotis Kanavos

Changed ETag calculation to SHA256
ETag not posted on directory uploads, to avoid 422 errors
Etag posted in other cases, even if the server ignores it
Merkle block hashes are now stored in the database
Hash calculations first check the state database for existing valid hashes, to avoid recalculating the Merkle hash for unchanged files

12c87c0e 08/29/2012 05:57 pm Panagiotis Kanavos

Changes to hash calculation.
SyncSingleItem not yet tested

c561991c 08/27/2012 11:06 am Panagiotis Kanavos

Move to 2012 and the Async Targeting pack

e66e5b3c 07/17/2012 01:52 pm Panagiotis Kanavos

Added FileState table creation in StatusAgent.UpgradeDatabase
Modified CloudFilesClient.cs to create a _baseClient when retrieving account policies
Added code to delete existing records without an ObjectID when storing state

Modified code for server moves, to check that the target parent directory exists and create it if it doesn't

035cdf32 07/15/2012 10:58 pm Panagiotis Kanavos

Added database upgrade code to force COLLATE NOCASE

0397f6ec 07/10/2012 03:14 pm George Pantazis

Switched to CreateQuery from CreateSQLQuery for all bulk updates to the DB.

Note: COLATE NOCASE must be set in SQL Creation to avoid case issues.

Signed-off-by: George Pantazis <>

d66e72f5 07/03/2012 01:44 pm Panagiotis Kanavos

Fixed invalid transaction management

cd942434 07/03/2012 01:07 pm Panagiotis Kanavos

Added check for missing parents on shared folders, disabled for now

537c5f20 07/02/2012 05:09 pm Panagiotis Kanavos

Modified StoreInfoDirect to use only NHibernate

2280d0f8 07/02/2012 04:24 pm Panagiotis Kanavos

Update through NH used in more places

20c8c0c7 07/02/2012 03:51 pm Panagiotis Kanavos

Modified UpdateStatusDirect to use NHibernate's session instead of a separate ADO.NET connection. If successful, all direct commands should be changed in the same way

37ff7dc9 07/02/2012 01:23 pm Panagiotis Kanavos

Attempt to fix multiple preferences windows

6d8c1524 07/02/2012 10:36 am Panagiotis Kanavos

Wrapped troublesome updates at StoreInfoDirect in a transaction

e1fa1d21 06/28/2012 01:45 am Panagiotis Kanavos

Added checks for hashing of cache files
Modified StoreInfoDirect to avoid multiple checks when trying to update or insert

a60e5887 06/23/2012 05:43 pm Panagiotis Kanavos

Added check for last MD5 modification, to avoid redundant recalculation of MD5

225694f9 06/20/2012 11:50 pm Panagiotis Kanavos

Replaced Merkle hash with MD5 for change checking
Removed initial file indexing
Added hash progress feedback
Changes to Selective Tree check behavior

6e647725 06/19/2012 10:28 pm Panagiotis Kanavos

Added indexing notifications

e4067290 06/05/2012 11:52 pm Panagiotis Kanavos

Added server move detection when hashes match or downloading

1cc1e8c5 06/01/2012 11:45 pm Panagiotis Kanavos

Using MD5 to quickly check for local modifications before calculating the expensive Merkle hash
Fixed bug that didn't upload the contents of new unselected root folders

c945b450 05/31/2012 10:43 pm Panagiotis Kanavos

Change to Polling agent

6a7b8909 05/08/2012 07:01 pm Panagiotis Kanavos

Added code for shared folder miration
Changed minimum polling interval to 1
Added null checks to Selectives

69588a95 04/27/2012 12:00 am Panagiotis Kanavos

Fix for missing directories

8f918cb0 04/26/2012 09:50 pm Panagiotis Kanavos

Fix for FileState.Create constraint violation in StatusAgent.cs
Uploader.cs modified to check if it is possible to upload a new shared file before actually uploading
CloudFilesClient.CanUpload added that checks whether a file can be uploaded in the parent folder of a target object...

8f44fd3a 04/26/2012 02:13 am Panagiotis Kanavos

Selective Sync fixes
FileState persistence fix that correctly stores forbidden files
Permission check fix

0a9d4d18 04/24/2012 09:37 pm Panagiotis Kanavos

New SQLite version

97d149c1 04/24/2012 03:24 am Panagiotis Kanavos

v 0.7.20424

026a6c5a 04/23/2012 11:39 pm Panagiotis Kanavos

Now immediatelly downloading new selected folders

bc27bb7e 04/23/2012 08:41 pm Panagiotis Kanavos

Added orphan state removal

d78d765c 04/03/2012 11:38 pm Panagiotis Kanavos

Extracted upload/download functionality from NetworkAgent to Uploader.cs and Downloader.cs

Taskbar menu fixes
Empty file fixes

81c5c310 03/16/2012 02:33 pm Panagiotis Kanavos

Added fixes for v.0.7.20311

Changes to logo
Renamed "Pithos" logo to "Pithos+"
Fixes to login URL

adfa4645 03/13/2012 01:25 pm Panagiotis Kanavos

Moved Pithos data and logs from the GRNET folder under AppData to a GRNET\PITHOS folder

6f03d6e1 03/12/2012 04:26 pm Panagiotis Kanavos

Fixes to NetSparkle
Fixes to IfModifiedSince calculation
Added console window

fe62b7f4 03/07/2012 08:48 pm Panagiotis Kanavos

Account page changes

174bbb6e 03/06/2012 01:19 pm Panagiotis Kanavos Multiple changes:
  • Calculate hashes in place
  • Use SHA1 to detect local changes before starting the Merkle hash calculation
  • Fixes to renaming, downloading behavior
  • Changes to logging
6bcdd8e2 03/03/2012 02:49 pm Panagiotis Kanavos

Logging improvements

db8a9589 03/02/2012 02:10 pm Panagiotis Kanavos

Modified loggers to use their enclosing class
Activated lossy logging of the last 30 messages before an error
Fixes #1799

255f5f86 02/19/2012 09:41 pm Panagiotis Kanavos

Added header to all files. Closes #2064

618015f4 02/19/2012 07:07 pm Panagiotis Kanavos

Moved the pithos.db location to the same location as the user settings. This will make cleanup of all user settings easier during uninstallation

4d70073b 02/02/2012 02:15 pm Panagiotis Kanavos

Dead code cleanups and removal of unwanted dll references

025046f1 01/27/2012 03:15 pm Panagiotis Kanavos

Added a DeletedIconOverlay.cs
Added synch status in the file properties
Modified the splash screen to use the out-of-the-box splash functionality of WPF
In NetworkAgent.cs, moved the delay call at the end of each poll. Waiting at the start of each poll is inappropriate when the polling frequency is large

540b8cf8 01/20/2012 05:25 pm Panagiotis Kanavos

First change attempt for deletion

3c76f045 01/11/2012 11:22 pm Panagiotis Kanavos

Modifications to delete folder contents

14ecd267 01/11/2012 07:55 pm Panagiotis Kanavos

Changes to delete check order

039a89e5 01/10/2012 11:28 pm Panagiotis Kanavos

Further changes to reduce locking and switch to WAL journal mode for SQLite
Also added dictionary with deleted files with dates to filter upload/download of deleted files.
Should probably add a deletion check when commiting downloaded files

1b4a7550 01/10/2012 07:52 pm Panagiotis Kanavos

Minor fixes and preparing to move

e81dd1f6 01/09/2012 11:19 pm Panagiotis Kanavos

Convert ActiveRecord update code to direct ADO calls to reduce locks

a0dcfcc9 01/05/2012 08:08 pm Panagiotis Kanavos

Replaced object load and update with direct HQL execution to resolve database locks, especially in StatusAgent.cs and FileState.cs
Removed dead code in StatusAgent.cs

4ec636f6 01/05/2012 05:20 pm Panagiotis Kanavos

Removed Dataflow code

ab2f6f79 01/05/2012 05:20 pm Panagiotis Kanavos

Changes to NHibernate/Activerecord storage code

5e31048f 01/03/2012 09:31 pm Panagiotis Kanavos

Some warning fixes and change of some agents from a hand-coded Agent to Dataflow blocks

06f11e8b 12/20/2011 10:40 pm Panagiotis Kanavos

Fixed frequent timeout by always closing WebResponse objects

74d78c90 12/15/2011 03:45 pm Panagiotis Kanavos

Fixed settings save that was disabled due to the addition of a Uri property
Removed "IsPithos" property from UI and classes
Using default token 0007 for feedback

77e10b4f 10/24/2011 08:05 pm Panagiotis Kanavos

Renamed Fragments to Cache

5120f3cb 10/14/2011 05:12 pm Panagiotis Kanavos

Logging changes, first changes to multi account support

cfed7823 10/13/2011 11:14 pm Panagiotis Kanavos

Added log4net for client profile
Refactored to allow retrieval of shared objects