Statistics
| Branch: | Revision:

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

# 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

854c715a 03/04/2013 08:03 pm Panagiotis Kanavos

Now working with new authentication

ecb81749 03/01/2013 01:23 pm George Pantazis

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

2fdad0b8 03/01/2013 10:15 am Panagiotis Kanavos

Removed dead code

88e2300a 02/28/2013 07:57 pm George Pantazis

UUID Changes

Signed-off-by: George Pantazis <>

ca94f0ec 12/17/2012 06:30 pm Panagiotis Kanavos

Converted some dictionaries to IgnoreCase. This should fix cases where tuples aren't matched because of local file case differences

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

Disable sql logging

80d69298 12/11/2012 12:03 pm Panagiotis Kanavos

Fixed call order bug that removed the conflict state from long names

7d8c8934 12/11/2012 11:29 am Panagiotis Kanavos

Fix for null argument exception in the PollAgent. An empty task was created without adding the proper state

302c5b7d 12/06/2012 04:29 pm George Pantazis

Null Fix for long file names.
OFM added
new msg for OFM action in taksbar

Signed-off-by: George Pantazis <>

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

Changes to handle paths that are too long

0e1acc13 11/13/2012 06:36 pm Panagiotis Kanavos

Added check and failover of hash algorithms: OpenSSL > Cng > Default
Added larger sleep when Block commits fail due to open files

1101a72e 11/13/2012 03:07 pm Panagiotis Kanavos

Fix for hash in URL and retry when commiting blocks

46a6bfd9 11/09/2012 03:15 pm George Pantazis

Fix range (416)
Fix Installer

Signed-off-by: George Pantazis <>

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

Fix for directory renames
Move detection re-enabled

09336328 11/08/2012 10:13 am Panagiotis Kanavos

Added range header fix
Disable move detection until folder move detection is improved
Fixed upgrade url in settings

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

Fix for backslashes when handling moved files

dbd01723 11/06/2012 04:30 pm Panagiotis Kanavos

Modified merging code to detect local moves and create the appropriate tuples

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

Extracted the MergeSources method to a separate class

bc9ed566 11/05/2012 03:13 pm Panagiotis Kanavos

Added null check in RemoveAccount

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

c8045641 10/23/2012 04:29 pm Panagiotis Kanavos

Range workaroung when downloading empty files

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

Changed log level for a statement from error to debug

39de8b0f 10/23/2012 01:25 pm Panagiotis Kanavos

Added code to handle files that get locked or modified after uploading starts. In this case, uploading is aborted.
Improved code to move an account folder and stop monitoring while the move takes place. Still needs work.

855fc9c9 10/12/2012 04:50 pm Panagiotis Kanavos

Fixes to the build process to detect the build environment's bitness
Added Connectivity and Account folder checks
Added InternalServerError as a status code that results in a retry

c1493282 10/12/2012 04:05 pm Panagiotis Kanavos

Added message when connectivity gets restored

6e596fcb 10/12/2012 04:04 pm Panagiotis Kanavos

Added warning for missing account folder
Added warning for lost connectivity

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

Fix for wrong shared object uris

96e5791c 10/04/2012 04:07 pm Panagiotis Kanavos

Various

ec8c61b6 10/04/2012 11:14 am Panagiotis Kanavos

Added FileBlockContent.cs to post file blocks that are read directly from a file instead of posting entire 4MB blocks

19265570 10/02/2012 04:50 pm Panagiotis Kanavos

Changes to speed up processing a large number of of newly added files:
- File events are queued for asynchronous processing instead of raising tasks.
- Hashes for multiple files are calculated in parallel if there are more than 20 files that need hashing

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

9a1c7fda 09/26/2012 06:53 pm Panagiotis Kanavos

Removed commented code

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

Various storage and progress changes

43685bcc 09/26/2012 03:04 pm Panagiotis Kanavos

Added retry for 502 error

f6e0007d 09/26/2012 02:57 pm Panagiotis Kanavos

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

f037bf1f 09/26/2012 02:56 pm Panagiotis Kanavos

Replaced RestClient with HttpClient in PostBlock

e9c9322c 09/26/2012 02:44 pm George Pantazis

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

Conflicts:
trunk/Pithos.Client.WPF/Preferences/PreferencesView.xaml

Signed-off-by: George Pantazis <>

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 <>

5b2e4db4 09/26/2012 12:23 pm Panagiotis Kanavos

Fixed blocking issue

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

bfb01e59 09/24/2012 01:19 pm Panagiotis Kanavos

Several CloudFilesClient.cs methods converted to use HttpClient

030b9baf 09/20/2012 06:20 pm Panagiotis Kanavos

Created transactional block update method

9a9c797a 09/20/2012 05:43 pm Panagiotis Kanavos

Created separate methods for block updating for XP/FAT and Vista+ with NTFS

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 <>

ad692e3a 09/18/2012 05:39 pm George Pantazis

Nuked Short Hashing, always returns null

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

d5617d4f 09/12/2012 06:38 pm Panagiotis Kanavos

Fixed off-by-1 buffer error

796a7c29 09/04/2012 09:25 pm Panagiotis Kanavos

Replaced .NET hashing with OpenSSL

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

a58eae0f 08/27/2012 07:02 pm Panagiotis Kanavos

Fix for object names with '%20' and ' ' inside

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 <>

38df1774 07/06/2012 06:25 pm Panagiotis Kanavos

Fix for multiple processing of deep hierarchies

3b6bf35a 07/06/2012 04:56 pm Panagiotis Kanavos

Changes to allow upload of new folders that are stored in selected folders

22331120 07/06/2012 02:41 pm Panagiotis Kanavos

Added local move to server MOVE only for unchanged files.

f2adbfc9 07/05/2012 03:41 pm Panagiotis Kanavos

Added initial parallelism value equal to Total cores/2
Now using the parallelism setting in all hash calculations that accept a parallelism setting.

c454d628 07/05/2012 03:40 pm Panagiotis Kanavos

Added fix to process the child items of new root

c875d683 07/05/2012 02:03 pm Panagiotis Kanavos

Added cancellation to hashing

f14ca69c 07/05/2012 10:39 am Panagiotis Kanavos

Fixed current operation cancellation

0daedeef 07/03/2012 11:54 pm Panagiotis Kanavos

Added isDirectory parameter to DeleteObject
Created separate AssemblyVersion file used by all Pithos projects to hold common version number

def7a28f 07/03/2012 04:07 pm Panagiotis Kanavos

Activated missing parents detection

f4f39ccb 07/03/2012 02:50 pm Panagiotis Kanavos

Renamed root folders are added to the list of selective folders, as long as their container is also selected

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

f5f9b225 07/02/2012 01:50 pm Panagiotis Kanavos

Reduced buffer size while hashing to 16K

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

Attempt to fix multiple preferences windows

11d95a30 07/02/2012 12:10 pm Panagiotis Kanavos

Added check for stale states

95afb873 07/02/2012 11:43 am Panagiotis Kanavos

Fix for possible NULL S

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

7067e4d2 06/27/2012 11:29 pm Panagiotis Kanavos

Added restrained capacity to MD5 Block calculator, to prevent reading too many blocks if the CPU can't process them fast enough

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

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

f469bb5b 06/21/2012 09:13 pm Panagiotis Kanavos

Added file event filtering due to downloads through network gate.
Added missing network gates in PollAgent
Simplified file event processing, as we no longer need the file events themselves during polling

d436a267 06/21/2012 05:35 pm George Pantazis

Updated registration for restart manager to push null for app params (c++ dll import needs update for win8)
Updated inno installer configuration for RM handling to include gpant commits.
Added logging for RM registration (fails silently on anything before VISTA)...

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

42af59dc 06/19/2012 11:27 pm Panagiotis Kanavos

Added upload/download/delete/hashing notifications
Fixed cases where execution would switch to the UI thread due to SynchronizationContext capturing
Mini Status now opens when left clicking on the tray icon

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

Added indexing notifications

039ce31d 06/19/2012 09:55 pm Panagiotis Kanavos

Added special handling of IfModifiedSince if a new shared container is detected

2122b285 06/19/2012 09:04 pm Panagiotis Kanavos

Restored IfModifiedSince functionality and server snapshots

4cf8e4a5 06/19/2012 03:13 pm George Pantazis

Support for very large files

Signed-off-by: George Pantazis <>

69fdb645 06/19/2012 02:31 pm Panagiotis Kanavos

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

f6a13aec 06/19/2012 02:26 pm Panagiotis Kanavos

Modified hash to use long block counters

23fc25ce 06/19/2012 02:25 pm Panagiotis Kanavos

Modified hash to use long block counters

4b58c004 06/18/2012 11:42 pm Panagiotis Kanavos

Restored batching
Now handling renames in batching
Fixed blocking issues

6dfe863e 06/18/2012 05:31 pm George Pantazis

Changed timeout for server response to 30sec

Signed-off-by: George Pantazis <>

1f277506 06/18/2012 02:48 pm George Pantazis

Notification before hash starts

Signed-off-by: George Pantazis <>