Commit Graph

324 Commits

Author SHA1 Message Date
Taloth Saldono 593c4b8182 Update test for redirect diagnostic. 2015-03-15 02:00:44 +01:00
Taloth Saldono a3873634b0 Fixed TorrentBlackhole failing fatally on magnet link instead of falling back to torrent url. 2015-03-15 01:49:11 +01:00
Taloth Saldono 96469be7f0 Fixed: Can now specify a cookie for BitMeTv. 2015-03-14 22:39:19 +01:00
Mark McDowall 3ed8f0ea84 Fixed: Not properly getting the parent of a folder with a trailing slash
GetParentFolder will trim trailing slashes
2015-02-13 16:53:01 -08:00
Mark McDowall d1df5ed7cd New: Logging level in settings will be used for Console logging 2015-02-11 17:05:27 -08:00
Taloth 5750f012cb Merge pull request #180 from Sonarr/updatecheck-fixes
Updatecheck fixes
2015-02-08 21:21:24 +01:00
Mark McDowall 20782bbbc1 Episode import improvements
Fixed: Use folder name when file name is not parsable on import
2015-02-08 00:07:08 -08:00
Taloth Saldono 11803afc39 Added FolderWritable to DiskProvider to centralize the check. 2015-02-07 16:24:22 +01:00
Taloth Saldono 0934900cab Updated exception handler to ignore certain types of exceptions. 2015-02-07 15:22:25 +01:00
Mark McDowall d5cc261985 Spawn new mono processes with --debug 2015-02-05 23:31:15 -08:00
Taloth Saldono 35ab3a28fd New: MediaCover api now includes several resized variants to save bandwidth for mobile apps.
banner-35.jpg (height)
banner-70.jpg
fanart-180.jpg (height)
fanart-360.jpg
poster-170.jpg (width)
poster-340.jpg
2015-01-29 19:27:09 +01:00
Mark McDowall 9e11745cb2 Fixed: Conflicts with mono 3.12 2015-01-14 16:58:21 -08:00
Taloth Saldono c19a393f99 Now generating unique ids for queue items sent to the api. 2015-01-11 20:48:35 +01:00
Mark McDowall daafb67fa7 New: MediaBrowser notifications 2015-01-08 22:47:59 -08:00
Keivan Beigi 46bf80dcd1 fixed: increased tvdb search limit to 10 2014-12-30 20:24:35 -08:00
Taloth Saldono d931626aee Size formatted culture invariant. 2014-12-21 20:08:59 +01:00
Mark McDowall 6878804705 Fixed: File browser ordering and volume name 2014-12-20 13:24:29 -08:00
Mark McDowall 85a9b74008 File Browser
New: File Browser to navigate to folders when choosing paths
2014-12-19 23:32:47 -08:00
Keivan Beigi 3d1e0e7042 Merge pull request #158 from Sonarr/update-handshake
Update handshake
2014-12-18 16:57:08 -08:00
Keivan Beigi a6d34caf2c New: Rebuilt Completed/Failed download handling from scratch 2014-12-18 16:26:42 -08:00
Keivan Beigi cb3d5fbfe7 Pass data cmd argument between application and update. 2014-12-17 14:47:45 -08:00
Keivan Beigi a3042197c5 GlobalExceptionHandlers are now registered with other loggers 2014-12-16 23:36:33 -08:00
Keivan Beigi 0a341199a8 safer log configuration 2014-12-16 23:12:26 -08:00
Keivan Beigi 493a3c9724 Added Logentries to track down automatic upgrade issues 2014-12-16 15:35:42 -08:00
Mark McDowall c10f02e0b1 More test cases for human readable bytes 2014-12-15 13:08:22 -08:00
Mark McDowall 6d31b14d96 Fixed: Humanized size show same values as size settings 2014-12-15 12:16:01 -08:00
Keivan Beigi f4c202441c Cleaned up environment detection 2014-12-07 12:56:47 -08:00
Keivan Beigi cf77104a02 removed redundant else 2014-12-06 23:23:11 -08:00
Keivan Beigi 3b087ba922 minor cleanup 2014-12-06 22:08:51 -08:00
Keivan Beigi 0be8f55a2f Cleaned up using directive 2014-12-06 21:55:17 -08:00
Mark McDowall 7d96d4d644 Log cert issues at debug (need to deal with self signed certs) 2014-12-06 09:07:13 -08:00
Keivan Beigi 71638ec77e switched services to http 2014-12-05 14:23:30 -08:00
Keivan Beigi 3ce65eec08 Log HTTPS cert errors 2014-12-05 14:05:30 -08:00
Keivan Beigi 664ec45360 log cert errors 2014-12-04 22:28:46 -08:00
Keivan Beigi c4e684fbd3 update usages of nzbdrone.com to sonarr.tv 2014-12-04 17:54:37 -08:00
Mark McDowall 2de837558b Fixed compilation 2014-12-01 22:48:11 -08:00
Mark McDowall 935b9e5f4e New: Use the ID returned from SABnzbd (0.7.20) during retry 2014-12-01 22:39:27 -08:00
Mark McDowall 6467167046 Moved Extension methods in common to subfolder 2014-12-01 22:26:25 -08:00
Mark McDowall 3c1df5693c Cleanse API key from logs for omgwtfnzbs 2014-11-29 17:15:40 -08:00
Mark McDowall 3f8366a190 New: Search for previously aired episodes that were just added to the database 2014-11-26 23:08:17 -08:00
Mark McDowall 70f07845fd Changed UserAgent to Sonarr 2014-11-25 07:28:49 -08:00
Keivan Beigi 23524c238f Fixed: EzRSS Size Parsing 2014-11-24 15:16:29 -08:00
Keivan Beigi 2d42d1ce6a fixed build error 2014-11-21 17:13:00 -08:00
Keivan Beigi f127028992 updated restsharp to 6.0.5 -> 6.0.6 2014-11-21 17:08:01 -08:00
Mark McDowall 71e83ba8a8 Fixed: Disabled error reporting 2014-11-20 17:17:38 -08:00
Taloth Saldono 2345984bda Processed comments. 2014-11-19 22:06:18 +01:00
Taloth Saldono 1cb0bb56cd Fixed: Resolved performance issue in the log cleaning method when running trace level. 2014-11-19 21:47:12 +01:00
Taloth Saldono 8a86b8acdc Added OsPath to handle OS agnostic path handling. 2014-11-19 21:47:11 +01:00
MythJuha 67cd5703a1 New: Implemented Torrent Download Clients: uTorrent, Transmission and Deluge. And several public and private Torrent Indexers. 2014-11-19 21:47:10 +01:00
Taloth Saldono ffa814f387 Added support for Hardlinking instead of Copy. 2014-11-19 21:47:09 +01:00
Mark McDowall 53c2962d2a Release restrictions
New: Required terms assignable to series via tags
New: Ignored terms assignable to series via tagss
2014-11-18 22:07:24 -08:00
Mark McDowall 95d67ef9f4 Download decision rejection reasons are no longer static messages
New: Better messaging on manual search when release is rejected
2014-10-27 22:25:06 -07:00
Mark McDowall e8e94d4384 Don't convert arg values to lower-case 2014-10-17 00:36:56 -07:00
Keivan Beigi f44fd5fcbd Fixed: filter duplicated episodes returned from Trakt
http://support.trakt.tv/forums/188762-general/suggestions/4430690-anger-management-duplicate-episode
2014-10-14 16:34:36 -07:00
Keivan Beigi ef1e290311 Removed redunent UTC/non-utc File/dire methods.
everything is in UTC now.
2014-10-14 14:31:35 -07:00
Keivan Beigi 6a743a8792 removed dead code 2014-10-03 16:29:52 -07:00
Keivan Beigi 7b49669b95 Log global inner exceptions 2014-10-03 15:55:11 -07:00
Keivan Beigi a44be4d902 log newsnab 429 errors as warn instead of exceptions 2014-10-03 10:50:43 -07:00
Keivan Beigi 7b2e3ef0c4 added ExceptronIgnoreOnMono and ExceptronIgnore extention methods. 2014-10-03 10:39:06 -07:00
Keivan Beigi 0359487bf7 removed loggly 2014-10-02 21:47:37 -07:00
Keivan Beigi c10a9ddf6e updated json.net to 6.0.5 2014-10-02 21:39:21 -07:00
Keivan Beigi 10b1d44d6f Enabled excepton with new api key, disabled throwing exception. 2014-09-30 20:47:30 -07:00
Keivan Beigi fde38938b8 fixed: HttpClient would fail with an unrelated exception 2014-09-30 10:06:48 -07:00
Taloth Saldono 5e62c2335f Fixed: Refactored the Indexer architecture to support non-rss indexers. 2014-09-27 21:57:35 +02:00
Taloth Saldono b3f086fe93 Fixed: Now sends appropriate http Accept header to indexer. 2014-09-14 11:47:46 +02:00
Taloth Saldono 80ed203258 Updated HttpResponse to support binary content. 2014-09-13 00:46:03 +02:00
Keivan Beigi 879035b28a Merge branch 'http-client' into develop 2014-09-11 16:49:54 -07:00
Keivan Beigi 2c1d3339d0 HttpClient 2014-09-11 16:49:41 -07:00
Mark McDowall 33f44e7932 New: log all startup events to log file at trace and above 2014-09-06 08:32:08 -07:00
Taloth Saldono 20894b40cf Fixed: No longer gives an Unauthorized error when calculating file hashes of UI resources. 2014-09-03 12:32:34 +02:00
kayone c4e8e3ebc7 Added cache breaking based on hash rather than version 2014-08-31 00:40:23 -07:00
kayone dbcabd6df6 updates to static pipeline 2014-08-30 13:40:21 -07:00
kayone 3f3cc69da7 updated json.net 2014-08-24 18:45:55 -07:00
Mark McDowall 6671934c0f Relative episode file paths 2014-08-13 17:08:24 -07:00
Taloth Saldono d1a8cd2a84 Readded Growl logo via embedded binary blob. 2014-08-10 14:55:41 -07:00
Taloth Saldono a62cd042de Added some resilience in the GetCurrentProcess calls so it doesn't cause a Fatal exit. 2014-08-10 14:54:57 -07:00
Frank Riley be0d779448 When running under mono, WebClient will sometimes return less data
than it should. This causes the FetchFeedService to log errors
because the XML received cannot be parsed. Setting the
AutomaticDecompression property on the WebRequest fixes this issue.
2014-08-06 19:48:44 -07:00
Mark McDowall 6ee4b6d428 Fixed: Checking for an existing file will respect the OSes case-sensitivity 2014-07-31 12:33:56 -07:00
Taloth Saldono e5e00fd346 Fixed: Renaming Episodes will never overwrite existing files. 2014-07-31 12:32:31 -07:00
Mark McDowall 705d4a3d02 New: show mono version on System -> Info 2014-07-29 23:23:43 -07:00
Taloth Saldono 5450170718 Cleanup, sorted project files. 2014-07-26 14:29:07 +02:00
Mark McDowall a4500606a9 Fixed: mono version check will check running mono version instead running another version 2014-07-24 23:37:32 -07:00
Taloth Saldono d64c4445b8 Fixed compile warnings. 2014-07-21 08:18:24 -07:00
Taloth Saldono 6c8c87d2e2 Added additional rules to cleanse confidential details from log file messages. 2014-07-21 08:18:23 -07:00
Taloth Saldono 9a649cf58e Added UserAgent to RestClient. 2014-07-21 08:18:22 -07:00
Mark McDowall c5bd8b27fb Backups
New: Backup drone's database and configuration from the UI
New: Download Backup files from the UI

Fixed: Run a database backup before upgrade
2014-07-06 20:10:51 -07:00
Mark McDowall 7df5d6c9b8 Merge branch 'develop' of https://github.com/Taloth/NzbDrone into develop 2014-07-02 07:40:32 -07:00
Mark McDowall 193672b652 Anime!
New: Anime support
New: pull alternate names from thexem.de
New: Search using all alternate names (if rage ID is unavailable)
New: Show scene mapping information when hovering over episode number
New: Full season searching for anime (searches for each episode)
New: animezb.com anime indexer
New: Treat BD as bluray

Fixed: Parsing of 2 digit absolute episode numbers
Fixed: Loading series details page for series that start with period
Fixed: Return 0 results when manual search fails, instead of an error
Fixed: animezb URL
2014-07-02 07:33:51 -07:00
Taloth Saldono 839a2ac742 Fixed: NzbDrone running on Windows should no longer fail while getting a very long path from a sabnzbd running on linux. 2014-06-30 23:26:17 +02:00
Mark McDowall 6184105d3c Fixed: Prevent adding a series if the path is the ancestor of another series 2014-06-22 11:01:22 -07:00
Mark McDowall 6a2970fef2 Fixed: Update installed checkmark spacing and tooltip 2014-06-18 17:15:54 -07:00
Mark McDowall d489dff152 Trying to fix XBMC timeout errors 2014-06-08 23:49:56 -07:00
Taloth Saldono e28123eefd Fixed: Search results from trakt are now sorted based on similarity with the search query.
Using a Levenshtein distance algorithm.
2014-06-04 23:44:38 +02:00
Taloth Saldono 2035fe8578 New: Drone now uses the Download Client API to determine if a download is ready for import. (User configuration is required to replace the drone factory with this feature) 2014-05-30 19:40:29 +02:00
Mark McDowall a40b9a306e Fixed: API keys should be more reliably cleansed from the logs 2014-05-24 23:17:59 -07:00
Mark McDowall fe8555d3ea Updater will stop process by ID on mono 2014-05-24 12:06:32 -07:00
Mark McDowall 6ee876392c Updater log filename changed and restart drone with --nobrowser 2014-05-16 23:05:30 -07:00
Mark McDowall a1abcbcd40 Fixed: Prevent the update button from being double clicked for 5 seconds 2014-05-16 08:47:53 -07:00
Mark McDowall ef3777fccf Update improvements
Include NzbDrone.Update in mono/osx package
Do not ignore certificate warnings for services
Check hash before extracting update
New: Update support for Linux/OS X - see the wiki for more information
2014-05-15 21:58:38 -07:00
Mark McDowall f6077238e6 Merge branch 'metadata' into develop 2014-05-11 19:16:15 -07:00
Mark McDowall b3fb807f41 HttpProvider.PostCommand will no longer keep the connection alive 2014-05-10 21:37:07 -07:00
Mark McDowall 3c47df8691 XBMC API improvements 2014-05-10 19:52:19 -07:00
Taloth Saldono ed99fa8698 Corrected various spelling errors in code. 2014-05-06 23:59:04 +02:00
Mark McDowall 1f40bef249 Initial metadata overhaul 2014-05-01 16:51:18 -07:00
Mark McDowall 2dbc038d17 New: Write PID file to AppData directory on Linux/OS X 2014-04-27 22:14:31 -07:00
Taloth Saldono 5428d9d53f Improved detection of hashed releases.
- Added specific rejection code for 32 random characters to ignore all md5 and mixed-case hashes.
- Added NZBGeek hash format.
- Removed -RP from Release Group.
- Added test and fix for reversed title. Currently matching it based on a couple of patterns.
2014-04-22 19:44:44 +02:00
Mark McDowall e21574a203 Blacklisting improvements
New: New releases that fail will be retried a second time after waiting 1hr (configurable)
Fixed: Blacklisting releases with the same date and vastly different ages
2014-04-08 17:19:36 -07:00
Mark McDowall 2cc0dc3aab New: Username and Password for Plex Server (optional) 2014-04-06 19:44:04 -07:00
Taloth Saldono 118089c272 Process start logged as Debug instead of Info. 2014-04-01 22:50:35 +02:00
Mark McDowall 9645fb07db Removed DateTimeExtensions 2014-03-28 16:45:29 -07:00
Mark McDowall b47fa831ae Fixed: Only clear readonly flag when file has readonly flag 2014-03-20 22:42:31 -07:00
Mark McDowall 89e0b41ebc New: Search for all missing episodes 2014-03-20 16:41:44 -07:00
Mark McDowall bac75ac6d9 New: Failed download handling for Nzbget 2014-03-20 00:08:15 -07:00
Mark McDowall 2f3430387e Major logging overhaul 2014-03-13 13:13:02 -07:00
Mark McDowall a02108922f Set episode file modified date to local or utc air date 2014-03-12 22:27:36 -07:00
Mark McDowall 8478379ff4 Merge branch 'AirDate' of https://github.com/JackDandy/NzbDrone into set-file-date 2014-03-11 22:16:38 -07:00
Mark McDowall c2087af8c9 Gracefully exit on restart instead of forcibly killing it 2014-03-09 22:35:50 -07:00
Mark McDowall d3621fca71 Run update tests on linux 2014-03-09 01:08:56 -08:00
Mark McDowall 8885bbb60f OS X and linux can be treated separately 2014-03-08 21:28:40 -08:00
JackDandy d9eab04029 Add new feature, set file date to episode aired date. Fix, use alternative Trakt API field for episode air time. Improve the Preview Rename tip.
Add, new setting "Set File Date to Airdate" on the Media Management tab of the Settings page to toggle this feature for new, imported and auto updating media files.

Change, home page "Series Editor" - "Rename" button to "Update Files" and add "Set File Date To Air Date" action button to this modal to add capability of updating legacy media.

Add, non UTC functions given that Windows undesirably adds time to file times set when using UTC.

Fix, the Trakt API response show.air_time_utc contains erroneous data, this is replaced with show.air_time.
2014-03-09 02:13:40 +00:00
Mark McDowall 99336595b0 Removed SetFolderWriteTime in favour of FolderSetLastWriteTimeUtc 2014-02-26 07:55:13 -08:00
Mark McDowall c8ae9f40fb New: App health displayed in UI 2014-02-25 21:40:47 -08:00
Taloth Saldono 4786bc0c34 Failed Download detection now ignores history without unique download client id. 2014-02-24 21:50:00 +01:00
kayone abd994ef71 Container Cleanup 2014-02-22 16:22:08 -08:00
kayone 68129e3518 database is now singleton 2014-02-22 16:22:08 -08:00
kayone 7f8fa7ec4b Updated project config 2014-02-22 16:22:07 -08:00
Mark McDowall 7d4a514a68 Changed how running a process and waiting for exit is handled 2014-02-18 22:37:04 -08:00
Mark McDowall 77b83b521e Validation, settings UI cleanup and different settings models, oh my
New: Download client UI matches other settings
Fixed: Prevent drone factory folder from being set to invalid paths/root path for series
Fixed: Switching pages in settings will not hide changes
Fixed: Test download clients
Fixed: Settings are validated before saving
2014-02-16 23:01:36 -08:00
Mark McDowall ea6e858dbf Fixed migration filenames, check if process has exited before waiting for exit 2014-02-13 11:15:15 -08:00
Mark McDowall e9db0fc14a Fixes after rebase 2014-02-12 01:05:29 -08:00
Mark McDowall 3ca5e478ff Almost everything working except importing episode thumbs 2014-02-12 01:04:54 -08:00
Mark McDowall a6361d0bbd New: XBMC Metadata (Frodo+) 2014-02-12 01:04:51 -08:00
Mark McDowall bc908e0440 Binding signalr to cloned series collection 2014-02-10 12:24:59 -08:00
Mark McDowall 4d3217432c Fixed some unit tests 2014-02-10 11:40:13 -08:00
Mark McDowall d0a6daeb26 Restart on linux/os x working
Removed client messages for shutdown/restart since they were getting stuck
2014-02-10 01:49:06 -08:00
Mark McDowall e16a6f2b9c Only backup database and config file before update 2014-02-07 18:16:19 -08:00
Mark McDowall 85b211738b New: Backup database before updating 2014-02-06 22:13:16 -08:00
markus101 6ff9c9f61e Shutdown working on mono 2014-02-06 18:19:02 -08:00
Mark McDowall aa1a76fe72 Restart for Windows 2014-02-06 18:19:01 -08:00
Mark McDowall f69bb79077 Shutdown! Restart working for services 2014-02-06 18:18:59 -08:00
Mark McDowall c9a77e99a0 Error handling in migration to new quality 2014-02-04 18:46:03 -08:00
Mark McDowall 7218772b32 Support for setting uid/gid on *nix systems 2014-01-30 21:24:32 -08:00
Mark McDowall 34a08f8abb Merge pull request #50 from iaddis/nlog-debugger-output
Nlog debugger output
2014-01-26 17:13:30 -08:00
Mark McDowall 5459b5fed4 New: Setting file permissions on import (Linux) 2014-01-25 23:51:33 -08:00
Mark McDowall 37231d1ef0 DiskProvider split to Windows and Mono projects 2014-01-25 23:51:33 -08:00
Icer Addis 11aa82832f Added using statement 2014-01-13 21:25:03 -08:00
Mark McDowall 3eeee7335e Fixed: Exit from tray icon 2014-01-09 20:32:21 -08:00
Icer Addis 6c34acc8b3 NLog - fixed debugger target name 2014-01-07 04:03:44 -08:00
Icer Addis ff5dc6f0ce NLog - Added debugger target 2014-01-07 04:03:38 -08:00
Mark McDowall c2a09b70f4 New: SSL certificates will not be checked for validity (to support self-signed certificates) 2013-12-19 20:34:59 -08:00
Mark McDowall 182743e653 Support for Int64 in SchemaBuilder 2013-12-11 16:41:58 -08:00
kayone 76bc4aaa9c Replaced manual argument validations with Ensure. 2013-12-02 22:41:40 -08:00
kayone 575dc03e35 reset existing xem info during update 2013-11-30 17:45:30 -08:00
kayone 91d64f0b6a path performance optimization 2013-11-30 16:33:59 -08:00
kayone a7d5b3761b Fixed: Memory leak in Ensure.That 2013-11-30 15:53:07 -08:00
Mark McDowall 93e9816d24 Adding a dependency on EventLog 2013-11-28 00:11:01 -08:00
Mark McDowall 9b5e56704e Service now depends on Tcpip 2013-11-28 00:10:59 -08:00
kayone d42a63a480 Service kills other instances on start. 2013-11-25 23:08:12 -08:00
kayone 1e6817220a applicationmode cleanup. 2013-11-25 22:53:36 -08:00
kayone c219be8c8d Added single instance policy 2013-11-25 21:39:59 -08:00
kayone 266d1a43d9 app lifecycle cleanup 2013-11-25 21:36:06 -08:00
Mark McDowall 4a7bd5b849 Better handling of SAB not returning json to addfile
Fixed: Handling of unexpected responses from SABnzbd when adding releases
2013-11-19 21:47:26 -08:00
kayone ec63053fe7 cleaned up using directives. 2013-11-19 16:42:17 -08:00
Mark McDowall ea36c6ed47 Create missing series folders on disk scan (if enabled)
New: Option to create missing series folders during disk scans
2013-11-18 22:25:02 -08:00
Mark McDowall 5b62408ff1 White space 2013-11-15 08:39:00 -08:00
Mark McDowall fb76fee4a9 Actually fixed free space 2013-11-12 22:51:20 -08:00
Mark McDowall 9fcd422f29 Fixed: Total free space on Linux 2013-11-12 22:39:21 -08:00
kayone 844fa9d5e6 update NLog, Restsharp, json.net 2013-11-11 00:17:29 -08:00
Mark McDowall 5c2073b297 Free disk space check on Linux will use best match
Fixed: Better disk space check on Linux
2013-11-07 17:46:07 -08:00
Mark McDowall d4fd731b34 Free space will show shared drives and show drive label 2013-10-15 21:11:45 -07:00
fzr600dave 6c414929c3 Updated as per markus request for viewing disk space
Added two methods to Diskprovider:-
getFixedDrives, getTotalSize
and letting UI decide on how to display space.
and changed from vent to listenTo
(cherry picked from commit 5aa00cfb6498d4731d5d880c346afe747a61024e)
2013-10-11 15:56:18 -07:00
Mark McDowall ffc40d9456 Report errors on linux 2013-10-06 15:36:55 -07:00
Mark McDowall 27511769ae Episode activity goes through History now
Do not report exceptions on linux (culture is null and fails)
2013-10-06 11:06:39 -07:00
Mark McDowall 5bf0e197ec Moved source code under src folder - massive change 2013-10-02 18:01:32 -07:00