Statistics
| Branch: | Revision:

root / trunk / Pithos.Core / Agents @ 79f92570

# Date Author Comment
79f92570 03/07/2012 01:58 pm Panagiotis Kanavos

Added file event batching

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
9d2c0fc0 03/03/2012 09:37 pm Panagiotis Kanavos

Replaced hashing algorithm with inplace version

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

48686774 03/01/2012 05:49 pm Panagiotis Kanavos

Modified FileSystemWatcherAdapter.cs to raise create events for all child objects under a new folder
Fixes #2120

ec1a1baf 03/01/2012 03:37 pm Panagiotis Kanavos

Replaced BlockingCollection in Agents/Agent.cs with AsyncProducerConsumerCollection, to reduce locking and avoid exceptions
when an agent stops (e.g. when a FileAgent stops because an account is removed).
Cleanup of several related files

Fixes #1785

89472316 02/29/2012 03:18 pm Panagiotis Kanavos

Simplified snapshot comparisons usind dictionaries

5e10d44f 02/29/2012 02:56 pm Panagiotis Kanavos

Modified differencer to compare UUIDs instead of URLs

b666b39a 02/28/2012 01:42 pm Panagiotis Kanavos

Added modifications for move detection. Resolves #1999, #1891

f8c471f7 02/24/2012 05:30 pm Panagiotis Kanavos

Removed old code that used MD5 for small files
Closes 2096

6ef37eeb 02/24/2012 01:28 pm Panagiotis Kanavos

Further simplified state initialization

2ea0ca4f 02/24/2012 01:26 pm Panagiotis Kanavos

Replaced lists with arrays in State to make the state class read-only

f6ca240a 02/24/2012 01:18 pm Panagiotis Kanavos

SyncFiles method modified to detect conflicts as per #2096

64171b56 02/24/2012 01:16 pm Panagiotis Kanavos

Modified Differencer to set the PreviousHash value for Common objects
Extracted Current,Previous fields to nested State class to make Post exception safe and use a more functional style

2e3aee00 02/23/2012 06:15 pm Panagiotis Kanavos

Added manual token refresh button to account page. Closes #2095
Modified check for interrupted files to raise notification only if there are actual interrupted files. Closes #2081

62d5b25f 02/23/2012 05:20 pm Panagiotis Kanavos

Fixes to create the proper filepaths from URLs

92f18b56 02/23/2012 04:17 pm Panagiotis Kanavos

Fixed to polling and differencing

99e6329f 02/23/2012 12:44 pm Panagiotis Kanavos

Modified SnapshotDifferencer to detect NoModificationInfo entries.
NoModificationInfo entries are replaced by matching entries from the previous snapshot.

126f90b3 02/22/2012 06:55 pm Panagiotis Kanavos

Synch seems OK. Identified problem with poll differencer

fec5da06 02/22/2012 05:57 pm Panagiotis Kanavos

File and polling filtering work properly

759bd3c4 02/22/2012 01:57 pm Panagiotis Kanavos

Converted message arrays to Uri arrays

fbbbe99b 02/21/2012 12:01 pm Panagiotis Kanavos

GetFileAgent moved to FileAgent.cs

38ac43a6 02/20/2012 05:38 pm Panagiotis Kanavos

Renamed PauseEvent to ProceedEvent

aa7ac00e 02/20/2012 04:58 pm Panagiotis Kanavos

Extracted polling functionality to a separate PollAgent.cs
The PollAgent pauses polling while network operations are in progress
Modified deleted file processing to ignore files in the Trash folder.

139ac1e8 02/20/2012 02:35 pm Panagiotis Kanavos

Modifications to raise move events for moved child objects from the FileAgent

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

6a8aa833 02/17/2012 05:02 pm Panagiotis Kanavos

Changed AsyncManualResetEvent.Set behaviour to occur asynchronously. In the previous version calling Set resulted in the poll method executing in the main thread

7f0e1c1e 02/17/2012 05:00 pm Panagiotis Kanavos

Replaced _differencers Dictionary with ConcurrentDictionary

34bdb91d 02/16/2012 05:32 pm Panagiotis Kanavos

Simplified proxy management code

3742088d 02/14/2012 02:27 pm Panagiotis Kanavos

Extracted cloud delete functionality to a separate DeleteAgent

a9faac18 02/14/2012 01:08 pm Panagiotis Kanavos

Added AsyncManualResetEvent to control manual synchronization

303596f9 02/14/2012 12:30 pm Panagiotis Kanavos

Replace manual reset event with asynch reset event for pausing the up/download agent

a0622735 02/13/2012 11:40 pm Panagiotis Kanavos

Simplified SnapshotDifferencer.cs

422c9598 02/13/2012 11:00 pm Panagiotis Kanavos

Added SnapshotDifferencer.cs to calculate the difference between the current and previous listings of the server files
Changed hashing to use an ActionBlock with parallelism options.
Added parallelism property in Preferences

039d89ea 02/10/2012 01:56 pm Panagiotis Kanavos

Added differencer and tests

2edb4807 02/09/2012 11:36 pm Panagiotis Kanavos

Preliminary fix for #1999, incorrect deletions
The first attempt is to detect deletions AFTER the first poll by comparing a cached listing to the new listing. Missing files are deletes. Can be expanded to simplify the rest of the processing code as it can also yield new files and modified files (same path, higher versions or different lengths or hashes)

1a3dfbfd 02/09/2012 07:47 pm Panagiotis Kanavos

Added _lastSeen dictionary to use as log of files, in an attempt to prevent deletion of files that are still being uploaded, or have finished uploading after a poll but before processing of deleted files start

df6e9afc 02/07/2012 03:49 pm Panagiotis Kanavos

Added check for queued or active objects when checking for files to delete

1cf5689c 02/06/2012 08:40 pm Panagiotis Kanavos

Merge branch 'master' of \\\pk2010\Pithos\

Conflicts:
trunk/Pithos.Client.WPF/Shell/BalloonIconConverter.cs

91b21852 02/06/2012 08:07 pm Panagiotis Kanavos

Changing the delete agent to handle renames as well didn't help. Renames or moves will fail if the file being renamed hasn't been uploaded yet (e.g. the first time a file is created in Windows Explorer).

Added a further delay in deleting missing files instead, in NetworkAgent.cs.

70f12b36 02/03/2012 11:47 pm Panagiotis Kanavos

First attempt to allow shared file modifications

eae84ae8 02/02/2012 11:16 pm Panagiotis Kanavos

Changed notifications according to #1970, #1973
Now showing balloon tip only for the first actual change after a poll
All other changes simply update the icons
Resolves #1970, #1973

7c4a9354 02/02/2012 11:16 pm Panagiotis Kanavos

Changed notifications according to #1970, #1973
Throw appropriate exception when Pithos.Client.WPF/PithosAccount.cs fails to retrieve credentials (Pointless maybe ?)
Returning empty hash for missing files

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

Dead code cleanups and removal of unwanted dll references

d9b1cbeb 01/30/2012 09:19 pm Panagiotis Kanavos

Modifications to allow synchronization of shared files:
- Ensure shared files are stored in the proper local directory
- Ensure only writable files are uploaded
- Filter file events for the shared folder and the accounts and containers in it
- Change PutWithHashMap to account for a modified server content (proper json instead of hashes per line)

4d59e647 01/30/2012 06:27 pm Panagiotis Kanavos

Merge branch 'master' of \\\pk2010\Pithos\

add4f744 01/30/2012 06:24 pm Panagiotis Kanavos

Reactivated shared object code

e5b65606 01/27/2012 03:55 pm Panagiotis Kanavos

Added separate notification class
Now raising notifications when polling starts, when conflicts are detected, when changes are detected

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

9c6d3193 01/24/2012 07:11 pm Panagiotis Kanavos

Added notification messages for conflicts and multifile operations on Pithos.Core/PithosMonitor.cs
Added simple status display for conflict and multifile operations in ShellViewModel.cs
Added Conflict file status
Modified NetworkAgent.cs to mark local-only files as "in conflict" during the first poll and delete any non-conflict local-only files on subsequent runs. Closes #1466, #1931

8a84d039 01/24/2012 04:24 pm Panagiotis Kanavos

"Other" tab in File options was removed. Closes #1930
Proxy settings set to UseDefaultProxy. Added Check in App.xaml.cs to reset the proxy to UseDefaultProxy if the ProxyServer setting is empty when ManualProxy is set. Closes #1929

97f51ab0 01/24/2012 09:28 am Panagiotis Kanavos

Fix for deleting local objects that don't exist in Pithos

26d5f45f 01/24/2012 09:28 am Panagiotis Kanavos

Added code to delete/move child objects

29a6b387 01/23/2012 09:00 pm Panagiotis Kanavos

Added check for startup option
Added Okeanos folder creation

133f83c2 01/20/2012 06:12 pm Panagiotis Kanavos

Added Polling interval property and setting

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

First change attempt for deletion

78ebfd2d 01/19/2012 11:10 pm Panagiotis Kanavos

Added FileSystemWatcherAdapter.cs to raise Moved events from the sequence of Deleted, Created events raised by FileSystemWatcher.
Modified PreferencesViewModel.cs to URLEncode the token when opening the Pithos site

9d6d2f6e 01/18/2012 02:53 pm Panagiotis Kanavos

Missing change to ManualResetEventSlim

c99473ae 01/16/2012 08:59 pm Panagiotis Kanavos

Replaces AutoResetEvent with manual reset event

0b346191 01/13/2012 07:32 pm Panagiotis Kanavos

Added AutoResetEvent to pause processing of network actions while executing deletes

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

b9f5b594 01/09/2012 07:48 pm Panagiotis Kanavos

Changes for directories
Added copyright notices

4f6d51d4 01/08/2012 11:02 pm Panagiotis Kanavos

Added directory object creation whenever a new directory is created
Showing the file property dialog box for directories

73cdd135 01/05/2012 10:10 pm Panagiotis Kanavos

Simplified several functions by replacing task continuations with async/await

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

692ec33b 01/03/2012 05:35 pm Panagiotis Kanavos

Now closing web request immediatelly after executing a request that has no content.
Fixed content logging that improperly disposed the response stream in RestClient.cs

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

77f3c897 11/29/2011 10:46 pm Panagiotis Kanavos

Added wizard page

aba9e6d9 11/16/2011 06:28 pm Panagiotis Kanavos

Tags, Permissions, Public for Files are working

27361404 11/03/2011 11:50 pm Panagiotis Kanavos

Added Permissions, Tags
Changed all task iterators to Async

437abfca 11/03/2011 06:00 pm Panagiotis Kanavos

Added Async CTP

7b0a5fec 10/31/2011 11:11 pm Panagiotis Kanavos

First version of File Properties window. Works with random file

ec6f3895 10/25/2011 10:18 pm Panagiotis Kanavos

Changed folder structure

5750d7cc 10/24/2011 09:48 pm Panagiotis Kanavos

Renamed Others to others-shared
Added account name to container info
Now creating Pithos and containers folders, except Trash

2cc7dc10 10/24/2011 08:05 pm Panagiotis Kanavos

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

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

Renamed Fragments to Cache

6f351ec6 10/24/2011 06:36 pm Panagiotis Kanavos

Fix to current account behavior in Preferences/PreferencesView.xaml

Modified Upload to always use block uploading. Need cleanup of dead code

7e26c075 10/20/2011 11:13 pm Panagiotis Kanavos

Fixes to Add/Remove accounts

0bd56b7c 10/20/2011 03:51 pm Panagiotis Kanavos

Added usage and "Go To Site" menus per account

1bfc38f1 10/18/2011 11:08 pm Panagiotis Kanavos

Fixed uploads of shared files. Added check for unauthorized additions to "others" folder

d3a13891 10/18/2011 08:04 pm Panagiotis Kanavos

Added UI for SelectiveSynch

Tested multi-user and shared objects.

c28a075a 10/17/2011 08:09 pm Panagiotis Kanavos

Added Agent locator to locate file agents for specific folders

c53aa229 10/14/2011 10:45 pm Panagiotis Kanavos

Large changes to accomodate multiple users

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

0af3141d 10/10/2011 11:41 pm Panagiotis Kanavos

Multiple changes to enable delete detection, safer uploading

24477d85 10/10/2011 01:35 pm Panagiotis Kanavos

Checked to ensure exceptions occuring inside continuations are propagated

a64c87c8 10/09/2011 07:45 pm Panagiotis Kanavos

Added BlockUpdater.cs to perform block updates in a separate class. Will include TxF in a future version
Simplified agent loop code

a27aa447 10/09/2011 03:22 pm Panagiotis Kanavos

Uploading and downloading with hashes

bfc13ed8 10/03/2011 11:58 pm Panagiotis Kanavos

Synch fixes