{"action":"created","issue":{"url":"https://api.github.com/repos/sabnzbd/sabnzbd/issues/678","repository_url":"https://api.github.com/repos/sabnzbd/sabnzbd","labels_url":"https://api.github.com/repos/sabnzbd/sabnzbd/issues/678/labels{/name}","comments_url":"https://api.github.com/repos/sabnzbd/sabnzbd/issues/678/comments","events_url":"https://api.github.com/repos/sabnzbd/sabnzbd/issues/678/events","html_url":"https://github.com/sabnzbd/sabnzbd/issues/678","id":176246562,"number":678,"title":"sab 1.2.x -- history retention","user":{"login":"thezoggy","id":500882,"avatar_url":"https://avatars.githubusercontent.com/u/500882?v=3","gravatar_id":"","url":"https://api.github.com/users/thezoggy","html_url":"https://github.com/thezoggy","followers_url":"https://api.github.com/users/thezoggy/followers","following_url":"https://api.github.com/users/thezoggy/following{/other_user}","gists_url":"https://api.github.com/users/thezoggy/gists{/gist_id}","starred_url":"https://api.github.com/users/thezoggy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thezoggy/subscriptions","organizations_url":"https://api.github.com/users/thezoggy/orgs","repos_url":"https://api.github.com/users/thezoggy/repos","events_url":"https://api.github.com/users/thezoggy/events{/privacy}","received_events_url":"https://api.github.com/users/thezoggy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-11T14:31:17Z","updated_at":"2016-09-11T14:38:27Z","closed_at":null,"body":"right now sab keeps its history for better and for worse..  which can cause issues for dupe checking or for the paranoid.\r\n\r\nsuggesting we add a history section under config > switches to tweak how and what we do with it.\r\n\r\nhave a switch to use history or not? (if no history, this could break apps ex: sonarr. thus we should show warning)\r\nif enabled (default), then have field to to input to only keep history upto this day, so 1y/365d/1w/whatever..  0 = keep all (default).\r\n\r\nnote that we have `history_limit` as a config>special, which sets an artificial upper limit for the api commands.\r\n\r\nnote that nzbget has this, but they use it to just toggle visibility to the ui, they still keep it after the cut off.. but just minimal details so it can still be used for dupe checking.\r\n\r\nnzbget:\r\n```\r\n        - when history item expires (as defined by option \"KeepHistory\")\r\n          and the duplicate check is active (option \"DupeCheck\") the item\r\n          is not completely deleted from history; instead the amount of\r\n          stored data reduces to minimum required for duplicate check\r\n          (about 200 bytes vs 2000 bytes for full history item);\r\n        - such old history items are not shown in web-interface by default\r\n(to avoid transferring of large amount of history items);\r\n```"},"comment":{"url":"https://api.github.com/repos/sabnzbd/sabnzbd/issues/comments/246183562","html_url":"https://github.com/sabnzbd/sabnzbd/issues/678#issuecomment-246183562","issue_url":"https://api.github.com/repos/sabnzbd/sabnzbd/issues/678","id":246183562,"user":{"login":"thezoggy","id":500882,"avatar_url":"https://avatars.githubusercontent.com/u/500882?v=3","gravatar_id":"","url":"https://api.github.com/users/thezoggy","html_url":"https://github.com/thezoggy","followers_url":"https://api.github.com/users/thezoggy/followers","following_url":"https://api.github.com/users/thezoggy/following{/other_user}","gists_url":"https://api.github.com/users/thezoggy/gists{/gist_id}","starred_url":"https://api.github.com/users/thezoggy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thezoggy/subscriptions","organizations_url":"https://api.github.com/users/thezoggy/orgs","repos_url":"https://api.github.com/users/thezoggy/repos","events_url":"https://api.github.com/users/thezoggy/events{/privacy}","received_events_url":"https://api.github.com/users/thezoggy/received_events","type":"User","site_admin":false},"created_at":"2016-09-11T14:38:27Z","updated_at":"2016-09-11T14:38:27Z","body":"does sab rely on history for its totals or quota? if so.. we shouldnt... since history can be modified."}}
{"actor":{"display_login":"thezoggy"}}