Statistics
| Branch: | Revision:

root / trunk / Pithos.Core / Agents / NetworkAgent.cs @ 99e6329f

History | View | Annotate | Download (36.3 kB)

# Date Author Comment
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.

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

Added header to all files. Closes #2064

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

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

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

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

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

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

Convert ActiveRecord update code to direct ADO calls to reduce locks

f3d080df 01/09/2012 06:54 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

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

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

Added wizard page

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

5ce54458 10/02/2011 11:57 pm Panagiotis Kanavos

Fixed ceiling calculation

9c4346c9 09/27/2011 11:51 pm Panagiotis Kanavos

Refactored to agents