{"action":"opened","issue":{"url":"https://api.github.com/repos/openwisp/django-freeradius/issues/50","repository_url":"https://api.github.com/repos/openwisp/django-freeradius","labels_url":"https://api.github.com/repos/openwisp/django-freeradius/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/openwisp/django-freeradius/issues/50/comments","events_url":"https://api.github.com/repos/openwisp/django-freeradius/issues/50/events","html_url":"https://github.com/openwisp/django-freeradius/issues/50","id":251996437,"number":50,"title":"[management] Cleanup commands","user":{"login":"nemesisdesign","id":841044,"avatar_url":"https://avatars3.githubusercontent.com/u/841044?v=4","gravatar_id":"","url":"https://api.github.com/users/nemesisdesign","html_url":"https://github.com/nemesisdesign","followers_url":"https://api.github.com/users/nemesisdesign/followers","following_url":"https://api.github.com/users/nemesisdesign/following{/other_user}","gists_url":"https://api.github.com/users/nemesisdesign/gists{/gist_id}","starred_url":"https://api.github.com/users/nemesisdesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nemesisdesign/subscriptions","organizations_url":"https://api.github.com/users/nemesisdesign/orgs","repos_url":"https://api.github.com/users/nemesisdesign/repos","events_url":"https://api.github.com/users/nemesisdesign/events{/privacy}","received_events_url":"https://api.github.com/users/nemesisdesign/received_events","type":"User","site_admin":false},"labels":[{"id":607120937,"url":"https://api.github.com/repos/openwisp/django-freeradius/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":656114355,"url":"https://api.github.com/repos/openwisp/django-freeradius/labels/feature-request","name":"feature-request","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-22T15:25:29Z","updated_at":"2017-08-22T15:25:29Z","closed_at":null,"body":"In OpenWISP 1 we have implemented a few scripts that perform cleaning operations, we could implement these operation as management commands, eg:\r\n\r\n- `./manage.py delete_old_radacct <number_months>` would delete sessions older than `<number_months>`\r\n- `./manage.py delete_old_postauth <number_months>` would delete postauth logs older than `<number_months>`"}}
{"actor":{"display_login":"nemesisdesign"}}