{"action":"created","issue":{"url":"https://api.github.com/repos/spootTheLousy/saguaro/issues/204","repository_url":"https://api.github.com/repos/spootTheLousy/saguaro","labels_url":"https://api.github.com/repos/spootTheLousy/saguaro/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/spootTheLousy/saguaro/issues/204/comments","events_url":"https://api.github.com/repos/spootTheLousy/saguaro/issues/204/events","html_url":"https://github.com/spootTheLousy/saguaro/pull/204","id":135872007,"number":204,"title":"Bans - The return","user":{"login":"Apogate","id":8524639,"avatar_url":"https://avatars.githubusercontent.com/u/8524639?v=3","gravatar_id":"","url":"https://api.github.com/users/Apogate","html_url":"https://github.com/Apogate","followers_url":"https://api.github.com/users/Apogate/followers","following_url":"https://api.github.com/users/Apogate/following{/other_user}","gists_url":"https://api.github.com/users/Apogate/gists{/gist_id}","starred_url":"https://api.github.com/users/Apogate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Apogate/subscriptions","organizations_url":"https://api.github.com/users/Apogate/orgs","repos_url":"https://api.github.com/users/Apogate/repos","events_url":"https://api.github.com/users/Apogate/events{/privacy}","received_events_url":"https://api.github.com/users/Apogate/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spootTheLousy/saguaro/labels/Administrative","name":"Administrative","color":"e11d21"},{"url":"https://api.github.com/repos/spootTheLousy/saguaro/labels/Awaiting%20RePod%20Dream%20Destroying%E2%84%A2%20Review","name":"Awaiting RePod Dream Destroying™ Review","color":"d4c5f9"},{"url":"https://api.github.com/repos/spootTheLousy/saguaro/labels/Functional%20change","name":"Functional change","color":"009800"},{"url":"https://api.github.com/repos/spootTheLousy/saguaro/labels/Ready%20to%20merge","name":"Ready to merge","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/spootTheLousy/saguaro/milestones/6","html_url":"https://github.com/spootTheLousy/saguaro/milestones/Administrator%20-%20Finalize%20","labels_url":"https://api.github.com/repos/spootTheLousy/saguaro/milestones/6/labels","id":1580785,"number":6,"title":"Administrator - Finalize ","description":"**Items for this milestone:**\r\n\r\n- [ ] Customizable wordfilter from panel\r\n- [ ] Field specific blacklist options\r\n    - [ ] Autobans option for blacklisted elements\r\n- [ ] In-panel active bans list\r\n- [ ] Index-view moderation tools\r\n    - Hook into jQuery suite?\r\n\r\n//","creator":{"login":"Apogate","id":8524639,"avatar_url":"https://avatars.githubusercontent.com/u/8524639?v=3","gravatar_id":"","url":"https://api.github.com/users/Apogate","html_url":"https://github.com/Apogate","followers_url":"https://api.github.com/users/Apogate/followers","following_url":"https://api.github.com/users/Apogate/following{/other_user}","gists_url":"https://api.github.com/users/Apogate/gists{/gist_id}","starred_url":"https://api.github.com/users/Apogate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Apogate/subscriptions","organizations_url":"https://api.github.com/users/Apogate/orgs","repos_url":"https://api.github.com/users/Apogate/repos","events_url":"https://api.github.com/users/Apogate/events{/privacy}","received_events_url":"https://api.github.com/users/Apogate/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2016-02-13T02:04:46Z","updated_at":"2016-03-05T02:55:08Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2016-02-23T21:30:47Z","updated_at":"2016-03-05T14:24:42Z","closed_at":"2016-03-05T02:55:08Z","pull_request":{"url":"https://api.github.com/repos/spootTheLousy/saguaro/pulls/204","html_url":"https://github.com/spootTheLousy/saguaro/pull/204","diff_url":"https://github.com/spootTheLousy/saguaro/pull/204.diff","patch_url":"https://github.com/spootTheLousy/saguaro/pull/204.patch"},"body":"The aim of this PR is to optimize, rewrite and add functionality to saguaro's ban suite. \r\n\r\n## Checklist:\r\n- [x]  **Under the hood:**\r\n    - [x] Cleaning up **admin.php** removing `extract()` dependency\r\n    - [x] `isBanned()` has redirect to **banned.php** flag option.\r\n    - [x] Optimize/rewrite **banned.php**\r\n        - [x]  Since ban class is initiated in **banned.php** anyway, might be better to have all the checks done in the class, with banned.php just acting as the client end \"portal\". \r\n\r\n- [ ] **New features:**\r\n    - [x] `autoBan()` function. *Unimplemented right now, might hook into a blacklist later..* 5832c8f\r\n    - [x] Banned page shows what post ban was filed for 5832c8f\r\n    - [ ] Rangebans\r\n    - [ ] Appeals for bans of certain length. Maybe customizable minimum appeal length. Smells like ~~more config options~~ teen spirit.\r\n\r\n- [ ] **Panel - Bans:**\r\n    - [ ] Ban search from panel\r\n    - [ ] Appeal management\r\n\r\n- [x] **Redesign:**\r\n     - [x] Banned.php CSS\r\n        - [x] Sagurichan support for WS boards\r\n        - [x] Saguaba support\r\n\r\n<hr>\r\n\r\nMore to come. Ban suite has always been a patchwork of code running on prayer and glue. maybe that will change."},"comment":{"url":"https://api.github.com/repos/spootTheLousy/saguaro/issues/comments/192659640","html_url":"https://github.com/spootTheLousy/saguaro/pull/204#issuecomment-192659640","issue_url":"https://api.github.com/repos/spootTheLousy/saguaro/issues/204","id":192659640,"user":{"login":"Apogate","id":8524639,"avatar_url":"https://avatars.githubusercontent.com/u/8524639?v=3","gravatar_id":"","url":"https://api.github.com/users/Apogate","html_url":"https://github.com/Apogate","followers_url":"https://api.github.com/users/Apogate/followers","following_url":"https://api.github.com/users/Apogate/following{/other_user}","gists_url":"https://api.github.com/users/Apogate/gists{/gist_id}","starred_url":"https://api.github.com/users/Apogate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Apogate/subscriptions","organizations_url":"https://api.github.com/users/Apogate/orgs","repos_url":"https://api.github.com/users/Apogate/repos","events_url":"https://api.github.com/users/Apogate/events{/privacy}","received_events_url":"https://api.github.com/users/Apogate/received_events","type":"User","site_admin":false},"created_at":"2016-03-05T14:24:42Z","updated_at":"2016-03-05T14:24:42Z","body":"alternatively just delete the whole damn line, the query doesn't work anyway"}}