Commit Graph

54 Commits

Author SHA1 Message Date
Eric Yen f9384d48dd Implement https://trello.com/c/a1il1sTd
modified:   NzbDrone.Core/MediaFiles/EpisodeFileMovingService.cs

-modified:  DiskProvider.cs
added SetFolderAccessTime to the interface
added SetFolderAccessTime function

-modified MoveEpisodeFile.cs
call SetFolderAccessTime from both MoveEpisodeFile
2013-09-28 17:22:35 -04:00
kay.one 873134fcee guard against InheritFolderPermissionsNotImplementedException in linux. 2013-09-14 17:08:16 -07:00
kay.one 0ebbe102c9 disk provider removes readonly flag before trying to delete files. 2013-09-12 21:59:29 -07:00
kay.one 601cd31a1f Diskprovider cleanup. 2013-09-11 23:52:37 -07:00
Mark McDowall 00bf533696 Empty folder before update instead of deleting it 2013-09-08 10:49:48 -07:00
Keivan Beigi bceaee27a3 moved logging config to in-process 2013-09-02 22:15:08 -07:00
kay.one 3b240e0dd7 getting freespace returns null instead of blowing up. 2013-08-31 21:38:21 -07:00
Mark McDowall 7771899e29 NotUnpacking check added to episode import
Checks last write time when in working folder, should help with moving while unpacking
2013-08-22 08:34:51 -07:00
Keivan Beigi c13195046d case insensitive match for unmapped folders. 2013-08-20 12:28:46 -07:00
Mark McDowall 4d65f05000 Use SID S-1-1-0 instead of EVERYONE for non-english systems 2013-08-12 19:27:42 -07:00
Mark McDowall a5e8452840 Removed premove and instead check for source file being in use 2013-08-11 15:55:26 -07:00
Mark McDowall 6b30d831b3 Fixing test issue when Linux always returns / for PathGetPathRoot (when its rooted)
http://typedescriptor.net/browse/members/1247454-Mono.Unix.UnixPath.GetPathRoot%28String%29
2013-08-08 21:44:49 -07:00
Mark McDowall 470182e397 FreeSpace check now uses the root of the drive\share as the check 2013-08-08 18:40:24 -07:00
Mark McDowall 19906e0350 Special folders also apply to RootFolder unmapped folders 2013-08-04 10:04:36 -07:00
Mark McDowall 1c5e30bbd0 Directory lookup will not include some folders at base of drive 2013-08-02 20:01:16 -07:00
Mark McDowall 60177abf51 A bit more logging for delete file (in recycle bin) 2013-07-30 02:09:48 +02:00
kay.one 67661c6893 more linux fixes 2013-07-25 22:55:19 -07:00
kay.one 23b2c9eef5 more linux fixes 2013-07-25 22:22:44 -07:00
kay.one 478caf15f8 static resource URLs are now case sensitive. 2013-07-23 23:27:31 -07:00
Mark McDowall 4c1e6e14aa EpisodeFile cleanup and deletion fixes
Upgraded episodes will no longer be auto unmonitored
EpsiodeFiles will be removed from db if parsing rules have changed
EpisodeFiles will be removed from db if they are not in their series' folder (or subfolder)
2013-07-22 17:50:37 -07:00
Keivan Beigi 44950c212e updated loggly to only report upgrade logs. 2013-07-18 16:41:11 -07:00
Mark McDowall ef42034e38 Free disk space should be faster on drive pools 2013-07-11 17:07:21 -07:00
Keivan Beigi c1a75604fd Kill NzbDrone process if service couldn't be stopped.
better Process/Service handling.
2013-07-05 11:51:38 -07:00
Keivan Beigi 4deecde092 back to tiny for now 2013-05-10 20:43:52 -07:00
kay.one e03ab2ebea getting free space tries to get the space safely, if doesn't work and windows
the tries interop.
2013-04-29 23:11:49 -07:00
Keivan Beigi 3162e4864d improved Linux support for tests. 2013-04-29 17:04:14 -07:00
kay.one 6e88f55a54 cleaned up parsing logic and structure. 2013-04-14 18:41:39 -07:00
kay.one a0d0e4715e fixed some tests, cleaned up root folders. 2013-02-16 20:48:19 -08:00
Mark McDowall cd98fbb4fa Missing root dir won't stop app
Fixed: Missing root dir won't prevent UI from loading
2012-12-25 23:20:31 -08:00
Mark McDowall ae0648b8f4 Free space widgets
Fixed: Free space widgets take up less space on smaller screens
2012-12-23 23:16:43 -08:00
Mark McDowall 5bbe310af5 Merge branch 'xem' into 'master'
Conflicts:
	NzbDrone.Common/DiskProvider.cs
	NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/ImportFileFixture.cs
	NzbDrone.Core/Providers/DecisionEngine/CustomStartDateSpecification.cs
	NzbDrone.Core/Providers/DiskScanProvider.cs
	NzbDrone.Core/Providers/DownloadProvider.cs
2012-10-20 16:07:04 -07:00
Mark McDowall 5cc2810f77 Skip import when when folder is in use
Fixed: Skip post-processing when folder is in use or series path does
not exist on disk
2012-10-20 01:01:47 -07:00
Mark McDowall b5e196fcef Skip import when Series.Path doesn't exist 2012-10-19 23:46:12 -07:00
Mark McDowall f9370a8aec Cleaned and fixed broken tests 2012-10-19 18:42:42 -07:00
Mark McDowall 9c6d78d479 Cleanup and updates for XEM
SceneSource added to signify to lookup via scene name
Use Episodes for naming instead of EpisodeNumbers (in ParseResult)
2012-10-17 00:39:06 -07:00
Mark McDowall 23118871fd Added Recycle Bin to server side
New: Recycle Bin is now available
2012-09-03 23:49:04 -07:00
Mark McDowall cc6011ec87 Organized tests for DiskScan and PostDownload
Added tests for GetVideoFiles and ProcessVideoFile
2012-08-29 08:34:51 -07:00
Mark McDowall b50e16a456 Metadata coming together for XBMC 2012-07-09 21:37:24 -07:00
kay.one 7071cf829a Updated diskprovider to use GetFiles instead of EnumerateFiles to prevent a screwed up issue. 2012-01-22 22:43:11 -08:00
kay.one ead5f37921 Directory write time is now calculated based on the most recent file write to any file inside of that directory. 2012-01-22 20:59:23 -08:00
kay.one a68c882032 fixed http 500 error. 2012-01-22 20:34:30 -08:00
kay.one 19c087e50a Moving file from same source/destination no longer just deletes the file. 2011-12-14 00:07:46 -08:00
kay.one bfe4de7a08 Fixed some issue around path normalization. 2011-12-10 11:22:47 -08:00
kay.one 3520b56bb6 Update logs are now in the UI 2011-11-21 22:55:09 -08:00
Mark McDowall a91c7bbff4 Removed Trace Logging from FileExists.
Update will now use copy to update, instead of move.
2011-11-21 16:39:56 -08:00
Mark McDowall 2e3adf27ec Adding trace logging to DiskProvider.FileExists. 2011-11-21 16:14:12 -08:00
Mark McDowall 95d1832379 Added Trace Logging to DiskProvider.DeleteFile. 2011-11-19 21:35:44 -08:00
kay.one 950b2f0965 DiskProvider.MoveFile now overwrites existing file. 2011-11-17 23:16:05 -08:00
kay.one d97a1d068c DiskProvider.Move now overwrites existing folder, Update some Diskprovider to use .NET 4 calls. 2011-11-17 22:52:50 -08:00
kay.one 80df59c8e7 Better exception info for diskprovider 2011-11-17 22:08:07 -08:00