Added pithos.okeanos.io in the list of servers. The user_catalog url is now derived from the base server address
Now working with new authentication
Merge branch 'Polling' of http://code.grnet.gr/git/pithos-ms-client into Polling
Removed dead code
UUID Changes
Signed-off-by: George Pantazis <gpant@noc.grnet.gr>
Converted some dictionaries to IgnoreCase. This should fix cases where tuples aren't matched because of local file case differences
Disable sql logging
Fixed call order bug that removed the conflict state from long names
Fix for null argument exception in the PollAgent. An empty task was created without adding the proper state
Null Fix for long file names.OFM addednew msg for OFM action in taksbar
Changes to handle paths that are too long
Added check and failover of hash algorithms: OpenSSL > Cng > DefaultAdded larger sleep when Block commits fail due to open files
Fix for hash in URL and retry when commiting blocks
Fix range (416)Fix Installer
Fix for directory renamesMove detection re-enabled
Added range header fixDisable move detection until folder move detection is improvedFixed upgrade url in settings
Fix for backslashes when handling moved files
Modified merging code to detect local moves and create the appropriate tuples
Extracted the MergeSources method to a separate class
Added null check in RemoveAccount
Storing lastwritedate, lastlength as soon as the hash is calculated to avoid unnecessary recalculationsAdded SHA1OpenSSL, a HashAlgorithm wrapper over OpenSSL
Range workaroung when downloading empty files
Changed log level for a statement from error to debug
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.
Fixes to the build process to detect the build environment's bitnessAdded Connectivity and Account folder checksAdded InternalServerError as a status code that results in a retry
Added message when connectivity gets restored
Added warning for missing account folderAdded warning for lost connectivity
Fix for wrong shared object uris
Various
Added FileBlockContent.cs to post file blocks that are read directly from a file instead of posting entire 4MB blocks
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
Added cloning of HttpRequestMessage to allow retries using the messages themselvesVarious async modifications to overcome blocking during network faults
Wrong log tags
Some timeout issues
More fixes and changes to DateTimeOffset dates
Fix to execute SchemaUpdate on existing databases
Removed commented code
Various storage and progress changes
Added retry for 502 error
Merge branch 'Polling' of https://code.grnet.gr/git/pithos-ms-client into Polling
Replaced RestClient with HttpClient in PostBlock
Conflicts: trunk/Pithos.Client.WPF/Preferences/PreferencesView.xaml
ISS FixesUpdated StatusFixed GUI IssuesDelete Container dataFixed issue with net.http in 2008 server
Fixed blocking issue
Fix for erroneous storage of Hashes and Checksum
Backed off in PutBlock. Discovered problems in PollAgent.UpdateHashes. It updates the stored file checksum while polling. Remnant of the removal of LastMD5
Several CloudFilesClient.cs methods converted to use HttpClient
Created transactional block update method
Created separate methods for block updating for XP/FAT and Vista+ with NTFS
Conflicts: trunk/Pithos.Core/Agents/StatusAgent.csAlso switched from SQLite, ActiveRecord to pure NHibernate and SQL Server Compact
Replaced SQLite package with SQL Compact. Still need to update or remove direct statements
Removed MD5 Calculations for Old and New FileStateChange 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"
Nuked Short Hashing, always returns null
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
Fixed off-by-1 buffer error
Replaced .NET hashing with OpenSSL
Changed ETag calculation to SHA256ETag not posted on directory uploads, to avoid 422 errorsEtag posted in other cases, even if the server ignores itMerkle block hashes are now stored in the databaseHash calculations first check the state database for existing valid hashes, to avoid recalculating the Merkle hash for unchanged files
Changes to hash calculation.SyncSingleItem not yet tested
Fix for object names with '%20' and ' ' inside
Move to 2012 and the Async Targeting pack
Added FileState table creation in StatusAgent.UpgradeDatabaseModified CloudFilesClient.cs to create a _baseClient when retrieving account policiesAdded 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
Added database upgrade code to force COLLATE NOCASE
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.
Fix for multiple processing of deep hierarchies
Changes to allow upload of new folders that are stored in selected folders
Added local move to server MOVE only for unchanged files.
Added initial parallelism value equal to Total cores/2Now using the parallelism setting in all hash calculations that accept a parallelism setting.
Added fix to process the child items of new root
Added cancellation to hashing
Fixed current operation cancellation
Added isDirectory parameter to DeleteObjectCreated separate AssemblyVersion file used by all Pithos projects to hold common version number
Activated missing parents detection
Renamed root folders are added to the list of selective folders, as long as their container is also selected
Fixed invalid transaction management
Added check for missing parents on shared folders, disabled for now
Modified StoreInfoDirect to use only NHibernate
Update through NH used in more places
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
Reduced buffer size while hashing to 16K
Attempt to fix multiple preferences windows
Added check for stale states
Fix for possible NULL S
Wrapped troublesome updates at StoreInfoDirect in a transaction
Added checks for hashing of cache filesModified StoreInfoDirect to avoid multiple checks when trying to update or insert
Added restrained capacity to MD5 Block calculator, to prevent reading too many blocks if the CPU can't process them fast enough
Added check for last MD5 modification, to avoid redundant recalculation of MD5
Added file event filtering due to downloads through network gate.Added missing network gates in PollAgentSimplified file event processing, as we no longer need the file events themselves during polling
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)...
Replaced Merkle hash with MD5 for change checkingRemoved initial file indexingAdded hash progress feedbackChanges to Selective Tree check behavior
Added upload/download/delete/hashing notificationsFixed cases where execution would switch to the UI thread due to SynchronizationContext capturingMini Status now opens when left clicking on the tray icon
Added indexing notifications
Added special handling of IfModifiedSince if a new shared container is detected
Restored IfModifiedSince functionality and server snapshots
Support for very large files
Modified hash to use long block counters
Restored batchingNow handling renames in batchingFixed blocking issues
Changed timeout for server response to 30sec
Notification before hash starts