{"action":"created","issue":{"url":"https://api.github.com/repos/mailwatch/MailWatch/issues/1018","repository_url":"https://api.github.com/repos/mailwatch/MailWatch","labels_url":"https://api.github.com/repos/mailwatch/MailWatch/issues/1018/labels{/name}","comments_url":"https://api.github.com/repos/mailwatch/MailWatch/issues/1018/comments","events_url":"https://api.github.com/repos/mailwatch/MailWatch/issues/1018/events","html_url":"https://github.com/mailwatch/MailWatch/pull/1018","id":285453279,"number":1018,"title":"Symfony framework","user":{"login":"Skywalker-11","id":11180862,"avatar_url":"https://avatars3.githubusercontent.com/u/11180862?v=4","gravatar_id":"","url":"https://api.github.com/users/Skywalker-11","html_url":"https://github.com/Skywalker-11","followers_url":"https://api.github.com/users/Skywalker-11/followers","following_url":"https://api.github.com/users/Skywalker-11/following{/other_user}","gists_url":"https://api.github.com/users/Skywalker-11/gists{/gist_id}","starred_url":"https://api.github.com/users/Skywalker-11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Skywalker-11/subscriptions","organizations_url":"https://api.github.com/users/Skywalker-11/orgs","repos_url":"https://api.github.com/users/Skywalker-11/repos","events_url":"https://api.github.com/users/Skywalker-11/events{/privacy}","received_events_url":"https://api.github.com/users/Skywalker-11/received_events","type":"User","site_admin":false},"labels":[{"id":51946312,"url":"https://api.github.com/repos/mailwatch/MailWatch/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":772284028,"url":"https://api.github.com/repos/mailwatch/MailWatch/labels/version:2.0","name":"version:2.0","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-01-02T15:11:30Z","updated_at":"2018-02-08T17:46:32Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/mailwatch/MailWatch/pulls/1018","html_url":"https://github.com/mailwatch/MailWatch/pull/1018","diff_url":"https://github.com/mailwatch/MailWatch/pull/1018.diff","patch_url":"https://github.com/mailwatch/MailWatch/pull/1018.patch"},"body":"Use the symfony framework for routing and mvc:\r\n - login is now done by symfony (src/MailWatch/Controller/LoginController.php). Currently only sql, but ldap module exists\r\n - old pages are called by src/MailWatch/Controller/XXXCompatController.php: `$this->render($compatSrc . $path);` where $path is the location of the php page eg `status.php` or `user_manager.php` \r\n - old sites with pager are currently not working\r\n - static files (css, js, images) are moved to public folder\r\n - converted pages can be created like src/MailWatch/Controller/LuckController.php\r\n    - urls for controller function is defined by `@Route(...)`\r\n    - html output can be generated in Controllers by \r\n        * `return $this->render(<path_in_src_resource_folder>, arguments)`; (see LoginController.php)\r\n        * `return new Response(\"html here\");` (see LuckyController.php)\r\n \r\n"},"comment":{"url":"https://api.github.com/repos/mailwatch/MailWatch/issues/comments/364192177","html_url":"https://github.com/mailwatch/MailWatch/pull/1018#issuecomment-364192177","issue_url":"https://api.github.com/repos/mailwatch/MailWatch/issues/1018","id":364192177,"user":{"login":"endelwar","id":28512,"avatar_url":"https://avatars3.githubusercontent.com/u/28512?v=4","gravatar_id":"","url":"https://api.github.com/users/endelwar","html_url":"https://github.com/endelwar","followers_url":"https://api.github.com/users/endelwar/followers","following_url":"https://api.github.com/users/endelwar/following{/other_user}","gists_url":"https://api.github.com/users/endelwar/gists{/gist_id}","starred_url":"https://api.github.com/users/endelwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endelwar/subscriptions","organizations_url":"https://api.github.com/users/endelwar/orgs","repos_url":"https://api.github.com/users/endelwar/repos","events_url":"https://api.github.com/users/endelwar/events{/privacy}","received_events_url":"https://api.github.com/users/endelwar/received_events","type":"User","site_admin":false},"created_at":"2018-02-08T17:46:32Z","updated_at":"2018-02-08T17:46:32Z","author_association":"OWNER","body":"@stefaweb on debian you can use the updated packages made by Ondřej Surý who is in charge of packaging php for debian official releases: you find them on [deb.sury.org](https://deb.sury.org) (this is the first thing that I install on new debian web servers)"}}
{"actor":{"display_login":"endelwar"}}